From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: 32743@debbugs.gnu.org
Subject: bug#32743: 27.0.50; down-list RFC
Date: Sun, 16 Sep 2018 09:17:08 +0200 [thread overview]
Message-ID: <6204f1b3-8978-f5b6-ae04-21b2eeddb8af@easy-emacs.de> (raw)
Hi all,
‘down-list’ currently returns nil if successful but Scan error:
"Containing expression ends prematurely" if no further list exist downwards.
Suggest to return position reached if successful and nil if no further
list exist.
BTW with current or-clause, second expression will be never be
executed due to error thrown as mentioned:
(goto-char (or (scan-lists (point) inc -1) (buffer-end arg)))
Also reaching buffer-end doesn't make sense IMO in this case, point
should not change then while returning nil.
Thanks,
Andreas
gladly running GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+
Version 3.14.5) of 2018-09-15
next reply other threads:[~2018-09-16 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-16 7:17 Andreas Röhler [this message]
2019-07-13 2:18 ` bug#32743: 27.0.50; down-list RFC 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=6204f1b3-8978-f5b6-ae04-21b2eeddb8af@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=32743@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).