From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#54084: 28.0.91; Regression: can't create empty image buffer Date: Mon, 21 Feb 2022 08:16:11 -0600 Message-ID: References: <83sfscv0kz.fsf@gnu.org> <83mtikuxoz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54084@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 15:17:31 2022 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 1nM9VL-0007Zh-DB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 15:17:31 +0100 Original-Received: from localhost ([::1]:33132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM9VK-0006AV-1Y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 09:17:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM9V0-000699-RM for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:17:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM9Us-00013t-06 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:17:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nM9Ur-0004Un-S1 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 14:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54084 X-GNU-PR-Package: emacs Original-Received: via spool by 54084-submit@debbugs.gnu.org id=B54084.164545299416369 (code B ref 54084); Mon, 21 Feb 2022 14:17:01 +0000 Original-Received: (at 54084) by debbugs.gnu.org; 21 Feb 2022 14:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:35528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM9UP-0004Fm-V2 for submit@debbugs.gnu.org; Mon, 21 Feb 2022 09:16:34 -0500 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:39813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM9UL-0004AV-18 for 54084@debbugs.gnu.org; Mon, 21 Feb 2022 09:16:32 -0500 Original-Received: by mail-ed1-f49.google.com with SMTP id u18so29690510edt.6 for <54084@debbugs.gnu.org>; Mon, 21 Feb 2022 06:16:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lc2rbwApNvXtERTY7onkregx5QbbMyGfGY72aLafjuM=; b=bTJcSok+BQX6cEfLwCkSKW4o04b7IR4C+HK4V0MwYRv7Mny/0RSkGKapaPU0s2GZCG w+ElbXGvNulEu6TWd8kvhyWtkaymNvVjN6EfbjRmZpuzl6rCiBMQOk3Q7VDygDcZ/u7h lrY/cSh15zUnsvyKrS38TL/LPdarwQvpkRB//RDdSb8g6n+buIEs+QubexRQwhwA7GSx tcK3q4b6TA8fHjhis7q/U8VlJWbH+b7qzTp0OSI9Em/iMi1Lw96BfUOP5UHlAE9IDB5b oB7xBaiDBzwJbh9Lz0PsYafrsmlGftZiNIAzGadBxy8r0SHLl9/HUoeXlydXapFCSlTg wVDQ== X-Gm-Message-State: AOAM532o1G4wpJOgQvNNdXDsS6WDUxtk1V1WlSuOJ5d3Lvc+pf4a3xxE n2lfpAdecWeLt7BauWsDBUq8hCro7D6cEC7tRVI= X-Google-Smtp-Source: ABdhPJz3EWVeeQvyGVuZyIkGw/RClMqseFuCbHJAfj2jGXpzkTGDNtP6YJrhyCTmX4w8eU2dE4iPu57y8jj4sVyeoME= X-Received: by 2002:a05:6402:1e8f:b0:3fa:72cb:1733 with SMTP id f15-20020a0564021e8f00b003fa72cb1733mr20947434edf.24.1645452983209; Mon, 21 Feb 2022 06:16:23 -0800 (PST) In-Reply-To: <83mtikuxoz.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:227343 Archived-At: On Mon, Feb 21, 2022 at 8:00 AM Eli Zaretskii wrote: > > [Please use Reply All, so that the bug tracker remains on the CC.] Sorry about that. > > From: Corwin Brust > > Date: Mon, 21 Feb 2022 07:41:36 -0600 > > > > Is there a way to disable this feature? > > Why is that needed? Turning on image-mode in an empty buffer is a > pretty strange thing to do, or at least a rare thing. Noted, thanks. FTR, for dungeon I have several modes that are derived from image-mode, e.g. for displaying graphical character sheets, combat status information, and maps. I also have a point-and-click drawing mode for creating/editing "tile-sets" and composing (e.g.) maps for dungeon levels using these "named SVG fragments". > > Can't you use ignore-errors? > > How about delaying the mode switch until the user inserted something? I will look into these options. (So far, the change you made seems to have all my stuff working again per the release branch.)