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 16:15:32 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMAEPACJAA.drew.adams@oracle.com> (raw)
In-Reply-To: <m3slkumweo.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 sounds good to me. What about doing the same for
    > `grep' and the other similar commands?

    If the change is made to find-tag-default, the change will apply to grep
    and find-grep too.

Oh, I didn't see that; sorry. It didn't look like `grep' used it.

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

    At least it still gives predictable behavior (and in most cases
    it doesn't matter,
    as the find-tag-default is only used as a last resort fallback).

Right.

  reply	other threads:[~2006-07-21 23:15 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
2006-07-21 22:21   ` Kim F. Storm
2006-07-21 23:15     ` Drew Adams [this message]
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=EIENLHALHGIMHGDOLMIMAEPACJAA.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).