GNU bug report logs - #1021
23.0.60; Regexp error

Previous Next

Package: emacs;

Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>

Date: Wed, 24 Sep 2008 16:20:02 UTC

Severity: normal

Merged with 1022

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1021 in the body.
You can then email your comments to 1021 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1021; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Regexp error
Date: Wed, 24 Sep 2008 13:11:14 -0300
search-forward-regexp fails to search uppercase classes of characters in regexp.

How to reproduce:

1) emacs -q --no-site-file --no-splash
2) type the following in *scratch* buffer
     (search-forward-regexp "[A-Z]")  abCd
3) evaluate the first expression.

Expected: cursor after B
Results: cursor after a

Regards

Miguel Frasson


In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-05-28 on edf
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--with-x-toolkit=gtk' '--with-xpm'
'--with-jpeg' '--with-tiff' '--with-gif' '--with-png''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: pt_BR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
( s e a r c h - f o r w a r d - r e g e x p SPC " [
A - Z ] [ A - Z ] + " SPC <backspace> ) <return> <return>
<return> a a a a a a a SPC a A B C a a a <home> <up>
<up> <up> <end> C-x C-e M-x e m a <tab> s u <tab> <backspace>
<backspace> <tab> C-g <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
239
Making completion list...
Quit

-- 
Miguel Vinicius Santini Frasson
mvsfrasson <at> gmail.com




Merged 1021 1022. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 24 Sep 2008 17:15:03 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #12 received at 1021-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
Cc: 1021-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; Regexp error
Date: Wed, 24 Sep 2008 18:46:04 -0400
> 1) emacs -q --no-site-file --no-splash
> 2) type the following in *scratch* buffer
>      (search-forward-regexp "[A-Z]")  abCd
> 3) evaluate the first expression.
>
> Expected: cursor after B
> Results: cursor after a

I believe this is working as intended: see the node Searching and Case
in the Emacs Lisp manual.




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Miguel Frasson <frasson <at> edf>:
bug acknowledged by developer. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1021; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Lawrence Mitchell <wence <at> gmx.li>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #22 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lawrence Mitchell <wence <at> gmx.li>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: Re: bug#1021: 23.0.60; Regexp error
Date: Thu, 25 Sep 2008 09:03:56 +0100
Miguel V. S. Frasson wrote:
> search-forward-regexp fails to search uppercase classes of
> characters in regexp.

> How to reproduce:

> 1) emacs -q --no-site-file --no-splash
> 2) type the following in *scratch* buffer
>      (search-forward-regexp "[A-Z]")  abCd
> 3) evaluate the first expression.

> Expected: cursor after B
                         ^ C?
> Results: cursor after a

This is (I believe) expected behaviour with case-fold-search set
to t, the default.

Perhaps the docstring of search-forward-regexp should mention
this variable, as is done for search-forward.

Cheers,
Lawrence
-- 
Lawrence Mitchell <wence <at> gmx.li>






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1021; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Lawrence Mitchell <wence <at> gmx.li>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 23 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 301 days ago.

Previous Next


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