unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4483: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]
@ 2009-09-18 21:56 ` MON KEY
  2009-11-08 23:25   ` bug#4483: marked as done (info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: MON KEY @ 2009-09-18 21:56 UTC (permalink / raw)
  To: bug-gnu-emacs

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4483: marked as done (info doc Character Classes don't discuss case-fold-search for  [:lower:] [:upper:])
  2009-09-18 21:56 ` bug#4483: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:] MON KEY
@ 2009-11-08 23:25   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-11-08 23:25 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Your message dated Sun, 08 Nov 2009 18:19:54 -0500
with message-id <87fx8ovc2t.fsf@stupidchicken.com>
and subject line Re: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]
has caused the Emacs bug report #4483,
regarding info doc Character Classes don't discuss case-fold-search for  [:lower:] [:upper:]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4483: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4483
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2795 bytes --]

From: MON KEY <monkey@sandpframing.com>
To: bug-gnu-emacs@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
Message-ID: <d2afcfda0909181456o1332e71ah1059dfb105067c08@mail.gmail.com>

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



[-- Attachment #3: Type: message/rfc822, Size: 1783 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: MON KEY <monkey@sandpframing.com>
Cc: 4483-done@emacsbugs.donarmstrong.com
Subject: Re: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]
Date: Sun, 08 Nov 2009 18:19:54 -0500
Message-ID: <87fx8ovc2t.fsf@stupidchicken.com>

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-08 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87fx8ovc2t.fsf@stupidchicken.com>
2009-09-18 21:56 ` bug#4483: info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:] MON KEY
2009-11-08 23:25   ` bug#4483: marked as done (info doc Character Classes don't discuss case-fold-search for [:lower:] [:upper:]) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).