all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin Fredriksson <martin@crt.se>
Subject: window.c: suggested patch window_scroll_pixel_based
Date: Sun, 29 Dec 2002 02:59:49 +0100	[thread overview]
Message-ID: <36895EE4-1AD1-11D7-8795-003065478022@crt.se> (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)
  	{

             reply	other threads:[~2002-12-29  1:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-29  1:59 Martin Fredriksson [this message]
2002-12-30 15:27 ` window.c: suggested patch window_scroll_pixel_based Richard Stallman
2002-12-31  6:27   ` Martin Fredriksson
2003-01-01 16:45   ` Richard Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36895EE4-1AD1-11D7-8795-003065478022@crt.se \
    --to=martin@crt.se \
    /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 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.