all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "emacs- devel" <emacs-devel@gnu.org>
Subject: `*' interactive spec in some text-killing functions
Date: Wed, 27 Jun 2007 15:39:52 +0200	[thread overview]
Message-ID: <f7ccd24b0706270639k441675e5se4740ee6f9b34fee@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-06-27 13:39 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 13:39 Juanma Barranquero [this message]
2007-06-27 14:08 ` `*' interactive spec in some text-killing functions 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0706270639k441675e5se4740ee6f9b34fee@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.