From: Samuel Wales <samologist@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: capture with iceweasel/firefox -- nothing works
Date: Fri, 3 Jun 2016 22:13:52 -0700 [thread overview]
Message-ID: <CAJcAo8tX9ywUHdJzYDUPFVpfOpHe5EdBVFntmm_Mf3SeWkN+Jg@mail.gmail.com> (raw)
In-Reply-To: <8760tphain.fsf@fastmail.fm>
hi matt,
thanks for your reply.
On 6/3/16, Matt Lundin <mdl@imapmail.org> wrote:
> Here is the new style bookmark that works for me:
>
> javascript:location.href='org-protocol://capture?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(window.getSelection())
>
> I also placed the following in
> ~/.local/share/applications/emacsclient.desktop:
>
> --8<---------------cut here---------------start------------->8---
> [Desktop Entry]
> Name=Emacs Client
> Exec=emacsclient %u
> Icon=emacs-icon
> Type=Application
> Terminal=false
> MimeType=x-scheme-handler/org-protocol;
> --8<---------------cut here---------------end--------------->8---
>
will try.
> Since you are not using a desktop environment, you might also need to
> make sure that the appropriate xdg tools are installed. On arch linux
> the package is xdg-utils.
debian
xdg-utils:
Installed: 1.1.0~rc1+git20111210-7.4
>
> I'd recommend copying and pasting the javascript line above into the
> location bar to confirm whether it works. If it does, you can then
> easily add it to your bookmarks.
will try. this is supposed to imitate clicking on the unicorn or
calling the bookmark?
do i try with selecting and without selecting?
which capture key does it call?
i always run the emacs server in my regular emacs. i don't
use the daemon.
however, i never found any good instructions on what to do to add js
to bookmarks.
i have a menu bar and a location bar + icons. i'd like a button or
icon on the latter if possible. my previous thrashing around caused a
>> symbol which is a drop down menu which contains the bookmarks.
i'll settle for that if nec. but that is extra clicking i'd rather
avoid, and one of them brings up a page with js on it.
is this knowledge something that everybody except me possesses? :)
===
the full error is:
Greedy org-protocol handler. Killing client.
No server buffers remain to edit
>
> Note: There is a bug in the implementation of the new org-protocol url
> processing that can lead to multiple "greedy protocol" warnings. (I
> posted a bug report about this a week or so ago.)
>
> Hope this helps.
> Matt
>
thanks.
samuel
next prev parent reply other threads:[~2016-06-04 5:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-04 1:23 capture with iceweasel/firefox -- nothing works Samuel Wales
2016-06-04 1:30 ` Samuel Wales
2016-06-04 1:33 ` Samuel Wales
2016-06-04 3:04 ` Xebar Saram
2016-06-04 4:05 ` Matt Lundin
2016-06-04 3:56 ` Matt Lundin
2016-06-04 4:00 ` Matt Lundin
2016-06-04 5:13 ` Samuel Wales [this message]
2016-06-04 15:11 ` Matt Lundin
2016-09-04 3:23 ` Samuel Wales
2016-09-12 23:14 ` Adam Porter
2016-09-20 1:38 ` Samuel Wales
2016-07-21 10:01 ` Adam Porter
2016-06-04 8:26 ` tumashu
2016-06-04 12:03 ` Philip Hudson
2016-06-04 20:53 ` [OT] " Matt Lundin
2016-06-04 23:01 ` Philip Hudson
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=CAJcAo8tX9ywUHdJzYDUPFVpfOpHe5EdBVFntmm_Mf3SeWkN+Jg@mail.gmail.com \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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).