From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: [RFC] Moving "manual.org" into core Date: Fri, 2 Feb 2018 11:07:21 +0900 Message-ID: References: <87bmhooaj9.fsf@nicolasgoaziou.fr> <87tvveqi7u.fsf@bzg.fr> <87y3kqyp6m.fsf@gmx.us> <87y3kncx6x.fsf@nicolasgoaziou.fr> <87efmcucyw.fsf@nicolasgoaziou.fr> <87bmherp0r.fsf@nicolasgoaziou.fr> <87zi4wpw0x.fsf@nicolasgoaziou.fr> <87vafgwyhe.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehQu2-0002fS-1P for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 21:17:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehQl9-0004AV-Qs for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 21:11:33 -0500 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:33917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehQl9-00048f-8z for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 21:07:23 -0500 Received: by mail-lf0-x229.google.com with SMTP id k19so29232335lfj.1 for ; Thu, 01 Feb 2018 18:07:23 -0800 (PST) In-Reply-To: <87vafgwyhe.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-org list Hi, On Thu, Feb 1, 2018 at 11:55 PM, Nicolas Goaziou wrote: > Yasushi SHOJI writes: > >> What if _I_, for my own project, want to customize the formatter and like to >> call fill-paragraph, can I still do this? > > No need to tweak the formatter. You can post-process its output to your > liking, e.g., with `org-fill-paragraph' called on the whole buffer. Thanks. That's what I did and found this bug. >> BTW, while reading `org-fill-paragraph`, I found a bug. >> >> #+begin_src emacs-lisp >> (add-to-list 'load-path "~/path/to/orgdir/lisp") >> #+end_src >> >> activate the region for the src block above, and do `M-x org-fill-paragraph`. >> It will inf-loop because `M-q` moves the cursor back to the beginning of >> the middle line. > > Fixed. Thank you. Hmm... I'm using 4b2006db3d04, which includes b4cc12fc32a771 but it still inf-loops. `key-binding` returns `fill-paragraph`. I tried it `toggle-fill-unfill`, which I set to `M-q` in general, and `org-fill-paragraph`, but nothing works here. I see that `org-babel-do-in-edit-buffer` is a macro. and my limited skill with edebug doesn't reveal anything. :-< Thanks, -- yashi