unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29838: 26.0; Elisp manual: describe standard-error sexps
@ 2017-12-24 17:22 Drew Adams
  2017-12-24 18:03 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2017-12-24 17:22 UTC (permalink / raw)
  To: 29838

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-02-07 10:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-24 17:22 bug#29838: 26.0; Elisp manual: describe standard-error sexps Drew Adams
2017-12-24 18:03 ` 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

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).