GNU bug report logs - #18546
24.4.50; active display table

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Wed, 24 Sep 2014 16:58:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Sep 2014 16:57:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 24 12:57:18 2014
Received: from localhost ([127.0.0.1]:50963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XWpsT-0003Sw-F9
	for submit <at> debbugs.gnu.org; Wed, 24 Sep 2014 12:57:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36417)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1XWpsR-0003Sh-8x
 for submit <at> debbugs.gnu.org; Wed, 24 Sep 2014 12:57:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XWpsI-0006DA-E9
 for submit <at> debbugs.gnu.org; Wed, 24 Sep 2014 12:57:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38854)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XWpsI-0006D0-BG
 for submit <at> debbugs.gnu.org; Wed, 24 Sep 2014 12:57:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38096)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XWps5-0005E7-NK
 for bug-gnu-emacs@HIDDEN; Wed, 24 Sep 2014 12:57:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XWpry-0006AQ-48
 for bug-gnu-emacs@HIDDEN; Wed, 24 Sep 2014 12:56:53 -0400
Received: from aserp1040.oracle.com ([141.146.126.69]:32221)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XWprx-0006A5-Tz
 for bug-gnu-emacs@HIDDEN; Wed, 24 Sep 2014 12:56:46 -0400
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 s8OGubaa024643
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 24 Sep 2014 16:56:38 GMT
Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85])
 by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s8OGuaRC020033
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Wed, 24 Sep 2014 16:56:36 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
 by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s8OGua1Q022557
 for <bug-gnu-emacs@HIDDEN>; Wed, 24 Sep 2014 16:56:36 GMT
MIME-Version: 1.0
Message-ID: <e5c6ecba-cd94-40c4-996a-bf43c6a294ac@default>
Date: Wed, 24 Sep 2014 09:56:35 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.4.50; active display table
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2  (807160) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Not sure whether this is a product bug, a product enhancement request,
or a doc bug.  I'm not very familiar with display-table precedence.

(elisp) `Active Display Table' describes the relation between window
display tables and buffer display tables.  But all it says about the
relation is this:

  The window's display table, if there is one, takes precedence over the
  buffer's display table.

What does that mean?  Does it mean that if there is a window display
table then the buffer display table is completely ignored (shadowed)?
Or does it mean that on an individual character basis the entries in the
window display table shadow the corresponding entries in the buffer
display table?

At a minimum, I think the doc should make the relation clear.

I came across this because of this Unix & Linux Stack-Exchange question:

http://unix.stackexchange.com/questions/138145/window-display-table-and-buf=
fer-display-table-conflict-in-emacs

It states that when whitespace.el is used with pp-c-l.el (my library),
the two do not play well together because the latter uses a window
display table and the former uses buffer display tables.

I'm not sure what to do about this, as I don't really understand the
relation between the two (see above).  I proposed a possible fix (?),
but I cannot repro the problem, so I don't know whether the fix is
useful.

If the answer to my question about what the doc means is that the
window display table completely shadows any buffer display table
for a buffer displayed in that window, then isn't that a bit
primitive?  Is it the best behavior/design?

Again, I really know little about display tables.  Just trying to
understand the user's problem with using these two libraries
together, and to figure out what the best way to fix pp-c-l.el is
for that problem.

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-08-15 on LEG570
Bzr revision: 117706 rgm@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG=
=3D1'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18546; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.