all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: martin rudalics <rudalics@gmx.at>
Cc: Philipp Stephani <phst@google.com>, emacs-devel@gnu.org
Subject: Re: Highlighting bug
Date: Fri, 29 Sep 2017 15:24:10 -0400	[thread overview]
Message-ID: <87vak1nw9x.fsf@yale.edu> (raw)
In-Reply-To: <59CE8ECB.2040806@gmx.at> (martin rudalics's message of "Fri, 29 Sep 2017 20:19:55 +0200")

The following message is a courtesy copy of an article
that has been posted to gmane.emacs.devel as well.

martin rudalics writes:

>> I do not know C, so what exactly should I do? If I put a 
>> raise(SIGINT); right before the return false; and compile, then 
>> emacs crashes when I try to highlight a region, so I guess it 
>> does get there? 
> 
> Then GTK_CHECK_VERSION seems broken indeed.

But I do have a libgtk-3-0 higher than 3.16 (in fact I just 
upgraded from 3.20.6-1 to 3.22.21-1). So I should be getting into 
the "if GTK_CHECK_VERSION (3, 16, 0)", right? Or does this depend 
on the version that I am using, because I also have 
libgtk2.0-0. Should I have only one of those two installed?

Could this a problem of openbox using libgtk2.0-0 even when 
libgtk-3-0 is installed? Because when I remove from gtkutil.c the 
lines of the patch:

-#if GTK_CHECK_VERSION (3, 16, 0) if (get_bg) /* 
-  gtk_style_context_get_background_color is deprecated in 
-  GTK+ 3.16.  New versions of GTK+ don't use the concept of a 
-  single background color any more, so we can't query for it.  */ 
-  return false; 

-#if GTK_CHECK_VERSION (3, 16, 0) /* We can't get here.  */ 
-      emacs_abort (); #else 

-#endif

Then the problem goes away.

Thanks!
-- 
Jorge.



  reply	other threads:[~2017-09-29 19:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 14:45 Highlighting bug Jorge A. Alfaro-Murillo
2017-09-27 14:53 ` Kaushal Modi
2017-09-27 15:07   ` Jorge A. Alfaro-Murillo
2017-09-28 20:08 ` Philipp Stephani
2017-09-28 20:19   ` Jorge A. Alfaro-Murillo
2017-09-28 20:23     ` Kaushal Modi
2017-09-29  8:35 ` martin rudalics
2017-09-29 16:16   ` Jorge A. Alfaro-Murillo
2017-09-29 18:19     ` martin rudalics
2017-09-29 19:24       ` Jorge A. Alfaro-Murillo [this message]
2017-09-30  8:32         ` martin rudalics
2017-10-02 17:37           ` Jorge A. Alfaro-Murillo

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=87vak1nw9x.fsf@yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --cc=emacs-devel@gnu.org \
    --cc=phst@google.com \
    --cc=rudalics@gmx.at \
    /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.