unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Detlev Zundel <dzu@akk.org>
Cc: 18337@debbugs.gnu.org
Subject: bug#18337: 24.4.50; apropos fails on "scroll"
Date: Thu, 28 Aug 2014 09:17:04 -0400	[thread overview]
Message-ID: <jwviolc92n9.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m2r4017znz.fsf@deepthought.outer.space.org> (Detlev Zundel's message of "Thu, 28 Aug 2014 11:04:48 +0200")

> (when (setq properties (symbol-plist 'vertical-scroll-bar))
>   (setq doc (list (car properties)))
>   (while (setq properties (cdr (cdr properties)))
>     (setq doc (cons (car properties) doc)))
>   (nreverse doc))

> => (0 event-symbol-element-mask event-symbol-elements modifier-cache variable-documentation)
  
> Applying 'symbol-name to that list then yields the error.

Note that, while convention is to use a symbol for property names, that
is not the only valid choice.  0 is a valid property name (tho an odd
one, arguably).

So while this 0 should probably be changed the mapconcat code that burps
on it should probably be changed not to assume that only symbols will
be used as property names.


        Stefan





  reply	other threads:[~2014-08-28 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 13:50 bug#18337: 24.4.50; apropos fails on "scroll" Detlev Zundel
2014-08-27 15:46 ` Drew Adams
2014-08-28  9:04   ` Detlev Zundel
2014-08-28 13:17     ` Stefan Monnier [this message]
2014-08-29 13:13       ` Detlev Zundel
2014-09-11  8:42         ` Detlev Zundel
2014-09-12 11:16           ` Dmitry Antipov
2014-09-12 12:33             ` Detlev Zundel

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=jwviolc92n9.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18337@debbugs.gnu.org \
    --cc=dzu@akk.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).