[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] launching emacs
From: |
franz.adis |
Subject: |
Re: [h-e-w] launching emacs |
Date: |
Mon, 14 May 2012 15:58:29 +0200 |
> For #2, the right code for the desktop/task-bar shortcut is exactly this:
> emacsclientw.exe -na runemacs.exe -c
> This shortcut will start emacs from scratch if it's not running, and open a
> new
> frame if it is.
> The -c is key: without it, you have to pass a file to open (even if it's "",
> which
> does work but is uglier) or emacsclient will exit with an error.
> (Right-click on desktop, New Shortcut, etc., then drag the shortcut into
> taskbar if you want.)
Instead of using the -a option to emacsclient, I set the environment variable
ALTERNATE_EDITOR. This makes it much easier to run emacsclient from the command
line.
Best regards
Franz
- [h-e-w] launching emacs, Jason Lewis, 2012/05/02
- Re: [h-e-w] launching emacs, Lars Ljung, 2012/05/03
- Re: [h-e-w] launching emacs, Jason Lewis, 2012/05/03
- Re: [h-e-w] launching emacs, Gary Oberbrunner, 2012/05/11
- Re: [h-e-w] launching emacs, Greg, 2012/05/11
- Re: [h-e-w] launching emacs, Gary Oberbrunner, 2012/05/11
- Re: [h-e-w] launching emacs, Drew Adams, 2012/05/11
- Re: [h-e-w] launching emacs, Gary Oberbrunner, 2012/05/11
- Re: [h-e-w] launching emacs, Gary Oberbrunner, 2012/05/11
- Re: [h-e-w] launching emacs, Drew Adams, 2012/05/11
- Re: [h-e-w] launching emacs,
franz.adis <=