From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12277: 24.1.50; Graphical issues with linum-mode and fringe Date: Sat, 08 Sep 2012 16:01:38 +0300 Message-ID: <83bohghdn1.fsf@gnu.org> References: <936C2ADB-83AF-40CD-98D3-56580768D12B@robertdallasgray.com> <46BA7BE1-F310-40E4-AFC8-C91200634344@robertdallasgray.com> <83mx1bqvmc.fsf@gnu.org> <07E8B37A-FACF-4F64-B23C-0389DA730DF8@robertdallasgray.com> <820087F3-E672-42AE-8B74-C6E48A3F88E2@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1347109366 4629 80.91.229.3 (8 Sep 2012 13:02:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 13:02:46 +0000 (UTC) Cc: mail@robertdallasgray.com, 12277@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 15:02:48 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TAKgQ-0005o3-Fm for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 15:02:46 +0200 Original-Received: from localhost ([::1]:34533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAKgN-0000qJ-8J for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 09:02:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAKgK-0000pi-Gz for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 09:02:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAKgJ-00037m-B3 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 09:02:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAKgJ-00037i-7n for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 09:02:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TAKgf-0000Kg-T2 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Sep 2012 13:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12277 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12277-submit@debbugs.gnu.org id=B12277.13471093271219 (code B ref 12277); Sat, 08 Sep 2012 13:03:01 +0000 Original-Received: (at 12277) by debbugs.gnu.org; 8 Sep 2012 13:02:07 +0000 Original-Received: from localhost ([127.0.0.1]:48002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAKfl-0000Ja-QP for submit@debbugs.gnu.org; Sat, 08 Sep 2012 09:02:06 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:53919) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAKfi-0000J9-1K for 12277@debbugs.gnu.org; Sat, 08 Sep 2012 09:02:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MA10050084VWB00@a-mtaout20.012.net.il> for 12277@debbugs.gnu.org; Sat, 08 Sep 2012 16:01:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MA10058086OOG40@a-mtaout20.012.net.il>; Sat, 08 Sep 2012 16:01:36 +0300 (IDT) In-reply-to: <820087F3-E672-42AE-8B74-C6E48A3F88E2@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63935 Archived-At: > From: Jan Dj=E4rv > Date: Sat, 8 Sep 2012 14:22:39 +0200 > Cc: Eli Zaretskii , > 12277@debbugs.gnu.org >=20 > But I found a simpler way to reproduce the bug: >=20 > ./emacs -Q > M-x scroll-bar-mode (to turn off scrollbars). > C-x 3 > M-x linum-mode >=20 > Then double-click on a line to mark a word on that line. The redis= play engine will then redraw the whole line, but the black border bet= ween windows will be gone from that line and to the end of the window Thanks, I can reproduce this here. Will take a look when I have time= . > why Emacs redisplays from the marked word to the end of the window = I > don't know, it does not seem efficient Probably because the 'region' face can specify a different font, which, if its size is significantly different from the default, could require redrawing of more than one screen line. Perhaps it's possibl= e to invent optimizations that redraw less in at least some of the cases, but no one has come up with such optimizations, and I'm not sure it's worth our while. Each optimization adds to the complexity of the display engine, so IMO we should only introduce new ones if th= e normal redisplay is unbearably slow.