From: Nils Klarlund <klarlund@research.att.com>
Subject: Emacs 21.2: set-window-start doesn't work
Date: Tue, 14 Jan 2003 10:23:38 -0500 (EST) [thread overview]
Message-ID: <200301141523.KAA13720@alliance.research.att.com> (raw)
Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
and
Emacs 21.2.93 (Windows)
The code below should make frame fr show "50 51 ..." to the left on
the window. That's what you get on Emacs 20. Instead the display
starts at the beginning of the buffer.
(defun f ()
(get-buffer-create "*test*")
(with-current-buffer "*test*"
(let* ((fr (make-frame))
(wnd (frame-first-window fr))
(n 1))
(setq truncate-lines t)
(while (< n 100) (incf n) (insert (format "%s " n)))
(set-window-start wnd (search-backward "50")))))
(f)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
In GNU Emacs 20.7.1 (i386-*-nt5.0.2195)
of Tue Jun 13 2000 on buffy
configured using `configure NT'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Recent input:
down-mouse-1 mouse-1 backspace backspace return M-p
backspace backspace backspace return down-mouse-1 mouse-1
down-mouse-1 mouse-1 down-mouse-1 mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement mouse-movement mouse-movement
mouse-movement mouse-movement drag-mouse-1 down-mouse-1
mouse-1 down-mouse-1 mouse-1 down-mouse-1 mouse-1 down-mouse-3
mouse-3 down-mouse-1 mouse-1 down-mouse-1 mouse-1 C-x
C-e switch-frame down-mouse-1 mouse-1 C-e right C-e
left left left left C-a C-SPC C-e M-w switch-frame
down-mouse-1 mouse-1 down-mouse-1 drag-mouse-1 return
C-y switch-frame down-mouse-1 mouse-1 C-a C-SPC C-e
M-w switch-frame down-mouse-1 drag-mouse-1 menu-bar
help-menu report-emacs-bug
Recent messages:
History item: 1 [5 times]
Auto-saving...
Auto-saving...done
1297
End of buffer
Mark set [3 times]
Auto-saving...
Mark set [3 times]
Loading emacsbug...
Loading emacsbug...done
reply other threads:[~2003-01-14 15:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200301141523.KAA13720@alliance.research.att.com \
--to=klarlund@research.att.com \
/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).