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#15716: 24.3.50; redisplay bug for display-table update Date: Fri, 25 Oct 2013 18:26:53 +0300 Message-ID: <83eh79gyma.fsf@gnu.org> References: <5f2f5004-0d43-45c6-8285-dfcf2a3deb5e@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382714895 23915 80.91.229.3 (25 Oct 2013 15:28:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 15:28:15 +0000 (UTC) Cc: 15716@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 25 17:28:17 2013 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 1VZjJA-000188-4w for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 17:28:16 +0200 Original-Received: from localhost ([::1]:59744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZjJ9-0003Rq-Mz for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 11:28:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZjJ2-0003Qm-H7 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 11:28:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZjIx-0000Ca-HR for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 11:28:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZjIx-0000CU-Eh for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 11:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZjIx-0000yi-AC for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 11:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Oct 2013 15:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15716-submit@debbugs.gnu.org id=B15716.13827148463638 (code B ref 15716); Fri, 25 Oct 2013 15:28:03 +0000 Original-Received: (at 15716) by debbugs.gnu.org; 25 Oct 2013 15:27:26 +0000 Original-Received: from localhost ([127.0.0.1]:43615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZjIM-0000wc-0x for submit@debbugs.gnu.org; Fri, 25 Oct 2013 11:27:26 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:51631) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZjII-0000vy-QD for 15716@debbugs.gnu.org; Fri, 25 Oct 2013 11:27:24 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MV800N00DKQ3800@a-mtaout20.012.net.il> for 15716@debbugs.gnu.org; Fri, 25 Oct 2013 18:27:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MV800NZYDL22S00@a-mtaout20.012.net.il>; Fri, 25 Oct 2013 18:27:02 +0300 (IDT) In-reply-to: <5f2f5004-0d43-45c6-8285-dfcf2a3deb5e@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:79643 Archived-At: > Date: Fri, 25 Oct 2013 08:04:14 -0700 (PDT) > From: Drew Adams > > See attached screenshots, from the same session. The bad one (NG) was > taken after `C-l', which should have taken care of any redisplay > problem. `C-l' does not necessarily do a redisplay, at least not by default. It did so in the past, but ceased to since Emacs 23.1, where `C-l' was bound to 'recenter-top-bottom' instead of 'recenter'. > The good one (OK) was taken after then iconifying (thumbifying, > actually) and then restoring the frame - that took care of the display > problem. > > The part of the displayed buffer that got messed up is the result of > modifying the display table for character ^L - what looks like a sunken > line of text "Section (Printable Page)" is in fact just a ^L character. > The code that does this is here: > http://www.emacswiki.org/emacs-en/download/pp-c-l.el. > > This is the part of the code that updates the display table: > > (lambda (window) > (let ((display-table (or (window-display-table window) > (make-display-table)))) > (aset display-table ?\014 (and pretty-control-l-mode > (pp^L-^L-display-table-entry window))) > (set-window-display-table window display-table))) Emacswiki seems to be off-line. But unless you are saying that turning on this feature _always_ results in garbled display, I will need a recipe to reproduce the problem, or else it is impossible to debug it. > BTW/FWIW - I think I have also noticed, with this build (perhaps other > recent builds too?), the need to hit `C-l' more often. Until now I have > probably used `C-l' only a few times over the last decade or so - hasn't > been needed. (In the old days it was needed much more often.) You read too much into what `C-l' does. I recommend redraw-display, if you want to force a thorough redisplay. Anyway, all those situations should be reported, if they are reproducible. You shouldn't need to force redisplay manually.