From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 13:23:48 2016 Received: (at submit) by debbugs.gnu.org; 20 Feb 2016 18:23:48 +0000 Received: from localhost ([127.0.0.1]:35558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCC4-0004UF-Dk for submit@debbugs.gnu.org; Sat, 20 Feb 2016 13:23:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46714) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCC2-0004Tz-2j for submit@debbugs.gnu.org; Sat, 20 Feb 2016 13:23:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXCBw-0003Tu-4S for submit@debbugs.gnu.org; Sat, 20 Feb 2016 13:23:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_50,XPRIO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCBw-0003Tp-0v for submit@debbugs.gnu.org; Sat, 20 Feb 2016 13:23:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCBv-0005Se-0O for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 13:23:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXCBr-0003P2-Qh for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 13:23:38 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:38793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCBr-0003Nz-Hx for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 13:23:35 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1KINYqS016810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 20 Feb 2016 18:23:34 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u1KINYOt022030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 20 Feb 2016 18:23:34 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u1KINXIS010625 for ; Sat, 20 Feb 2016 18:23:33 GMT MIME-Version: 1.0 Message-ID: <6f905e9f-8bb4-4ec1-8cce-b00a6bf7a402@default> Date: Sat, 20 Feb 2016 10:23:32 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: submit 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: -4.0 (----) (elisp) `Coding Conventions' makes clear that a predicate name that has multiple words should end in `-p', not just `p'. This should also be made clear in node `Type Predicates', which currently says only this about the naming: Following a general Lisp convention for predicate functions, most type predicates=3DA1=3DAF names end with =3DA1=3DAEp=3DA1=3DAF. And that node should have a cross reference to node `Coding Conventions', which details the "general Lisp convention for predicate functions" that it refers to. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D3D/c/usr --host=3D3Di686-pc-mingw32' From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 13:52:28 2016 Received: (at 22748-done) by debbugs.gnu.org; 20 Feb 2016 18:52:28 +0000 Received: from localhost ([127.0.0.1]:35578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCdo-0005C7-Lw for submit@debbugs.gnu.org; Sat, 20 Feb 2016 13:52:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55831) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCdn-0005Bv-CV for 22748-done@debbugs.gnu.org; Sat, 20 Feb 2016 13:52:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXCde-0002tb-V6 for 22748-done@debbugs.gnu.org; Sat, 20 Feb 2016 13:52:22 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCde-0002tX-Ra; Sat, 20 Feb 2016 13:52:18 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXCde-0001l8-1G; Sat, 20 Feb 2016 13:52:18 -0500 Date: Sat, 20 Feb 2016 20:52:03 +0200 Message-Id: <83io1jnrjg.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <6f905e9f-8bb4-4ec1-8cce-b00a6bf7a402@default> (message from Drew Adams on Sat, 20 Feb 2016 10:23:32 -0800 (PST)) Subject: Re: bug#22748: 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions' References: <6f905e9f-8bb4-4ec1-8cce-b00a6bf7a402@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22748-done Cc: 22748-done@debbugs.gnu.org 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 20 Feb 2016 10:23:32 -0800 (PST) > From: Drew Adams > > (elisp) `Coding Conventions' makes clear that a predicate name that has > multiple words should end in `-p', not just `p'. This should also be > made clear in node `Type Predicates', which currently says only this > about the naming: > > Following a general Lisp convention for predicate functions, most type > predicates=A1=AF names end with =A1=AEp=A1=AF. > > And that node should have a cross reference to node `Coding > Conventions', which details the "general Lisp convention for predicate > functions" that it refers to. "Coding Conventions" are about future code; "Type Predicates" describe the reality. These two are not necessarily identical. Closing. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 14:10:54 2016 Received: (at 22748-done) by debbugs.gnu.org; 20 Feb 2016 19:10:54 +0000 Received: from localhost ([127.0.0.1]:35586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCve-0005ex-8S for submit@debbugs.gnu.org; Sat, 20 Feb 2016 14:10:54 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:30552) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXCvc-0005ej-3K for 22748-done@debbugs.gnu.org; Sat, 20 Feb 2016 14:10:52 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1KJAjmW015747 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 20 Feb 2016 19:10:45 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u1KJAj8O027864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 20 Feb 2016 19:10:45 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u1KJAiaQ002756; Sat, 20 Feb 2016 19:10:44 GMT MIME-Version: 1.0 Message-ID: <3544db59-c0b7-46e8-853b-7fd6f546be34@default> Date: Sat, 20 Feb 2016 11:10:44 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#22748: 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions' References: <<6f905e9f-8bb4-4ec1-8cce-b00a6bf7a402@default>> <<83io1jnrjg.fsf@gnu.org>> In-Reply-To: <<83io1jnrjg.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22748-done Cc: 22748-done@debbugs.gnu.org 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: -2.3 (--) > "Coding Conventions" are about future code; No, they describe the conventions that we follow. That's general: past, present, future. > "Type Predicates" describe the reality. These two are not > necessarily identical. Agreed. But `Type Predicates' specifically points to the convention. It should link to it, so readers can understand just what that _convention_ is - as opposed to the more lax description of "the reality". FWIW: I was pretty sure that this convention was described somewhere, so I tried `i predicate' and then narrowed that to "type predicates" and landed at `Type Predicates'. I did not find what I was looking for there, wrt the rule for naming type predicates. I then resorted to, yes, searching the manual (I even searched the Emacs manual, as well), using regexps such as "[^CM]-p\b"... Eventually, I got to (elisp) `Coding Conventions'. Sure, I should have started there, perhaps. But I should have also been able to get there easily from `Type Predicates' after using `i predicate'. Just one user, sure. Why you would not want to add a cross-reference to the node that actually defines the "general Lisp convention for predicate functions" is beyond me. Perhaps you are having a bad day? If you don't have time to add that cross-ref now, why not leave the bug open until someone does? Why should this node mention, vaguely, "a general Lisp convention for predicate functions" without helping users find out what that convention is? > Closing. Too bad. From unknown Tue Jun 17 01:28:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Mar 2016 11:24:04 +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