From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: autoloads not working correctly for org-table.el? Date: Thu, 05 Mar 2015 09:36:06 +0800 Message-ID: <87h9u0fcop.fsf@ericabrahamsen.net> References: <87mw3z4q9j.fsf@ericabrahamsen.net> <877fv33ame.fsf@yahoo.fr> <87ioens1px.fsf@nicolasgoaziou.fr> <87vbihglgs.fsf@ericabrahamsen.net> <87mw3slrav.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTKnU-0004AY-0Q for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 20:41:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTKnP-0003h3-1N for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 20:41:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:39861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTKi3-00028m-E1 for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 20:36:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTKhz-0004qp-Sy for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 02:36:16 +0100 Received: from 123.122.35.212 ([123.122.35.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Mar 2015 02:36:15 +0100 Received: from eric by 123.122.35.212 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Mar 2015 02:36:15 +0100 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 Eric S Fraga writes: > On Wednesday, 4 Mar 2015 at 17:28, Eric Abrahamsen wrote: > > [...] > >> I'm still seeing an issue where, if I start right off typing a big >> paragraph of text at the top of the message (no salutation or anything), >> all the lines *after* the first line are indented by one tab. Subsequent >> paragraphs are unaffected. > > Hi Eric, > > I had this problem for a long time. It disappeared a some time ago now > and I have no idea why. However, while I had the problem, I trained > myself to always start an email (that was not a response like this one) > with some form of salutation! More polite as well as avoiding the bug > :) Well, sure :) I guess I'll try being politer! I just poked around a little bit, edebugging `org-adaptive-fill-function'. I looked at the call to `fill-context-prefix' two-thirds of the way down. I tested this with the last email I sent, and I see that calling `org-adaptive-fill-function' on the first paragraph results in `fill-context-prefix' being called with the arguments 1 (the post-affiliated arg), and 447 (the end position of the first paragraph). The result of that call is a tab. If I move to the second paragraph and do the same thing, the post-affiliated arg was 447, and the end position is 475. The result of that call was nil, which is probably what I wanted. My value of adaptive-fill-regexp, in this case is: "\\(\\([ ]*[_.[:word:]]+>+\\|[ ]*[]>|]\\)+\\)[ ]*\\|[ ]*\\([-–!|#%;>*·•‣⁃◦]+[ ]*\\)*" I will poke further as time allows. I don't know much about filling (and have never understood what "post-affiliated" actually means), but assume I can eventually get to the bottom of it... E