[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient: create a new frame if one doesn't exist
From: |
Stefan Monnier |
Subject: |
Re: emacsclient: create a new frame if one doesn't exist |
Date: |
Mon, 19 Mar 2012 15:57:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
>> I think I'd prefer a solution that doesn't require adding options to
>> emacsclient (i.e. where the choice is expressed via a customization in
>> .emacs).
> I thought about taking that route, but at the command line the user may want
> to create a frame if one doesn't exist or the user may want to
> create a frame regardless of other frames. I'm not sure how to provide both
> without adding an option to emacsclient.
Assuming you manage to get the "reuse frame when possible" to be the
default behavior, than -c will still let the user choose to force
creation of a new frame.
BTW, have you tried
emacsclient --display "$DISPLAY" <file>
-- Stefan