emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Capture template issue ?
Date: Fri, 20 Sep 2019 07:57:20 +0900	[thread overview]
Message-ID: <1917D424-4A84-45C2-9C9E-0B55C00AF5AD@traduction-libre.org> (raw)
In-Reply-To: <94D800FB-0ADB-4BA7-8A0E-49247ECBFC01@traduction-libre.org>

[-- Attachment #1: Type: text/plain, Size: 3032 bytes --]

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")
>               "* %? :%^{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



[-- Attachment #2: Type: text/html, Size: 6451 bytes --]

      reply	other threads:[~2019-09-19 22:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 23:48 Capture template issue ? Jean-Christophe Helary
2019-09-19 22:57 ` Jean-Christophe Helary [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1917D424-4A84-45C2-9C9E-0B55C00AF5AD@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).