From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: More problems with orgstruct++-mode, message-mode and auto fill Date: Wed, 09 May 2012 12:53:41 -0400 Message-ID: <87fwb91eju.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSA9F-0008GV-8g for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSA9A-0000UF-Bp for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:53:56 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:25642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSA9A-0000HS-7d for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:53:52 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.165.89] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SSA92-0004Rp-2k for emacs-orgmode@gnu.org; Wed, 09 May 2012 16:53:44 +0000 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 Hi Bastien, Auto-fill wrapping has stopped working correctly lately. 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