From unknown Sun Aug 17 04:16:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18337 <18337@debbugs.gnu.org> To: bug#18337 <18337@debbugs.gnu.org> Subject: Status: 24.4.50; apropos fails on "scroll" Reply-To: bug#18337 <18337@debbugs.gnu.org> Date: Sun, 17 Aug 2025 11:16:02 +0000 retitle 18337 24.4.50; apropos fails on "scroll" reassign 18337 emacs submitter 18337 Detlev Zundel severity 18337 normal tag 18337 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 27 11:41:15 2014 Received: (at submit) by debbugs.gnu.org; 27 Aug 2014 15:41:15 +0000 Received: from localhost ([127.0.0.1]:53746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMfLW-0004Fp-DZ for submit@debbugs.gnu.org; Wed, 27 Aug 2014 11:41:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34223) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMdci-0001Ma-Gc for submit@debbugs.gnu.org; Wed, 27 Aug 2014 09:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMdcQ-0003DL-UI for submit@debbugs.gnu.org; Wed, 27 Aug 2014 09:50:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMdcQ-0003DF-Q2 for submit@debbugs.gnu.org; Wed, 27 Aug 2014 09:50:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMdcJ-0005J5-0E for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 09:50:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMdcB-00036P-VH for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 09:50:26 -0400 Received: from mailout3.hostsharing.net ([176.9.242.54]:47633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMdcB-00035u-Ol for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 09:50:19 -0400 Received: from h07.hostsharing.net (h07.hostsharing.net [83.223.95.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout3.hostsharing.net (Postfix) with ESMTPS id 5810273027 for ; Wed, 27 Aug 2014 15:50:17 +0200 (CEST) Received: from deepthought (ppp-188-174-140-148.dynamic.mnet-online.de [188.174.140.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h07.hostsharing.net (Postfix) with ESMTPSA id 83A73603E182 for ; Wed, 27 Aug 2014 15:50:16 +0200 (CEST) Received: from dzu by deepthought with local (Exim 4.84) (envelope-from ) id 1XMdc7-0005P9-Sq for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 15:50:15 +0200 From: Detlev Zundel To: bug-gnu-emacs@gnu.org Subject: 24.4.50; apropos fails on "scroll" Date: Wed, 27 Aug 2014 15:50:15 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 27 Aug 2014 11:41:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Simply call M-x apropos and enter "scroll". This produces this error: mapconcat: Wrong type argument: symbolp, 0 This error does not happen on all strings, but I don't see a clear picture here. In GNU Emacs 24.4.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-08-27 on deepthought Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Debian GNU/Linux unstable (sid) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent input: x a p r o p o s s c r o l l x r e p o r t - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. mapconcat: Wrong type argument: symbolp, 0 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils apropos time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 79506 9305) (symbols 48 18257 0) (miscs 40 103 114) (strings 32 10953 4671) (string-bytes 1 299349) (vectors 16 9564) (vector-slots 8 391713 10077) (floats 8 70 63) (intervals 56 317 181) (buffers 976 13) (heap 1024 43147 862)) -- Practice random senselessness and act kind of beautiful. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 27 11:47:10 2014 Received: (at 18337) by debbugs.gnu.org; 27 Aug 2014 15:47:10 +0000 Received: from localhost ([127.0.0.1]:53759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMfRF-0004Q8-Hs for submit@debbugs.gnu.org; Wed, 27 Aug 2014 11:47:09 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:35452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMfRC-0004Pc-Ch for 18337@debbugs.gnu.org; Wed, 27 Aug 2014 11:47:07 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s7RFkpkq003380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 27 Aug 2014 15:46:51 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s7RFkniN007158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Aug 2014 15:46:49 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7RFknqJ020581; Wed, 27 Aug 2014 15:46:49 GMT MIME-Version: 1.0 Message-ID: <8669c0bb-347f-4b61-8202-562182aeba7f@default> Date: Wed, 27 Aug 2014 08:46:48 -0700 (PDT) From: Drew Adams To: Detlev Zundel , 18337@debbugs.gnu.org Subject: RE: bug#18337: 24.4.50; apropos fails on "scroll" References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18337 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Simply call M-x apropos and enter "scroll". This produces this > error: >=20 > mapconcat: Wrong type argument: symbolp, 0 FWIW, I cannot repro it with this build: In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-28 on ODIEONE Bzr revision: 117431 rgm@gnu.org-20140628015517-eku6hj8mpgcvfnso Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 27 12:03:28 2014 Received: (at control) by debbugs.gnu.org; 27 Aug 2014 16:03:29 +0000 Received: from localhost ([127.0.0.1]:53767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMfh2-0004r9-J5 for submit@debbugs.gnu.org; Wed, 27 Aug 2014 12:03:28 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56802 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMfh0-0004r1-7n for control@debbugs.gnu.org; Wed, 27 Aug 2014 12:03:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XMfgz-0005yC-Qw for control@debbugs.gnu.org; Wed, 27 Aug 2014 12:03:25 -0400 Date: Wed, 27 Aug 2014 12:03:25 -0400 Message-Id: Subject: control message for bug 18337 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 18337 confirmed From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 28 05:04:55 2014 Received: (at 18337) by debbugs.gnu.org; 28 Aug 2014 09:04:55 +0000 Received: from localhost ([127.0.0.1]:54017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMvdW-0006ZG-6e for submit@debbugs.gnu.org; Thu, 28 Aug 2014 05:04:54 -0400 Received: from mailout2.hostsharing.net ([83.223.90.233]:50957) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMvdT-0006Yy-2W for 18337@debbugs.gnu.org; Thu, 28 Aug 2014 05:04:52 -0400 Received: from h07.hostsharing.net (h07.hostsharing.net [83.223.95.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout2.hostsharing.net (Postfix) with ESMTPS id 7CC628EED6F; Thu, 28 Aug 2014 11:04:49 +0200 (CEST) Received: from deepthought (ppp-188-174-140-148.dynamic.mnet-online.de [188.174.140.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h07.hostsharing.net (Postfix) with ESMTPSA id 31F2C603EE64; Thu, 28 Aug 2014 11:04:49 +0200 (CEST) Received: from dzu by deepthought with local (Exim 4.84) (envelope-from ) id 1XMvdQ-0008Si-FQ; Thu, 28 Aug 2014 11:04:48 +0200 From: Detlev Zundel To: Drew Adams Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> Date: Thu, 28 Aug 2014 11:04:48 +0200 In-Reply-To: <8669c0bb-347f-4b61-8202-562182aeba7f@default> (Drew Adams's message of "Wed, 27 Aug 2014 08:46:48 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18337 Cc: 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Drew, thanks for looking into this. >> Simply call M-x apropos and enter "scroll". This produces this >> error: >> >> mapconcat: Wrong type argument: symbolp, 0 > > FWIW, I cannot repro it with this build: > > In GNU Emacs 24.4.50.1 (i686-pc-mingw32) > of 2014-06-28 on ODIEONE > Bzr revision: 117431 rgm@gnu.org-20140628015517-eku6hj8mpgcvfnso > 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'' Maybe I should add that this is a build from a git://git.savannah.gnu.org/emacs.git - the last commit in there is: commit c4d022dad4d77869e4c8b8cefd4281fd0f3bd41a Author: Michael Albinus Date: Wed Aug 27 13:22:37 2014 +0200 * lisp.h (str_collate): * sysdep.c (str_collate): Return int. (str_collate) [__STDC_ISO_10646__]: Propagate error of wcscoll. But back to the issue. I debuged this a little bit and found this to be the problem: (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. Why vertical-scroll-bar has this plist is beyond me however. Does this ring a bell to someone? Thanks Detlev -- Applied mathematicians do it by computer simulation. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 28 09:17:12 2014 Received: (at 18337) by debbugs.gnu.org; 28 Aug 2014 13:17:12 +0000 Received: from localhost ([127.0.0.1]:54148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMzZg-0005oj-37 for submit@debbugs.gnu.org; Thu, 28 Aug 2014 09:17:12 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:34689) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMzZd-0005oV-Qm for 18337@debbugs.gnu.org; Thu, 28 Aug 2014 09:17:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPAqyTi/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASrA4NMIQ X-IPAS-Result: ArYGAIDvNVPAqyTi/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASrA4NMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="88051439" Received: from 192-171-36-226.cpe.pppoe.ca (HELO pastel.home) ([192.171.36.226]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Aug 2014 09:17:04 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1723B60D09; Thu, 28 Aug 2014 09:17:04 -0400 (EDT) From: Stefan Monnier To: Detlev Zundel Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" Message-ID: References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> Date: Thu, 28 Aug 2014 09:17:04 -0400 In-Reply-To: (Detlev Zundel's message of "Thu, 28 Aug 2014 11:04:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18337 Cc: Drew Adams , 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (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 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 29 09:13:21 2014 Received: (at 18337) by debbugs.gnu.org; 29 Aug 2014 13:13:22 +0000 Received: from localhost ([127.0.0.1]:53198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNLzV-0001rc-AL for submit@debbugs.gnu.org; Fri, 29 Aug 2014 09:13:21 -0400 Received: from mailout2.hostsharing.net ([83.223.90.233]:60040) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNLzS-0001rO-Fs for 18337@debbugs.gnu.org; Fri, 29 Aug 2014 09:13:19 -0400 Received: from h07.hostsharing.net (h07.hostsharing.net [83.223.95.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout2.hostsharing.net (Postfix) with ESMTPS id 49F378F0892; Fri, 29 Aug 2014 15:13:16 +0200 (CEST) Received: from deepthought (ppp-188-174-140-148.dynamic.mnet-online.de [188.174.140.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h07.hostsharing.net (Postfix) with ESMTPSA id 116DE6131B5E; Fri, 29 Aug 2014 15:13:16 +0200 (CEST) Received: from dzu by deepthought with local (Exim 4.84) (envelope-from ) id 1XNLzP-00042s-Ea; Fri, 29 Aug 2014 15:13:15 +0200 From: Detlev Zundel To: Stefan Monnier Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> Date: Fri, 29 Aug 2014 15:13:15 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 28 Aug 2014 09:17:04 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18337 Cc: Dmitry Antipov , Drew Adams , 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Stefan, [added Dmitry on CC as the changelog seems to make a connection to the problem at hand] >> (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). I think in this case it actually caught an error though. > 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. Looking deeper, it turns out that the 0 results from this: buffer.c:5473 DEFSYM (Qvertical_scroll_bar, "vertical-scroll-bar"); Fput (Qvertical_scroll_bar, Qchoice, list4 (Qnil, Qt, Qleft, Qright)); DEFSYM (Qhorizontal_scroll_bar, "horizontal-scroll-bar"); DEFSYM (Qfraction, "fraction"); Fput (Qfraction, Qrange, Fcons (make_float (0.0), make_float (1.0))); DEFSYM (Qoverwrite_mode, "overwrite-mode"); Fput (Qoverwrite_mode, Qchoice, list3 (Qnil, intern ("overwrite-mode-textual"), intern ("overwrite-mode-binary"))); As far as I can tell, it should thus really be 'choice. Actually both vertical-scroll-bar and overwrite-mode have the problem: (symbol-plist 'vertical-scroll-bar) => (0 (nil t left right) event-symbol-element-mask (vertical-scroll-bar 0) event-symbol-elements (vertical-scroll-bar) modifier-cache ((0 . vertical-scroll-bar)) variable-documentation 374228) (symbol-plist 'overwrite-mode) => (0 (nil overwrite-mode-textual overwrite-mode-binary) event-symbol-element-mask (overwrite-mode 0) event-symbol-elements (overwrite-mode) modifier-cache ((0 . overwrite-mode)) :minor-mode-function binary-overwrite-mode variable-documentation 370277) The changelog mentions this 2014-07-16 Dmitry Antipov More precise control over values of some buffer-local variables. * keyboard.c (Qvertical_scroll_bar): * frame.c (Qleft, Qright): Move to ... * buffer.c (Qleft, Qright, Qvertical_scroll_bar): ... here. * buffer.c (Qchoice, Qrange, Qoverwrite_mode, Qfraction): New symbols. (syms_of_buffer): DEFSYM all of the above, attach special properties. Use special symbols to DEFVAR_PER_BUFFER overwrite-mode, vertical-scroll-bar, scroll-up-aggressively and scroll-down-aggressively. Dmitry, do you know why the construct for choice fails? Thanks Detlev -- We can forgive a man for making a useful thing as long as he does not admire it. The only excuse for making a useless thing is that one admires it intensely. --- Oscar Wilde From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 11 04:42:19 2014 Received: (at 18337) by debbugs.gnu.org; 11 Sep 2014 08:42:19 +0000 Received: from localhost ([127.0.0.1]:37252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRzxK-0005Gp-Nh for submit@debbugs.gnu.org; Thu, 11 Sep 2014 04:42:19 -0400 Received: from mailout1.hostsharing.net ([83.223.95.204]:55451) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRzxH-0005Gf-3m for 18337@debbugs.gnu.org; Thu, 11 Sep 2014 04:42:16 -0400 Received: from h07.hostsharing.net (h07.hostsharing.net [83.223.95.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout1.hostsharing.net (Postfix) with ESMTPS id AF3AE6D732; Thu, 11 Sep 2014 10:42:13 +0200 (CEST) Received: from deepthought (HSI-KBW-046-005-253-032.hsi8.kabel-badenwuerttemberg.de [46.5.253.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h07.hostsharing.net (Postfix) with ESMTPSA id 9B39560A041F; Thu, 11 Sep 2014 10:42:13 +0200 (CEST) Received: from dzu by deepthought with local (Exim 4.84) (envelope-from ) id 1XRzxF-0005hL-1t; Thu, 11 Sep 2014 10:42:13 +0200 From: Detlev Zundel To: Stefan Monnier Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> Date: Thu, 11 Sep 2014 10:42:12 +0200 In-Reply-To: (Detlev Zundel's message of "Fri, 29 Aug 2014 15:13:15 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18337 Cc: Dmitry Antipov , Drew Adams , 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Hi, > Hi Stefan, > > [added Dmitry on CC as the changelog seems to make a connection to the > problem at hand] > >>> (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). > > I think in this case it actually caught an error though. > >> 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. > > Looking deeper, it turns out that the 0 results from this: > > buffer.c:5473 > > DEFSYM (Qvertical_scroll_bar, "vertical-scroll-bar"); > Fput (Qvertical_scroll_bar, Qchoice, list4 (Qnil, Qt, Qleft, Qright)); > DEFSYM (Qhorizontal_scroll_bar, "horizontal-scroll-bar"); > > DEFSYM (Qfraction, "fraction"); > Fput (Qfraction, Qrange, Fcons (make_float (0.0), make_float (1.0))); > > DEFSYM (Qoverwrite_mode, "overwrite-mode"); > Fput (Qoverwrite_mode, Qchoice, > list3 (Qnil, intern ("overwrite-mode-textual"), > intern ("overwrite-mode-binary"))); > > As far as I can tell, it should thus really be 'choice. Actually both > vertical-scroll-bar and overwrite-mode have the problem: > > (symbol-plist 'vertical-scroll-bar) > > => (0 (nil t left right) event-symbol-element-mask (vertical-scroll-bar 0) event-symbol-elements (vertical-scroll-bar) modifier-cache ((0 . vertical-scroll-bar)) variable-documentation 374228) > > (symbol-plist 'overwrite-mode) > > => (0 (nil overwrite-mode-textual overwrite-mode-binary) event-symbol-element-mask (overwrite-mode 0) event-symbol-elements (overwrite-mode) modifier-cache ((0 . overwrite-mode)) :minor-mode-function binary-overwrite-mode variable-documentation 370277) > > The changelog mentions this > > 2014-07-16 Dmitry Antipov > > More precise control over values of some buffer-local variables. > * keyboard.c (Qvertical_scroll_bar): > * frame.c (Qleft, Qright): Move to ... > * buffer.c (Qleft, Qright, Qvertical_scroll_bar): ... here. > * buffer.c (Qchoice, Qrange, Qoverwrite_mode, Qfraction): New symbols. > (syms_of_buffer): DEFSYM all of the above, attach special properties. > Use special symbols to DEFVAR_PER_BUFFER overwrite-mode, > vertical-scroll-bar, scroll-up-aggressively > and scroll-down-aggressively. > > Dmitry, do you know why the construct for choice fails? The attached patch fixes the problem for me as the plist now looks like this: (symbol-plist 'vertical-scroll-bar) => (choice (nil t left right) event-symbol-element-mask (vertical-scroll-bar 0) event-symbol-elements (vertical-scroll-bar) modifier-cache ((0 . vertical-scroll-bar)) variable-documentation 374812) Cheers Detlev -- The 82558 B-step and later generation devices do not maintain a link in D3 if PME is disabled or if the device does not have power. -- Intel documentation --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-src-buffer.c-syms_of_buffer-Add-forgotten-Qchoice-DE.patch >From 5294eb80883abc3fb06805f972693664b294079f Mon Sep 17 00:00:00 2001 From: Detlev Zundel Date: Thu, 11 Sep 2014 10:37:54 +0200 Subject: [PATCH] * src/buffer.c (syms_of_buffer): Add forgotten Qchoice DEFSYM --- src/ChangeLog | 4 ++++ src/buffer.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index e20072d..393fbe7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-09-11 Detlev Zundel + + * buffer.c (syms_of_buffer): Add forgotten Qchoice DEFSYM + 2014-09-03 Martin Rudalics * buffer.c (scroll-bar-height): Fix typo in doc-string. diff --git a/src/buffer.c b/src/buffer.c index 45e614f..dd1e205 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5386,6 +5386,7 @@ syms_of_buffer (void) staticpro (&Qpermanent_local); staticpro (&Qkill_buffer_hook); + DEFSYM (Qchoice, "choice"); DEFSYM (Qleft, "left"); DEFSYM (Qright, "right"); DEFSYM (Qrange, "range"); -- 2.1.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 12 07:16:59 2014 Received: (at 18337) by debbugs.gnu.org; 12 Sep 2014 11:16:59 +0000 Received: from localhost ([127.0.0.1]:38895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSOqZ-0004e1-2X for submit@debbugs.gnu.org; Fri, 12 Sep 2014 07:16:59 -0400 Received: from forward7l.mail.yandex.net ([84.201.143.140]:54878) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSOqV-0004dr-57 for 18337@debbugs.gnu.org; Fri, 12 Sep 2014 07:16:56 -0400 Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward7l.mail.yandex.net (Yandex) with ESMTP id 8D5B8BC13BA; Fri, 12 Sep 2014 15:16:53 +0400 (MSK) Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id D9DD31900477; Fri, 12 Sep 2014 15:16:52 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dQwLzpaTNK-GqHm9XTr; Fri, 12 Sep 2014 15:16:52 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 17f67436-bbdd-43ef-aad2-737592627520 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1410520612; bh=Ia5nrToVagxgmBLbkJ6K4ImRK8XDxhlgmEjZDGJvOzI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=W0snsRjP/lOE0IPZyHUo/wxPKLs0Xi9pSnI94Lgdsl8ZYDHjDwJ99QxvL51NWK4yI e/4N/cXmx5fHpRPf4Iv7SBMdqYJQCDIm/tSc6Z/yzrXeAPlI/aYSmlwx+v6k1mEhKj RBs5gOZ1jk5wHJ9Gk7LEJl7eDwVber6XgLjXkhEU= Authentication-Results: smtp17.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5412D623.3030505@yandex.ru> Date: Fri, 12 Sep 2014 15:16:51 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Detlev Zundel Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18337 Cc: Stefan Monnier , Drew Adams , 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/11/2014 12:42 PM, Detlev Zundel wrote: > * buffer.c (syms_of_buffer): Add forgotten Qchoice DEFSYM Thanks, installed as r117868. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 12 12:42:27 2014 Received: (at 18337) by debbugs.gnu.org; 12 Sep 2014 16:42:27 +0000 Received: from localhost ([127.0.0.1]:39602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSTvV-0005Lp-Qz for submit@debbugs.gnu.org; Fri, 12 Sep 2014 12:42:26 -0400 Received: from mailout3.hostsharing.net ([176.9.242.54]:48397) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSQ2U-0007i8-UV for 18337@debbugs.gnu.org; Fri, 12 Sep 2014 08:33:23 -0400 Received: from h07.hostsharing.net (h07.hostsharing.net [83.223.95.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout3.hostsharing.net (Postfix) with ESMTPS id 0454E6E73B; Fri, 12 Sep 2014 14:33:22 +0200 (CEST) Received: from deepthought (HSI-KBW-046-005-253-032.hsi8.kabel-badenwuerttemberg.de [46.5.253.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h07.hostsharing.net (Postfix) with ESMTPSA id BAD0360E0CA2; Fri, 12 Sep 2014 14:33:21 +0200 (CEST) Received: from dzu by deepthought with local (Exim 4.84) (envelope-from ) id 1XSQ2T-0006YF-8y; Fri, 12 Sep 2014 14:33:21 +0200 From: Detlev Zundel To: Dmitry Antipov Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> <5412D623.3030505@yandex.ru> Date: Fri, 12 Sep 2014 14:33:21 +0200 In-Reply-To: <5412D623.3030505@yandex.ru> (Dmitry Antipov's message of "Fri, 12 Sep 2014 15:16:51 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18337 X-Mailman-Approved-At: Fri, 12 Sep 2014 12:42:24 -0400 Cc: Stefan Monnier , Drew Adams , 18337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Dmitry, > On 09/11/2014 12:42 PM, Detlev Zundel wrote: > >> * buffer.c (syms_of_buffer): Add forgotten Qchoice DEFSYM > > Thanks, installed as r117868. Thanks! Detlev -- I haven't lost my mind, I know exactly where I left it. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 25 02:24:57 2017 Received: (at control) by debbugs.gnu.org; 25 Mar 2017 06:24:58 +0000 Received: from localhost ([127.0.0.1]:43149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crf8D-0004BU-M9 for submit@debbugs.gnu.org; Sat, 25 Mar 2017 02:24:57 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:35813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crf8C-0004BH-29 for control@debbugs.gnu.org; Sat, 25 Mar 2017 02:24:56 -0400 Received: by mail-it0-f48.google.com with SMTP id y18so29141589itc.0 for ; Fri, 24 Mar 2017 23:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eiHu+/2cYZ1Uj3dpvFmZEWReLWpzEmE9M7lCcvwpXyA=; b=muGf080CJCoAuf1ZsoCSXlmtBy9/IC3Smj5eKdaAbOackAqV1XExcpNCl3NtnSiSp1 764kzVSgz5/tojGhlfZThmzEgbIs4praQVH3b6+HnNqoGZvwmaIt7JBkUPQ9anxE6o7m yZENZBbh6tIg4LIQ3k3qO3kb/YdSFyfzmTsICQJTao/1ZSSYhQGz/rxvkInCnmyA47q6 VWWu7QjJoC/9FBzGaSFhBZsRh2SQlcfMv+QhwyLD9n8ZpdLDNJ+bcWGZX477caivEOD5 TKHhuiIe+fWhOW2NGNG9uVUOTwdsai64G2wnEvNzJR5ko4VUi87kMlV9ZO5+gBZ04f8H SHgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=eiHu+/2cYZ1Uj3dpvFmZEWReLWpzEmE9M7lCcvwpXyA=; b=hk+CVpaGDDXG72b6AOmjgsk3hycdUkljs5NqnIV2LjgS8sZjq50pMFWfVAAH1e5JMD Cz59biVr5f8RMwMnKfLrct94SXqDErl9p7jDteWeDpRHGgr+xuRiIQgGOcH7aWxTrG3d WCWNVOk+wSuc6WipmUtAadaPKJiSFhE0hUBNbVwgb0VD/LRelaZQphiYtiO/Vb83frUv JHG+IPYHCippvjypaWG0uLk5jjE/VCYlT5w4cd10BjucHRdDpvWZqjZc6yKjl6fr9iqa kqIoCQMqRGpFRx8Rok1FqM2vDhmjVoSpjZH1i7tQ6XPQYQCgYe318/etacITS6okdn1r kiHg== X-Gm-Message-State: AFeK/H2hxmJFIjXV6pjUq3bCPaZHVOgOzaplv0WiLYBBazeTL8N60+CfJSP6jPYlwsfS0Q== X-Received: by 10.36.12.197 with SMTP id 188mr682111itn.51.1490423090664; Fri, 24 Mar 2017 23:24:50 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id r133sm2126006ith.9.2017.03.24.23.24.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Mar 2017 23:24:50 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#18337: 24.4.50; apropos fails on "scroll" References: <8669c0bb-347f-4b61-8202-562182aeba7f@default> <5412D623.3030505@yandex.ru> Date: Sat, 25 Mar 2017 02:26:14 -0400 In-Reply-To: (Detlev Zundel's message of "Fri, 12 Sep 2014 14:33:21 +0200") Message-ID: <8760ix27p5.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) close 18337 quit Detlev Zundel writes: > Hi Dmitry, > >> On 09/11/2014 12:42 PM, Detlev Zundel wrote: >> >>> * buffer.c (syms_of_buffer): Add forgotten Qchoice DEFSYM >> >> Thanks, installed as r117868. > > Thanks! > Detlev From unknown Sun Aug 17 04:16:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 22 Apr 2017 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator