From: No Wayman <iarchivedmywholelife@gmail.com>
To: 52154@debbugs.gnu.org
Subject: bug#52154: 29.0.50; tabulated-list-sort errors if N arg is out of range
Date: Sat, 27 Nov 2021 23:24:42 -0500 [thread overview]
Message-ID: <87k0gs52cf.fsf@gmail.com> (raw)
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?
~ Nick
In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit,
cairo version 1.17.4, Xaw3d scroll bars)
of 2021-11-22 built on nbook
Repository revision: 9ceb3070e34ad8a54184fd0deda477bf5ff77000
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version
11.0.12101001
System Description: Arch Linux
next reply other threads:[~2021-11-28 4:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-28 4:24 No Wayman [this message]
2021-11-29 15:39 ` bug#52154: 29.0.50; tabulated-list-sort errors if N arg is out of range Lars Ingebrigtsen
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=87k0gs52cf.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=52154@debbugs.gnu.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).