all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nathaniel Flath <flat0103@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: occur patch
Date: Thu, 11 Nov 2010 15:10:58 -0500	[thread overview]
Message-ID: <jwvr5eroc5d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTin-UY1dDcEC2-1XJ-R8WMPmuX-YYpcjW2jioU6E@mail.gmail.com> (Nathaniel Flath's message of "Wed, 10 Nov 2010 20:44:39 -0800")

> I found it useful to have occur default to the current word instead of
> the last regexp, so I modified replace.el to support this.  The patch
> is below, if it should be installed into emacs itself - let me know of
> any issues.

I think a better solution than a config var is to provide both values.
So a single M-n chooses one and a second M-n chooses the other.


        Stefan



  parent reply	other threads:[~2010-11-11 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11  4:44 occur patch Nathaniel Flath
2010-11-11  7:30 ` Geoff Gole
2010-11-11 20:10 ` Stefan Monnier [this message]
2010-11-14 22:19   ` Juri Linkov

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=jwvr5eroc5d.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=flat0103@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.
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.