all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Markus Triska <triska@metalevel.at>
Cc: 54842@debbugs.gnu.org
Subject: bug#54842: 28.1; Args out of range: 0, 0
Date: Mon, 11 Apr 2022 12:41:25 +0200	[thread overview]
Message-ID: <87o817c36y.fsf@gnus.org> (raw)
In-Reply-To: <m2wnfwu5al.fsf@metalevel.at> (Markus Triska's message of "Sun, 10 Apr 2022 21:06:26 +0200")

Markus Triska <triska@metalevel.at> writes:

> This used to work without error in Emacs 26.1 and earlier. I think the
> regression was introduced in commit 74ff5ade800, where, in simple.el,
> the test:
>
>     (= (length cur) 0)
>
> was replaced by:
>
>     (string= cur "")
>
> The former test works also if cur is nil, whereas the latter and now
> current test raises the above mentioned error if cur is nil.
>
> If possible, could you restore the previous behaviour, so that Emacs
> again works reliably in such cases?

Yup; I've now made that fix on the emacs-28 branch, so it'll be in Emacs
28.2.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-04-11 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 19:06 bug#54842: 28.1; Args out of range: 0, 0 Markus Triska
2022-04-11 10:41 ` Lars Ingebrigtsen [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

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

  git send-email \
    --in-reply-to=87o817c36y.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54842@debbugs.gnu.org \
    --cc=triska@metalevel.at \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.