unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Paul vL" <litter@graffiti.net>
Subject: \t not correctly processed in query-replace-regexp
Date: Thu, 16 Sep 2004 19:41:11 +0800	[thread overview]
Message-ID: <20040916114111.3F79E13F15@ws5-9.us4.outblaze.com> (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-mingw-nt5.0.2195)
 of 2004-03-10 on NYAUMO
configured using `configure --with-gcc (3.2)'
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: ENU
  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:

when using a character class with \t, the \t is not recognised:
[ \t]+ will not match a sequence of spaces and tabs.
using C-q to insert a literal tab character does work;
[  ]+ will match a sequence of spaces and tabs.

it is stated in the "syntax
of regular expressions" section of the emacs manual/info file that :
" `\"' stands for a double-quote as part of
the regexp, `\\' for a backslash as part of the regexp, `\t' for a tab,
and `\n' for a newline. "
and it even gives an example which uses \t for tabs:
"[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"

Regards,
Paul


Recent input:
n n n n n n n n n n n n n n n n n n n n n q <down-mouse-1> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-1> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <help-echo> 
u <up> <return> <down-mouse-1> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-1> C-M-% t 
e x t [ SPC C-` <tab> ] + n o c a s e <return> <return> 
y y y y y y y y y y y ! C-x C-s <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
query-replace-regexp: Quit
Mark set
Replaced 0 occurrences
Loading phexl...done
Mark set
Replaced 0 occurrences
Mark set
Replaced 14 occurrences
Wrote c:/project/rhapsody/archive/nasm2c/nasm.c3po
Loading emacsbug...done

-- 
_______________________________________________
Graffiti.net free e-mail @ www.graffiti.net
Check out our value-added Premium features, such as a 1 GB mailbox for just US$9.95 per year!


Powered by Outblaze

             reply	other threads:[~2004-09-16 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 11:41 Paul vL [this message]
2004-09-16 15:27 ` \t not correctly processed in query-replace-regexp Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040916114111.3F79E13F15@ws5-9.us4.outblaze.com \
    --to=litter@graffiti.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).