From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: transient mark loss on Shift+PageUp/PageDown Date: Wed, 12 Feb 2014 09:49:07 -0500 Message-ID: References: <87eh3967d9.fsf@lifelogs.com> <871tz85zxp.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392216560 21966 80.91.229.3 (12 Feb 2014 14:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2014 14:49:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 12 15:49:27 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WDb7v-0007ko-FM for ged-emacs-devel@m.gmane.org; Wed, 12 Feb 2014 15:49:27 +0100 Original-Received: from localhost ([::1]:39458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDb7v-0008I6-3Q for ged-emacs-devel@m.gmane.org; Wed, 12 Feb 2014 09:49:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDb7k-0008Hq-PA for emacs-devel@gnu.org; Wed, 12 Feb 2014 09:49:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDb7c-0001JQ-S0 for emacs-devel@gnu.org; Wed, 12 Feb 2014 09:49:16 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:64860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDb7c-0001JG-OZ for emacs-devel@gnu.org; Wed, 12 Feb 2014 09:49:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFpaAU/2dsb2JhbABEuzWDWRdzgh4BAQQBVigLCzQSFBgNiEIGwS2CSosXgykDiGGcGYFegxU X-IPAS-Result: Av8EABK/CFFFpaAU/2dsb2JhbABEuzWDWRdzgh4BAQQBVigLCzQSFBgNiEIGwS2CSosXgykDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47407734" Original-Received: from 69-165-160-20.dsl.teksavvy.com (HELO pastel.home) ([69.165.160.20]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Feb 2014 09:49:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E0C5D600CC; Wed, 12 Feb 2014 09:49:07 -0500 (EST) In-Reply-To: <871tz85zxp.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 12 Feb 2014 06:32:34 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169558 Archived-At: > I went to the beginning of the buffer, held down Shift, then pressed > `next' (PageDown) several times until I got to the end of the buffer. > Then I copied the selected text (which should have been the whole > buffer, including the headers). Instead, the region and the copied text > began from the text "SM> If that doesn't explain what you see". I see it. I installed the patch below, which should fix it. Stefan === modified file 'lisp/emulation/cua-base.el' *** lisp/emulation/cua-base.el 2014-01-27 21:26:48 +0000 --- lisp/emulation/cua-base.el 2014-02-12 14:36:54 +0000 *************** *** 1085,1091 **** A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll downward. If ARG is the atom `-', scroll downward by nearly full screen." ! (interactive "P") (cond ((eq arg '-) (cua-scroll-down nil)) ((< (prefix-numeric-value arg) 0) --- 1085,1091 ---- A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll downward. If ARG is the atom `-', scroll downward by nearly full screen." ! (interactive "^P") (cond ((eq arg '-) (cua-scroll-down nil)) ((< (prefix-numeric-value arg) 0) *************** *** 1106,1112 **** A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll upward. If ARG is the atom `-', scroll upward by nearly full screen." ! (interactive "P") (cond ((eq arg '-) (cua-scroll-up nil)) ((< (prefix-numeric-value arg) 0) --- 1106,1112 ---- A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll upward. If ARG is the atom `-', scroll upward by nearly full screen." ! (interactive "^P") (cond ((eq arg '-) (cua-scroll-up nil)) ((< (prefix-numeric-value arg) 0)