[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eev] C-q C-o ?
From: |
Eduardo Ochs |
Subject: |
Re: [eev] C-q C-o ? |
Date: |
Sat, 16 Feb 2008 18:59:57 -0200 |
Hi Xavier,
first of all, sorry for the delay... I saw your three messages, but I
wanted to give (hopefully) complete answers, and my monitor was
broken, and I only got a new one last night...
> What font do you use either on a normal linux vt (console) and in
> a graphical GNU Emacs session ?
>
> When I type C-q C-o in GNU Emacs when in the linux console, I am
> seeing ^O instead of the red star. In GNU Emacs on X, I am seeing
> a little square. This is not satisfying.
>
> What font are you using ?
Anyway: can you check which version of eev you are using? I think that
until some months ago eev used to check the value of (getenv "TERM")
against some default values, and in some cases it would use some
non-standard chars for some glyphs... in particular, for ^O it
sometimes used the "bullet" char, that you can see here:
(find-eleimfile "quail/latin-ltx.el" "bullet")
(find-echarsetchars 'mule-unicode-0100-24ff "732x")
You can check your version of eev with:
(find-eevfile "VERSION")
(find-eevfile "ChangeLog")
http://angg.twu.net/eev-current/ChangeLog.html
Hm, sorry, that can't be it - it seems that I never moved the code for
using the bullet char from my ".emacs" to eev... 8-\
(find-eevgrep "grep -niH -e term *.el")
(find-eevgrep "grep -niH -e 15 *.el")
(find-eevgrep "grep -niH -e \\\\^O *.el")
Ok, so forget this...
--snip--snip--
Let me explain how the glyph for ^O is set, then.
By running "eev-rctool" you should have installed an "eev block" at
your .emacs; that block calls - somewhat indirectly - the function
`eev-set-default-glyphs', that runs this:
(eev-set-glyph ?\^O ?* 'eev-glyph-face-red)
Here are some links that may be relevant if you want to understand the
process:
(find-fline "~/.emacs" "Beginning of the eev block:")
(find-eevfile "eev-all.el" "(eev-set-default-glyphs)")
(find-eevfile "eev-glyphs.el" "defun eev-set-default-glyphs")
You can check if the glyph for "\^O" is still set correctly with:
(defun ee-glyph-bign (char) (aref (aref standard-display-table char) 0))
(defun ee-glyph-char (bign) (logand (- (ash 1 19) 1) bign))
(defun ee-glyph-face-id (bign) (ash bign -19))
(ee-glyph-char (ee-glyph-bign 15))
(ee-glyph-face-id (ee-glyph-bign 15))
(face-id 'eev-glyph-face-red)
I've noticed that recent versions of Org in CVS Emacs sometimes create
their own display table - one in which the eev glyphs are not set -
and I have something like this in my .emacs to tell Org to not create
a display table...
;; (require 'org)
;; (find-evardescr 'org-display-table)
;; (find-evardescr 'org-ellipsis)
;; (find-egrep "grep -nH -e buffer-display-table $(find * -name '*.el')")
;; (find-efile "textmodes/org.el" "buffer-display-table")
;; (find-efile "textmodes/org.el" "setq buffer-display-table")
;; (find-efile "textmodes/org.el" "defcustom org-ellipsis")
;; (setq org-ellipsis 'org-ellipsis)
(setq org-ellipsis nil)
also, switching from an X frame to a terminal frame and back (a
"multi-tty"-ism, possible in CVS Emacs) messes up the display table...
I don't know how to handle this yet...
Does that help? Can you provide more information?
Cheers, thanks a lot for the report,
Eduardo Ochs
http://angg.twu.net/
address@hidden
P.S.: I use very standard fonts (not e.g., terminus) because I often
have to set some glyphs to mathematical chars... I switch between
three font sizes with keybindings bound to:
(set-frame-font "micro")
(set-frame-font "fixed")
(set-frame-font "10x20")
- [eev] C-q C-o ?, Xavier Maillard, 2008/02/15
- Re: [eev] C-q C-o ?,
Eduardo Ochs <=