From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: etags.el tags-search use global syntax table Date: Sat, 01 Dec 2007 12:59:30 -0500 Message-ID: References: <47507B7E.9060205@redhat.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1196531997 24050 80.91.229.12 (1 Dec 2007 17:59:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2007 17:59:57 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: John Dennis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 01 19:00:05 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IyWd8-0000Pa-S1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2007 18:59:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyWcs-0005UH-Lw for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Dec 2007 12:59:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyWcn-0005Tz-8l for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2007 12:59:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyWcl-0005TM-J4 for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2007 12:59:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyWcl-0005TF-Dc for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2007 12:59:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyWcl-0002AL-7U for bug-gnu-emacs@gnu.org; Sat, 01 Dec 2007 12:59:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IyWck-0008RW-OB; Sat, 01 Dec 2007 12:59:30 -0500 In-reply-to: <47507B7E.9060205@redhat.com> (message from John Dennis on Fri, 30 Nov 2007 16:07:10 -0500) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17106 Archived-At: The the major mode does matter for searching, in fact it's often critical for correct searching. There are two key things a major mode does which affects searching, it establishes a syntax and often defines the value of case-fold-search. I am concerned that making etags invoke all major modes might lead to a substantial slowdown (as it did in the past). We could try it and see. If it does, the best thing to do would be to indicate somehow which modes really need to be selected during tags search. The novisit behavior has another down side to my thinking as well, the buffer is not available in the buffer list unless a match was found. This makes for an odd and arbitrary set of buffers. My preference is to have all buffers which participated in the search to be available. I strongly disagree.