Ar an seachtú lá de mí Márta, scríobh Uwe Brauer:
I know now how to use hebrew in mtlerm, (it is simple enough, aehm).
I
have a running Xemacs with gnuserver running and use gnuclient for
example in auctex and okular.
When I run gnulient foobar.tex, everything works as expected but
nothing seems to happen when I type gnuclient -nw,
What do I miss?
gnuclient -nw just says to open a new frame in the current terminal, rather
than creating a new X11 window. Since the bidi support is in mlterm and not
in XEmacs, you need the TTY frame, rather than the X11 window. If you’re
already having the frame displayed in the TTY, no problem arises.
When editing bidi text in mlterm, I use the following:
(set-specifier (glyph-image continuation-glyph) [string :data ""] nil
'(tty)
'prepend)
This prevents the trailing backslash interrupting the paragraph bidi context
and makes paragraphs more readable.
I also use the following code, but it’s all Perso-Arabic specific, and so is
unlikely to be relevant to you. Most of it actually consists of workarounds
for display problems in mlterm, so it wouldn’t be appropriate to add to
XEmacs.
;; When using the system keyboard through a TTY rather than quail, these
;; become useful.
(define-key global-map [(control x) ?\u062e] 'other-window)
(define-key global-map [(control x) ?\u0630] 'switch-to-buffer)
(loop for (actual desired face)
in '((?\u06c0 ?ة) ;; heh with hamze, display as a green teh marbute.
(?\u2027 ?·) ;; HYPHENATION POINT, middot.
(?\u02c8 ?\u02c8 bold-italic) ;; MODIFIER LETTER VERTICAL LINE (the
;; stress mark for IPA), display it as
;; bold-italic.
(?\u200c ?\u2502) ;; zero-width-non-joiner, green vertical line
(?\u200d ?\u0640)) ;; zero-width-joiner, green tatweel (which
;; helps in preserving joining)
with glyph = nil
with char-table = (specifier-instance current-display-table)
do
(setq glyph (make-glyph (vector 'string :data (string desired))))
(set-glyph-face glyph (or face 'green))
(put-char-table actual glyph char-table))
--
‘Tramadol is further fed to cattle […] when working them […] (as draft
animals) so that the animals do not get tired quickly. …’
— Angewandte Chemie, Sept 2014, describing the social context of
(synthetic) tramadol having been found in Cameroon tree roots.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta