Re: [Orgmode] Re: Invalid face issues
On 7Nov2007, at 9:34 PM, Andrew Hyatt wrote: I'm not an expert in this, but maybe the issue is that make-glyph code is supposed to take a char, and ... is not a char. Well, the code takes one character at a time. mapcar on a string maps the characters. So I turn each character into a glob and put them all into a vector - if I understand the Emacs Lisp manual correctly, this is the expected format. Lets see, maybe more people will hit this problem and we can collect more info. - Carsten On 11/7/07, Carsten Dominik [EMAIL PROTECTED] wrote: On 6Nov2007, at 8:38 PM, Andrew Hyatt wrote: I just spend a good half hour tracking this down. It looks like this, in org-mode is killing me. It look wrong to me, but I'm not an expert: (set-display-table-slot org-display-table 4 (vconcat (mapcar (lambda (c) (make-glyph-code c (and (not (stringp org- ellipsis)) org-ellipsis))) (if (stringp org-ellipsis) org-ellipsis ... Why are we making a glyph-code out of an ellipsis? We end up with a strange-looking display-table. This is how I understand this need to be done. Am I not correct? Anyway, I will revert to the default nil for org-ellipsis and leave it to users to customize it. - Carsten On 11/6/07, Andrew Hyatt [EMAIL PROTECTED] wrote: I seem to have an issue where I will be using emacs for a while, and eventually something happens which will corrupt all org buffers, and make them unviewable (the buffer refuses to display, but otherwise does not affect the rest of my emacs session). The error I get is line-move-partial: Invalid face. I can switch to text- mode and see it normally. I'm using emacs version 23.0.0.1. I'm using org-mode version 5.13a. This seemed to coincide to my upgrade from org-mode version 4 to 5.13a. This happens on both terminal and x-windows versions of emacs. Has anyone experienced this issue before? Any ideas on how to solve it? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Invalid face issues
On 6Nov2007, at 8:38 PM, Andrew Hyatt wrote: I just spend a good half hour tracking this down. It looks like this, in org-mode is killing me. It look wrong to me, but I'm not an expert: (set-display-table-slot org-display-table 4 (vconcat (mapcar (lambda (c) (make-glyph-code c (and (not (stringp org- ellipsis)) org-ellipsis))) (if (stringp org-ellipsis) org-ellipsis ... Why are we making a glyph-code out of an ellipsis? We end up with a strange-looking display-table. This is how I understand this need to be done. Am I not correct? Anyway, I will revert to the default nil for org-ellipsis and leave it to users to customize it. - Carsten On 11/6/07, Andrew Hyatt [EMAIL PROTECTED] wrote: I seem to have an issue where I will be using emacs for a while, and eventually something happens which will corrupt all org buffers, and make them unviewable (the buffer refuses to display, but otherwise does not affect the rest of my emacs session). The error I get is line-move-partial: Invalid face. I can switch to text- mode and see it normally. I'm using emacs version 23.0.0.1. I'm using org-mode version 5.13a. This seemed to coincide to my upgrade from org-mode version 4 to 5.13a. This happens on both terminal and x-windows versions of emacs. Has anyone experienced this issue before? Any ideas on how to solve it? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Invalid face issues
I'm not an expert in this, but maybe the issue is that make-glyph code is supposed to take a char, and ... is not a char. On 11/7/07, Carsten Dominik [EMAIL PROTECTED] wrote: On 6Nov2007, at 8:38 PM, Andrew Hyatt wrote: I just spend a good half hour tracking this down. It looks like this, in org-mode is killing me. It look wrong to me, but I'm not an expert: (set-display-table-slot org-display-table 4 (vconcat (mapcar (lambda (c) (make-glyph-code c (and (not (stringp org- ellipsis)) org-ellipsis))) (if (stringp org-ellipsis) org-ellipsis ... Why are we making a glyph-code out of an ellipsis? We end up with a strange-looking display-table. This is how I understand this need to be done. Am I not correct? Anyway, I will revert to the default nil for org-ellipsis and leave it to users to customize it. - Carsten On 11/6/07, Andrew Hyatt [EMAIL PROTECTED] wrote: I seem to have an issue where I will be using emacs for a while, and eventually something happens which will corrupt all org buffers, and make them unviewable (the buffer refuses to display, but otherwise does not affect the rest of my emacs session). The error I get is line-move-partial: Invalid face. I can switch to text- mode and see it normally. I'm using emacs version 23.0.0.1. I'm using org-mode version 5.13a. This seemed to coincide to my upgrade from org-mode version 4 to 5.13a. This happens on both terminal and x-windows versions of emacs. Has anyone experienced this issue before? Any ideas on how to solve it? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode