Re: [O] [PATCH] org.el: Don't flyspell check within source code blocks

2013-08-30 Thread Carsten Dominik
On 25.5.2013, at 09:17, Trevor Murphy wrote: > > Hi, list. > > I recently started using flyspell, but I wasn't pleased with the spell > checking in my source code blocks. After digging a bit for a > solution, I found a post to the list with a nice solution[0]. > However, it seems no patch was

Re: [O] [PATCH] org.el: Don't flyspell check within source code blocks

2013-05-30 Thread Matt Lundin
Bastien writes: > 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. F

Re: [O] [PATCH] org.el: Don't flyspell check within source code blocks

2013-05-29 Thread Trevor Murphy
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

Re: [O] [PATCH] org.el: Don't flyspell check within source code blocks

2013-05-25 Thread Bastien
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

Re: [O] [PATCH] org.el: Don't flyspell check within source code blocks

2013-05-25 Thread Trevor Murphy
Ack, what? Please disregard, I slipped a double negative in somehow. On Sat, May 25, 2013 at 3:17 AM, Trevor Murphy wrote: > * lisp/org.el (org-mode-flyspell-verify): Check if > `org-element-at-point' is of type `src-block', and don't flyspell if > that's the case. > > TINYCHANGE > --- > l