help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silently loading site files in -batch mode


From: Jack Kelly
Subject: Re: Silently loading site files in -batch mode
Date: Tue, 7 Aug 2012 13:57:03 +1000

On Tue, Aug 7, 2012 at 1:38 PM, PJ Weisberg <pj@irregularexpressions.net> wrote:
> On Mon, Aug 6, 2012 at 4:17 PM, Jack Kelly <jack@jackkelly.name> wrote:
>> Not running the call to debian-startup appears to mean that the
>> following could happen:
>>
>> 1. package foo is being compiled.
>> 2. foo.el contains (require 'bar), installed by apt.
>> 3. emacs is invoked with -Q, so the directory containing bar.el or
>> bar.elc is not in the load-path.
>> 4. boom.
>
> $EMACS -Q --batch --eval "(push \"/path/to/bar\" load-path)" --eval
> "(load \"MY-FILE\" nil t)"

Indeed. But now we've come full circle: I can either get quiet
loading, or I have to replicate debian's weird startup changes, but I
can't easily get a change in before startup.el and get both.

Thanks for the advice Andreas, Doug and PJ, but it's really starting
to look I can't easily make emacs do what I want.

-- Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]