emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: More problems with orgstruct++-mode, message-mode and auto fill
Date: Wed, 09 May 2012 21:15:35 +0200	[thread overview]
Message-ID: <87fwb9i2so.fsf@googlemail.com> (raw)
In-Reply-To: 87fwb91eju.fsf@norang.ca

Bernt Hansen <bernt@norang.ca> 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

  parent reply	other threads:[~2012-05-09 17:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 16:53 More problems with orgstruct++-mode, message-mode and auto fill Bernt Hansen
2012-05-09 17:03 ` Christopher Schmidt
2012-05-09 17:40 ` Bastien
2012-05-09 19:30   ` Bernt Hansen
2012-05-09 21:06     ` Bastien
2012-05-09 21:49     ` Bernt Hansen
2012-05-09 19:15 ` Thorsten Jolitz [this message]
2012-05-10  1:11   ` Eric S Fraga
2012-05-10  6:36     ` Bastien
2012-05-10  8:28       ` Sebastien Vauban
2012-05-10  9:26         ` Bastien

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=87fwb9i2so.fsf@googlemail.com \
    --to=tjolitz@googlemail.com \
    --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).