all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* interactive regexp typing: incorrect diagnostic
@ 2004-06-07  7:54 Akim Demaille
  2004-06-10  6:55 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Akim Demaille @ 2004-06-07  7:54 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-04-07 on raven, modified by Debian
configured using `configure '--build=i386-linux' '--host=i386-linux' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux' 'host_alias=i386-linux''
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: fr_FR
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Hi,

When entering a regexp for query-replace-regexp, the parser seems to
be confused with "unbalanced parentheses".  Type in `[^)]' for
instance, and see it complain about the paren.

Thanks!


Recent input:
<return> C-M-% <up> <up> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <left> 
* <return> <up> <up> <return> y y y C-x C-s C-M-% <up> 
<up> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <tab> C-k <backspace> <backspace> ^ } <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> ( [ 
<backspace> <backspace> [ ^ ) ] C-g C-g M-x e m a c 
<tab> b u <tab> <M-backspace> <M-backspace> r e p o 
<tab> r t <tab> <return>

Recent messages:
Mark set
Replaced 0 occurrences
Mark set
Replaced 3 occurrences
Wrote /home/akim/lectures/complec/trunk/compilation-lecture/instr-selection/instr-selection.tex
Mismatched parentheses [2 times]
query-replace-read-args: Quit
keyboard-quit: Quit
Making completion list...
Loading emacsbug...done

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

* Re: interactive regexp typing: incorrect diagnostic
  2004-06-07  7:54 interactive regexp typing: incorrect diagnostic Akim Demaille
@ 2004-06-10  6:55 ` Richard Stallman
  2004-06-10  7:19   ` Akim Demaille
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2004-06-10  6:55 UTC (permalink / raw)
  Cc: bug-gnu-emacs

The Emacs paren-matched has no understanding of regexp syntax, so I am
not surprised by this bug.  Fixing it would be a lot of work.
If someone writes code for this, we could install it.

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

* Re: interactive regexp typing: incorrect diagnostic
  2004-06-10  6:55 ` Richard Stallman
@ 2004-06-10  7:19   ` Akim Demaille
  0 siblings, 0 replies; 3+ messages in thread
From: Akim Demaille @ 2004-06-10  7:19 UTC (permalink / raw)
  Cc: bug-gnu-emacs

>>> "rms" == Richard Stallman <rms@gnu.org> writes:

 > The Emacs paren-matched has no understanding of regexp syntax, so I am
 > not surprised by this bug.  Fixing it would be a lot of work.
 > If someone writes code for this, we could install it.

I understand this; too bad that regcomp's return values make no
difference between really unbalanced parens, and a lack of closing
parens, also deep inside it sees the difference.

But then, should this control be activated?

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

end of thread, other threads:[~2004-06-10  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-07  7:54 interactive regexp typing: incorrect diagnostic Akim Demaille
2004-06-10  6:55 ` Richard Stallman
2004-06-10  7:19   ` Akim Demaille

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.