GNU bug report logs - #22748
24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 20 Feb 2016 18:24:02 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22748: closed (24.5; (elisp) `Type Predicates': Repeat the
 rule from `Coding Conventions')
Date: Sat, 20 Feb 2016 18:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 20 Feb 2016 20:52:03 +0200
with message-id <83io1jnrjg.fsf <at> gnu.org>
and subject line Re: bug#22748: 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions'
has caused the debbugs.gnu.org bug report #22748,
regarding 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding Conventions'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
22748: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22748
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; (elisp) `Type Predicates': Repeat the rule from `Coding
 Conventions'
Date: Sat, 20 Feb 2016 10:23:32 -0800 (PST)
(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.


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=3D/c/usr --host=3Di686-pc-mingw32'


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 22748-done <at> debbugs.gnu.org
Subject: Re: bug#22748: 24.5;
 (elisp) `Type Predicates': Repeat the rule from `Coding Conventions'
Date: Sat, 20 Feb 2016 20:52:03 +0200
> Date: Sat, 20 Feb 2016 10:23:32 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> (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.


This bug report was last modified 9 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.