unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* window.c: suggested patch window_scroll_pixel_based
@ 2002-12-29  1:59 Martin Fredriksson
  2002-12-30 15:27 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Fredriksson @ 2002-12-29  1:59 UTC (permalink / raw)


I suggest following patch to window.c (window_scroll_pixel_based), to 
make 'scroll-down' be able to reach the start of the buffer.  This 
patch partly backs out of 1.433 (rms, 2002/12/23).  I apologize if I 
have misunderstood the issue.  I have verified the patch on OpenBSD/X11 
and OSX/Carbon.

Should I have reported this as a bug (to emacs-pretest-bug) instead?

/m

Index: window.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/window.c,v
retrieving revision 1.433
diff -u -r1.433 window.c
--- window.c	23 Dec 2002 18:04:45 -0000	1.433
+++ window.c	29 Dec 2002 01:55:05 -0000
@@ -4149,7 +4149,7 @@

    /* End if we end up at ZV or BEGV.  */
    if ((n > 0 && IT_CHARPOS (it) == ZV)
-      || (n < 0 && IT_CHARPOS (it) == BEGV))
+      || (n < 0 && IT_CHARPOS (it) == CHARPOS (start)))
      {
        if (IT_CHARPOS (it) == ZV)
  	{

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

end of thread, other threads:[~2003-01-01 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-29  1:59 window.c: suggested patch window_scroll_pixel_based Martin Fredriksson
2002-12-30 15:27 ` Richard Stallman
2002-12-31  6:27   ` Martin Fredriksson
2003-01-01 16:45   ` Richard Stallman

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