Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-19 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > On Wed, Mar 14, 2012 at 09:41, suvayu ali wrote: >> Yup, your analysis was spot on. :) Changing the let to let* and >> reevaluating the defun fixed the issue. >> >> I hadn't grasped this subtlety about let*, dependencies on preceding >> bindings hidden behind fun

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-14 Thread Thorsten
Nick Dokos writes: > Thorsten wrote: > >> suvayu ali writes: >> >> Hi, >> >> > I am having problems editing blocks with C-c '. If the blocks are >> > marked >> > with upper case letters Emacs brings up the temporary buffer in >> > picture-mode. >> > >> >#+BEGIN_SRC latex >> > >> >#+EN

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-14 Thread Nick Dokos
Suvayu Ali wrote: > On Wed, Mar 14, 2012 at 09:41, suvayu ali wrote: > > Yup, your analysis was spot on. :) Changing the let to let* and > > reevaluating the defun fixed the issue. > > > > I hadn't grasped this subtlety about let*, dependencies on preceding > > bindings hidden behind function ca

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-14 Thread Suvayu Ali
Sorry the quoting was all wrong! Gmail was behaving weirdly. I wanted to quote the other message. On Wed, Mar 14, 2012 at 03:59, Nick Dokos wrote: > The case-fold-search problem is in > org-src.el:org-edit-src-code. case-fold-search is let-bound to t, but > the let form evaluates all the VARLIST

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-14 Thread suvayu ali
Hey Nick, On Wed, Mar 14, 2012 at 04:11, Nick Dokos wrote: > suvayu ali wrote: > > >> >> There was a discussion of this topic recently, I had and still have my q= >> uote source >> >> blocks in artists (picture) mode and thought this was strange behaviour. >> > >> > BTW, artist-mode is *not* the

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Nick Dokos
suvayu ali wrote: > >> There was a discussion of this topic recently, I had and still have my q= > uote source > >> blocks in artists (picture) mode and thought this was strange behaviour. > > > > BTW, artist-mode is *not* the same as picture-mode. > > > > Actually I keep confusing between the

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Nick Dokos
suvayu ali wrote: > Actually I keep confusing between the two and I'm not sure which I was > seeing. I also forgot to mention I did not see the problem with a > minimal setup. I got frustrated (I had to get the talk done), so I > restarted Emacs and worked with LaTeX directly. Now in my new sessi

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread suvayu ali
Hi Nick, Apologies on not responding sooner. I was preparing my slides for a presentation tomorrow. On Wed, Mar 14, 2012 at 01:34, Nick Dokos wrote: > Thorsten wrote: > >> suvayu ali writes: >> >> Hi, >> >> > I am having problems editing blocks with C-c '. If the blocks are marked >> > with up

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Nick Dokos
Thorsten wrote: > suvayu ali writes: > > Hi, > > > I am having problems editing blocks with C-c '. If the blocks are marked > > with upper case letters Emacs brings up the temporary buffer in > > picture-mode. > > > >#+BEGIN_SRC latex > > > >#+END_SRC > > > > However the buffer mode is

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Nick Dokos
Thorsten wrote: > suvayu ali writes: > > Hi, > > > I am having problems editing blocks with C-c '. If the blocks are marked > > with upper case letters Emacs brings up the temporary buffer in > > picture-mode. > > > >#+BEGIN_SRC latex > > > >#+END_SRC > > > > However the buffer mode is

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Thorsten
suvayu ali writes: Hi, > I am having problems editing blocks with C-c '. If the blocks are marked > with upper case letters Emacs brings up the temporary buffer in > picture-mode. > >#+BEGIN_SRC latex > >#+END_SRC > > However the buffer mode is chosen correctly if lower case letters are

Re: [O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread Nick Dokos
suvayu ali wrote: > Hi, > > I am having problems editing blocks with C-c '. If the blocks are marked > with upper case letters Emacs brings up the temporary buffer in > picture-mode. > >#+BEGIN_SRC latex > >#+END_SRC > > However the buffer mode is chosen correctly if lower case letter

[O] Problem with choosing mode while editing blocks with C-c '

2012-03-13 Thread suvayu ali
Hi, I am having problems editing blocks with C-c '. If the blocks are marked with upper case letters Emacs brings up the temporary buffer in picture-mode. #+BEGIN_SRC latex #+END_SRC However the buffer mode is chosen correctly if lower case letters are used. #+begin_src latex #+en