all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73427: 29.4; Doc of `append` not quite complete/correct
@ 2024-09-22 18:01 Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-09-23 11:43 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-22 18:01 UTC (permalink / raw)
  To: 73427

See https://emacs.stackexchange.com/a/82238/105 for a complete
description of the doc bug (omission).

The doc, at least in the Elisp manual, should explicitly mention the
case where all args except the last are nil and the last is a sequence
(e.g. a string) that's not a proper list.

In that particular case the last argument is returned, as is - a
non-list sequence. This is an exception to the otherwise correct
statements that the result is a list (including perhaps a dotted list).

Please read the last part of that StackExchange post, which refers to
this Common Lisp doc as calling out the particular case that's missing
from our doc:

https://lisp-docs.github.io/cl-language-reference/chap-14/be-c-dictionary/append_function


In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on
 AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4894)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation=aot
 --without-compress-install --with-sqlite3 --with-tree-sitter
 CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB

(NATIVE_COMP present but libgccjit not available)






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

end of thread, other threads:[~2024-09-23 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-22 18:01 bug#73427: 29.4; Doc of `append` not quite complete/correct Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-23 11:43 ` Eli Zaretskii

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.