From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Editing org source blocks enabled by org-src-fontify-natively? Date: Fri, 21 Dec 2012 07:01:28 -0500 Message-ID: <87txrfpqav.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm1IF-0006j8-62 for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 07:01:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm1IC-000843-9R for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 07:01:35 -0500 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:27792 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm1IC-00083a-5m for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 07:01:32 -0500 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: emacs-orgmode@gnu.org, Bastien , Nicolas Goaziou My org-mode document http://doc.norang.ca/org-mode.org uses org source blocks like the following for example: --8<---------------cut here---------------start------------->8--- #+begin_src org :exports src ,* Health and Recreation ,* House Maintenance #+end_src --8<---------------cut here---------------end--------------->8--- My minimal emacs does not allow editing for this with C-c ' but when org-src-fontify-natively is set to t it does. This doesn't seem very intuitive to me -- it took me some time to isolate what variable actually enables editing of org source blocks in my setup. Should it really act this way? I like editing org source blocks with C-c ' but I think it should either be enabled all the time (so not fontifying natively will still allow org-edit-special to edit the block) or it should be enabled with a specific user setup similar to --8<---------------cut here---------------start------------->8--- (add-to-list 'org-src-lang-modes (quote ("plantuml" . fundamental))) --8<---------------cut here---------------end--------------->8--- I have the following bug reports to submit soon (hopefully later today) related to editing source blocks: 1. source block editing on headings fail on 2nd source block 2. commas not removed 3. org-edit-special adds commas to the source repeatedly 4. Can't edit example blocks 5. Editing org src blocks doesn't work first time Regards, Bernt