unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dumping disp-table
@ 2003-06-16 20:39 Stefan Monnier
  2003-06-17 16:20 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2003-06-16 20:39 UTC (permalink / raw)



In all the cases I can think of, it seems that disp-table.el
gets loaded at startup.  And at least on my GNU/Linux
system, I can't seem to be able to start Emacs without
loading disp-table, unless I start it in batch mode.

How about moving it to loadup.el ?


	Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dumping disp-table
  2003-06-16 20:39 dumping disp-table Stefan Monnier
@ 2003-06-17 16:20 ` Richard Stallman
  2003-06-17 20:31   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2003-06-17 16:20 UTC (permalink / raw)
  Cc: emacs-devel

    In all the cases I can think of, it seems that disp-table.el
    gets loaded at startup.

That seems to be due to the following code:

(defun set-display-table-and-terminal-coding-system (language-name)
  "Set up the display table and terminal coding system for LANGUAGE-NAME."
  (let ((coding (get-language-info language-name 'unibyte-display)))
    (if coding
	(standard-display-european-internal)
;;; The next line is what does it.
      (standard-display-default (if (eq window-system 'pc) 128 160) 255)
      (aset standard-display-table 146 nil))
    (or (eq window-system 'pc)
      (set-terminal-coding-system coding))))

What is the purpose of that line?  We could easily rewrite
it not to use disp-table, but we should also explain the reason
why it does what it does.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dumping disp-table
  2003-06-17 16:20 ` Richard Stallman
@ 2003-06-17 20:31   ` Eli Zaretskii
  2003-06-19  4:49     ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2003-06-17 20:31 UTC (permalink / raw)
  Cc: emacs-devel

> From: Richard Stallman <rms@gnu.org>
> Date: Tue, 17 Jun 2003 12:20:45 -0400
> 
> ;;; The next line is what does it.
>       (standard-display-default (if (eq window-system 'pc) 128 160) 255)
>       (aset standard-display-table 146 nil))
>     (or (eq window-system 'pc)
>       (set-terminal-coding-system coding))))
> 
> What is the purpose of that line?

Are you asking about the case of `window-system' being `pc' or the
other case (or both)?

In any case, I think the comments in standard-display-european-internal
might shed some light on this.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dumping disp-table
  2003-06-17 20:31   ` Eli Zaretskii
@ 2003-06-19  4:49     ` Richard Stallman
  2003-06-19 16:13       ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2003-06-19  4:49 UTC (permalink / raw)
  Cc: emacs-devel

    > ;;; The next line is what does it.
    >       (standard-display-default (if (eq window-system 'pc) 128 160) 255)
    >       (aset standard-display-table 146 nil))
    >     (or (eq window-system 'pc)
    >       (set-terminal-coding-system coding))))
    > 
    > What is the purpose of that line?

    Are you asking about the case of `window-system' being `pc' or the
    other case (or both)?

It would be good to have a comment explaining both cases.
Can you write one?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dumping disp-table
  2003-06-19  4:49     ` Richard Stallman
@ 2003-06-19 16:13       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2003-06-19 16:13 UTC (permalink / raw)
  Cc: emacs-devel

> From: Richard Stallman <rms@gnu.org>
> Date: Thu, 19 Jun 2003 00:49:04 -0400
> 
>     Are you asking about the case of `window-system' being `pc' or the
>     other case (or both)?
> 
> It would be good to have a comment explaining both cases.
> Can you write one?

Done.  Please see if the text I wrote explains the issue well enough.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-19 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-16 20:39 dumping disp-table Stefan Monnier
2003-06-17 16:20 ` Richard Stallman
2003-06-17 20:31   ` Eli Zaretskii
2003-06-19  4:49     ` Richard Stallman
2003-06-19 16:13       ` Eli Zaretskii

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).