all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `*' interactive spec in some text-killing functions
@ 2007-06-27 13:39 Juanma Barranquero
  2007-06-27 14:08 ` David Kastrup
  0 siblings, 1 reply; 46+ messages in thread
From: Juanma Barranquero @ 2007-06-27 13:39 UTC (permalink / raw)
  To: emacs- devel

The following functions from simple.el do not have the `*' interactive
spec: zap-to-char, kill-line, kill-whole-line, kill-word,
backward-kill-word. (They don't have a call to
`barf-if-buffer-read-only', either).

Using any of them in a read-only buffer does not delete text, but it
moves the point forward (or backward, in the case of
`backward-kill-word'), which is weird.

Is that intended, or should they have `*' in the interactive spec?

Additionally, `overwrite-mode' and `binary-overwrite-mode' do not have
`*' either. It is customary not to do so for minor modes, it is an
oversight, or it is really preferred not to get an error message in
interactive uses of the overwrite modes?

             Juanma

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

end of thread, other threads:[~2007-06-28 22:31 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 13:39 `*' interactive spec in some text-killing functions Juanma Barranquero
2007-06-27 14:08 ` David Kastrup
2007-06-27 14:25   ` Juanma Barranquero
2007-06-27 14:55     ` David Kastrup
2007-06-27 15:52       ` Juanma Barranquero
2007-06-27 16:22     ` Andreas Schwab
2007-06-27 18:43       ` Juanma Barranquero
2007-06-27 20:59         ` David Kastrup
2007-06-27 21:30           ` Juanma Barranquero
2007-06-27 22:04             ` David Kastrup
2007-06-27 22:11               ` Juanma Barranquero
2007-06-27 22:24                 ` David Kastrup
2007-06-27 22:43                   ` Juanma Barranquero
2007-06-27 23:13                     ` David Kastrup
2007-06-27 23:22                       ` Juanma Barranquero
2007-06-28  5:23                         ` David Kastrup
2007-06-28  7:51                           ` Juanma Barranquero
2007-06-28  8:07                             ` David Kastrup
2007-06-28  8:15                               ` Juanma Barranquero
2007-06-28  8:25                                 ` David Kastrup
2007-06-28  8:41                                   ` Juanma Barranquero
2007-06-28  9:04                                     ` David Kastrup
2007-06-28  9:09                                       ` Juanma Barranquero
2007-06-28  9:16                                         ` David Kastrup
2007-06-28  9:22                                           ` Juanma Barranquero
2007-06-28  9:48                                             ` Andreas Schwab
2007-06-28 10:21                                               ` Juanma Barranquero
2007-06-28 11:14                                                 ` Andreas Schwab
2007-06-28 11:33                                                   ` Juanma Barranquero
2007-06-28 10:55                                             ` David Kastrup
2007-06-28 14:03                                     ` Stefan Monnier
2007-06-28 14:12                                       ` David Kastrup
2007-06-28 14:16                                       ` Juanma Barranquero
2007-06-28 14:30                                         ` David Kastrup
2007-06-28 14:39                                         ` Vinicius Jose Latorre
2007-06-28 14:51                                           ` David Kastrup
2007-06-28 15:21                                       ` Luc Teirlinck
2007-06-28 15:38                                         ` Juanma Barranquero
2007-06-28 22:07                                           ` Mathias Dahl
2007-06-28 22:20                                             ` David Kastrup
2007-06-28 22:31                                               ` Juanma Barranquero
2007-06-28 16:25                                       ` Robert J. Chassell
2007-06-28 15:08                                     ` Davis Herring
2007-06-28 15:22                                       ` Juanma Barranquero
2007-06-28  8:47                                 ` Lennart Borgman (gmail)
2007-06-28  9:11                                   ` David Kastrup

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.