From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trevor Murphy Subject: Re: [PATCH] org.el: Don't flyspell check within source code blocks Date: Wed, 29 May 2013 20:55:57 -0400 Message-ID: References: <1369466635-8217-1-git-send-email-trevor.m.murphy@gmail.com> <1369466635-8217-2-git-send-email-trevor.m.murphy@gmail.com> <87ppwf5a5o.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2d7b44525fc04dde4f715 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhrAF-0002tR-1d for emacs-orgmode@gnu.org; Wed, 29 May 2013 20:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhrAA-0003Pb-Ec for emacs-orgmode@gnu.org; Wed, 29 May 2013 20:56:22 -0400 In-Reply-To: <87ppwf5a5o.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org --001a11c2d7b44525fc04dde4f715 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Bastien. Your suggestion has been working perfectly fine for me. Updated patch sent in reply to the first in the chain (I hope ... still trying to master git send-email). Trevor On Sat, May 25, 2013 at 11:52 AM, Bastien wrote: > Hi Trevor, > > Trevor Murphy writes: > > > + (not (eq (org-element-type (org-element-at-point)) 'src-block))))) > > I think `org-in-src-block-p', while a bit less reliable, will be > faster, and reliable/fast enough for this use-case. > > Let's see what others think/test. > > Thanks, > > -- > Bastien > --001a11c2d7b44525fc04dde4f715 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, Bastien. =A0Your suggestion has been working perfectly fine for m= e. =A0Updated patch sent in reply to the first in the chain (I hope ... sti= ll trying to master git send-email).

Trevor

On Sat, May 25, 2013 at 11:52 AM, Bastien <bzg@gnu.org> w= rote:
Hi Trevor,

Trevor Murphy <trevor.m.mur= phy@gmail.com> writes:

> + =A0 =A0 =A0(not (eq (org-element-type (org-element-at-point)) 's= rc-block)))))

I think `org-in-src-block-p', while a bit less reliable, will be<= br> faster, and reliable/fast enough for this use-case.

Let's see what others think/test.

Thanks,

--
=A0Bastien

--001a11c2d7b44525fc04dde4f715--