GNU bug report logs - #8682
24.0.50; doc strings of `isearch-mode', `isearch-forward', etc.

Previous Next

Package: emacs;

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

Date: Tue, 17 May 2011 14:26:01 UTC

Severity: minor

Tags: notabug

Found in version 24.0.50

Fixed in version 24.3.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 8682 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>
Cc: 8682 <at> debbugs.gnu.org
Subject: RE: bug#8682: 24.0.50;
	doc strings of `isearch-mode', `isearch-forward', etc.
Date: Tue, 17 May 2011 07:46:36 -0700
> > (Also, some `isearch-mode' arguments should be renamed with `-P', to
> > indicate that they are boolean flags: FORWARD-P, REGEXP-P,
> > RECURSIVE-EDIT-P.)
>  
> No.

Yes, I know your argument that you want to distinguish Boolean functions (even
nullary) from Boolean-valued variables.  Still, it is a useful convention that
conveys information.

If you don't like `-P' because you think it too closely conveys "predicate" (and
you don't want to consider a variable as a nullary predicate), then choose
another naming convention for this.  It is quite helpful to suggest by a
parameter's name that it represents a truth value: nil/non-nil.





This bug report was last modified 12 years and 7 days ago.

Previous Next


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