From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: More problems with orgstruct++-mode, message-mode and auto fill Date: Wed, 09 May 2012 21:15:35 +0200 Message-ID: <87fwb9i2so.fsf@googlemail.com> References: <87fwb91eju.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSAUS-0006hl-Fg for emacs-orgmode@gnu.org; Wed, 09 May 2012 13:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSAUN-0001Yq-Bl for emacs-orgmode@gnu.org; Wed, 09 May 2012 13:15:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:48938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSAUN-0001YG-40 for emacs-orgmode@gnu.org; Wed, 09 May 2012 13:15:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SSAUJ-00055w-8s for emacs-orgmode@gnu.org; Wed, 09 May 2012 19:15:43 +0200 Received: from e178122043.adsl.alicedsl.de ([85.178.122.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2012 19:15:43 +0200 Received: from tjolitz by e178122043.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2012 19:15:43 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bernt Hansen 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