all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Roehler <andreas.roehler@easy-emacs.de>
Subject: [Fwd: Re: Bug: Unable to request replace-string of " \t"]
Date: Sun, 16 Jul 2006 09:23:11 +0200	[thread overview]
Message-ID: <44B9E95F.7010708@easy-emacs.de> (raw)

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



[-- Attachment #2: Re: Bug: Unable to request replace-string of " \t" --]
[-- Type: message/rfc822, Size: 1613 bytes --]

From: Andreas Roehler <andreas.roehler@easy-emacs.de>
To: Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
Subject: Re: Bug: Unable to request replace-string of " \t"
Date: Sun, 16 Jul 2006 08:33:04 +0200
Message-ID: <44B9DDA0.8050202@easy-emacs.de>

Bob Rogers schrieb:
>    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.
>
>   

This seems avoidable quoting both chars

"M-x replace-string RET C-q SPC C-q TAB RET x RET"

BTW is this in the docu? At a first glance searching at
`string-replace' I couldn't see it.

__
Andreas Roehler




[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

         reply	other threads:[~2006-07-16  7:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16  2:02 Bug: Unable to request replace-string of " \t" Bob Rogers
2006-07-16  8:34 ` Andreas Schwab
2006-07-16  7:23   ` Andreas Roehler [this message]
2006-07-16 16:33     ` 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

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

  git send-email \
    --in-reply-to=44B9E95F.7010708@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    /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 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.