emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2016-06-10 14:42 Steinar Bang
  2016-06-11 11:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Steinar Bang @ 2016-06-10 14:42 UTC (permalink / raw)
  To: emacs-orgmode

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
 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-13 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 14:42 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/)] Steinar Bang
2016-06-11 11:42 ` Nicolas Goaziou
2016-06-13 12:05   ` Steinar Bang

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).