unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 21.2: set-window-start doesn't work
@ 2003-01-14 15:23 Nils Klarlund
  0 siblings, 0 replies; only message in thread
From: Nils Klarlund @ 2003-01-14 15:23 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-14 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14 15:23 Emacs 21.2: set-window-start doesn't work Nils Klarlund

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).