From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Spencer Subject: Re: More flyspell-overlays removed Date: Sun, 29 Jul 2012 18:35:28 +1000 Message-ID: References: <87d33g9qx5.fsf@gnu.org> <0348D525-F0A3-4B85-9593-9704917CD9D9@student.uib.no> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0438eb59bcf44b04c5f3d452 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvOya-00044A-KF for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 04:35:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvOyX-0003vW-9X for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 04:35:48 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:46224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvOyX-0003vQ-3G for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 04:35:45 -0400 Received: by weys10 with SMTP id s10so3286579wey.0 for ; Sun, 29 Jul 2012 01:35:43 -0700 (PDT) In-Reply-To: <0348D525-F0A3-4B85-9593-9704917CD9D9@student.uib.no> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bjarte Johansen Cc: emacs-orgmode@gnu.org --f46d0438eb59bcf44b04c5f3d452 Content-Type: text/plain; charset=ISO-8859-1 I was also thinking about this recently but hadn't gotten as far as writing a patch. I was thinking some tags you know you want to remove the fly-spell overlays but for example caption you might or might not want the flyspell overlays removed. If there was a variable that could be set to choose some that might or might not want the overlays to remove. Not sure if this is possible but what I was originally looking at doing but hadn't gotten time. Cheers, Jeff On Sun, Jul 29, 2012 at 8:38 AM, Bjarte Johansen wrote: > On 28 Jul, 2012, at 11:27 , Bastien wrote: > > I cannot apply it because it adds keywords at the wrong place. > For example you cannot add "startup:" in the first (cond ((...))) > because "startup:" is not a "backend specific content." And some > other discrepencies. > > > OK, I understand. I should have spent some more time trying to > understand the code. > > > I'd welcome a patch for removing more flyspell overlays, but it > has to be rewritten. I'm not using flyspell so someone else will > have to do roll his sleeves. > > > I'd be willing to put in the effort to make a proper patch, but I need > some > help to understand what is going on in this function. It is not obvious to > me. > > The places flyspell-overlays needs to be removed are in the startup, > options, latex_header. Some of structures that might be used in latex > like > lstlisting and verbatim where the text also should not have > flyspell-overlays. > > There are also some other places like label, caption and attr. > --f46d0438eb59bcf44b04c5f3d452 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I was also thinking about this recently but hadn't gotten as far a= s writing a patch.

I was thinking some tags you kn= ow you want to remove the fly-spell overlays but for example caption you mi= ght or might not want the flyspell overlays removed. If there was a variabl= e that could be set to choose some that might or might not want the overlay= s to remove. Not sure if this is possible but what I was originally looking= at doing but hadn't gotten time.

Cheers,
Jeff=A0

On Sun, Jul 29, 2012 at 8:38 AM, Bjarte Johansen &= lt;bjo013@studen= t.uib.no> wrote:
On 28 Jul, 2012, at 11:27 , Bastien <bzg@gnu.org> wrote:

I cannot apply it because it adds keywords at= the wrong place. =A0
For example you cannot add "startup:" in= the first (cond ((...)))
because "startup:" is not a "ba= ckend specific content." =A0And some
other discrepencies.

OK, I understand. I should h= ave spent some more time trying to=A0
understand the code.=A0


I'd welcome a patch for remov= ing more flyspell overlays, but it
has to be rewritten. =A0I'm not using flyspell so someone else will
= have to do roll his sleeves.

I'd be willing t= o put in the effort to make a proper patch, but I need some=A0
help to u= nderstand what is going on in this function. It is not obvious to=A0
me.

The places flyspell-overlays needs to be removed are in the star= tup,=A0
options, latex_header. =A0Some of structures that might be used = in latex like=A0
lstlisting and verbatim where the text also should not = have flyspell-overlays.

There are also some other places like label, caption and attr.

--f46d0438eb59bcf44b04c5f3d452--