From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel Subject: Support find-tag in Info-mode Date: Thu, 03 Nov 2005 11:06:18 -0800 Organization: Newt Software Message-ID: <25664.1131044778@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131044884 29645 80.91.229.2 (3 Nov 2005 19:08:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 19:08:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 20:07:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXkQM-0006aK-9K for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2005 20:06:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXkQK-0004ix-Ff for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2005 14:06:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXkQ1-0004hl-Ar for emacs-devel@gnu.org; Thu, 03 Nov 2005 14:06:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXkPx-0004gQ-Ch for emacs-devel@gnu.org; Thu, 03 Nov 2005 14:06:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXkPx-0004gK-7R for emacs-devel@gnu.org; Thu, 03 Nov 2005 14:06:33 -0500 Original-Received: from [207.69.195.64] (helo=pop-knobcone.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXkPv-0004J0-Pw for emacs-devel@gnu.org; Thu, 03 Nov 2005 14:06:32 -0500 Original-Received: from h-68-165-5-222.snvacaid.dynamic.covad.net ([68.165.5.222] helo=olgas.newt.com) by pop-knobcone.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1EXkPr-0000Nq-00 for emacs-devel@gnu.org; Thu, 03 Nov 2005 14:06:28 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 57F0516FD8; Thu, 3 Nov 2005 11:06:18 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 52B6216FB0 for ; Thu, 3 Nov 2005 11:06:18 -0800 (PST) Original-To: emacs-devel@gnu.org X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 21.4.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png 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:45366 Archived-At: Try to use M-. on `foo' in Info-mode and you get the error, "Can't find tag foo'. I have little experience with syntax entries, but the following fixes find-tag at the expense of losing the ability to consider a contraction as part of the same word: (add-hook 'Info-mode-hook '(lambda () (modify-syntax-entry ?' "' "))) This works for me since I have little need for selecting contractions in Info-mode. However, I think it would be good to come up with a more general solution that fixes find-tag in Info-mode. Is there some syntax-entry magic that can be used, or would it be more appropriate for find-tag to try stripping a trailing ' if the original search fails? -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.