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


Message #10 received at 22748-done <at> debbugs.gnu.org (full text, mbox):

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.