From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Highlighting broken Date: Mon, 26 Apr 2004 17:18:32 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <408D2848.9000701@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082994134 18602 80.91.224.253 (26 Apr 2004 15:42:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2004 15:42:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 26 17:41:53 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BI8Ey-0004ev-00 for ; Mon, 26 Apr 2004 17:41:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BI8Ey-0003PR-00 for ; Mon, 26 Apr 2004 17:41:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BI8Ac-0007lR-6c for emacs-devel@quimby.gnus.org; Mon, 26 Apr 2004 11:37:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BI87s-0007UJ-10 for emacs-devel@gnu.org; Mon, 26 Apr 2004 11:34:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BI87J-0007M6-PM for emacs-devel@gnu.org; Mon, 26 Apr 2004 11:34:28 -0400 Original-Received: from [213.170.224.162] (helo=smtp.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BI7sU-0004FU-UM for emacs-devel@gnu.org; Mon, 26 Apr 2004 11:18:39 -0400 Original-Received: from math.ku.dk (0x52b410e6.dhcp.kabelnettet.dk [82.180.16.230]) by smtp.kabelnettet.dk (Postfix) with ESMTP id E1A526098BB; Mon, 26 Apr 2004 17:18:31 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk X-Accept-Language: en Original-To: "Kim F. Storm" , emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22181 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22181 It seems that recently highlighting is broken: Start emacs -q and switch on cua-mode. Delete the contents of the scratch buffer and insert a single line "foo" . It does not matter if you end it with a newline or not. Now place point at buffer start and select foo by hitting shift+down arrow. Then _all_ of the window is highlighted. Moreover, if you hit shift+up arrow, then part of the window is still highlighted and stays so until the frame is redrawn. It seems the problem started at 2004-04-25, and I suspect the changes src/xdisp.c to be the reason.