On Wed, Oct 24 2012, Sebastien Vauban wrote:

> Maybe you could provide a patch?
>
> Though, a quick note: AFAICT, in GNU Emacs, the modeline is written
> "mode-line"; but written "modeline" under XEmacs. I don't know how that fact
> is supported in Org (as it is still supposed to run under XEmacs as well).

You could express the patch like this:

(progn 
  (find-file "org-mode/lisp/org-faces.el")
  (goto-char (point-min))
  (replace-string "modeline" "mode-line")
  (save-buffer))

or more conventionally:


695c695
<   (org-compatible-face 'modeline
---
>   (org-compatible-face 'mode-line
701c701
<   (org-compatible-face 'modeline
---
>   (org-compatible-face 'mode-line
773c773
< (org-copy-face 'modeline 'org-mode-line-clock
---
> (org-copy-face 'mode-line 'org-mode-line-clock
775c775
< (org-copy-face 'modeline 'org-mode-line-clock-overrun
---
> (org-copy-face 'mode-line 'org-mode-line-clock-overrun



but that still leaves the problem of dealing with the Emacs/Xemacs
compatibility. Is there a way of aliasing face attributes?

Brendan
-- 
Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
mailto:brendan.hal...@ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology

Reply via email to