From mboxrd@z Thu Jan 1 00:00:00 1970 From: coroa@online.de (Jonas =?utf-8?Q?H=C3=B6rsch?=) Subject: Re: AUCTex within org-babel Date: Wed, 08 Feb 2012 21:45:28 +0100 Message-ID: <874nv1gil3.fsf@gmail.com> References: <87ty31csgh.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvEOp-0001E3-9J for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 15:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvEOo-0003wB-B1 for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 15:45:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:47054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvEOo-0003w3-0o for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 15:45:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvEOm-0006bi-8Z for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 21:45:52 +0100 Received: from mk089144206093.a1.net ([89.144.206.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2012 21:45:51 +0100 Received: from coroa by mk089144206093.a1.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2012 21:45:51 +0100 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 Hi list, On Wed, Feb 08 2012, Riccardo Romoli wrote: > thanks a lot for your answer!! I completely ignore that C-c' lunch the > small buffer for all the code within the src blocks. I belive it was used > only for ESS.... the only remaining problem is that the AUCTeX mode tries to be smart about what environments it allows to insert. f.ex. inserting #+begin_src latex #+end_src then C-', brings one to a source buffer with AUCTeX-mode enabled. But a C-c C-e to insert an environment doesn't want to complete on itemize or figure, but instead only allows to choose document (Which would be perfectly sane under the assumption that the buffer contains the whole tex-document). Does anybody know how to deactivate this "feature" of AUCTeX? Perhaps setting TeX-master-file to something special? Thanks, Jonas