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

2012-03-19 Thread Bastien
Hi Suvayu, Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Wed, Mar 14, 2012 at 09:41, suvayu ali fatkasuv...@gmail.com 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

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 nicholas.do...@hp.com wrote: suvayu ali fatkasuv...@gmail.com 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,

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 nicholas.do...@hp.com 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

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

2012-03-14 Thread Nick Dokos
Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Wed, Mar 14, 2012 at 09:41, suvayu ali fatkasuv...@gmail.com 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

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

2012-03-14 Thread Thorsten
Nick Dokos nicholas.do...@hp.com writes: Thorsten quintf...@googlemail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com 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

[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

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

2012-03-13 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com 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

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

2012-03-13 Thread Thorsten
suvayu ali fatkasuvayu+li...@gmail.com 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

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

2012-03-13 Thread Nick Dokos
Thorsten quintf...@googlemail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com 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

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

2012-03-13 Thread Nick Dokos
Thorsten quintf...@googlemail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com 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

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 nicholas.do...@hp.com wrote: Thorsten quintf...@googlemail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com writes: Hi, I am having problems

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

2012-03-13 Thread Nick Dokos
suvayu ali fatkasuv...@gmail.com 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.

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

2012-03-13 Thread Nick Dokos
suvayu ali fatkasuv...@gmail.com 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