Re: [Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Carsten Dominik
OK, thanks. - Carsten On Feb 29, 2008, at 9:44 PM, Wanrong Lin wrote: I already did so. So far there is no problem. If I don't report anything, I think you can assume in the next release that I have no problem at all with the htmlize advice removed. Wanrong Carsten Dominik wrote: I am

Re: [Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
I already did so. So far there is no problem. If I don't report anything, I think you can assume in the next release that I have no problem at all with the htmlize advice removed. Wanrong Carsten Dominik wrote: I am taking this patch thanks! This might indeed make the advice for htmlize un

Re: [Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Carsten Dominik
I am taking this patch thanks! This might indeed make the advice for htmlize unnecessary - could you please remove it your own setup and test this for a long while? And then report back? Thanks! - Carsten On Feb 29, 2008, at 7:41 PM, Wanrong Lin wrote: Found the bug and fixed it as follow

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
Also, I found the following htmlize workaound in org.el, so seems the workround is already built-in in org-mode. Hopefully with the bug fix this can be removed. - ;; Fix a bug in htmlize where there are text properties (face nil) (eval-after-load "htmlize" '(progn (defadvice htmlize-

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
Found the bug and fixed it as following (see the comment line marked with ) - (defun org-agenda-align-tags (&optional line) "Align all tags in agenda items to `org-agenda-tags-column'." (let ((inhibit-read-only t) l c) (save-excursion (goto-char (if line (point-at-bol) (poin

Re: [Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Bastien
Wanrong Lin <[EMAIL PROTECTED]> writes: > In a tag search result buffer, I move the cursor to a tag, and eval > (get-text-property (point) 'face), and I get: (org-tag nil). So this > "nil" is causing the problem, but I don't know where it is sneaked in. Thanks for the update. Here I get (org-ta

[Orgmode] Re: Bug: Invalid face reference

2008-02-29 Thread Wanrong Lin
More update: In a tag search result buffer, I move the cursor to a tag, and eval (get-text-property (point) 'face), and I get: (org-tag nil). So this "nil" is causing the problem, but I don't know where it is sneaked in. Wanrong Just some update: I called (org-restart-font-lock) function

[Orgmode] Re: Bug: Invalid face reference

2008-02-28 Thread Wanrong Lin
I see you're using Windows. What version of Emacs are you running on it? I am using Emacs 22.1. Actually I also tested on Linux (with Emacs 22.1 too), and I saw the same thing. Just some update: I called (org-restart-font-lock) function inside my tag search result buffer, and