all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* set-window-start moves point without scrolling
@ 2013-03-18 22:44 Michael Heerdegen
  2013-03-19  3:42 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2013-03-18 22:44 UTC (permalink / raw)
  To: emacs-devel

Hello,

this seems strange to me: in emacs -Q, eval this:

(progn
  (setq-default scroll-margin 2)
  (pop-to-buffer (get-buffer-create "test"))
  (insert "1\n2\n3")
  (goto-char 1)
  (set-window-start nil (window-start)))

Then, point in buffer "test" is at the beginning of line 3.  This
doesn't happen in Emacs 23, only in 24.  And it doesn't seem right - the
doc of `set-window-start' tells that point is only changed if would be
out of sight otherwise.  Is this a bug or a feature?


Regards,

Michael.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-19 18:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 22:44 set-window-start moves point without scrolling Michael Heerdegen
2013-03-19  3:42 ` Eli Zaretskii
2013-03-19 16:26   ` Michael Heerdegen
2013-03-19 17:40     ` Eli Zaretskii
2013-03-19 18:38       ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.