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

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

Re: Daemon and client: Only open new frame if there isn't one already?


From: Eli Zaretskii
Subject: Re: Daemon and client: Only open new frame if there isn't one already?
Date: Fri, 13 Mar 2009 13:20:08 +0200

> Date: Fri, 13 Mar 2009 12:08:26 +0100
> From: Hugo Heden <address@hidden>
> Cc: address@hidden
> 
>    if( there-is-a-frame-currently-open )
>      open-the-file-*without*-the-[--create-frame]-option
>    else
>      open-the-file-*with*-the-[--create-frame]-option
>   endif
> 
>  --that would achieve what I am looking for.
> 
> 
> 4) But that would be a little to much waste of brain power! My problem
> is that I do not want to have to remeber whether I already have a
> frame open or not. The if-statement above is just too much for me to
> bare. So I would want to write a little script that *autoamtiaclly*
> achieve the above logic..

Again, doesn't emacsclient behave _exactly_ like that by default?
That is, doesn't emacsclient create a frame if it does not exist, and
reuses it if it does exist?  If not, perhaps you should submit a bug
report.




reply via email to

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