emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] indentation following yas snippet insert


From: Bastien
Subject: Re: [O] indentation following yas snippet insert
Date: Sat, 22 Dec 2012 18:53:16 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Tony,

tony day <address@hidden> writes:

> #+begin_src emacs-lisp
>   (setq yas/also-auto-indent-first-line t)
>   (setq yas/indent-line t)
> #+end_src
>
> But on insertion, it isnt indented.  Until now I've been inserting a space
> on the begin_src line then hitting backspace.  That tends to kick org in
> the guts somehow and it then coughs up the right indentation.

Within source code blocks, and with (setq org-src-tab-acts-natively t)
just tab on a line to indent.

Otherwise C-c ' C-x h C-M-\ C-c ' should do.

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]