emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* S-tab in source blocks
@ 2012-01-10  9:58 Andreas Leha
  2012-01-10 12:33 ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Leha @ 2012-01-10  9:58 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

is it possible to make S-tab call the global org-cycle when the
point is in a source block?

Best,
Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: S-tab in source blocks
  2012-01-10  9:58 S-tab in source blocks Andreas Leha
@ 2012-01-10 12:33 ` Bernt Hansen
  2012-01-10 12:36   ` Andreas Leha
  2012-01-10 12:47   ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Bernt Hansen @ 2012-01-10 12:33 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> is it possible to make S-tab call the global org-cycle when the
> point is in a source block?

Yes,

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

Regards,
Bernt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: S-tab in source blocks
  2012-01-10 12:33 ` Bernt Hansen
@ 2012-01-10 12:36   ` Andreas Leha
  2012-01-10 12:47   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Leha @ 2012-01-10 12:36 UTC (permalink / raw)
  To: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> is it possible to make S-tab call the global org-cycle when the
>> point is in a source block?
>
> Yes,
>
> (setq org-src-tab-acts-natively nil)
>
> Regards,
> Bernt

Hi Bernt,

thanks.  But that "disables" tab as well.

So to clarify: I am looking for "native" tab
and S-tab calling the globel org-cycle.

Cheers,
Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: S-tab in source blocks
  2012-01-10 12:33 ` Bernt Hansen
  2012-01-10 12:36   ` Andreas Leha
@ 2012-01-10 12:47   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-01-10 12:47 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Andreas Leha, emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> is it possible to make S-tab call the global org-cycle when the
>> point is in a source block?
>
> Yes,
>
> (setq org-src-tab-acts-natively nil)

Still, we could have TAB indent code in source blocks, and S-TAB 
do the global cycling.  I'll look into it.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-10 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-10  9:58 S-tab in source blocks Andreas Leha
2012-01-10 12:33 ` Bernt Hansen
2012-01-10 12:36   ` Andreas Leha
2012-01-10 12:47   ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).