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


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>
Cc: 8682 <at> debbugs.gnu.org
Subject: bug#8682: 24.0.50; doc strings of `isearch-mode', `isearch-forward', etc.
Date: Tue, 17 May 2011 12:12:02 -0700
> > 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.
> 
> `forward' works just fine, `recursive' as well.
> I agree that `regexp' isn't quite as clear because it's a 
> substantive so
> it could also be understood to carry a regular expression, so you may
> prefer `use-regexp' or something like that.

No, the point was to have a convention that suggests the Boolean-valuedness
irrespective of the rest of the parameter name.

Anyway, this is not the most important part of this bug report.





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.