[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run/load a lisp script before user init file
From: |
Eli Zaretskii |
Subject: |
Re: run/load a lisp script before user init file |
Date: |
Mon, 07 Oct 2013 19:43:31 +0300 |
> Date: Mon, 07 Oct 2013 17:24:38 +0200
> From: Jarek Czekalski <address@hidden>
>
> My specific problem is about Emacspeak. It has a file emacspeak-setup.el
> and the manual says it should be loaded before user init script.
>
> The goal is achieved by probing for a user file in a shell script
> (emacspeak) which later runs the command:
>
> emacs -q -l $path/emacspeak-setup.el -l $userInitFile
>
> It's not perfect, because -q switch causes customizing variables impossible.
>
> The other suggestion from the manual is to append the "load" command at
> the top of the user script. I'm not choosing this solution, because I
> prepare an installer for Windows version of Emacspeak and such action
> would affect only one user.
>
> After the installation the user should be able to choose whether he
> wants to run emacs with or without emacspeak. Having a script that runs
> emacs with emacspeak seems to be the right solution.
>
> What would you advice to resolve the issue?
Site init file looks like what you want. Read about it in the "Init
File" node of the Emacs User Manual.
- run/load a lisp script before user init file, Jarek Czekalski, 2013/10/07
- Re: run/load a lisp script before user init file,
Eli Zaretskii <=
- Re: run/load a lisp script before user init file, Jarek Czekalski, 2013/10/07
- Re: run/load a lisp script before user init file, Eli Zaretskii, 2013/10/07
- Re: run/load a lisp script before user init file, Jarek Czekalski, 2013/10/07
- Re: run/load a lisp script before user init file, Eli Zaretskii, 2013/10/07
- Re: run/load a lisp script before user init file, Stefan Monnier, 2013/10/07
- Re: run/load a lisp script before user init file, Jarek Czekalski, 2013/10/08
- Re: run/load a lisp script before user init file, Stephen J. Turnbull, 2013/10/08
- Re: run/load a lisp script before user init file, Harald Hanche-Olsen, 2013/10/08
- Re: run/load a lisp script before user init file, Stephen J. Turnbull, 2013/10/08
- Re: run/load a lisp script before user init file, Jarek Czekalski, 2013/10/08