[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] More problems with orgstruct++-mode, message-mode and auto fill
From: |
Thorsten Jolitz |
Subject: |
Re: [O] More problems with orgstruct++-mode, message-mode and auto fill |
Date: |
Wed, 09 May 2012 21:15:35 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) |
Bernt Hansen <address@hidden> writes:
Hi Bernt,
> Auto-fill wrapping has stopped working correctly lately.
I had exactly the same problem you describe (no wonder because I just
copied your configuration) and solved it with Bastiens help.
You can search for subject "Strange indentation in message-mode" in the
gnus.user mailing list to find the thread.
What I mainly did was updating from the git repo and changing the order
of hooks (orgstruct++-mode last). And I had to get rid of
emacs-goodies-el too, but that was probably my specific configuration.
> I have orgstruct++-mode added to my message mode hook as
>
> --8<---------------cut here---------------start------------->8---
> (add-hook 'message-mode-hook 'orgstruct++-mode 'append)
> (add-hook 'message-mode-hook 'turn-on-auto-fill 'append)
> (add-hook 'message-mode-hook 'orgtbl-mode 'append)
> --8<---------------cut here---------------end--------------->8---
>
> and lately auto-fill doesn't work correctly when text starts in column
> 0. Text wraps to the start of the second word on the line.
>
> ,----[ orgstruct++-mode off with auto fill ]
> | this is a long line which should auto fill but not wrap to 2nd word on
> | the line
> |
> `----
>
> ,----[ orgstruct++-mode on with auto fill ]
> | this is a line that is really long and autofilll with org struct mode
> | does not work properly. It indents line 2+ by 5 chars
> |
> | whatifthe word is really long on the first line how does that make
> | autofilll rec
> `----
>
> For now I've dropped orgstruct++-mode from my message-mode hook but I'm
> going to miss this for lists in my emails.
>
> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
> on raven, modified by Debian
>
> Org-mode version 7.8.09 (release_7.8.09-489-g541288 @
> /home/bernt/git/org-mode/lisp/org-install.el)
>
> Regards,
> Bernt
--
cheers,
Thorsten
Re: [O] More problems with orgstruct++-mode, message-mode and auto fill, Bastien, 2012/05/09