unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: liyer.vijay@gmail.com
Subject: Re: query-replace
Date: 4 May 2006 17:15:02 -0700	[thread overview]
Message-ID: <1146788102.773943.212800@j73g2000cwa.googlegroups.com> (raw)
In-Reply-To: <mailman.1453.1146785668.9609.help-gnu-emacs@gnu.org>


Pedro Sa da Costa wrote:
> 1 -
> I have this text: "and the android goes away."
> I want to replace the word "and" to "or", but i don't want to replace
> the word " [and]roid".  How should i do this in emacs? The M-%  doesn't
> work in this case.

See C-M-% query-replace-regexp

In your specific case, you need:
M-x query-replace-regexp \band\b RET or RET

> 2 - I know that this isn't latex mailing list, but i can't find any.
> Anyone knows a mailing list to latex?
comp.text.tex ?

Cheers
Vijay

> Can we quote you on that?
A long time ago, someone in the Lisp industry told me it was poor form
quote people; it suggests that they lack value.
	-- Kent M Pitman <pitman@world.std.com> in comp.lang.lisp

       reply	other threads:[~2006-05-05  0:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1453.1146785668.9609.help-gnu-emacs@gnu.org>
2006-05-05  0:15 ` liyer.vijay [this message]
2006-05-05  0:19 ` query-replace Johan Bockgård
2006-05-05  6:49 ` query-replace Malte Spiess
2006-05-05 14:55   ` query-replace B. T. Raven
2006-05-05 17:11     ` query-replace Kevin Rodgers
2006-05-06  0:25       ` query-replace Pedro Sa da Costa
2006-05-06  2:50         ` query-replace Nikos Apostolakis
     [not found]       ` <mailman.1499.1146875164.9609.help-gnu-emacs@gnu.org>
2006-05-06  2:03         ` query-replace Barry Margolin
2006-05-31  2:26           ` query-replace David Combs
     [not found]     ` <mailman.1484.1146849219.9609.help-gnu-emacs@gnu.org>
2006-05-06  0:40       ` query-replace Miles Bader
2006-05-08 17:28         ` query-replace Kevin Rodgers
     [not found]         ` <mailman.1583.1147109410.9609.help-gnu-emacs@gnu.org>
2006-05-31  2:22           ` query-replace David Combs
2006-05-04 23:33 query-replace Pedro Sa da Costa
2006-05-05  0:40 ` query-replace Nikos Apostolakis

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=1146788102.773943.212800@j73g2000cwa.googlegroups.com \
    --to=liyer.vijay@gmail.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).