From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with choosing mode while editing blocks with C-c ' Date: Tue, 13 Mar 2012 20:14:54 -0400 Message-ID: <19218.1331684094@alphaville> References: <877gyoxfu4.fsf@googlemail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7brp-0000EG-3w for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 20:15:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7brn-00011P-5c for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 20:15:00 -0400 Received: from g6t0187.atlanta.hp.com ([15.193.32.64]:33650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7brn-00011E-0a for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 20:14:59 -0400 In-Reply-To: Message from Thorsten of "Wed, 14 Mar 2012 00:04:51 BST." <877gyoxfu4.fsf@googlemail.com> 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: Thorsten Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org 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 chosen correctly if lower case letters are > > used. > > > > #+begin_src latex > > > > #+end_src > > > > Any ideas what could be wrong? > > There was a discussion of this topic recently, I had and still have my quote source > blocks in artists (picture) mode and thought this was strange behaviour. > Some stated that this is a feature, while Eric (Schulte) confirmed the > behaviour and agreed that it appears more like a bug than a feature. > > I'm not sure how to link to email threads, I hope the following link > works for you: > > [[gnus:nntp%2Bnews.gmane.org:gmane.emacs.orgmode#87d3964cpp.fsf@googlemail.com][Email > from Thorsten: {babel} Editing 'quote' source]] > > My system: > "GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) > of 2012-02-07 on arch > Org-mode version 7.8.03 > Ma Gnus v0.2" > Wandering aroung org-src.el, I stumbled on the following variable which you (Thorsten) may find useful in your case: ,---- | org-edit-fixed-width-region-mode is a variable defined in `org-src.el'. | Its value is artist-mode | | Documentation: | The mode that should be used to edit fixed-width regions. | These are the regions where each line starts with a colon. | | You can customize this variable. `---- Nick