Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-26 Thread Eric Schulte
Sean O'Halpin sean.ohal...@gmail.com writes: On Sat, Aug 25, 2012 at 11:50 PM, Eric Schulte eric.schu...@gmx.com wrote: Are you familiar with file local variables? See (info (emacs)Specifying File Variables) Yes. That's what I'm trying to enable. Without the patch, it seems that the

Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-26 Thread Sean O'Halpin
On Sun, Aug 26, 2012 at 3:31 PM, Eric Schulte eric.schu...@gmx.com wrote: [snip] I just committed this to the git repo. Thanks for the contribution! (and thanks for packaging your patch so that it was easy to apply) Great! Thanks.

[O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-25 Thread Sean O'Halpin
* lisp/ob.el (org-babel-expand-noweb-references): Capture current noweb start and end patterns then use to set buffer locals in (with-temp-buffer) form. This solves the problem that using different patterns for org-babel-noweb-wrap-start and org-babel-noweb-wrap-end could be done only globally.

Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-25 Thread Eric Schulte
Are you familiar with file local variables? See (info (emacs)Specifying File Variables) Sean O'Halpin sean.ohal...@gmail.com writes: * lisp/ob.el (org-babel-expand-noweb-references): Capture current noweb start and end patterns then use to set buffer locals in (with-temp-buffer) form. This

Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-25 Thread Sean O'Halpin
On Sat, Aug 25, 2012 at 11:50 PM, Eric Schulte eric.schu...@gmx.com wrote: Are you familiar with file local variables? See (info (emacs)Specifying File Variables) Yes. That's what I'm trying to enable. Without the patch, it seems that the =with-temp-buffer= used in