From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Bastien <bzg@altern.org>
Cc: Michael Brand <michael.ch.brand@gmail.com>,
Rainer Stengele <rainer.stengele@online.de>,
Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Starting emacs followed directly by org-agenda search and visiting file removes color formatting
Date: Wed, 26 Jun 2013 11:44:01 +0200 [thread overview]
Message-ID: <87vc51cila.fsf@yahoo.fr> (raw)
In-Reply-To: <8761x2dwlx.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 25 Jun 2013 17:43:38 +0200")
Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:
> I just noticed this thread, which i think reports exactly the issue I
> reported here [this thread was before, but the title didn't catch my
> eyes -- sorry about that] <87zjuv2r79.fsf@yahoo.fr> and more or less
> "fixed" here <87bo7ati0m.fsf@yahoo.fr> (not sent as a patch because I'm
> unsure about it)
s/patch/commit/
Let me make that a commit anyway -- I've had no problem with it since I
applied it to my tree and maybe it's easier for you to review. HTH :
From e7e9946235df776cf9b8998ff80116d06597668e Mon Sep 17 00:00:00 2001
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Fri, 21 Jun 2013 10:23:43 +0200
Subject: [PATCH] Move (org-set-font-lock-defaults) from
(org-set-regexps-and-options) to (org-mode)
* lisp/org.el (org-set-regexps-and-options): don't set font-lock defaults here.
(org-mode): set them here.
This fixes the bug mentionned in [[gnus:nntp+news.gmane.org:gmane.emacs.orgmode#87zjuv2r79.fsf@yahoo.fr]]
---
lisp/org.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index f55c53e..7fd1576 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5146,8 +5146,7 @@ Support for group tags is controlled by the option
(mapcar (lambda (w) (substring w 0 -1))
(list org-scheduled-string org-deadline-string
org-clock-string org-closed-string)))
- (org-compute-latex-and-related-regexp)
- (org-set-font-lock-defaults))))
+ (org-compute-latex-and-related-regexp))))
(defun org-file-contents (file &optional noerror)
"Return the contents of FILE, as a string."
@@ -5331,6 +5330,7 @@ The following commands are available:
(setq buffer-display-table org-display-table))
(org-set-regexps-and-options-for-tags)
(org-set-regexps-and-options)
+ (org-set-font-lock-defaults)
(when (and org-tag-faces (not org-tags-special-faces-re))
;; tag faces set outside customize.... force initialization.
(org-set-tag-faces 'org-tag-faces org-tag-faces))
--
1.8.1.5
next prev parent reply other threads:[~2013-06-26 9:44 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 22:15 Starting emacs followed directly by org-agenda search and visiting file removes color formatting John Hendy
2013-05-20 22:34 ` John Hendy
2013-05-20 22:47 ` John Hendy
2013-05-21 7:47 ` Sebastien Vauban
2013-05-21 10:25 ` Bastien
2013-05-22 13:02 ` Rainer Stengele
2013-05-22 15:04 ` Rainer Stengele
2013-05-23 7:55 ` Bastien
2013-05-23 8:19 ` Rainer Stengele
2013-05-23 9:15 ` Sebastien Vauban
2013-05-23 9:42 ` Michael Brand
2013-05-23 10:07 ` Bastien
2013-05-23 10:16 ` Michael Brand
2013-05-23 10:45 ` John Hendy
2013-05-26 21:12 ` Rainer Stengele
2013-05-27 7:00 ` Bastien
2013-06-12 17:54 ` John Hendy
2013-06-12 21:08 ` Bastien
2013-06-21 12:26 ` Rainer Stengele
2013-06-25 15:09 ` John Hendy
2013-06-25 15:43 ` Rainer Stengele
2013-06-25 15:53 ` John Hendy
2013-06-25 15:43 ` Nicolas Richard
2013-06-25 15:52 ` Bastien
2013-06-26 2:01 ` Mike McLean
2013-06-26 2:36 ` Daniel Clemente
2013-06-26 2:42 ` John Hendy
2013-06-26 3:56 ` Daniel Clemente
2013-06-26 9:44 ` Nicolas Richard [this message]
2013-06-12 21:45 ` Samuel Wales
2013-07-03 11:12 ` Mike McLean
2013-07-03 13:07 ` Bastien
2013-07-04 20:26 ` Rainer Stengele
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=87vc51cila.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=michael.ch.brand@gmail.com \
--cc=rainer.stengele@online.de \
/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).