>>>> Stephen J<stephen(a)xemacs.org> writes:
Stephen> Uwe Brauer writes:
> Does anybody know about a package which would allow to
> annote the changes but set a mark, such that later I could navigate to
> that part of the buffer where the change occurred. Bm.el or bookmark.el
> would be candidates, but they are not connected to change-log
Stephen> Have you looked at hyperbole?
Unfortunately there is no such thing in hyperbole, yet.
Triggered by this request I did some experiment, added an implicit
change-log-mode button and tried to think about what could be
done.
* What comes first in mind is trying to come up with an implicit
button.
The file name from the ChangeLog is easy to use but will bring you
only to the file. Which could be desirable but is not what is
requested.
Using the function, variable or whatever string between the parenthesis:
" * filename (<interesting string>): ...
could also be done. The "search" for the <interesting string> could
be sequential or could be an input for a tags-search limited to the
filename. It could also consult functions, imenu or maybe even tried
as a bookmark in order to find a suitable cross reference.
It all seems to get a bit complicated without really solving the
requested functionality.
* Creating an explicit button in the ChangeLog is not desirable I
think!? (Excplicit means that an hyperbole button "<....>" is
inserted. The link will be persistent but the ChangeLog will contain
hyperbole buttons ...)
* What I think really is wanted is that a cross reference is created
from the ChangeLog to from where add-change-log-entry was
invoked. This should all take place behind the scene so that when
clicking on that line in the ChangeLog you will be transfered back
to where it all began.
From a quick look at bm.el it doesn't seem to implement this but
rather create a visible bookmark to which you can jump from the
bookmarks associated with that file.
Maybe that idea could be taken further and any line in a buffer
could be the starting point for a cross reference to a position in
another file. Then a modified add-change-log-entry could update that
cross reference. However this transfers the problem into how to
update the cross reference when the originating file is changed
which doesn't seem to be trivial.
Ideas!?
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta