GNU bug report logs - #4483
info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Fri, 18 Sep 2009 22:05:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: MON KEY <monkey <at> sandpframing.com>
Subject: bug#4483 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: info
 doc Character Classes don't discuss case-fold-search for [:lower:]
 [:upper:])
Date: Sun, 08 Nov 2009 23:25:05 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#4483: info doc Character Classes don't discuss case-fold-search for  [:lower:] [:upper:]

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
4483: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4483
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: MON KEY <monkey <at> sandpframing.com>
Cc: 4483-done <at> debbugs.gnu.org
Subject: Re: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]
Date: Sun, 08 Nov 2009 18:19:54 -0500
> In searching.texi @subsubsection Character Classes
>
> (info "(elisp)Char Classes")
>
> the character alternative items:
>  `[:lower:]' and `[:upper:]'
>
> should provide an indication that the classes are also affected by the
> buffer local value of `case-fold-search'.

I have amended the doc accordingly.  Thanks.
[Message part 3 (message/rfc822, inline)]
From: MON KEY <monkey <at> sandpframing.com>
To: bug-gnu-emacs <at> gnu.org
Subject: info doc Character Classes don't discuss case-fold-search for 
	[:lower:] [:upper:]
Date: Fri, 18 Sep 2009 17:56:00 -0400
In searching.texi @subsubsection Character Classes

(info "(elisp)Char Classes")

the character alternative items:
 `[:lower:]' and `[:upper:]'

should provide an indication that the classes are also affected by the
buffer local value of `case-fold-search'.

While the influence of buffer-local case variable settings _is_
discussed at the (info "(elisp)Searching and Case")
section, this is of little use where it isn't clear that the influence
of the current 'Case Table' is only indirectly related to the setting
of `case-fold-search' vis a vis regexp.

Likewise provision of an example might be nice:

,----
| (let ((case-fold-search nil))
|   (search-forward-regexp "\\([\\[:lower:]]\\)"))
`----

s_P



This bug report was last modified 15 years and 194 days ago.

Previous Next


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