From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 6855@debbugs.gnu.org
Subject: bug#6855: 24.0.50; Bug in tool bar label handling
Date: Sun, 15 Aug 2010 12:21:37 +0200 [thread overview]
Message-ID: <4C67BFB1.8030804@swipnet.se> (raw)
In-Reply-To: <m2lj88ntra.fsf@igel.home>
Andreas Schwab skrev 2010-08-15 10.51:
> Jan Djärv<jan.h.d@swipnet.se> writes:
>
>> We kind of assume people do the sensible thing and put in strings. It is the
>> same as for help and image. If Emacs crashes because somebody didn't put
>> in a string, that is actually a good thing IMHO. The error becomes very
>> apparent then.
>
> I don't agree. Emacs should be robust against type mismatches, crashing
> is the worst possible reaction.
If the documentation states that one should use STRING, and somebody puts in
nil or a lambda expression or a symbol, that is a usage error. Being robust
against this kind of error by ignoring the faulty input just hides the error
and makes people think it is OK to misuse things. Better then to crash, that
way action is usually taken at once. Hidden errors can linger for years...
Jan D.
next prev parent reply other threads:[~2010-08-15 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-14 12:04 bug#6855: 24.0.50; Bug in tool bar label handling Johan Bockgård
2010-08-15 8:20 ` Jan Djärv
2010-08-15 8:51 ` Andreas Schwab
2010-08-15 10:21 ` Jan Djärv [this message]
2010-08-15 10:37 ` Andreas Schwab
2010-08-15 11:41 ` Eli Zaretskii
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=4C67BFB1.8030804@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=6855@debbugs.gnu.org \
--cc=schwab@linux-m68k.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 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).