all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jadamson@partners.org (Joel J. Adamson)
To: brendan.halpin@ul.ie
Cc: help-gnu-emacs@gnu.org
Subject: Re: Suppressing load messages
Date: Wed, 12 Mar 2008 12:59:28 -0400	[thread overview]
Message-ID: <873aqvc1zj.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: <87pru0rmai.fsf@wivenhoe.staff8.ul.ie> (Brendan Halpin's message of "Wed, 12 Mar 2008 15:31:49 +0000")

Brendan Halpin <brendan.halpin@ul.ie> writes:

> jadamson@partners.org (Joel J. Adamson) writes:
>
>> This is all STDERR, i.e. the *Messages* buffer.  If you redirect STDERR
>> or STDOUT, you can suppress the messages, or capture the output in a file.
>>
>> For example, "hello 2</dev/null"
>
> Yes, but that's not a solution so much as a workaround.

Well if there can be no arrangement, then we are at an impasse.

>> The real question you should be asking is why emacs is loading all that
>> crap when you're using the --script option.  Who's in charge of your
>> site-start.el?
>
> Indeed. In practice Debian are in charge, but there's nothing to stop me
> changing it -- now all I need is to know (i) how to tell at startup if emacs
> is invoked with --script and (ii) how to interfere with the site-start.d
> process. 

By the above I mean that what you're suggesting sounds like a
workaround, and my workaround sounds like a solution.  Perhaps there's
another way to redirect *Messages* from within Emacs.

You can still redirect your output.  If you don't want that, then
perhaps you need to reconsider why you're using --script.

Like I said if you want to edit files in place, you just open them, edit
them and save them, and STDOUT is incidental; in fact, all you'll get is
STDERR unless your functions have side-effects that call princ.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







  parent reply	other threads:[~2008-03-12 16:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8180.1204483870.18990.help-gnu-emacs@gnu.org>
2008-03-03  0:34 ` batch mode Pascal Bourguignon
2008-03-03  9:36   ` Sebastian Tennant
     [not found]   ` <mailman.8214.1204537035.18990.help-gnu-emacs@gnu.org>
2008-03-11 21:18     ` Brendan Halpin
2008-03-12 14:50       ` Suppressing load messages (was: batch mode) Joel J. Adamson
     [not found]       ` <mailman.8762.1205333492.18990.help-gnu-emacs@gnu.org>
2008-03-12 15:31         ` Suppressing load messages Brendan Halpin
2008-03-12 15:58           ` Lennart Borgman (gmail)
2008-03-12 16:59           ` Joel J. Adamson [this message]
     [not found]           ` <mailman.8775.1205341175.18990.help-gnu-emacs@gnu.org>
2008-03-12 17:30             ` Brendan Halpin
2008-03-12 17:56               ` Lennart Borgman (gmail)
2008-03-12 18:52               ` Joel J. Adamson
     [not found]               ` <mailman.8782.1205347999.18990.help-gnu-emacs@gnu.org>
2008-03-12 22:35                 ` Brendan Halpin
2008-03-13 16:04                   ` Joel J. Adamson
     [not found]                   ` <mailman.8845.1205424297.18990.help-gnu-emacs@gnu.org>
2008-03-13 16:54                     ` Brendan Halpin
2008-03-13 18:01                       ` Lennart Borgman (gmail)
     [not found]           ` <mailman.8771.1205337534.18990.help-gnu-emacs@gnu.org>
2008-03-12 17:53             ` Brendan Halpin
2008-03-12 18:03               ` Exal de Jesus Garcia Carrillo
2008-03-12 18:35                 ` Brendan Halpin
2008-03-12 18:47                   ` Exal de Jesus Garcia Carrillo
2008-03-12 22:03               ` Lennart Borgman (gmail)
2008-03-12 23:32               ` Glenn Morris
2008-03-12 23:37                 ` Glenn Morris
2008-03-13  3:09                   ` Glenn Morris
2008-03-13  1:31                 ` Lennart Borgman (gmail)
2008-03-13  3:42                 ` Giorgos Keramidas
2008-03-31  2:34                   ` David Combs
     [not found]                 ` <mailman.8816.1205371922.18990.help-gnu-emacs@gnu.org>
2008-03-13  9:00                   ` Brendan Halpin

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=873aqvc1zj.fsf@W0053328.mgh.harvard.edu \
    --to=jadamson@partners.org \
    --cc=brendan.halpin@ul.ie \
    --cc=help-gnu-emacs@gnu.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.