emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* maybe typo in orgmode manual
@ 2018-03-26 19:45 Буковская Агнесса
  2018-03-28 15:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Буковская Агнесса @ 2018-03-26 19:45 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

Maybe there is typo in orgmode manual: https://orgmode.org/org.html#capture-protocol

> To use this feature, add a bookmark with an arbitrary name, e.g. ‘Org: capture’ and enter this as ‘Location’:
>
> javascript:location.href='org-protocol://template=x'+
>      '&url='+encodeURIComponent(window.location.href)+
>      '&title='+encodeURIComponent(document.title)+
>      '&body='+encodeURIComponent(window.getSelection());

This does not work. No "capture" before template letter. Correct bookmark, I think, begins with

> javascript:location.href='org-protocol://capture?template=x'+

And this variant works for me. 
Thanks.

-- 
Agnessa Bukowska

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

* Re: maybe typo in orgmode manual
  2018-03-26 19:45 maybe typo in orgmode manual Буковская Агнесса
@ 2018-03-28 15:19 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-03-28 15:19 UTC (permalink / raw)
  To: Буковская Агнесса
  Cc: emacs-orgmode

Hello,

Буковская Агнесса <aggie@yandex.ru> writes:

> Maybe there is typo in orgmode manual: https://orgmode.org/org.html#capture-protocol
>
>> To use this feature, add a bookmark with an arbitrary name, e.g. ‘Org: capture’ and enter this as ‘Location’:
>>
>> javascript:location.href='org-protocol://template=x'+
>>      '&url='+encodeURIComponent(window.location.href)+
>>      '&title='+encodeURIComponent(document.title)+
>>      '&body='+encodeURIComponent(window.getSelection());
>
> This does not work. No "capture" before template letter. Correct bookmark, I think, begins with
>
>> javascript:location.href='org-protocol://capture?template=x'+
>
> And this variant works for me.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2018-03-28 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 19:45 maybe typo in orgmode manual Буковская Агнесса
2018-03-28 15:19 ` Nicolas Goaziou

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).