unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Herb Martin" <news@LearnQuick.com>
Subject: Re: Regex search and replace End Of line
Date: Sat, 30 Aug 2003 19:23:02 GMT	[thread overview]
Message-ID: <qQ64b.21103$_B.1146137@twister.austin.rr.com> (raw)
In-Reply-To: yoij7k4vggoe.fsf@frealaf.dd.chalmers.se

> C-q is your friend:
>
> M-% = C-q C-j RET RET

Thanks -- I was a little uncertain about the "C-j" since this is
a Windows System and I thought it might be "C-m C-j" but
JUST the "C-j" worked fine.

Seems Emacs -- likes Perl -- on Windows does the "right thing"
with EOL.

Oddly enough I am having trouble with C-M-%  (there is special
processing on Windows for Alt which I am suspecting) -- if I
just hit, Ctrl-Alt-Shift for "%" it does nothing -- but if I hit
    Ctrl-Alt-5, hold the shifting keys (Ctrl-Alt) and add Shift-%
    it works.

Doesn't seem to matter what order I depress the shifting keys
(nor trying to depress them all simultaneously.)

There is probably a simpler method, or fix but it works for now.

--
Thanks,
Herb Martin

      reply	other threads:[~2003-08-30 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-30 17:32 Regex search and replace End Of line Herb Martin
2003-08-30 18:10 ` Johan Bockgård
2003-08-30 19:23   ` Herb Martin [this message]

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='qQ64b.21103$_B.1146137@twister.austin.rr.com' \
    --to=news@learnquick.com \
    /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.
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).