all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: angelo.borsotti@alcatel-lucent.it
Cc: bug-gnu-emacs@gnu.org
Subject: Re: scroll-preserve-screen-position not working
Date: Sat, 07 Apr 2007 13:49:51 +0200	[thread overview]
Message-ID: <4617855F.6000107@gmx.at> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

 > the scroll-preserve-screen-position variable had been
 > introduced some time ago in emacs 20. It allows to
 > keep the cursor in its position in a buffer when scrolling.
 > When it is not set, the cursor position is moved when
 > scrolling so as to make it always visible.
 > In emacs 21 (and alas in 22) this variable has no effect,
 > at least when emacs in running in Windows XP and also in
 > Vista.

Thank you for your report.

Customization for this variable was broken.  Could you please apply the
attached patch and tell me whether it gives good results.


[-- Attachment #2: cus-start0704.patch --]
[-- Type: text/plain, Size: 899 bytes --]

*** cus-start.el	Tue Jan 23 06:40:00 2007
--- cus-start.el	Sat Apr  7 13:41:38 2007
***************
*** 338,344 ****
  	     (split-height-threshold windows integer)
  	     (window-min-height windows integer)
  	     (window-min-width windows integer)
! 	     (scroll-preserve-screen-position windows boolean)
  	     (display-buffer-reuse-frames windows boolean "21.1")
  	     ;; xdisp.c
  	     (scroll-step windows integer)
--- 338,348 ----
  	     (split-height-threshold windows integer)
  	     (window-min-height windows integer)
  	     (window-min-width windows integer)
! 	     (scroll-preserve-screen-position
! 	      windows (choice
! 		       (const :tag "Off (nil)" :value nil)
! 		       (const :tag "Full screen (t)" :value t)
! 		       (other :tag "Always")))
  	     (display-buffer-reuse-frames windows boolean "21.1")
  	     ;; xdisp.c
  	     (scroll-step windows integer)

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

             reply	other threads:[~2007-04-07 11:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-07 11:49 martin rudalics [this message]
2007-04-08 22:04 ` scroll-preserve-screen-position not working Kim F. Storm
2007-04-11 13:43 ` Angelo Borsotti
2007-04-11 21:24   ` martin rudalics
2007-04-11 23:44   ` Johan Bockgård
  -- strict thread matches above, loose matches on Subject: below --
2007-04-05  8:37 Angelo Borsotti
2007-04-07 17:30 ` 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=4617855F.6000107@gmx.at \
    --to=rudalics@gmx.at \
    --cc=angelo.borsotti@alcatel-lucent.it \
    --cc=bug-gnu-emacs@gnu.org \
    /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.