unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* No display-table with UTF-8
@ 2004-02-05 22:45 Daniel Pfeiffer
  2004-02-06  0:09 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Pfeiffer @ 2004-02-05 22:45 UTC (permalink / raw)


Hi,

after I ran into too many problems a few years back, I'm currently taking
another shot at updating my X-environment to a de_DE.UTF-8 locale.  This works
nicely with CVS emacs.

The problem are these kind of lines in my .emacs:

(set-char-table-extra-slot standard-display-table 2 9437276)
(aset standard-display-table 2208 [9437276 ?\ ])
(aset standard-display-table 2221 [9437276 ?-])

where those weird huge numbers are a highlighted backslash:

(+ (lsh (face-id 'secondary-selection) 19) ?\\)

Too bad standard-display-table is nil when I set LANG this way.  How do I
highlight the extra-slots when using unicode?

best regards
Daniel

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

* Re: No display-table with UTF-8
  2004-02-05 22:45 No display-table with UTF-8 Daniel Pfeiffer
@ 2004-02-06  0:09 ` Kevin Rodgers
  2004-02-06 21:55   ` Daniel Pfeiffer
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2004-02-06  0:09 UTC (permalink / raw)


Daniel Pfeiffer wrote:

> after I ran into too many problems a few years back, I'm currently taking
> another shot at updating my X-environment to a de_DE.UTF-8 locale.  This works
> nicely with CVS emacs.
> 
> The problem are these kind of lines in my .emacs:
> 
> (set-char-table-extra-slot standard-display-table 2 9437276)
> (aset standard-display-table 2208 [9437276 ?\ ])
> (aset standard-display-table 2221 [9437276 ?-])
> 
> where those weird huge numbers are a highlighted backslash:
> 
> (+ (lsh (face-id 'secondary-selection) 19) ?\\)
> 
> Too bad standard-display-table is nil when I set LANG this way.  How do I
> highlight the extra-slots when using unicode?

How about:

(or standard-display-table
     (setq standard-display-table (make-display-table)))

-- 
Kevin Rodgers

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

* Re: No display-table with UTF-8
  2004-02-06  0:09 ` Kevin Rodgers
@ 2004-02-06 21:55   ` Daniel Pfeiffer
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Pfeiffer @ 2004-02-06 21:55 UTC (permalink / raw)


Saluton,

Kevin Rodgers <ihs_4664@yahoo.com> skribis:

> > Too bad standard-display-table is nil when I set LANG this way.  How do I
> > highlight the extra-slots when using unicode?
> 
> How about:
> 
> (or standard-display-table
>      (setq standard-display-table (make-display-table)))

simple -- and effective :-)

thanks!

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

end of thread, other threads:[~2004-02-06 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-05 22:45 No display-table with UTF-8 Daniel Pfeiffer
2004-02-06  0:09 ` Kevin Rodgers
2004-02-06 21:55   ` Daniel Pfeiffer

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