emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Philip Hudson <phil.hudson@iname.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: Re: capture with iceweasel/firefox -- nothing works
Date: Sat, 4 Jun 2016 13:03:38 +0100	[thread overview]
Message-ID: <CAJ1MqVHNXGebNEVnQHQBzfeTLr8PzBh0pGbK=3ZDcj+aSa7R0w@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8tDt=aZ+9_3=-q_jG7N5LoECmP5_GphE_PWr-rpxvLYdg@mail.gmail.com>

On 4 June 2016 at 02:23, Samuel Wales <samologist@gmail.com> wrote:
> over many years, i have been trying to get org-protocol (or
> anything similar) to work, and it is not working reliably.
> that's why i want this feature to work so much.
...
>   *what is the most reliable set of instructions or code to
>   get iceweasel to work with org?*

Ordinarily my advice would be: Don't. Use Conkeror instead.

However, I see that keyboard-orientation and JavaScript are exactly
what you don't want, which is a pity. Org-capture from Conkeror is
bulletproof for me, even with Emacs server running on a different host
on the same LAN segment.

Conkeror uses the same browser engine as Firefox, so some FF
extensions work with it, but with an "Emacsified" keyboard-oriented
front end (M-x, M-:, C-u, C-g, etc) -- all dynamically configurable
and extensible, though in JavaScript not Elisp. The JavaScripting
framework uses familiar Elisp idioms wherever possible, like hooks,
`provide' and `require', for example.

> i'd be grateful for any useful hints.

Maybe not for you given your no-JS/no-keyboard requirement, but for
others who find this thread:

* Use Conkeror:
    http://conkeror.org
    git clone git://repo.or.cz/conkeror.git
* Don't forget to compile the external-interface module:
    http://conkeror.org/ConkerorSpawnHelper
    (tl;dr: Just cd into the cloned repo and execute 'make')
* On an XDG-compliant system (most Unix-like OSes except OS X):
    xdg-mime default conkeror.desktop x-scheme-handler/http
    xdg-mime default conkeror.desktop x-scheme-handler/https
* On a debian-esque system:
    sudo update-alternatives --config x-www-browser
* Expose Conkeror's JS innards using the 'MozREPL' FF extension:
    http://conkeror.org/MozRepl
** Use Emacs to inspect, configure, drive and automate Conkeror:
     git clone 'https://github.com/bard/mozrepl.git'
     Elisp package 'moz.el' is in subdirectory 'chrome/content/'
** Use the 'bash' shell to inspect, configure, drive and automate Conkeror:
     git clone 'https://github.com/PhilHudson/bash-mozrepl.git'


WRT Org capture protocol for those who do use a desktop env:
    # Support org-protocol on Gnome (and XFCE, MATE, etc):
    dbus-launch gconftool-2 -s
/desktop/gnome/url-handlers/org-protocol/command \
        '/usr/local/bin/emacsclient %s' --type String
    dbus-launch gconftool-2 -s
/desktop/gnome/url-handlers/org-protocol/enabled \
        --type Boolean true


-- 
Phil Hudson                   http://hudson-it.ddns.net
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

  parent reply	other threads:[~2016-06-04 12:04 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
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 [this message]
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='CAJ1MqVHNXGebNEVnQHQBzfeTLr8PzBh0pGbK=3ZDcj+aSa7R0w@mail.gmail.com' \
    --to=phil.hudson@iname.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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).