help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need double save-excursion -- why?


From: Jesper Harder
Subject: Re: need double save-excursion -- why?
Date: Sun, 28 Dec 2003 13:41:20 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Joe Corneli <jcorneli@math.utexas.edu> writes:

> I don't get good results: the outermost save-excursion is ignored,
> and the cursor winds up near the bottom of the document.

You problem could be:

>     (beginning-of-buffer) ;; start at the beginning

,----[ C-h f beginning-of-buffer RET ]
| Don't use this command in Lisp programs!
| (goto-char (point-min)) is faster and avoids clobbering the mark.
`----

>           (end-of-buffer))))))

,----[ C-h f end-of-buffer RET ]
| Don't use this command in Lisp programs!
| (goto-char (point-max)) is faster and avoids clobbering the mark.
`----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]