From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe Helary Subject: Re: Capture template issue ? Date: Fri, 20 Sep 2019 07:57:20 +0900 Message-ID: <1917D424-4A84-45C2-9C9E-0B55C00AF5AD@traduction-libre.org> References: <94D800FB-0ADB-4BA7-8A0E-49247ECBFC01@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_FE000EC8-BCAB-4170-B0E0-30C1BD6418F3" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36176) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB5Mh-0002CI-Sx for emacs-orgmode@gnu.org; Thu, 19 Sep 2019 18:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iB5Mf-0005bP-Vv for emacs-orgmode@gnu.org; Thu, 19 Sep 2019 18:57:31 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:56937) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iB5Mf-0005aX-Mg for emacs-orgmode@gnu.org; Thu, 19 Sep 2019 18:57:29 -0400 Received: from [192.168.1.12] (pl24769.ag0304.nttpc.ne.jp [133.232.151.193]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 2F069200003 for ; Thu, 19 Sep 2019 22:57:24 +0000 (UTC) In-Reply-To: <94D800FB-0ADB-4BA7-8A0E-49247ECBFC01@traduction-libre.org> 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: Org-mode --Apple-Mail=_FE000EC8-BCAB-4170-B0E0-30C1BD6418F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The issue is systematic. I have changed my settings to: org-hide-leading-stars nil org-startup-folded nil=20 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=20 > On Sep 17, 2019, at 8:48, Jean-Christophe Helary = wrote: >=20 > 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: >=20 > * List 1 > ** item 1 > ** item 2 > * List 2 > ** item 3 > ** item 4 >=20 > displayed >=20 > * List 1 ... > * List 2 ... >=20 > I add item 5 to List 1, I should get: >=20 > * List 1 > ** item 1 > ** item 2 > ** item 5 > * List 2 ... >=20 > But instead I get >=20 > * List 1 > ** item 1 > ** item 2 > ** item 5 * List 2 ... >=20 > which makes List 2 disappear for all practical purposes. >=20 > That's pretty systematic, and very annoying. >=20 > Nearly all my templates show a similar behavior. >=20 > This one was: >=20 > (file+headline "~/org/journal.org" "Dictionnaire") > "* %? :%^{tag}:\n") >=20 > I'm using the built-in 9.1.9 version, with an emacs from master built = a few days ago, on macos. >=20 > And my org setup is this: >=20 > (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"))) >=20 >=20 > Where should I investigate to fix this ? >=20 >=20 > Jean-Christophe Helary > ----------------------------------------------- > http://mac4translators.blogspot.com @brandelune >=20 >=20 >=20 Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune --Apple-Mail=_FE000EC8-BCAB-4170-B0E0-30C1BD6418F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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 <jean.christophe.helary@traduction-libre.org> = 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")
=             &n= bsp; "* %? :%^{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


= --Apple-Mail=_FE000EC8-BCAB-4170-B0E0-30C1BD6418F3--