From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Synacek Subject: Bug: Org leaves whitespace around :LOGBOOK: [8.2.10 (release_8.2.10 @ /home/jsynacek/.local/share/emacs/24.4/lisp/org/)] Date: Fri, 31 Oct 2014 10:55:54 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkDoa-0001qL-IA for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 11:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xk8wS-0000FV-Tg for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 05:56:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xk8wS-0000Dx-M0 for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 05:56:24 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9V9uNlc013796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 31 Oct 2014 05:56:23 -0400 Received: from jsynacek-ntb-work.brq.redhat.com (dhcp-24-164.brq.redhat.com [10.34.24.164]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9V9uLOp009419 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 31 Oct 2014 05:56:22 -0400 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 Hello, I'm not sure if this is by design or not, but it sure looks like a bug to me and is quite annoying. Reproducer: 1) emacs -Q 2) eval the following: (require 'org) (setq org-log-done 'time) (setq org-log-into-drawer t) (setq org-todo-keywords '((sequence "TODO(t)" "WAITING(w@/!)" "|" "DONE(d!)"))) 3) create a temporary org-mode buffer, insert an item in it, and C-c C-t on the item (set the item to the WAITING state) 4) notice the whitespace after :LOGBOOK: and :END:, creating sort of a box Emacs : GNU Emacs 24.4.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-10-22 on jsynacek-ntb-work.brq.redhat.com Package: Org-mode version 8.2.10 (release_8.2.10 @ /home/jsynacek/.local/share/emacs/24.4/lisp/org/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-log-done 'time org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "WAITING(w@/!)" "|" "DONE(d!)")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) Cheers, -- Jan Synacek Software Engineer, Red Hat