[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] suggestion: add line number support to planner-
Re: [emacs-wiki-discuss] suggestion: add line number support to planner-annotation-from-file?
Tue, 14 Dec 2004 15:50:20 +0100 (CET)
,-- On Tue, 14 Dec 2004 21:19:20 +0800, Dryice Liu wrote:
| Sometime when I look through a very long text file, I take several
| notes from it with remember. These notes are only for a part of the
| file, but the link remember added only take me back to the file. So I
| need to find out some "key words" so I can locate the part where I
| took the note, which is not a easy job :(
| So what do people think about adding line number support for
| planner-annotation-from-file? As we have current-line and goto-line,
| it should not be very hard to find and locate the position. One
| problem I can think off is how to record line number in the URL. We
| need to find some character not allowed in file names in all OS, or
| create some new URL syntax for this...
| Or even we use cursor-position?
You could integrate bookmarks (bookmark.el): they're in Emacs for
that purpose, and go to that level of granularity (characters), + some
intelligence for robustness (they also store surrounding text, in case
the text was changed).