From: Drew Adams <drew.adams@oracle.com>
To: 17718@debbugs.gnu.org
Subject: bug#17718: 24.4.50; doc string of `display-buffer-alist'
Date: Fri, 6 Jun 2014 09:47:59 -0700 (PDT) [thread overview]
Message-ID: <33d1b1fa-aff4-4c92-8b10-d8784145954c@default> (raw)
Not comprehensible - to me at least.
Consider just "ALIST" in the description. It is described nowhere.
Worse: it is used to describe other things, so that they too are
effectively undefined and incomprehensible.
What is the cdr of ACTION? It's ALIST, whatever that is (presumably an
alist of some kind). What is done with that ALIST? No idea.
What is the car of ACTION? It's a function that accepts a buffer and an
alist "of the same form as ALIST". Huh? And what form is that? ALIST
is not described anywhere.
Then you get "`display-buffer' scans this alist..." Which alist? There
are at least 3 different alists mentioned in this doc string:
* The alist that is the value of the user option.
* The alist that is the cdr of ACTION.
* The alist that is the argument to FUNCTION, which is the car of
ACTION.
And the doc says nothing about the alist that gets passed to FUNCTION.
Even if you can somehow figure out the form of FUNCTION's second arg,
you have no idea what buffer and what alist are passed to it. How,
based on that, you might decide on a (FUNCTION . ALIST) to use is a
mystery.
And the description of this option in the Elisp manual is even less
specific, and does not clear things up.
I'm sorry, but the doc for `display-buffer-alist' (and `display-buffer')
is still gobbledygook, even after repeated requests by users to please
clear it up. It's a wonder that anyone can make sense of this.
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-06-01 on ODIEONE
Bzr revision: 117212 michael.albinus@gmx.de-20140601104945-g88x0mwrxorz302h
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
next reply other threads:[~2014-06-06 16:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 16:47 Drew Adams [this message]
2014-06-06 17:06 ` bug#17718: 24.4.50; doc string of `display-buffer-alist' Drew Adams
2021-05-29 5:40 ` Lars Ingebrigtsen
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=33d1b1fa-aff4-4c92-8b10-d8784145954c@default \
--to=drew.adams@oracle.com \
--cc=17718@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 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.