[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] modeline vs modeline

From: Brendan Halpin
Subject: Re: [O] modeline vs modeline
Date: Wed, 24 Oct 2012 10:10:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

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:

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

or more conventionally:

<   (org-compatible-face 'modeline
>   (org-compatible-face 'mode-line
<   (org-compatible-face 'modeline
>   (org-compatible-face 'mode-line
< (org-copy-face 'modeline 'org-mode-line-clock
> (org-copy-face 'mode-line 'org-mode-line-clock
< (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 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:address@hidden    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology

reply via email to

[Prev in Thread] Current Thread [Next in Thread]