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 16:15:32 -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 1153523834 29310 80.91.229.2 (21 Jul 2006 23:17:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 23:17:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 22 01:17:12 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 1G44F6-0005mm-AO for ged-emacs-devel@m.gmane.org; Sat, 22 Jul 2006 01:17:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G44F5-0006Fn-D0 for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 19:17:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G44Eu-0006Ff-Dn for emacs-devel@gnu.org; Fri, 21 Jul 2006 19:17:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G44Es-0006FS-Rc for emacs-devel@gnu.org; Fri, 21 Jul 2006 19:17:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G44Es-0006FP-O8 for emacs-devel@gnu.org; Fri, 21 Jul 2006 19:16:58 -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 1G44FO-0005Q2-GD for emacs-devel@gnu.org; Fri, 21 Jul 2006 19:17:30 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6LBcarC020583 for ; Fri, 21 Jul 2006 17:16:56 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-225.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 1614497371153523737; Fri, 21 Jul 2006 17:15:37 -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:57455 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 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.