From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: scroll-preserve-screen-position not working Date: Sat, 07 Apr 2007 13:49:51 +0200 Message-ID: <4617855F.6000107@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060404090403090704020605" X-Trace: sea.gmane.org 1175947092 14348 80.91.229.12 (7 Apr 2007 11:58:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Apr 2007 11:58:12 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: angelo.borsotti@alcatel-lucent.it Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 07 13:57:53 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ha9YG-0000zX-SG for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Apr 2007 13:57:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ha9br-0002gU-6I for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Apr 2007 08:01:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ha9Ss-0001l4-NT for bug-gnu-emacs@gnu.org; Sat, 07 Apr 2007 07:52:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ha9Sr-0001kg-TR for bug-gnu-emacs@gnu.org; Sat, 07 Apr 2007 07:52:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ha9Sr-0001kZ-Cm for bug-gnu-emacs@gnu.org; Sat, 07 Apr 2007 07:52:17 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ha9PG-0002Br-3p for bug-gnu-emacs@gnu.org; Sat, 07 Apr 2007 07:48:34 -0400 Original-Received: (qmail invoked by alias); 07 Apr 2007 11:48:32 -0000 Original-Received: from N756P029.adsl.highway.telekom.at (EHLO [62.47.38.125]) [62.47.38.125] by mail.gmx.net (mp012) with SMTP; 07 Apr 2007 13:48:32 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18stOZOL/wsdBcXQfM81ddgflvVZI5A1PMgyl4sUw qWk/u5xmn6spwW User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 07 Apr 2007 08:01:20 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15657 Archived-At: This is a multi-part message in MIME format. --------------060404090403090704020605 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > 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. --------------060404090403090704020605 Content-Type: text/plain; name="cus-start0704.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cus-start0704.patch" *** 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) --------------060404090403090704020605 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --------------060404090403090704020605--