From: Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
Subject: Bug: Unable to request replace-string of " \t"
Date: Sat, 15 Jul 2006 22:02:39 -0400 [thread overview]
Message-ID: <17593.40511.445962.716539@rgrjr.dyndns.org> (raw)
When invoking the replace-string command from the keyboard, spaces
seem to get dropped from the first argument to replace-string if
followed by a TAB character. To reproduce:
1. "emacs -Q"
2. "M-x replace-string RET SPC TAB RET x RET". It won't matter that
it doesn't replace anything. Notice that the SPC and TAB are inserted
into the minibuffer normally, though the prompt after typing RET says
"Replace regexp ^I with: ", indicating that the SPC was deleted.
3. You can also do "C-x ESC ESC" to verify that the actual first
argument to replace-string consists of a single TAB.
Wierd, eh? I discovered it in an emacs built two weeks ago, and then
reproduced it in one built via "make bootstrap" from CVS as of about
half an hour ago. I followed the trail as far as read_minibuf, but then
got lost.
-- Bob Rogers
http://rgrjr.dyndns.org/
next reply other threads:[~2006-07-16 2:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-16 2:02 Bob Rogers [this message]
2006-07-16 8:34 ` Bug: Unable to request replace-string of " \t" Andreas Schwab
2006-07-16 7:23 ` [Fwd: Re: Bug: Unable to request replace-string of " \t"] Andreas Roehler
2006-07-16 16:33 ` Bug: Unable to request replace-string of " \t" Bob Rogers
2006-07-17 1:02 ` Stefan Monnier
2006-07-17 1:44 ` Drew Adams
2006-07-17 3:20 ` Stefan Monnier
2006-07-18 0:12 ` Richard Stallman
2006-07-17 1:40 ` Richard Stallman
2006-07-17 1:48 ` Drew Adams
2006-07-17 3:25 ` Stefan Monnier
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=17593.40511.445962.716539@rgrjr.dyndns.org \
--to=rogers-emacs@rgrjr.dyndns.org \
/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).