unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: "Juri Linkov" <juri@jurta.org>,
	"Chong Yidong" <cyd@stupidchicken.com>,
	"Per Starbäck" <per@starback.se>,
	"Giuseppe Scrivano" <gscrivano@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: Beeping
Date: Fri, 27 Nov 2009 20:49:03 -0500	[thread overview]
Message-ID: <jwv7htba0d0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a50911271515h57a0f858u4e9ce4f32b4305eb@mail.gmail.com> (Lennart Borgman's message of "Sat, 28 Nov 2009 00:15:04 +0100")

>>> Isn't there still a problem with condition-case then? Or perhaps it
>>> could be tamed to pass on user-error?
>> I don't know what problem you're thinking of.
> That the intention is going to top-level and condition-case might stop
> it.  But I do not know what is best to do.  user-error will really fit
> best in command functions.  It those are called by other functions the
> semantics is a bit hard to define (or at least use).

Usually the `user-error' situations are situations which are expected to
be pilot errors rather than bugs, but you can never be sure since
commands can also be called as functions, so the "pilot" may be another
piece of Lisp code.  So condition-case needs to be able to catch them.


        Stefan




  reply	other threads:[~2009-11-28  1:49 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 16:37 Emacs for new users Per Starbäck
2009-11-23 16:59 ` Giuseppe Scrivano
2009-11-23 18:47   ` Chong Yidong
2009-11-23 20:49     ` Chong Yidong
2009-11-26 22:35       ` Beeping (was: Emacs for new users) Juri Linkov
2009-11-26 23:12         ` Lennart Borgman
2009-11-27  4:12           ` Beeping Stefan Monnier
2009-11-27  6:48             ` Beeping Lennart Borgman
2009-11-27 19:25               ` Beeping Stefan Monnier
2009-11-27 20:25                 ` Beeping Lennart Borgman
2009-11-27 23:12                   ` Beeping Stefan Monnier
2009-11-27 23:15                     ` Beeping Lennart Borgman
2009-11-28  1:49                       ` Stefan Monnier [this message]
2009-11-28  2:47                         ` Beeping Lennart Borgman
2009-11-23 17:05 ` Emacs for new users Stephen Eilert
2009-11-24 14:10   ` Richard Stallman
2009-11-24 14:43     ` Renaud Casenave-Péré
2009-11-24 16:10       ` Andreas Schwab
2009-11-25 21:01       ` Richard Stallman
2009-11-30 23:02       ` Giorgos Keramidas
2009-11-24 15:51     ` Lennart Borgman
2009-11-24 16:41       ` Drew Adams
2009-11-24 17:15         ` Lennart Borgman
2009-11-24 17:27           ` Chong Yidong
2009-11-24 17:35             ` Lennart Borgman
2009-11-24 17:51             ` Deniz Dogan
2009-11-24 18:37               ` Chong Yidong
2009-11-24 18:03           ` Drew Adams
2009-11-24 18:06             ` Lennart Borgman
2009-11-24 18:22               ` Drew Adams
2009-11-24 18:30                 ` Lennart Borgman
2009-11-24 19:35                   ` Drew Adams
2009-11-24 19:40                     ` Lennart Borgman
2009-11-25 21:02           ` Richard Stallman
2009-11-25 21:04             ` Lennart Borgman
2009-11-25 21:57             ` Fernando C.V.
2009-11-25 22:05               ` Drew Adams
2009-11-25 22:27                 ` Fernando C.V.
2009-11-25 22:34                   ` Drew Adams
2009-11-26  6:23               ` Richard Stallman
2009-11-23 18:56 ` Lennart Borgman
2009-11-23 19:35   ` Les Harris
2009-11-23 20:28     ` Lennart Borgman
2009-11-23 21:04       ` Chong Yidong
2009-11-23 21:16         ` Lennart Borgman
2009-11-23 21:56           ` Stefan Monnier
2009-11-23 22:05             ` Lennart Borgman
2009-11-30 22:55         ` Giorgos Keramidas
2009-11-30 23:01           ` Lennart Borgman
2009-12-01  9:13           ` Deniz Dogan
2009-12-01 10:13             ` Miles Bader
2010-11-13 19:14               ` separating CUA rectangles from CUA selection mode [was: Emacs for new users] Drew Adams
2009-11-23 21:16     ` Emacs for new users Stephen Eilert
2009-11-23 22:06       ` Per Starbäck
2009-11-23 22:43         ` Per Starbäck
2009-11-23 22:46           ` Lennart Borgman
2009-11-23 23:55           ` Sebastian Rose
2009-11-24  6:43           ` tomas

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=jwv7htba0d0.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=gscrivano@gnu.org \
    --cc=juri@jurta.org \
    --cc=lennart.borgman@gmail.com \
    --cc=per@starback.se \
    /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).