From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.bugs Subject: bug#7499: Documentation: `comint-dynamic-list-filename-completions' Date: Sun, 28 Nov 2010 15:46:58 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1290978925 5453 80.91.229.12 (28 Nov 2010 21:15:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2010 21:15:25 +0000 (UTC) Cc: 7499@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 28 22:15:19 2010 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.69) (envelope-from ) id 1PMoaa-0004SU-Sa for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Nov 2010 22:15:17 +0100 Original-Received: from localhost ([127.0.0.1]:55892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMoaa-0002MR-3M for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Nov 2010 16:15:16 -0500 Original-Received: from [140.186.70.92] (port=53506 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMoaH-0002Db-9m for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 16:14:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMoaF-0007O9-QV for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 16:14:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMoaF-0007O4-Ne for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 16:14:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PMo4Q-0007D8-7r; Sun, 28 Nov 2010 15:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: MON KEY Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Nov 2010 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7499 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7499-submit@debbugs.gnu.org id=B7499.129097688927675 (code B ref 7499); Sun, 28 Nov 2010 20:42:02 +0000 Original-Received: (at 7499) by debbugs.gnu.org; 28 Nov 2010 20:41:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMo3s-0007CK-4U for submit@debbugs.gnu.org; Sun, 28 Nov 2010 15:41:28 -0500 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMo3q-0007C8-R1 for 7499@debbugs.gnu.org; Sun, 28 Nov 2010 15:41:27 -0500 Original-Received: by wyf23 with SMTP id 23so2854154wyf.3 for <7499@debbugs.gnu.org>; Sun, 28 Nov 2010 12:46:58 -0800 (PST) Original-Received: by 10.216.172.149 with SMTP id t21mr2384231wel.43.1290977218089; Sun, 28 Nov 2010 12:46:58 -0800 (PST) Original-Received: by 10.216.70.212 with HTTP; Sun, 28 Nov 2010 12:46:58 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 8uFdLJXWH31LRe9b7iv_8i4rdp8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 28 Nov 2010 15:42:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:41986 Archived-At: On Sat, Nov 27, 2010 at 1:35 PM, Stefan Monnier wrote: > The term "help buffer" is apparently used here loosely to mean > "auxiliary buffer helpful to the user". > Its less than apparent (to me at least) that such loose usage is helpful. :) AFAICT `comint-dynamic-list-completions' is hardwired to "*Completions*". Its docstring is equally suspect: ,---- (documentation 'comint-dynamic-list-completions) | | List in help buffer sorted completions. The meaning of | common-substring is the same as in `display-completion-list'. | Typing SPC flushes the help buffer. | `---- W/re `comint-dynamic-list-completions', `comint-dynamic-list-filename-completions' (and any other similar such comint docstrings), what would prob. be more "helpful to the user" would be to explicitly document that return value is to "*Completions*". :) After all, there is no provision for an alternative destination stream. Indeed, it is doubtful such alternatives could be made available via `comint-dynamic-list-completions' given the complicated interactions between windows/buffers/configurations and the dynamic bindings of `standard-output' happening around the internal calls to `display-completion-list' and `with-output-to-temp-buffer'. > Stefan -- /s_P\