From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Halpin Subject: Re: modeline vs modeline Date: Wed, 24 Oct 2012 10:10:30 +0100 Message-ID: <87zk3c1bi1.fsf@wivenhoe.ul.ie> References: <87liewudeq.fsf@wivenhoe.ul.ie> <80txtkxnln.fsf@somewhere.org> Reply-To: brendan.halpin@ul.ie Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQwz1-0006Nv-0h for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 05:10:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQwyv-0002Yg-3x for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 05:10:38 -0400 Received: from marshal4.ul.ie ([193.1.100.137]:13323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQwyu-0002WL-Qn for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 05:10:33 -0400 In-Reply-To: <80txtkxnln.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 24 Oct 2012 10:48:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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