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

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

bug#13994: End of buffer error for forward-sexp


From: Juri Linkov
Subject: bug#13994: End of buffer error for forward-sexp
Date: Mon, 29 Apr 2013 10:10:37 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> I would like C-M-f (`forward-sexp') to signal an error when reaching
> the beginning or end of a buffer.

If you want only `C-M-f' to signal an error, then you could create
a new command with a name like `forward-sexp-command' that signals
an error and bind it to `C-M-f'.  That's what e.g `scroll-up-command'
does to control error-signaling only for the command bound to `C-v'
without affecting the lower-level function `scroll-up'.





reply via email to

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