From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] org.el: Don't flyspell check within source code blocks Date: Sat, 25 May 2013 17:52:51 +0200 Message-ID: <87ppwf5a5o.fsf@bzg.ath.cx> References: <1369466635-8217-1-git-send-email-trevor.m.murphy@gmail.com> <1369466635-8217-2-git-send-email-trevor.m.murphy@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgGmB-0003WT-27 for emacs-orgmode@gnu.org; Sat, 25 May 2013 11:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgGm5-0003x8-CW for emacs-orgmode@gnu.org; Sat, 25 May 2013 11:52:58 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:49220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgGm5-0003va-6v for emacs-orgmode@gnu.org; Sat, 25 May 2013 11:52:53 -0400 Received: by mail-wi0-f175.google.com with SMTP id hn14so493092wib.14 for ; Sat, 25 May 2013 08:52:52 -0700 (PDT) In-Reply-To: <1369466635-8217-2-git-send-email-trevor.m.murphy@gmail.com> (Trevor Murphy's message of "Sat, 25 May 2013 03:23:55 -0400") 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: Trevor Murphy Cc: emacs-orgmode@gnu.org 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