From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39662: 28.0.50; Emacs crashes in x_cr_define_fringe_bitmap if (fringe-mode 0) Date: Wed, 19 Feb 2020 05:27:07 +0200 Message-ID: <83k14jl0j8.fsf@gnu.org> References: <87h7zoorys.fsf@thb.lt> <87lfozsuoi.fsf@thb.lt> <83pneblloc.fsf@gnu.org> <83lfozlkmt.fsf@gnu.org> <8c68006d-54b5-7fd5-128a-c253b4899cde@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116891"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39662@debbugs.gnu.org, rpluim@gmail.com, thibault@thb.lt To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 19 04:28:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4G1y-000UKM-GI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Feb 2020 04:28:10 +0100 Original-Received: from localhost ([::1]:45060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4G1x-0002UB-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Feb 2020 22:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38693) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4G1q-0002U0-Rt for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:28:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4G1p-00083y-W3 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35565) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4G1p-00083M-TE for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4G1p-0005Vt-PJ for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Feb 2020 03:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39662 X-GNU-PR-Package: emacs Original-Received: via spool by 39662-submit@debbugs.gnu.org id=B39662.158208285221156 (code B ref 39662); Wed, 19 Feb 2020 03:28:01 +0000 Original-Received: (at 39662) by debbugs.gnu.org; 19 Feb 2020 03:27:32 +0000 Original-Received: from localhost ([127.0.0.1]:41538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4G1L-0005V9-NY for submit@debbugs.gnu.org; Tue, 18 Feb 2020 22:27:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4G1J-0005Ux-Jy for 39662@debbugs.gnu.org; Tue, 18 Feb 2020 22:27:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j4G1D-0006Lk-Gp; Tue, 18 Feb 2020 22:27:23 -0500 Original-Received: from [176.228.60.248] (port=4434 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j4G1C-0007Ig-6I; Tue, 18 Feb 2020 22:27:23 -0500 In-reply-to: <8c68006d-54b5-7fd5-128a-c253b4899cde@yandex.ru> (message from Dmitry Gutov on Tue, 18 Feb 2020 22:29:02 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176235 Archived-At: > Cc: thibault@thb.lt, 39662@debbugs.gnu.org > From: Dmitry Gutov > Date: Tue, 18 Feb 2020 22:29:02 +0200 > > On 18.02.2020 22:12, Eli Zaretskii wrote: > >> But itʼs friendlier to existing code to change 0 to 1, no? > > Yes. > > Speaking of diff-hl, signaling an error would probably be more > constructive since if the call succeeds, the user might turn on > fringe-mode and find that all bitmaps defined by diff-hl are 1-pixel > wide for no apparent reason. I thought in the scenario we are discussing there will be no bitmaps shown at all, since the scenario disables the fringes. Isn't that so?