From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew Hyatt" Subject: Re: Re: Invalid face issues Date: Wed, 7 Nov 2007 15:34:12 -0500 Message-ID: References: <4E21828A-FDE2-461B-8ADE-A12B72D74EB1@science.uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1476373259==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IprbR-0005Cf-6v for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:34:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IprbO-0005CI-DW for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:34:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IprbO-0005CF-7m for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:34:18 -0500 Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IprbO-0005rZ-0C for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:34:18 -0500 Received: by rv-out-0910.google.com with SMTP id c27so1905505rvf for ; Wed, 07 Nov 2007 12:34:12 -0800 (PST) In-Reply-To: <4E21828A-FDE2-461B-8ADE-A12B72D74EB1@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org --===============1476373259== Content-Type: multipart/alternative; boundary="----=_Part_22961_32387439.1194467652516" ------=_Part_22961_32387439.1194467652516 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 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 > > ------=_Part_22961_32387439.1194467652516 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_22961_32387439.1194467652516-- --===============1476373259== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1476373259==--