From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 13:56:29 2010 Received: (at submit) by debbugs.gnu.org; 3 Jun 2010 17:56:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKEea-0000qr-K0 for submit@debbugs.gnu.org; Thu, 03 Jun 2010 13:56:28 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKEeY-0000qg-IR for submit@debbugs.gnu.org; Thu, 03 Jun 2010 13:56:27 -0400 Received: from lists.gnu.org ([199.232.76.165]:49800) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OKEeU-000820-8n for submit@debbugs.gnu.org; Thu, 03 Jun 2010 13:56:22 -0400 Received: from [140.186.70.92] (port=33136 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKEeS-0002Cw-Sr for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 13:56:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKEeQ-0004k1-Tv for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 13:56:20 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:48109) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKEeQ-0004jh-NH for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 13:56:18 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o53HuDP2021185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Jun 2010 17:56:15 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o53GTTrh003912 for ; Thu, 3 Jun 2010 17:56:13 GMT Received: from abhmt014.oracle.com by acsmt354.oracle.com with ESMTP id 319905251275587767; Thu, 03 Jun 2010 10:56:07 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Jun 2010 10:56:07 -0700 From: "Drew Adams" To: Subject: 24.0.50; doc of menu separators Date: Thu, 3 Jun 2010 10:56:07 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcsDRgsUPzao1ibmQA67WHYjEKSkFQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090209.4C07ECBF.01A7:SCFMA4539811,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) emacs -Q C-h i, Elisp manual. Node `Extended Menu Items' says only this about separators: "A string starting with two or more dashes specifies a separator line; see *Note Menu Separators::." Node `Menu Separators' says, likewise, that this is all that is permitted: (menu-item SEPARATOR-TYPE) A user will naturally wonder, "Is there no way to specify :enable or :visible for a menu separator?" In fact, there is a way, simply use: (menu-item SEPARATOR-TYPE nil :visible PREDICATE) etc. In sum, the doc (spec) for separators is incomplete. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-05-23 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 29 10:33:10 2010 Received: (at 6344) by debbugs.gnu.org; 29 Dec 2010 15:33:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXy1W-0004hZ-Hb for submit@debbugs.gnu.org; Wed, 29 Dec 2010 10:33:10 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXy1Q-0004h1-Ay for 6344@debbugs.gnu.org; Wed, 29 Dec 2010 10:33:08 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBTFds6O022931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <6344@debbugs.gnu.org>; Wed, 29 Dec 2010 15:39:56 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBTFZfOU028453 for <6344@debbugs.gnu.org>; Wed, 29 Dec 2010 15:39:54 GMT Received: from abhmt013.oracle.com by acsmt354.oracle.com with ESMTP id 913924571293637140; Wed, 29 Dec 2010 07:39:00 -0800 Received: from dradamslap1 (/10.159.216.195) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 29 Dec 2010 07:39:00 -0800 From: "Drew Adams" To: <6344@debbugs.gnu.org> References: Subject: RE: bug#6344: 24.0.50; doc of menu separators Date: Wed, 29 Dec 2010 07:39:02 -0800 Message-ID: <294C0104B1B64A6388E83E272280D7EF@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcsDRgsUPzao1ibmQA67WHYjEKSkFSkJ8aIw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 In-Reply-To: X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 6344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Ping. I just spent some time myself rediscovering this. Can we please fix the doc to mention this? Thx. > A user will naturally wonder, "Is there no way to specify :enable or > :visible for a menu separator?" In fact, there is a way, simply use: > (menu-item SEPARATOR-TYPE nil :visible PREDICATE) > etc. > > In sum, the doc (spec) for separators is incomplete. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 18:23:20 2011 Received: (at 6344) by debbugs.gnu.org; 13 Jul 2011 22:23:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh7pw-00043f-LF for submit@debbugs.gnu.org; Wed, 13 Jul 2011 18:23:20 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh7ps-00043A-Vc for 6344@debbugs.gnu.org; Wed, 13 Jul 2011 18:23:17 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh7pf-0006Ha-Ne; Thu, 14 Jul 2011 00:23:03 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: bug#6344: 24.0.50; doc of menu separators In-Reply-To: <294C0104B1B64A6388E83E272280D7EF@us.oracle.com> (Drew Adams's message of "Wed, 29 Dec 2010 07:39:02 -0800") Date: Thu, 14 Jul 2011 00:16:43 +0200 Message-ID: References: <294C0104B1B64A6388E83E272280D7EF@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: David Byrne and Brian Eno's _My Life In The Bush Of Ghosts_: "Regiment" X-Hashcash: 1:23:110713:drew.adams@oracle.com::EYGEy2U+wH05iAsk:0000000000000000000000000000000000000000BevE X-Hashcash: 1:23:110713:6344@debbugs.gnu.org::1FZQoReUs2xquEDo:00000000000000000000000000000000000000000oQWQ MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qh7pf-0006Ha-Ne X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311200583.99289@KTeuNk6Hf81ofNe/0RP4Vg X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6344 Cc: 6344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > I just spent some time myself rediscovering this. > Can we please fix the doc to mention this? Thx. > >> A user will naturally wonder, "Is there no way to specify :enable or >> :visible for a menu separator?" In fact, there is a way, simply use: >> (menu-item SEPARATOR-TYPE nil :visible PREDICATE) >> etc. >> >> In sum, the doc (spec) for separators is incomplete. Could you suggest an appropriate text for the manual? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 18:44:14 2011 Received: (at 6344) by debbugs.gnu.org; 13 Jul 2011 22:44:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8AA-0005Rh-E2 for submit@debbugs.gnu.org; Wed, 13 Jul 2011 18:44:14 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8A6-0005RR-SA for 6344@debbugs.gnu.org; Wed, 13 Jul 2011 18:44:11 -0400 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6DMi24m009395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jul 2011 22:44:04 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6DMi1Ox029917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2011 22:44:02 GMT Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6DMhtkU031480; Wed, 13 Jul 2011 17:43:56 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Jul 2011 15:43:55 -0700 From: "Drew Adams" To: "'Lars Magne Ingebrigtsen'" References: <294C0104B1B64A6388E83E272280D7EF@us.oracle.com> Subject: RE: bug#6344: 24.0.50; doc of menu separators Date: Wed, 13 Jul 2011 15:43:58 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxBq3l3PLi5X+hgSeOAE8kUHZyHkgAAUhYg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090203.4E1E1FB5.0005:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 6344 Cc: 6344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) > > I just spent some time myself rediscovering this. > > Can we please fix the doc to mention this? Thx. > > > >> A user will naturally wonder, "Is there no way to specify > >> :enable or :visible for a menu separator?" In fact, there > >> is a way, simply use: > >> (menu-item SEPARATOR-TYPE nil :visible PREDICATE) > >> etc. > >> > >> In sum, the doc (spec) for separators is incomplete. > > Could you suggest an appropriate text for the manual? I think all we need to say is something like this (in node `Menu Separators'): You can use this longer form to specify keywords such as :enable and :visible for a menu separator: (menu-item SEPARATOR-TYPE nil . ITEM-PROPERTY-LIST) For example: (menu-item "--" nil :visible (boundp 'foo)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 19:18:25 2011 Received: (at control) by debbugs.gnu.org; 13 Jul 2011 23:18:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8hF-00074E-BC for submit@debbugs.gnu.org; Wed, 13 Jul 2011 19:18:25 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8hD-000742-C0 for control@debbugs.gnu.org; Wed, 13 Jul 2011 19:18:24 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh8h0-0006xO-AB for control@debbugs.gnu.org; Thu, 14 Jul 2011 01:18:10 +0200 Date: Thu, 14 Jul 2011 01:18:09 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #6344 X-MailScanner-ID: 1Qh8h0-0006xO-AB X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311203891.87425@SE7mlFWWZ0y/CEaUCSlPwQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 6344 fixed close 6344 24.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 19:20:15 2011 Received: (at 6344) by debbugs.gnu.org; 13 Jul 2011 23:20:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8ix-00077L-JR for submit@debbugs.gnu.org; Wed, 13 Jul 2011 19:20:15 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8is-00076W-IH for 6344@debbugs.gnu.org; Wed, 13 Jul 2011 19:20:10 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh8if-0006zJ-3J; Thu, 14 Jul 2011 01:19:53 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: bug#6344: 24.0.50; doc of menu separators In-Reply-To: (Drew Adams's message of "Wed, 13 Jul 2011 15:43:58 -0700") Date: Thu, 14 Jul 2011 01:17:56 +0200 Message-ID: References: <294C0104B1B64A6388E83E272280D7EF@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXEW125HTPSJztFChO+ P0TLMT3aIjrbk5wl8N22AAACXUlEQVQ4jXWUPXPbMAyG0TMtrkFku7N5cWbpqEtWKmKStXYjdZXV mlnZi1L8/QKS/JH0ykHm4fELgNBLQWqHhbjcrVN0ANUYgBHkiDuDuAA6AcwxFYExa0RHpPsJbNEw wevQcVwzmCRwGwLyWoU9LjgOvppACIFz4C0rfki8tFOqRsD2mvkmUvQ+vQRLwwnD6yx34BWmOIAE gqlNEGC/EmjwvpQ2ASh0O4kn7TPXoPnLY81dCkjCsHRPvCLUu03KRwBN8wn8FgBQh03JUwCIcQTt AIi7qevbdXoB3vl8URLXdSfgVCQupEYIB0gEtHpSBNgz4T+1icwNAkyC0M7TjP7wbwidMRDOC/ZW H//VXYJwsFfH7VnB41l+t3fhs+LnONN/wD79D5gE9u6Y4VgDJ/D0WbGVaFGUzWcwvGnv1MWhxucI TkM4gW++srmHD2Pg2bRzNgErFlzBNOcaLYBSAlaHBZSro4Id1UYtitwvvMPDIDE11LghUuC4iC1K j16s1PE7D1Ys61Q5nDEvvJPWzAbCjVi857Z4XIUvQCVjcS5I1EcGxTM7w4E6tluJaZT3mi3tCL64 xxGsOcLmKJSONtNAvY7JkMo0rdhMEqmMvcSJYRz7spW9tZpAsYIGwO3i1XsgktLcsxYiPusQVr8o 6lja6r7PgLfE1ur4BkN45b3imT+/VZmeWb46zaBoXgnkFPZ+Zm3GV8374W5D00Z6k/eqMsdPvmk4 fCm4A+qrTAjZ3CncNRu59wJgNlx5rXyVo3+Q0abyAUhu7GkV+uVpch/Uyf4MrNs+yAeBd38B2xIy 4jo/qKcAAAAASUVORK5CYII= X-Now-Playing: Depeche Mode's _Speak & Spell_: "Photographic" X-Hashcash: 1:23:110713:drew.adams@oracle.com::41O+RX8i+jz8+uyX:0000000000000000000000000000000000000000B3Ph X-Hashcash: 1:23:110713:6344@debbugs.gnu.org::UUKf3fHYFssgmZy8:00000000000000000000000000000000000000001FHat MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qh8if-0006zJ-3J X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311203993.27705@gXFuNWxhn5hWdIk+0jayxQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6344 Cc: 6344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > I think all we need to say is something like this (in node `Menu Separators'): > > You can use this longer form to specify keywords such as :enable and :visible > for a menu separator: > > (menu-item SEPARATOR-TYPE nil . ITEM-PROPERTY-LIST) > > For example: > > (menu-item "--" nil :visible (boundp 'foo)) Thanks; I've now added this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Wed Jun 25 05:39:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Aug 2011 11:24:05 +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