From: Brendan Halpin <brendan.halpin@ul.ie>
To: emacs-orgmode@gnu.org
Subject: Re: modeline vs modeline
Date: Wed, 24 Oct 2012 10:10:30 +0100 [thread overview]
Message-ID: <87zk3c1bi1.fsf@wivenhoe.ul.ie> (raw)
In-Reply-To: <80txtkxnln.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 24 Oct 2012 10:48:04 +0200")
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.halpin@ul.ie ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
next prev parent reply other threads:[~2012-10-24 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 20:44 modeline vs modeline Brendan Halpin
2012-10-24 8:48 ` Sebastien Vauban
2012-10-24 9:10 ` Brendan Halpin [this message]
2012-10-24 13:27 ` Bastien
2012-10-24 9:22 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zk3c1bi1.fsf@wivenhoe.ul.ie \
--to=brendan.halpin@ul.ie \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).