From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37538: [PATCH] Add docstring for `tags-complete-tags-table-file'. Date: Sat, 12 Oct 2019 21:57:09 +0300 Message-ID: <83d0f1n662.fsf@gnu.org> References: <36bef08c-45b5-9cce-5374-d4de4260d39a@topbug.net> <838sq8j0vl.fsf@gnu.org> <7e0290a2-e80b-f566-9c3b-894aaf4e5d9d@topbug.net> <87o8yt9oql.fsf@gnus.org> <83y2xwzfz0.fsf@gnu.org> <860671c8-787c-512c-8df6-ea1d9dfc2f5b@topbug.net> <874l0j1a3j.fsf@gnus.org> <663aaf32-97c4-0723-1a30-a644938bd21f@topbug.net> <83a7aawdar.fsf@gnu.org> <831rvlt4yk.fsf@gnu.org> <6ade514f-53ee-fbbf-bf27-e8bbfb2e6281@topbug.net> <837e5anxm9.fsf@gnu.org> <87eezhiyym.fsf@topbug.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="244624"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, 37538@debbugs.gnu.org To: Hong Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 12 20:58:11 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 1iJMag-0011VS-Jb for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Oct 2019 20:58:10 +0200 Original-Received: from localhost ([::1]:35462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJMaf-0006lv-G2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Oct 2019 14:58:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47358) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJMaZ-0006jq-59 for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2019 14:58:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJMaY-0005Vs-4S for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2019 14:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJMaY-0005Vg-1O for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2019 14:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJMaX-0003Rx-VQ for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2019 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2019 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37538 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 37538-submit@debbugs.gnu.org id=B37538.157090664913218 (code B ref 37538); Sat, 12 Oct 2019 18:58:01 +0000 Original-Received: (at 37538) by debbugs.gnu.org; 12 Oct 2019 18:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:34134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJMa0-0003R8-NY for submit@debbugs.gnu.org; Sat, 12 Oct 2019 14:57:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJMZy-0003Qs-8h for 37538@debbugs.gnu.org; Sat, 12 Oct 2019 14:57:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJMZt-00058n-1A; Sat, 12 Oct 2019 14:57:21 -0400 Original-Received: from [176.228.60.248] (port=1207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJMZr-0004O2-Hy; Sat, 12 Oct 2019 14:57:20 -0400 In-reply-to: <87eezhiyym.fsf@topbug.net> (message from Hong Xu on Sat, 12 Oct 2019 11:46:25 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:169049 Archived-At: > From: Hong Xu > Cc: larsi@gnus.org, 37538@debbugs.gnu.org > Date: Sat, 12 Oct 2019 11:46:25 -0700 > > Eli Zaretskii writes: > > How about the below: > > > > (defun tags-complete-tags-table-file (string predicate what) > > "Complete STRING from file names in the current tags table. > > PREDICATE, if non-nil is a function to filter possible matches: > > if it returns nil, the match is ignored. If PREDICATE is nil, > > every possible match is acceptable. > > WHAT is a flag specifying the type of completion: t means `all-completions' > > operation, any other value means `try-completions' operation. > > > > This function serves as COLLECTION argument to `completing-read', > > see the Info node `(elisp) Programmed Completion' for more detailed > > description of the arguments." > > Looks good to me. Thanks. Thanks, I installed it.