emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mario Martelli <mario@martelli.de>
To: Tyler Smith <tyler@plantarum.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] protocol: allow users to disable warning about old style links
Date: Wed, 21 Jun 2017 19:17:51 +0200	[thread overview]
Message-ID: <36153A2F-249B-423B-9BD2-547B11BE2B6C@martelli.de> (raw)
In-Reply-To: <1498064944.894124.1016902424.040943C7@webmail.messagingengine.com>


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

> The default capture template didn't work for me:
> 
>    (*"w"*
>         *"Default template"*
>         entry
>         (file+headline *"~/org/capture.org <http://capture.org/>"* *"Notes"*)
>         *"* %^{Title}\n\n  Source: %u, %c\n\n  %i"*
>         *:empty-lines* 1)

There are some asterisks which do not belong there. Probably it helps to remove them.
Otherwise it’s similar to the template I’m using.

> The %u and %c bits got replaced by the actual link code (i.e.,
> javascript:...). The following works as I wanted:
> 
>    ("w" "Default capture " entry
>      (file "~/org/notes.org <http://notes.org/>")
>      "* %^{Title}
>    Source: [[%:link][%:description]]
>    %:initial" :empty-lines 1)

It it works then it’s fine :)

Kind regards
Mario
— 




[-- Attachment #1.2: Type: text/html, Size: 12231 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3690 bytes --]

      reply	other threads:[~2017-06-21 17:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14 12:11 [PATCH] protocol: allow users to disable warning about old style links Alex Branham
2017-06-16  6:13 ` Nicolas Goaziou
2017-06-16 11:31   ` Alex Branham
2017-06-16 14:26     ` Nicolas Goaziou
2017-06-21 15:27   ` Tyler Smith
2017-06-21 16:01     ` Mario Martelli
2017-06-21 16:24       ` Tyler Smith
2017-06-21 16:34         ` Tyler Smith
2017-06-21 16:51         ` Mario Martelli
2017-06-21 17:09           ` Tyler Smith
2017-06-21 17:17             ` Mario Martelli [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=36153A2F-249B-423B-9BD2-547B11BE2B6C@martelli.de \
    --to=mario@martelli.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=tyler@plantarum.ca \
    /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).