From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Newsgroups: gmane.emacs.devel Subject: Re: Highlighting bug Date: Fri, 29 Sep 2017 15:24:10 -0400 Message-ID: <87vak1nw9x.fsf@yale.edu> References: <87poacmc7w.fsf@yale.edu> <59CE05C9.3050909@gmx.at> <873775pjjq.fsf@yale.edu> <59CE8ECB.2040806@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506713061 12087 195.159.176.226 (29 Sep 2017 19:24:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 19:24:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Philipp Stephani , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 29 21:24:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dy0tT-0002WX-Bu for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 21:24:15 +0200 Original-Received: from localhost ([::1]:36733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy0ta-0006k3-Na for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 15:24:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy0tV-0006jw-0h for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:24:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dy0tR-0001wk-TK for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:24:17 -0400 Original-Received: from mail-qt0-f174.google.com ([209.85.216.174]:44778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dy0tR-0001wg-Om for emacs-devel@gnu.org; Fri, 29 Sep 2017 15:24:13 -0400 Original-Received: by mail-qt0-f174.google.com with SMTP id o13so880055qtf.1 for ; Fri, 29 Sep 2017 12:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:newsgroups:to:cc:subject:references:date :message-id:user-agent:cancel-lock:in-reply-to:mime-version :content-transfer-encoding:posted-to; bh=Ex+tsKIFNeS/tqWDWQ5nZSaEnx+CpqEY0CFY8ph0fqE=; b=PIshxs0K3FGrI3+6pZ9ehsMmxTYzcw1TAU4sAKcKhuKHb10eGwRU2ZSxq1URVpr4wG DzzmkLTFA40U8PZnDanF+kR+3kC70TxRaxgYY/Gh6YkeurSCgZzokrD+OLq8maEnYqSx Lp3r/9ZmjcPo4NeBxOh7q0mhVt8SJJ6Ll8HdSLimooresokJqe5EHQhaSs1WYLS2wuCc zEzreOBF942Mw0FU0fzw+OY6f/wipl5bqKHQhyUPsKy3yB5FUSarguf8b5GDH+g1BhAY Iz100jQKP26VbfykTAL0aEiYKoZXdRuBZU3/7inpuNLQQrW0ixF2a6RqPERfZX9eXbmC co3w== X-Gm-Message-State: AMCzsaXzUc7YG8EjXAGzfE/7vQKnwDRCTX00DiRdRbr4sPA0N2CJcM9c 5NSlZLVUiAktfy22J4yNOQY= X-Google-Smtp-Source: AOwi7QBZwYnHPo9VUsvFTT1yJPKeq20c02sKfkRjq86XANrYg5hARB14mIx9tpJ+xHjxEvuRJ9tjMg== X-Received: by 10.200.50.149 with SMTP id z21mr8305791qta.37.1506713053149; Fri, 29 Sep 2017 12:24:13 -0700 (PDT) Original-Received: from snark ([130.132.236.141]) by smtp.gmail.com with ESMTPSA id x124sm3058314qka.85.2017.09.29.12.24.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Sep 2017 12:24:12 -0700 (PDT) Original-Newsgroups: gmane.emacs.devel Cancel-Lock: sha1:+ZqBM1xbkGmtIYap5+N+8tFwD8U= In-Reply-To: <59CE8ECB.2040806@gmx.at> (martin rudalics's message of "Fri, 29 Sep 2017 20:19:55 +0200") Posted-To: gmane.emacs.devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.174 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218939 Archived-At: 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=20 >> raise(SIGINT); right before the return false; and compile, then=20 >> emacs crashes when I try to highlight a region, so I guess it=20 >> does get there?=20 >=20 > Then GTK_CHECK_VERSION seems broken indeed. But I do have a libgtk-3-0 higher than 3.16 (in fact I just=20 upgraded from 3.20.6-1 to 3.22.21-1). So I should be getting into=20 the "if GTK_CHECK_VERSION (3, 16, 0)", right? Or does this depend=20 on the version that I am using, because I also have=20 libgtk2.0-0. Should I have only one of those two installed? Could this a problem of openbox using libgtk2.0-0 even when=20 libgtk-3-0 is installed? Because when I remove from gtkutil.c the=20 lines of the patch: -#if GTK_CHECK_VERSION (3, 16, 0) if (get_bg) /*=20 - gtk_style_context_get_background_color is deprecated in=20 - GTK+=C2=A03.16. New versions of GTK+ don't use the concept of a=20 - single background color any more, so we can't query for it. */=20 - return false;=20 -#if GTK_CHECK_VERSION (3, 16, 0) /* We can't get here. */=20 - emacs_abort (); #else=20 -#endif Then the problem goes away. Thanks! --=20 Jorge.