all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Covici <covici@ccs.covici.com>
To: help-gnu-emacs@gnu.org
Subject: emacs capitalizing every word in replacement  how to prevent
Date: Thu, 24 Nov 2022 07:25:56 -0500	[thread overview]
Message-ID: <m34juoh73f.wl-covici@ccs.covici.com> (raw)

Hi.  I have a shell script like this
JawMuscles1
followed by other similar names.

I wanted to replace each item in the file like this:

Replace regexp (default ^.*$ → cd jawstemp; unzip ../\&.zip;mkdir
../\&;mv * ..\&;cd ..

but Emacs capitalized every word in the replaced lines, including all
the commands -- it replaced  unzip with Unzip etc.

I have never seen this before.  The file is type shellscript.

How to prevent this?

Thanks for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com



             reply	other threads:[~2022-11-24 12:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 12:25 John Covici [this message]
2022-11-24 12:53 ` emacs capitalizing every word in replacement how to prevent tomas
2022-11-24 13:42   ` John Covici
2022-11-24 14:00     ` John Covici
2022-11-24 14:12       ` tomas
2022-11-24 14:18         ` John Covici
2022-11-24 14:02     ` tomas

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=m34juoh73f.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=help-gnu-emacs@gnu.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 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.