From: Ken Brown <kbrown@cornell.edu>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 9754@debbugs.gnu.org, "Douglas, William" <william.douglas@intel.com>
Subject: bug#9754: Issue with Emacs 23.4
Date: Tue, 15 May 2012 15:08:55 -0400 [thread overview]
Message-ID: <4FB2A9C7.3070604@cornell.edu> (raw)
In-Reply-To: <4FAC34DA.7040606@cs.ucla.edu>
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
I'm resending this because I got back a message saying I had to
unarchive bug 9754 before I could add to it.
On 5/10/2012 5:36 PM, Paul Eggert wrote:
> On 05/10/2012 02:25 PM, Douglas, William wrote:
>> Is there any chance of getting the fix for this applied or am I left
>> distro patching and waiting for 24?
>
> The latter -- at least, that's the current plan.
I think this bug still exists, in slightly different form, in emacs-24.
The call of g_main_context_query in xgselect.c:62 still uses the
variables gfds and gfds_size, which are not initialized by
xgselect_initialize if we're running emacs -nw. But, more
fundamentally, it doesn't make sense for emacs -nw to be interacting
with GLib at all. I suggest the attached patch.
Ken
[-- Attachment #2: xgselect.patch --]
[-- Type: text/plain, Size: 415 bytes --]
--- xgselect.c.orig 2012-05-15 13:53:13.000000000 -0400
+++ xgselect.c 2012-05-15 14:09:19.093750000 -0400
@@ -35,6 +35,9 @@
xg_select (int max_fds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds,
EMACS_TIME *timeout)
{
+ if (inhibit_window_system || !display_arg)
+ return select (max_fds, rfds, wfds, efds, timeout);
+
SELECT_TYPE all_rfds, all_wfds;
EMACS_TIME tmo, *tmop = timeout;
next prev parent reply other threads:[~2012-05-15 19:08 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 21:25 Issue with Emacs 23.4 Douglas, William
2012-05-10 21:36 ` Paul Eggert
2012-05-11 5:46 ` Andreas Röhler
2012-05-15 19:08 ` Ken Brown [this message]
2012-05-15 21:51 ` bug#9754: " Paul Eggert
2012-05-15 22:28 ` Ken Brown
2012-05-16 2:23 ` Stefan Monnier
2012-05-16 6:42 ` Michael Albinus
[not found] ` <1318609098.30586.7.camel@moonpix.lan>
2011-10-14 17:48 ` bug#9754: emacs -nv fails on glib 2.31 Glenn Morris
2011-10-16 5:15 ` Paul Eggert
2011-11-11 12:32 ` Olivier Blin
2011-11-11 17:16 ` Glenn Morris
2012-01-28 21:14 ` Ulrich Mueller
2012-05-16 17:39 ` bug#9754: Issue with Emacs 23.4 Achim Gratz
2012-05-17 1:19 ` Stefan Monnier
2012-05-17 11:04 ` Ken Brown
2012-05-17 12:43 ` Ken Brown
2012-05-17 12:49 ` Andreas Schwab
2012-05-17 13:20 ` Ken Brown
2012-05-17 14:01 ` Andreas Schwab
2012-05-17 15:02 ` Stefan Monnier
2012-05-17 18:26 ` Ken Brown
2012-05-18 16:33 ` Glenn Morris
2012-05-18 17:09 ` Ken Brown
2012-05-19 6:30 ` Glenn Morris
2012-05-19 12:38 ` Ken Brown
2012-05-18 18:02 ` Stefan Monnier
2012-05-18 18:38 ` Ken Brown
2012-05-18 19:12 ` Paul Eggert
2012-05-18 20:04 ` Ken Brown
2012-05-19 21:56 ` Ken Brown
2012-05-25 20:32 ` Ken Brown
2012-05-17 6:24 ` Achim Gratz
2012-05-16 2:28 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB2A9C7.3070604@cornell.edu \
--to=kbrown@cornell.edu \
--cc=9754@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=william.douglas@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.