From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; scroll-up gives something between error and message
Date: Mon, 24 Mar 2008 19:17:02 +0100 [thread overview]
Message-ID: <47E7F01E.8010608@gmail.com> (raw)
There is something strange with the error handling in scroll-up. When
calling (scroll-up 1) in an empty buffer execution of the function
calling it stopped and a message is given. However there is no error
generated.
To see this start from
emacs -Q
and evaluate the following function and run it:
(defun test-scroll ()
(interactive)
(setq debug-on-error t)
(let* ((buffer-name "test-scroll")
(buffer (get-buffer buffer-name)))
(when buffer (kill-buffer buffer))
(setq buffer (get-buffer-create buffer-name))
(switch-to-buffer buffer)
(message "here 1") (sit-for 2)
(scroll-up 1)
(message "here 2") (sit-for 2)
))
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-03-21
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'
next reply other threads:[~2008-03-24 18:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 18:17 Lennart Borgman (gmail) [this message]
2008-03-24 19:10 ` 23.0.60; scroll-up gives something between error and message Stefan Monnier
2008-03-24 19:22 ` Lennart Borgman (gmail)
2008-03-25 0:43 ` Stefan Monnier
2008-03-25 0:57 ` Lennart Borgman (gmail)
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=47E7F01E.8010608@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-pretest-bug@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).