From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: [RFC] Moving "manual.org" into core Date: Thu, 1 Feb 2018 21:11:40 +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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehDiR-0003pb-Ic for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:11:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehDiQ-0006rU-Hz for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:11:43 -0500 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:36999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehDiQ-0006qr-9r for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:11:42 -0500 Received: by mail-lf0-x233.google.com with SMTP id 63so25846727lfv.4 for ; Thu, 01 Feb 2018 04:11:42 -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" To: Nicolas Goaziou Cc: emacs-org list On Thu, Feb 1, 2018 at 8:43 PM, Yasushi SHOJI wrote: > On Mon, Jan 29, 2018 at 11:41 PM, Nicolas Goaziou > wrote: >> Yasushi SHOJI writes: >> >>> Do you see this on your env? Or, is it just me? >> >> I don't see anything like this. > > Hmm... I don't know how to fix this. I mean, I run `emacs -q`, eval only the following code in the `*scratch*` buffer, open `manual.org` and do `M-x org-reformat`. and I see: ---- >8 ---- >8 ---- @@ -134,9 +133,9 @@ You can clone Org's repository and install Org like this: #+begin_example - $ cd ~/src/ - $ git clone git@code.orgmode.org:bzg/org-mode.git - $ make autoloads +$ cd ~/src/ +$ git clone git@code.orgmode.org:bzg/org-mode.git +$ make autoloads #+end_example Note that in this case, ~make autoloads~ is mandatory: it defines ---- >8 ---- >8 ---- I checked `org-src-preserve-indentation` is nil and org-edit-src-content-indentation is 2. I even `list-load-path-shadows` and check that git version of org is used. What am I missing? (add-to-list 'load-path "~/src/org-mode/lisp") (defun org-reformat () (interactive) (let ((result (benchmark-run 1 (let ((document (org-element-interpret-data (org-element-parse-buffer)))) (erase-buffer) (insert document) (goto-char (point-min)))))) (if (zerop (nth 1 result)) (message "Org Re-format took %.2f seconds" (car result)) (message "Org Re-format took %.2f second (%.2fs in %d GCs)" (car result) (nth 2 result) (nth 1 result))))) -- yashi