[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple question on loading programs in emacs
From: |
Pascal J. Bourguignon |
Subject: |
Re: Simple question on loading programs in emacs |
Date: |
Sat, 01 Dec 2012 10:44:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes:
> In article <87lidjgf3v.fsf@engels.HistoricalMaterialism.info>,
> Haines Brown <haines@histomat.net> wrote:
>
>> A simple question, but I'm lost in the manual. I want to start a session
>> of emacs that automatically loads an emacs program automatically instead
>> of having to do M-x program during the emacs session. I want to do this
>> because I have a custom emacs init file just for that emacs program.
>>
>> I tried (autoload 'program "ProgramName" t), but this only sets it in
>> the environment.
>>
>> A related question: When I close that program within emacs, I want
>> it to close the emacs session as well.
>
> Maybe Emacs Batch Mode is what you're looking for. See
>
> http://www.emacswiki.org/BatchMode
In batch mode you don't have a user interface. Probably, the OP program
will have some user interface and interactivity, since "*I*" will close
it.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Simple question on loading programs in emacs,
Pascal J. Bourguignon <=