From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: uncommnet-region behavior in org-src blocks Date: Sun, 20 Mar 2016 11:17:40 -0400 Message-ID: References: <87k2ky8jwd.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0d1d62a4f82052e7c7bf3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahf6s-0001RE-W9 for emacs-orgmode@gnu.org; Sun, 20 Mar 2016 11:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahf6r-0001Xi-O8 for emacs-orgmode@gnu.org; Sun, 20 Mar 2016 11:17:42 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:38334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahf6r-0001XY-Fx for emacs-orgmode@gnu.org; Sun, 20 Mar 2016 11:17:41 -0400 Received: by mail-wm0-x22f.google.com with SMTP id l68so94339079wml.1 for ; Sun, 20 Mar 2016 08:17:41 -0700 (PDT) In-Reply-To: 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: Ken Mankoff Cc: Org-Mode mailing list --047d7bf0d1d62a4f82052e7c7bf3 Content-Type: text/plain; charset=UTF-8 I think you mean (setq org-src-tab-acts-natively t) right? It looks like the function I made basically does the same thing, by another mechanism! I still wonder why it doesn't work with RET though. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sat, Mar 19, 2016 at 8:15 PM, Ken Mankoff wrote: > > On 2016-03-19 at 19:27, John Kitchin wrote: > > Thanks! That is a nice function. > > > > I adapted it to make Tab work in python mode blocks. > > This might already do that: > > (setq org-src-tab-acts-natively nil) > > -k. > --047d7bf0d1d62a4f82052e7c7bf3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think you mean=C2=A0(se= tq org-src-tab-acts-natively t) right?

It looks lik= e the function I made basically does the same thing, by another mechanism!= =C2=A0

<= div>I still wonder why it doesn't work= with RET though.

John

-----------------------------------
Professor John Kit= chin=C2=A0
Doherty Hall A207F
Department of Chemical Engineering
C= arnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

=

On Sat, Mar 19, 2016 at 8:15 PM, Ken Mankoff= <mankoff@gmail.com> wrote:

On 2016-03-19 at 19:27, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
> Thanks! That is a nice function.
>
> I adapted it to make Tab work in python mode blocks.

This might already do that:

(setq org-src-tab-acts-natively nil)

=C2=A0 -k.

--047d7bf0d1d62a4f82052e7c7bf3--