unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: `*' interactive spec in some text-killing functions
Date: Thu, 28 Jun 2007 08:08:31 -0700 (PDT)	[thread overview]
Message-ID: <34572.128.165.123.18.1183043311.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <f7ccd24b0706280141k11591ddck7d4ecbc879e20ed0@mail.gmail.com>

>> WHY?!?!?  WHY would it be convenient?  PLEASE, PLEASE, PLEASE, explain
>> in what respect it would help you at all save time, confusion or
>> whatever.  _Why_ can't you explain what gains you would draw from such
>> a message?
>
> David, I explained many messages ago, and you're refusing to listen:
> If I do a command, and the result of this command is irrelevant, I
> consider it an error. I want a warning (and please don't explain me
> again the differences between warnings and errors: I understood it
> already the first time I used "warning", but I didn't have the insight
> to be very precise in my use of Emacs terminology because I didn't
> imagine that would turn into that kind of discussion).

A command failing to accomplish anything useful is not an error; a command
being impossible to execute is.  (I'm not harping on error/warning here,
just error/no-error.)  That's why `save-buffer' prints a message and
doesn't signal an error when the buffer is unmodified; saving is
_possible_ and _valid_, but useless (and so optimized out).  Similarly C-a
C-a does not even print a message the second time, though surely a user is
confused if they type that.  But since exactly what the user asked for has
happened, they aren't listening for a hard disk click or so, and no damage
has occurred or become likely, it's not even considered worthwhile to
print something.

The same sort of judgment call is needed for `overwrite-mode': however,
since it did do precisely what was asked, did have an effect, and still
poses no threat, it might actually be confusing to have it jabber about
its feelings of inadequacy.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  parent reply	other threads:[~2007-06-28 15:08 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=34572.128.165.123.18.1183043311.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).