unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eval: (search-forward)
@ 2004-10-09 12:48 Albert Reiner
  2004-10-10 12:33 ` Oliver Scholz
  0 siblings, 1 reply; 10+ messages in thread
From: Albert Reiner @ 2004-10-09 12:48 UTC (permalink / raw)


Hi,

I am working with a file that gets carried around a lot, changes names
etc., so that I (think I) cannot use bookmarks to mark the place where
I was working.  So instead I put some mark, e.g., `%%WORK%%' into the
file at the position where I want to go on working.  Instead of doing
C-s % % W O R K % % every time I open the document, I wanted to have
this done automatically.  My attempt was to use the file local
variables section with an entry

    eval: (search-forward "%%WORK%%")

When I open the file, I am asked whether I want to evaluate the
`eval', but still I do not end up at the marked position.

Any clarifications on why that does not work, and on how to make it
work, would be most welcome!

TIA,

Albert.

P.S.: Current solution is to have the (search-forward ...) in the
      first line and do C-e C-x C-e.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-10-24 16:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09 12:48 eval: (search-forward) Albert Reiner
2004-10-10 12:33 ` Oliver Scholz
2004-10-10 14:48   ` Albert Reiner
2004-10-11  7:59     ` Joakim Hove
2004-10-11 10:16       ` Albert Reiner
2004-10-12 13:57       ` Albert Reiner
2004-10-18  7:02         ` Joakim Hove
2004-10-24 16:11           ` eval: (search-forward) (Solved) Albert Reiner
2004-10-11  9:40     ` eval: (search-forward) Oliver Scholz
2004-10-11 10:09       ` Albert Reiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).