unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Tiny change to find-tag-default.
Date: Fri, 21 Jul 2006 07:18:48 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMCEOMCJAA.drew.adams@oracle.com> (raw)
In-Reply-To: <m3k667jncc.fsf@kfs-l.imdomain.dk>

    Suppose I'm looking at a text, and want to grep for a phrase
    (e.g. just two words) in that text, I highlight the text to search for
    (set mark, go to end of text) and do M-x lgrep. ...
    I don't think it makes sense to do this w/o transient-mark-mode,
    but that's why we have temporary transient-mark-mode marking.

That behavior ounds good to me. What about doing the same for `grep' and the
other similar commands?

OTOH, if done in `find-tag-default', this would also affect things like
function-called-at-point and variable-at-point. I don't know if that would
be a good feature or not.

[Not directly related - Is there a quick way to set the region around the
last occurrence found using isearch and query-replace (even if the latter is
exited with C-g)? If so, together with your proposal that would let you
immediately move from searching in a file to grepping for the same thing in
other files.]

  reply	other threads:[~2006-07-21 14:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-21  9:53 Tiny change to find-tag-default Kim F. Storm
2006-07-21 14:18 ` Drew Adams [this message]
2006-07-21 22:21   ` Kim F. Storm
2006-07-21 23:15     ` Drew Adams
2006-07-22  4:39 ` Richard Stallman
2006-07-22 12:17   ` martin rudalics
2006-07-23 17:34     ` Richard Stallman
2006-07-28 23:06       ` Kim F. Storm
2006-07-28  0:09     ` Kim F. Storm
2006-07-28  9:12       ` martin rudalics
2006-07-28 23:04 ` Kim F. Storm

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=EIENLHALHGIMHGDOLMIMCEOMCJAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).