unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Robert Pluim <rpluim@gmail.com>, Thibault Polge <thibault@thb.lt>
Cc: 39662@debbugs.gnu.org
Subject: bug#39662: 28.0.50; Emacs crashes in x_cr_define_fringe_bitmap if (fringe-mode 0)
Date: Tue, 18 Feb 2020 21:29:04 +0200	[thread overview]
Message-ID: <1dc6f1ae-9e45-7872-3398-879ba7ea4e94@yandex.ru> (raw)
In-Reply-To: <m2d0abj3vz.fsf@gmail.com>

On 18.02.2020 17:45, Robert Pluim wrote:
> Perhaps we should signal an error for this case
> and have diff-hl deal with the fallout? (define-fringe-bitmap
> docstring says the width has to be from 1-16).

Even if you simply signal an error (preferably readable one), it would 
already make the situation better.

diff-hl still wouldn't work with fringes disabled, but the users would 
more easily understand why that happens. I should add some some handling 
for that case as well, but that can come later.





      parent reply	other threads:[~2020-02-18 19:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 15:06 bug#39662: 28.0.50; Emacs crashes in x_cr_define_fringe_bitmap if (fringe-mode 0) Thibault Polge
2020-02-18 15:45 ` Robert Pluim
2020-02-18 16:54   ` Thibault Polge
2020-02-18 19:32     ` Robert Pluim
2020-02-18 19:50       ` Eli Zaretskii
2020-02-18 20:03         ` Robert Pluim
2020-02-18 20:12           ` Eli Zaretskii
2020-02-18 20:29             ` Dmitry Gutov
2020-02-18 20:34               ` Robert Pluim
2020-02-18 21:32                 ` Dmitry Gutov
2020-02-19  3:27               ` Eli Zaretskii
2020-02-19  8:59                 ` Robert Pluim
2020-02-19 15:39                   ` Eli Zaretskii
2020-02-26  9:56                     ` Robert Pluim
2020-02-26 14:27                       ` Dmitry Gutov
2020-02-26 15:27                         ` Robert Pluim
2020-02-26 17:55                           ` Eli Zaretskii
2020-02-26 18:36                             ` Robert Pluim
2020-02-18 19:29   ` Dmitry Gutov [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1dc6f1ae-9e45-7872-3398-879ba7ea4e94@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=39662@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    --cc=thibault@thb.lt \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).