From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Moving from org-mode 6.33/7.9.3 to 8.3.2 Date: Fri, 27 Nov 2015 12:13:34 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2NWa-0003PI-1L for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 13:13:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2NWY-0006Oy-S5 for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 13:13:35 -0500 Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:34838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2NWY-0006Od-NO for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 13:13:34 -0500 Received: by oige206 with SMTP id e206so65268835oig.2 for ; Fri, 27 Nov 2015 10:13:34 -0800 (PST) In-Reply-To: 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: Steve Moreau Cc: emacs-orgmode On Fri, Nov 27, 2015 at 11:32 AM, John Hendy wrote: > On Fri, Nov 27, 2015 at 10:56 AM, Steve Moreau wrote: >> Hi, >> >> Moving from old org-mode versions (6.33 or 7.9.3f-17-g7524ef) to the latest >> stable one currently (8.3.2), I noticed two changes which made me out of my >> comfort zone. >> >> Demoting/promoting a header now changes the indentation of text below. >> I reverted to the previous mode with '(setf org-adapt-indentation nil)' in >> ~/.emacs, and that's fine but I mentioned it in case it has an impact on >> point#2. >> >> 'M-x fill-region' does not fill custom lists as before. In the previous >> version, I could select and fill several mixed paragraphs/lists directly. >> For example, filling the following block (without --- separator added as a >> delimiter in this message) >> --------------- >> # a very looooooooooooooooooooooooooooooooooooooooooooooooooooong comment >> >> a looooooooooooooooooooooooooooooooooooooooooooooooooooong sentence that >> should be filled over 2 lines >> >> - a looooooooooooooooooooooooooooooooooong item that should be filled over 2 >> lines >> >> - a looooooooooooooooooooooooooooooooooong item that should be filled over >> 2 lines >> >> a looooooooooooooooooooooooooooooooooooooooooooooooooooong sentence that >> should be filled over 2 lines > > [snip] > >> Lists are not filled anymore and I have to select each list entry and fill >> it individually to get the same output. >> >> So my questions are: >> >> Is there any simple way to revert to the previous mode with a variable? >> Else, could you explain briefly where I should look if I want to understand >> why the filling is skipped in this case, and eventually change it if I >> cannot change my mind and adapt to this different behavior? I had a look at >> function (org.el:23249 org-setup-filling) but I am not sure this is the >> right location. > > I don't really have an answer regarding *why*, but I have this in my > .emacs that seems to work with either spaces at the end of your > example above (fills the current line) or with M-x fill-region. Want > to try that? Maybe the new org requires manually setting fill options? > > #+begin_src .emacs > > ;; change 80 to whatever you prefer > (setq-default fill-column 80) > (add-hook 'text-mode-hook 'turn-on-auto-fill) > > #+end_src I take that back. It didn't work on the unordered list after all. Googling around, turns out someone asked about this sort of thing before (me!): - http://comments.gmane.org/gmane.emacs.orgmode/76593 In following the thread, it does't seem like there was a fill-paragraph equivalent that worked on lists. Perhaps someone else can chime in here on why Org doesn't fill on lists. I get no filling when running =M-x fill-paragraph= on your example, and it turns it into a paragraph (ignoring the current "-" bullet structure) using =M-x fill-region-as-paragraph=. John > > > Hope that helps! > John > >> >> Thanks, and have a nice day.