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

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

Re: Cursor at end of region pasted in


From: Simon Josefsson
Subject: Re: Cursor at end of region pasted in
Date: Fri, 20 Feb 2004 17:01:01 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> >   (goto-char (1+ (point)))
>>> Aka (forward-char -1)
>> That would surprise me.
>
> Ahh... nitpicker!

forward-char also signals errors on out of range inputs, which
goto-char doesn't.  Hence workarounds like this:

(defsubst imap-forward ()
  (or (eobp) (forward-char)))


reply via email to

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