all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 18546@debbugs.gnu.org
Subject: bug#18546: 24.4.50; active display table
Date: Wed, 24 Sep 2014 09:56:35 -0700 (PDT)	[thread overview]
Message-ID: <e5c6ecba-cd94-40c4-996a-bf43c6a294ac@default> (raw)

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-buffer-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@gnu.org-20140815043406-p5hbu97cbm7pulcn
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2014-09-24 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 16:56 Drew Adams [this message]
2022-05-11 15:51 ` bug#18546: 24.4.50; active display table Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5c6ecba-cd94-40c4-996a-bf43c6a294ac@default \
    --to=drew.adams@oracle.com \
    --cc=18546@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.