From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang Subject: Bug: Adding a simple list item expands the entire simple list [8.3.4 (8.3.4-79-gbd4948-elpa @ c:/Users/sb/.emacs.d/elpa/org-20160606/)] Date: Fri, 10 Jun 2016 16:42:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBNeO-0000j2-0F for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 10:43:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBNeJ-0001Ia-Tk for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 10:43:07 -0400 Received: from rainey.bang.priv.no ([212.110.185.190]:42781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBNeJ-0001Am-Ns for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 10:43:03 -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" To: emacs-orgmode@gnu.org What I did do: I pressed M-RET to insert a new item in an org simple list, with the other items, some containing sub lists with items, closed. What I expected to happen: I expected the items that were closed to stay closed, and a new item to be inserted. What happened instead: When the item was inserted, the entire simple list tree was expanded. To explain what I mean by "expanded": If I have ** Item1 - First item of simple list - Child of first item of simple list - Second item of simple list - Child of second item - Child of child of second item ** Item2 and have most of the nodes closed, like this: ** Item1 - First item of simple list... - Second item of simple list... ** Item2 and then insert a new item into the simple list, the entire tree will open (like the first example). Emacs : GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 current state: ============== (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-habit org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-log-into-drawer t org-export-backends '(ascii html icalendar latex md odt) org-load-hook '((lambda nil (require (quote org-install)) (add-to-list (quote auto-mode-alist) (quote ("\\.org\\'" . org-mode))) (global-set-key ".l" (quote org-store-link)) (global-set-key ".a" (quote org-agenda)) (global-set-key ".b" (quote org-iswitchb)) (add-hook (quote org-mode-hook) (quote turn-on-font-lock)) (add-hook (quote org-mode-hook) (quote turn-off-auto-fill)) (add-hook (quote org-mode-hook) (quote turn-on-visual-line-mode)) (if running-emacs22 (transient-mark-mode 1))) ) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(turn-on-visual-line-mode turn-off-auto-fill turn-on-font-lock #[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-clock-into-drawer "CLOCK" org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-load-languages '((emacs-lisp . t) (sparql . t)) org-confirm-shell-link-function 'yes-or-no-p )