all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 11999@debbugs.gnu.org
Subject: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2'
Date: Sun, 29 Jul 2012 09:30:03 +0300	[thread overview]
Message-ID: <87394bw5o4.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwv7gtn8t7h.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 28 Jul 2012 17:36:07 -0400")

>> Let's take the use case of typing "i foobar" and getting "No 'foobar'
>> in index." in response.  Whose fault/mistake is this?

I tried to type "i foobar" in the "(dir) Top" node and it entered
the debugger with:

Debugger entered--Lisp error: (error "The Info directory node has no index; use m to select a manual")
  signal(error ("The Info directory node has no index; use m to select a manual"))
  error("The Info directory node has no index; use m to select a manual")
  (if (equal Info-current-file "dir") (error "The Info directory node has no index; use m to select a manual"))
  (let ((completion-ignore-case t) ...
  (list (let ((completion-ignore-case t) ...
  call-interactively(Info-index nil nil)

Then I tried to type "i foobar" in the "(emacs) Top" node and it displayed
the message "No `foobar' in index" in the echo area.

I wonder why is this difference?  I really have no idea
how this could be fixed in terms of "user error".

> I think it is clearly a "user error".

While I think that removing ugly regexps from `debug-ignored-errors'
was an improvement, a new function has an unfortunate name.

According to http://en.wikipedia.org/wiki/User_error
the term "user error" has offensive connotations
such as "PEBKAC" and "ID-10T error".

For a better name please consider e.g. `error-no-debug'.
Or maybe turn the table and use just `error-debug'
for errors that require debugging?  (I see no harm in having
both `error-no-debug' and `error-debug').





      parent reply	other threads:[~2012-07-29  6:30 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-20 16:13 bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Drew Adams
2012-07-20 18:30 ` Andreas Schwab
2012-07-20 18:45   ` Drew Adams
2012-07-20 19:19     ` Andreas Schwab
2012-07-20 20:03       ` Drew Adams
2012-07-20 20:08         ` Andreas Schwab
2012-07-20 20:09           ` Drew Adams
2012-07-20 20:11             ` Andreas Schwab
2012-07-20 20:47         ` Eli Zaretskii
2012-07-20 20:43     ` Eli Zaretskii
2012-07-20 21:08       ` Drew Adams
2012-07-21  8:47         ` Eli Zaretskii
2012-07-21 13:58           ` Drew Adams
2012-07-22  9:50           ` Stefan Monnier
2012-07-22 14:34             ` Drew Adams
2012-07-22 15:16             ` Eli Zaretskii
2012-07-23  8:53               ` Stefan Monnier
2012-07-23 13:54                 ` Drew Adams
2012-07-23 23:28                   ` Stefan Monnier
2012-07-24  1:30                     ` Drew Adams
2012-07-24  9:02                       ` Stefan Monnier
2012-07-24 16:38                 ` Eli Zaretskii
2012-07-24 21:53                   ` Stefan Monnier
2012-07-25 16:06                     ` Eli Zaretskii
2012-07-25 23:53                       ` Stefan Monnier
2012-07-26  3:06                         ` Eli Zaretskii
2012-07-26 23:18                           ` Stefan Monnier
2012-07-27  6:49                             ` Eli Zaretskii
2012-07-28 21:36                               ` Stefan Monnier
2012-07-29  2:50                                 ` Eli Zaretskii
2012-07-30  9:30                                   ` Stefan Monnier
2012-07-30 13:35                                     ` Eli Zaretskii
2012-07-29  6:30                                 ` Juri Linkov [this message]

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=87394bw5o4.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=11999@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.