From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Two minor problems with CUA rectangles Date: Fri, 25 Nov 2005 14:23:37 +0100 Message-ID: <43871059.9090705@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132931134 9053 80.91.229.2 (25 Nov 2005 15:05:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2005 15:05:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 16:05:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eff7o-0006KY-7h for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2005 16:04:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eff7h-00039t-QW for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2005 10:04:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EfdjA-0008Ag-DB for emacs-devel@gnu.org; Fri, 25 Nov 2005 08:35:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Efdj8-00089K-0i for emacs-devel@gnu.org; Fri, 25 Nov 2005 08:34:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Efdj7-00088Y-6o for emacs-devel@gnu.org; Fri, 25 Nov 2005 08:34:57 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1Efdj7-0003xJ-1P for emacs-devel@gnu.org; Fri, 25 Nov 2005 08:34:57 -0500 Original-Received: (qmail invoked by alias); 25 Nov 2005 13:34:55 -0000 Original-Received: from N727P012.adsl.highway.telekom.at (EHLO [62.47.34.204]) [62.47.34.204] by mail.gmx.net (mp031) with SMTP; 25 Nov 2005 14:34:55 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: emacs-devel X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46564 Archived-At: Suppose I have a TAB with a text-property that specifies a background color. Consequently, all characters from TAB to TAB + tab-width are displayed with that color. If I now install a CUA rectangle on the right of the TAB and subsequently expand the rectangle to a position between TAB and TAB + tab-width, the characters between the TAB and that position are displayed with default background. M-x revert-buffer with an active rectangle in that buffer apparently deactivates the rectangle but overlays used for the rectangle are not removed. C-l does not remove them either. With (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(cua-enable-cursor-indications t) '(cua-mode t nil (cua-base)))