emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rémy Abergel" <remy.abergel@parisdescartes.fr>
To: emacs-orgmode@gnu.org
Subject: auto-fill-mode for text changes (plain-lists) indentation
Date: Wed, 15 Jan 2014 14:04:16 +0100	[thread overview]
Message-ID: <52D68750.2020408@parisdescartes.fr> (raw)

Hi Org users,

I am trying to set auto-fill-mode for text, adding in my .emacs:

(add-hook 'text-mode-hook '(lambda () (auto-fill-mode t)))

it works quite well but it seems to change the plain-lists indentation.

* without auto-fill-mode
+ item 1 :: description comes here
   indentation makes text start here
+ item 2 :: another description
+ item 3 :: here is a quite long description, that would be nice to have 
an automatic carriage return here
   indentation makes text start here

* with auto-fill-mode
+ item 1 :: description comes here
             Now text is indented from here :-(
+ item 2 :: another description
+ item 3 :: here is a quite long description, it is nice to have an
             automatic carriage retrun here!
             but now text is indented from here :-(

Is there anyway to use auto-fill-mode without changing indentation?
Thanks,
Rémy A.

             reply	other threads:[~2014-01-15 13:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 13:04 Rémy Abergel [this message]
2014-01-15 20:29 ` auto-fill-mode for text changes (plain-lists) indentation Andreas Leha
2014-02-04 18:54   ` plain lists folded by default Rémy Abergel
2014-02-04 19:18     ` Nick Dokos
2014-02-04 20:41     ` Nick Dokos
2014-02-04 21:36       ` Rémy Abergel
2014-02-04 22:12         ` Nick Dokos
2014-01-17  9:07 ` auto-fill-mode for text changes (plain-lists) indentation Bastien
2014-01-17 14:54   ` Rémy Abergel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D68750.2020408@parisdescartes.fr \
    --to=remy.abergel@parisdescartes.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).