emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiny change to find-tag-default.


From: Kim F. Storm
Subject: Re: Tiny change to find-tag-default.
Date: Sat, 22 Jul 2006 00:21:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

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

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

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

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]