From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Tiny change to find-tag-default. Date: Fri, 21 Jul 2006 07:18:48 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153491719 30626 80.91.229.2 (21 Jul 2006 14:21:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 14:21:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 21 16:21:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G3vrX-0003FV-3F for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 16:20:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3vrW-0002dV-HR for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 10:20:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G3vrM-0002dI-BA for emacs-devel@gnu.org; Fri, 21 Jul 2006 10:20:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G3vrI-0002c8-4x for emacs-devel@gnu.org; Fri, 21 Jul 2006 10:20:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3vrH-0002c0-Pe for emacs-devel@gnu.org; Fri, 21 Jul 2006 10:20:03 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G3vrh-0003BV-Jh for emacs-devel@gnu.org; Fri, 21 Jul 2006 10:20:30 -0400 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6K41YpZ030525 for ; Fri, 21 Jul 2006 08:20:01 -0600 Original-Received: from dhcp-amer-csvpn-gw1-141-144-66-139.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 1613227841153491532; Fri, 21 Jul 2006 08:18:52 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57428 Archived-At: 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.]