[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the source of Change Log entries
From: |
martin rudalics |
Subject: |
Re: Finding the source of Change Log entries |
Date: |
Mon, 14 Jul 2008 10:40:59 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> One thing that doesn't work yet is visiting
> a file that has no tag, i.e.
>
> * filename.el: File-level changes.
>
> Instead of visiting it, `C-c C-c' visits the previous file that has
> a tag. Of course, `C-c C-f' is available to visit a file, but it is
> not convenient to switch between different keys to do the same thing,
> and also `C-c C-f' has a different behavior: it visits a file in the
> same window unlike `C-c C-c'.
>
> It seems the best thing to do would be searching backward for a tag and
> a file name at the same. This may require joining two separate functions
> that search a tag or a file name into one function.
If I understand my code correctly I first search for a tag (backward and
forward) and as soon as I found one I search for the first file name
preceding the tag. Now if I find another file name in between the
position of the tag and `point' I could go to `point-min' in that file
instead. Is it that what you mean?
Re: Finding the source of Change Log entries, Ted Zlatanov, 2008/07/14
- Re: Finding the source of Change Log entries, Juri Linkov, 2008/07/14
- Re: Finding the source of Change Log entries, Andrew W. Nosenko, 2008/07/15
- Re: Finding the source of Change Log entries, Juri Linkov, 2008/07/15
- Re: Finding the source of Change Log entries, Ted Zlatanov, 2008/07/15
- Re: Finding the source of Change Log entries, Juri Linkov, 2008/07/15
- Re: Finding the source of Change Log entries, martin rudalics, 2008/07/16
Re: Finding the source of Change Log entries, Dan Nicolaescu, 2008/07/14