From: Drew Adams <drew.adams@oracle.com>
To: 29838@debbugs.gnu.org
Subject: bug#29838: 26.0; Elisp manual: describe standard-error sexps
Date: Sun, 24 Dec 2017 09:22:30 -0800 (PST) [thread overview]
Message-ID: <f79a2a43-f804-4551-b486-85782aab7540@default> (raw)
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
Please describe the sexps that are associated with standard errors.
Currently, only the error messages are described.? But users can
sometimes see an error message that refers only to the sexp for
the error.
?
Example:
?
Error in post-command-hook (foo-post-cmd-hook): (args-out-of-range 9 9)
?
I don't see anywhere in the manual where a user could find out what
`(args-out-of-range 9 9)' means - in particular, what the two
occurrences of `9' signify.
?
Node `Standard Errors' says only this:
?
? ‘args-out-of-range’
???? The message is ‘Args out of range’.? This happens when trying to
???? access an element beyond the range of a sequence, buffer, or other
???? container-like object.? *Note Sequences Arrays Vectors::, and *Note
???? Text::.
?
Looking at the manual coverage of sequence etc. functions, you find
information such as this:
?
? (elt [1 2 3 4] -1)
???? error→ Args out of range: [1 2 3 4], -1
?
But that doesn't help for understanding `(args-out-of-range 9 9)'.
?
In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32)
of 2017-10-13
Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
?
[-- Attachment #2: Type: text/html, Size: 4886 bytes --]
next reply other threads:[~2017-12-24 17:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-24 17:22 Drew Adams [this message]
2017-12-24 18:03 ` bug#29838: 26.0; Elisp manual: describe standard-error sexps Eli Zaretskii
2017-12-24 18:50 ` Drew Adams
2017-12-24 19:00 ` Eli Zaretskii
2017-12-24 20:05 ` Drew Adams
2022-02-07 10:09 ` Lars Ingebrigtsen
2017-12-24 18:54 ` Drew Adams
2017-12-24 19:57 ` Andreas Schwab
2017-12-24 20:10 ` Drew Adams
2017-12-25 8:52 ` Andreas Schwab
2017-12-25 16:28 ` Drew Adams
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=f79a2a43-f804-4551-b486-85782aab7540@default \
--to=drew.adams@oracle.com \
--cc=29838@debbugs.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 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).