| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| X-CornellRouted: | This message has been Routed already. |
| Message-ID: | <5124C565.7000206@cornell.edu> |
| Date: | Wed, 20 Feb 2013 07:45:25 -0500 |
| From: | Ken Brown <kbrown AT cornell DOT edu> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [ANNOUNCEMENT] Updated: emacs*-24.2.93-2 (TEST) |
| References: | <announce DOT 511B7B51 DOT 4050901 AT cornell DOT edu> <loom DOT 20130220T122045-617 AT post DOT gmane DOT org> |
| In-Reply-To: | <loom.20130220T122045-617@post.gmane.org> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 2/20/2013 6:50 AM, Achim Gratz wrote:
> Ken Brown <kbrown <at> cornell.edu> writes:
>> emacs-X11 now supports GNOME's GSettings and GConf features. As a
>> consequence, it is important that you have a D-Bus session daemon
>> running before starting emacs under X11. Otherwise, emacs will try to
>> start one, and this can cause problems.
>
> I've tested this again: the problem is that Emacs starts _multiple_ dbus daemons
> and they step onto each others' toes. Somehow Emacs seems to retry starting the
> dbus-daemon (actually it seems to use dbus-launch to do that).
It's more complicated than that. But the problem has already been
debugged and fixed in the emacs development trunk:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8855
Unfortunately, the fix won't make it into emacs-24.3.
> Even then, emacs-X11 (Cygwin running the latest snapshot from 2013-01-31) seems
> to have other problems with external processes. Trying to run octave from
> within Emacs and using the fltk plot utility shows (after quite some time) an
> empty plot window. Emacs-w32 doesn't have that problem, i.e. the window appears
> much faster and actually contains a plot and some controls.
I'll defer to Marco on this.
> Both emacs-X11 and emacs-w32 have another problem (I don't know since when and
> whether it is in emacs or git): setting
>
> EDITOR=emacsclient -n
>
> and then trying to do a "git commit" will bounce the buffer to an emacs
> instance with the COMMITMSG to emacs, but git immediately returns as if the
> buffer had been finished in Emacs. The buffer is still open in Emacs, but not
> marked as a server buffer.
My reading of the documentation is that this is to be expected:
$ man emacsclient
[...]
-n, --no-wait
returns immediately without waiting for you to "finish"
the buffer in Emacs.
Is the behavior you described specific to Cygwin?
I use "emacsclient -c" and it works fine. Or you can use "emacsclient
-a '' -c" if you're not sure there will always be an emacs server running.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |