From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#37611: [PATCH] Default FILE to the current buffer for list-tags Date: Fri, 4 Oct 2019 12:20:46 -0700 Message-ID: <831d1916-8c3b-70e2-3a94-3259a911e5e8@topbug.net> References: <83v9t554c9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73260"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 37611@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 21:21:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGT8c-000Ixu-FA for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 21:21:14 +0200 Original-Received: from localhost ([::1]:51480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGT8b-0000NV-5F for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 15:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40198) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGT8T-0000Lx-Ug for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 15:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGT8S-0004m3-W8 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 15:21:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGT8S-0004lz-TQ for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 15:21:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGT8Q-0008QT-5p for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 15:21:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2019 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37611-submit@debbugs.gnu.org id=B37611.157021685332353 (code B ref 37611); Fri, 04 Oct 2019 19:21:02 +0000 Original-Received: (at 37611) by debbugs.gnu.org; 4 Oct 2019 19:20:53 +0000 Original-Received: from localhost ([127.0.0.1]:43475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGT8H-0008Pl-1L for submit@debbugs.gnu.org; Fri, 04 Oct 2019 15:20:53 -0400 Original-Received: from sender4-of-o55.zoho.com ([136.143.188.55]:21551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGT8F-0008PZ-8o for 37611@debbugs.gnu.org; Fri, 04 Oct 2019 15:20:51 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1570216848; cv=none; d=zoho.com; s=zohoarc; b=Shnfb/y8wPCsdzt1Ok/m3oyk0w9kuzLW0wB1Ov62YRNJkHFdV/49eShLgSiGZ/2KeVUHidPevzJH3ni5ZwcGxQaz6vgFkNUUtY7Grk8fVe72MN3IO3R3M2db4xO0yPPVbyek1z61fsNEqcsgDNOKXsb5tkszWJN6u5J0oboAwBg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570216848; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=K7bBa+xCRYizE/s1sI/xBDg/Iy3wye/gTyhDcmun9Cs=; b=BUGfIjVhFyKPYWLnkyPvudOCemLh3JCDq+f4TQaSo45Qqk3koJAfQaApYrpN0eQ6VV1HQu1pmQmgTZ7Dw1w4J67JpIocyeefkdQBH7KHRTf50/33HrJON7OipxLUHYxi1q2uvvXNIgxKdqXVyMNLbCSD7T2m9S6wh5T+6rzJjlM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570216848; s=zoho; d=topbug.net; i=hong@topbug.net; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=757; bh=K7bBa+xCRYizE/s1sI/xBDg/Iy3wye/gTyhDcmun9Cs=; b=g0O/FcHanPd9a1SYrA29o+9us2HFN3+C2LSaZJyx9i5izzCsBeEbsdYxSA9L0xcn PNg5mN7dOkdIO1/5O/tezX1ly0UlrQusgj5B8hWpPqpo0ZuO9orxRA4uWL2/Am4LDOm M26wBCf1ylmgAhs0ebgL/3lEaMKrw4Ms8sjRwkCo= Original-Received: from [192.168.88.88] (69-215-149-151.lightspeed.sntcca.sbcglobal.net [69.215.149.151]) by mx.zohomail.com with SMTPS id 1570216847243310.04790289607; Fri, 4 Oct 2019 12:20:47 -0700 (PDT) Openpgp: preference=signencrypt In-Reply-To: <83v9t554c9.fsf@gnu.org> Content-Language: en-US X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168341 Archived-At: On 10/4/19 12:59 AM, Eli Zaretskii wrote: > Thanks. The doc string of list-tags needs an update as result of > this, and also its documentation in the user manual. I will update the doc. > > Did you try this in the Emacs source tree? We use the TAGS 'include' > facility to include various TAGS files in a single master file. This > seems to get in the way when you invoke this command from a Lisp file, > because list-tags only recognizes one of the C source files as > completion candidates. What does this do with your changes? > I tried in the Emacs source tree without problem (I ran universal ctags, "ctags -R -e ." from root of the source tree). How do you generate the TAGS file? Is there any instruction? I can take a look at it.