unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Boruch Baum <boruch_baum@gmx.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 49043@debbugs.gnu.org
Subject: bug#49043: 27.1: ibuffer-toggle-filter-group [BUGFIX]
Date: Tue, 15 Jun 2021 16:18:51 -0400	[thread overview]
Message-ID: <20210615201851.jwnjx23qptp3agp7@E15-2016.optimum.net> (raw)
In-Reply-To: <87k0mvrto4.fsf@gnus.org>

On 2021-06-15 18:15, Lars Ingebrigtsen wrote:
> Boruch Baum <boruch_baum@gmx.com> writes:
>
> > I've been having operation ibuffer-toggle-filter-group reliably crash
> > whenever performed due to it trying to operate on a point beyond
> > point-max. The culprit seems to be in function ibuffer-map-lines where:
> >
> >   (delete-region (line-beginning-position)
> >      	         (line-end-position))))

Oops. I misquoted the code (because I had submitted the report after I
had made/tested/byte-compiled/over-writte my only local copy). If you look at the
code on the gnu cgit instance, at line 1907, you'll see that it adds one
to the line-end-position before passing the value the function
delete-region.

A similar idiom exists on line 1843, so that may be another bug.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0





  reply	other threads:[~2021-06-15 20:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 15:52 bug#49043: 27.1: ibuffer-toggle-filter-group [BUGFIX] Boruch Baum
2021-06-15 16:15 ` Lars Ingebrigtsen
2021-06-15 20:18   ` Boruch Baum [this message]
2021-06-16  8:19     ` Lars Ingebrigtsen
2021-06-16  8:26       ` Boruch Baum
2021-06-16  8:51         ` Lars Ingebrigtsen
2021-06-16 12:04         ` Eli Zaretskii
2021-06-16 17:01           ` Boruch Baum
2021-06-16 17:10             ` Eli Zaretskii
2021-06-18 14:11       ` Stephen Berman
2021-06-19 12:06         ` Lars Ingebrigtsen
2021-06-19 12:12           ` Michael Albinus
2021-06-19 15:56         ` Michael Albinus
2021-06-19 19:56           ` Stephen Berman
2021-06-19 21:41           ` Stephen Berman
2021-06-20  8:12             ` Boruch Baum
2021-06-20 14:29               ` Michael Albinus
2021-06-21 12:25             ` Lars Ingebrigtsen
2021-06-15 16:20 ` Eli Zaretskii
2021-06-15 20:13   ` Boruch Baum
2021-06-15 20:39   ` Boruch Baum

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=20210615201851.jwnjx23qptp3agp7@E15-2016.optimum.net \
    --to=boruch_baum@gmx.com \
    --cc=49043@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).