all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: 12491@debbugs.gnu.org
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	[thread overview]
Message-ID: <16C24B483C50469AA1DCB1274381AECA@us.oracle.com> (raw)
In-Reply-To: <87txupmxbx.fsf@mail.jurta.org>

> > `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.






  reply	other threads:[~2012-09-23  2:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 22:42 bug#12491: 24.2.50; `Info-insert-dir' should be able to not show msgs Drew Adams
2012-09-22 22:52 ` Drew Adams
2012-09-22 23:50 ` Juri Linkov
2012-09-23  2:25   ` Drew Adams [this message]
2016-04-28 15:49   ` bug#11851: " Lars Ingebrigtsen
2016-04-28 16:05     ` Drew Adams
2016-04-28 19:03       ` bug#11851: " Eli Zaretskii
     [not found]   ` <<87lh3xag2k.fsf@gnus.org>
     [not found]     ` <<0d98644c-d3a0-4e38-b054-c401eb3131f5@default>
     [not found]       ` <<8337q5y2rd.fsf@gnu.org>
2016-04-29  0:41         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16C24B483C50469AA1DCB1274381AECA@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=12491@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.