* Electric-indent-mode and lists
@ 2014-01-25 18:11 Florian Lindner
2014-01-26 12:33 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Florian Lindner @ 2014-01-25 18:11 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Emacs 24.3.1 on Arch.
emacs -Q
M-x electric-indent-mode
C-x C-f some/nonexistent/file.org
Now entering
* abc
+ a
+ b
+ c
Each list entry is idented furthermore. I doesn't happen if I use M-Ret to enter a list item.
Or is this behavior intended?
Thanks!
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Electric-indent-mode and lists
2014-01-25 18:11 Electric-indent-mode and lists Florian Lindner
@ 2014-01-26 12:33 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-01-26 12:33 UTC (permalink / raw)
To: Florian Lindner; +Cc: emacs-orgmode
Hello,
Florian Lindner <mailinglists@xgm.de> writes:
> emacs -Q
> M-x electric-indent-mode
> C-x C-f some/nonexistent/file.org
>
> Now entering
>
> * abc
> + a
> + b
> + c
>
> Each list entry is idented furthermore. I doesn't happen if I use M-Ret to enter a list item.
>
> Or is this behavior intended?
I cannot reproduce the problem with latest Org.
In any case, you can tweak `electric-indent-functions' so a function
returns `no-indent' when (org-at-item-p) is non-nil.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-26 12:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-25 18:11 Electric-indent-mode and lists Florian Lindner
2014-01-26 12:33 ` Nicolas Goaziou
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).