bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 21.2: set-window-start doesn't work


From: Nils Klarlund
Subject: Emacs 21.2: set-window-start doesn't work
Date: Tue, 14 Jan 2003 10:23:38 -0500 (EST)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]