[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52154: 29.0.50; tabulated-list-sort errors if N arg is out of range
From: |
Lars Ingebrigtsen |
Subject: |
bug#52154: 29.0.50; tabulated-list-sort errors if N arg is out of range |
Date: |
Mon, 29 Nov 2021 16:39:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
No Wayman <iarchivedmywholelife@gmail.com> writes:
> If tabulated-list-sort is passed a numeric arg that is out of range
> with respect to tabulated-list-format, an out-of-range error is
> thrown.
> Would it be better to clamp the numeric arg to (1- (length
> tabulated-list-format))?
> If not, should we user-error instead of error?
I've now done the latter in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no