unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-trunk-diffs] Changes to emacs/lisp/faces.el
Date: Fri, 03 Dec 2004 10:18:41 +0100	[thread overview]
Message-ID: <m37jnzkadq.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1Ca4Kt-00067g-EH@fencepost.gnu.org> (Richard Stallman's message of "Thu, 02 Dec 2004 22:42:23 -0500")

Richard Stallman <rms@gnu.org> writes:

>     + (or standard-display-table
>     +     ;; avoid using autoloaded make-display-table here
>     +     (setq standard-display-table (make-char-table 'display-table nil)))
>     + 
>     + (let* ((face (lsh (face-id 'escape-glyph) 19))
>     +        (backslash (+ face ?\\))
>     +        (dot (+ face ?.)))
>     +   (set-char-table-extra-slot standard-display-table 2 backslash)
>     +   (aset standard-display-table 2208 (vector backslash ?\s))
>     +   (aset standard-display-table 2221 (vector backslash ?-))
>     +   (set-char-table-extra-slot standard-display-table 3 (+ face ?^))
>     +   (set-char-table-extra-slot standard-display-table 4 (vector dot dot dot)))
>
> This code, like Pfeiffer's change, has the effect of
> setting up a non-nil display table in Emacs at build time.

True, but with my change, it doesn't use fixed values which
may only be correct for some installations.

> A change like that ought to be discussed.
>
> Why do we want that?  Why not go back to the old code
> so that a display tabel was set up only if we WANT one?

IIRC, you said this was a good idea, so I thought Daniel
had installed it on approval from you -- I just fixed the
technical problems with it.

I have no opinion on whether this should be enabled by default or not.

If it should be off by default, we should move all of it (including
the defface) to disp-table.el and create a simple autoloaded
defcustom to enable it.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

       reply	other threads:[~2004-12-03  9:18 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1CZoXW-0007hE-UW@lists.gnu.org>
     [not found] ` <E1Ca4Kt-00067g-EH@fencepost.gnu.org>
2004-12-03  9:18   ` Kim F. Storm [this message]
2004-12-04  2:48     ` [Emacs-trunk-diffs] Changes to emacs/lisp/faces.el Richard Stallman
2004-12-05 17:52       ` Juri Linkov
2004-12-05 18:32         ` Daniel Pfeiffer
2004-12-06  1:40         ` Richard Stallman
2004-12-07 22:40           ` Daniel Pfeiffer
2004-12-07 23:48             ` Stefan Monnier
2004-12-08  8:47               ` Daniel Pfeiffer
2004-12-08 15:16                 ` Stefan Monnier
2004-12-08 22:15               ` Richard Stallman
2004-12-08 22:15             ` Richard Stallman
2004-12-12  9:19               ` Daniel Pfeiffer
2004-12-13  9:03                 ` Juri Linkov
2004-12-13 14:51                   ` Stefan Monnier
2004-12-13 19:51                 ` Richard Stallman
2004-12-13 23:41                   ` Daniel Pfeiffer
2004-12-14 23:22                     ` Richard Stallman
2004-12-17  0:54                     ` Richard Stallman
2004-12-19  9:41                       ` Daniel Pfeiffer
2004-12-21 11:21                         ` Richard Stallman
2004-12-23 20:39                           ` Daniel Pfeiffer
2004-12-14 12:32                   ` Kim F. Storm
2004-12-15 10:56                     ` Juri Linkov
2004-12-15 11:21                       ` Kim F. Storm
2004-12-15 12:01                         ` Robert J. Chassell
2004-12-15 14:58                     ` Richard Stallman
2004-12-15 16:14                       ` Kim F. Storm
2004-12-15 20:35                         ` Daniel Pfeiffer
2004-12-24  2:28                       ` Juri Linkov
2004-12-24 13:26                         ` Robert J. Chassell
2004-12-26 19:42                           ` Juri Linkov
2004-12-27  8:00                             ` Eli Zaretskii
2004-12-27 19:53                               ` Juri Linkov
2004-12-27 22:01                                 ` Eli Zaretskii
2004-12-27 22:56                                   ` Stefan Monnier
2004-12-28 17:25                                     ` Richard Stallman
2004-12-28  2:38                                   ` Juri Linkov
2004-12-28  4:47                                     ` Eli Zaretskii
2004-12-28  7:52                                       ` Juri Linkov
2004-12-28 20:36                                         ` Eli Zaretskii
2004-12-29  0:22                                           ` Juri Linkov
2004-12-29  4:45                                             ` Eli Zaretskii
2004-12-30  7:33                                               ` Juri Linkov
2004-12-30 14:21                                                 ` Alex Schroeder
2004-12-30 16:33                                                   ` Drew Adams
2004-12-30 20:59                                                 ` Richard Stallman
2004-12-28  4:57                                   ` Richard Stallman
2004-12-25 15:12                         ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m37jnzkadq.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).