The issue is systematic. I have changed my settings to: org-hide-leading-stars nil org-startup-folded nil But that doesn't change anything. I have quasi systematically the issue I described when the file that will be modified by the capture is not visible when I capture, and generally I don't have it when it is visible when I do. Currently, the place where that happens most (?) is when I add captured text in a "file+datetree" structure right over a "file+headline" structure. Jean-Christophe Helary > On Sep 17, 2019, at 8:48, Jean-Christophe Helary wrote: > > I have an issue with my capture templates where if I add an item at the end of list, the item seems to "eat" the following line break and merges with the item that follows: > > * List 1 > ** item 1 > ** item 2 > * List 2 > ** item 3 > ** item 4 > > displayed > > * List 1 ... > * List 2 ... > > I add item 5 to List 1, I should get: > > * List 1 > ** item 1 > ** item 2 > ** item 5 > * List 2 ... > > But instead I get > > * List 1 > ** item 1 > ** item 2 > ** item 5 * List 2 ... > > which makes List 2 disappear for all practical purposes. > > That's pretty systematic, and very annoying. > > Nearly all my templates show a similar behavior. > > This one was: > > (file+headline "~/org/journal.org" "Dictionnaire") > "* %? :%^{tag}:\n") > > I'm using the built-in 9.1.9 version, with an emacs from master built a few days ago, on macos. > > And my org setup is this: > > (setq org-use-speed-commands t > org-directory "~/org" > org-default-notes-file (concat org-directory "/notes.org") > org-refile-targets '((org-agenda-files :maxlevel . 3)) > org-refile-use-outline-path 'file > org-outline-path-complete-in-steps nil > org-refile-allow-creating-parent-nodes 'confirm > org-startup-indented t > org-use-fast-todo-selection t > org-return-follows-link t > org-link-abbrev-alist '(("message" . "mailto")) > org-todo-keywords > '((sequence "TODO(t)" "|" "DONE(d)") > (sequence "WAIT(w)" "|" "IN-PROGRESS" "|" "CANCELED(c)")) > org-agenda-files > '("/Users/suzume/org/" "/Users/suzume/Library/Application Support/Notational Data/") > org-indirect-buffer-display 'current-window > org-modules > '(org-bbdb org-bibtex org-docview org-habit org-info org-irc org-mhe org-protocol org-rmail) > org-support-shift-select t > org-todo-keyword-faces > '(("IN-PROGRESS" . "orange") ("WAIT" . "magenta") ("CANCELED" . "darkgreen") ("TODO" . "pink") ("DONE" . "green"))) > > > Where should I investigate to fix this ? > > > Jean-Christophe Helary > ----------------------------------------------- > http://mac4translators.blogspot.com @brandelune > > > Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune