all messages for Emacs-related lists mirrored at yhetil.org
 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.