From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12491: 24.2.50; `Info-insert-dir' should be able to not show msgs Date: Sat, 22 Sep 2012 19:25:20 -0700 Message-ID: <16C24B483C50469AA1DCB1274381AECA@us.oracle.com> References: <87txupmxbx.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348367190 24146 80.91.229.3 (23 Sep 2012 02:26:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2012 02:26:30 +0000 (UTC) Cc: 12491@debbugs.gnu.org To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 04:26:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFbtq-0006oK-QY for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2012 04:26:26 +0200 Original-Received: from localhost ([::1]:57755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFbtm-0007jH-1C for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 22:26:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFbtj-0007jA-La for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 22:26:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFbth-0002JW-3Q for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 22:26:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFbtg-0002JF-VD for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 22:26:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFbvO-0006Te-3H for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 22:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Sep 2012 02:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12491-submit@debbugs.gnu.org id=B12491.134836724124850 (code B ref 12491); Sun, 23 Sep 2012 02:28:02 +0000 Original-Received: (at 12491) by debbugs.gnu.org; 23 Sep 2012 02:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:49985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFbui-0006Si-DE for submit@debbugs.gnu.org; Sat, 22 Sep 2012 22:27:20 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:34557) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFbug-0006Sa-5N for 12491@debbugs.gnu.org; Sat, 22 Sep 2012 22:27:19 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8N2PTms029806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 23 Sep 2012 02:25:30 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8N2PT4b022435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Sep 2012 02:25:29 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8N2PTSb029029; Sat, 22 Sep 2012 21:25:29 -0500 Original-Received: from dradamslap1 (/10.159.221.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 22 Sep 2012 19:25:28 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87txupmxbx.fsf@mail.jurta.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac2ZHYlJ/ddT6dT/QfOaDEjcBhGPDgAE6AlQ X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64796 Archived-At: > > `Info-insert-dir' is not an interactive function. It can > > be called by any Lisp code that wants to insert an Info > > directory. Please provide an optional MSG arg (or a NOMSG) > > arg, so that calling code can optionally not show the > > message "Composing main Info directory...done". > > There are many other messages that you might not want to see. > Better than adding a new arg for all of them, maybe callers > should let-bind a variable like `messages-buffer-max-lines' to nil > that will avoid showing the message. Thank works too, I suppose. But I think that as a general rule it is better for a function that can interact with the user (e.g. display a message) to also provide reasonably for use without such interaction, assuming such a use makes sense for it. If there are "many other" such messages, are there also many other such functions displaying them? Perhaps they are all defective in this regard. Better to set good examples than proliferate bad ones. I don't know whether the functions you have in mind are in fact candidates for becoming better citizens. But if they are, cleaning them up is the right approach.