emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invalid face issues
@ 2007-11-06 16:32 Andrew Hyatt
  2007-11-06 19:38 ` Andrew Hyatt
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Hyatt @ 2007-11-06 16:32 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 636 bytes --]

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?

[-- Attachment #1.2: Type: text/html, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Invalid face issues
  2007-11-06 16:32 Invalid face issues Andrew Hyatt
@ 2007-11-06 19:38 ` Andrew Hyatt
  2007-11-07  8:43   ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Hyatt @ 2007-11-06 19:38 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1190 bytes --]

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.

On 11/6/07, Andrew Hyatt <andrew_hyatt@yahoo.com> 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?
>

[-- Attachment #1.2: Type: text/html, Size: 2173 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Invalid face issues
  2007-11-06 19:38 ` Andrew Hyatt
@ 2007-11-07  8:43   ` Carsten Dominik
  2007-11-07 20:34     ` Andrew Hyatt
  2007-11-08  4:06     ` Alain Picard
  0 siblings, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2007-11-07  8:43 UTC (permalink / raw)
  To: Andrew Hyatt; +Cc: emacs-orgmode


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 <andrew_hyatt@yahoo.com> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Invalid face issues
  2007-11-07  8:43   ` Carsten Dominik
@ 2007-11-07 20:34     ` Andrew Hyatt
  2007-11-08  9:31       ` Carsten Dominik
  2007-11-08  4:06     ` Alain Picard
  1 sibling, 1 reply; 6+ messages in thread
From: Andrew Hyatt @ 2007-11-07 20:34 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2014 bytes --]

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 <carsten.dominik@gmail.com> 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 <andrew_hyatt@yahoo.com> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 3285 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Invalid face issues
  2007-11-07  8:43   ` Carsten Dominik
  2007-11-07 20:34     ` Andrew Hyatt
@ 2007-11-08  4:06     ` Alain Picard
  1 sibling, 0 replies; 6+ messages in thread
From: Alain Picard @ 2007-11-08  4:06 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Anyway, I will revert to the default nil for org-ellipsis and leave
> it to users to
> customize it.

I had this problem as well, and can confirm that
placing a 

  (setq org-ellipsis "...")

in my .emacs fixes the problem.  FWIW.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Invalid face issues
  2007-11-07 20:34     ` Andrew Hyatt
@ 2007-11-08  9:31       ` Carsten Dominik
  0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2007-11-08  9:31 UTC (permalink / raw)
  To: Andrew Hyatt; +Cc: emacs-orgmode


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 <carsten.dominik@gmail.com> 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 <andrew_hyatt@yahoo.com > 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
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-08  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-06 16:32 Invalid face issues Andrew Hyatt
2007-11-06 19:38 ` Andrew Hyatt
2007-11-07  8:43   ` Carsten Dominik
2007-11-07 20:34     ` Andrew Hyatt
2007-11-08  9:31       ` Carsten Dominik
2007-11-08  4:06     ` Alain Picard

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).