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

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

Re: how can tell emacs not to load desktop when invoked by mutt?


From: Michael Herman
Subject: Re: how can tell emacs not to load desktop when invoked by mutt?
Date: Sun, 27 Apr 2003 21:09:04 -0500
User-agent: Mutt/1.4i

On Sun, Apr 27, 2003 at 01:48:52PM +0200, Kai Großjohann wrote:
>wang yin <wy@wangyin.com> writes:
>
>> Then I can use the following elisp(in pseudo-code):
>>
>> (or (regexp-match ("/tmp/mutt-[^-]+-[0-9-]+", file-name))
>>         (progn
>>            (load "desktop")
>>            (desktop-load-default)
>>            (desktop-read)))
>
>How about another approach entirely?  You start Emacs, then say M-x
>server-start RET, and you configure mutt to invoke emacsclient
>instead of emacs.
>
I've tried that before and the problem is the focus.  I was able to
make emacsclient rise up and take the focus but when finishing the
e-mail and closing the buffer, the focus does not return to the Mutt
window.




reply via email to

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