From: "Drew Adams" <drew.adams@oracle.com>
To: 9981@debbugs.gnu.org
Subject: bug#9981: 24.0.91; mismatch in doc for `buffer-visibility-spec'
Date: Sun, 6 Nov 2011 17:33:41 -0800 [thread overview]
Message-ID: <BF29CB12589C4511ABEB4F2CAD1A5D8C@us.oracle.com> (raw)
(elisp) Invisible Text says this for a list value:
Each element of the list specifies a criterion for
invisibility; if a character's `invisible' property fits any
one of these criteria, the character is invisible. The list
can have two kinds of elements:
`ATOM'
A character is invisible if its `invisible' property
value is ATOM or if it is a list with ATOM as a member.
`(ATOM . t)'
A character is invisible if its `invisible' property
value is ATOM or if it is a list with ATOM as a member.
Moreover, a sequence of such characters displays as an
ellipsis.
But the doc string says this:
"a text character is invisible if its `invisible' property is an
element in that list (or is a list with members in common)."
That's not the same thing. The doc string does not speak to the second case for
the spec, (ATOM . t). A char with `invisible' property of `foo' is neither a
member of the invisibility spec `((foo . t))' nor is it a list with the element
(foo . t). Similarly for a char with `invisible' property of (foo).
According to the doc string, to be invisible with that spec, a char would have
to either be (foo . t) or be a list with (foo . t) as an element.
What's more, the doc string does not state that the form of the list elements is
in fact prescribed: ATOM or (ATOM . t).
In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600) of 2011-10-30 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.6) --no-opt --cflags
-I"D:/devel/emacs/libs/libXpm-3.5.8/include"
-I"D:/devel/emacs/libs/libXpm-3.5.8/src"
-I"D:/devel/emacs/libs/libpng-dev_1.4.3-1/include"
-I"D:/devel/emacs/libs/zlib-dev_1.2.5-2/include"
-I"D:/devel/emacs/libs/giflib-4.1.4-1/include"
-I"D:/devel/emacs/libs/jpeg-6b-4/include"
-I"D:/devel/emacs/libs/tiff-3.8.2-1/include"
-I"D:/devel/emacs/libs/gnutls-2.10.1/include" --ldflags
-L"D:/devel/emacs/libs/gnutls-2.10.1/lib"'
next reply other threads:[~2011-11-07 1:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 1:33 Drew Adams [this message]
2012-09-17 0:23 ` bug#9981: 24.0.91; mismatch in doc for `buffer-visibility-spec' Drew Adams
2014-02-09 5:53 ` Lars Ingebrigtsen
2014-02-11 15:14 ` Drew Adams
2014-02-12 1:07 ` 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=BF29CB12589C4511ABEB4F2CAD1A5D8C@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=9981@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.