[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient command line use existing client
From: |
Charles Philip Chan |
Subject: |
Re: emacsclient command line use existing client |
Date: |
Fri, 19 Sep 2014 22:14:41 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
On 19 Sep 2014, torys.anderson@gmail.com wrote:
> << full contents of email.so >>
> -------------------------------
> #!/bin/sh
> # emacs-mailto-handler
>
> mailto=$1
> mailto="mailto:${mailto#mailto:}"
> mailto=$(printf '%s\n' "$mailto" | sed -e 's/[\"]/\\&/g')
> emacs_server="server"
> elisp_expr="(mailto-compose-mail \"$mailto\")"
>
> /usr/bin/emacsclient -a "" -c -n -s "$emacs_server" --eval
> "$elisp_expr" \ '(set-window-dedicated-p (selected-window) t)'
This is the small script that I have been using with Firefox's mailto
handler for years with no problems:
mozmail.sh
Description: Mozmail
Charles
--
"World domination. Fast"
(By Linus Torvalds)
signature.asc
Description: PGP signature
- Re: emacsclient command line use existing client, (continued)
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/12
- RE: emacsclient command line use existing client, Subhan Michael Tindall, 2014/09/12
- Re: emacsclient command line use existing client, Harry Putnam, 2014/09/13
- Re: emacsclient command line use existing client, Oliver Kappel, 2014/09/15
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/15
- Re: emacsclient command line use existing client, Michael Heerdegen, 2014/09/15
- Re: emacsclient command line use existing client, Oliver Kappel, 2014/09/15
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/19
- RE: emacsclient command line use existing client, Subhan Michael Tindall, 2014/09/19
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/19
- Re: emacsclient command line use existing client,
Charles Philip Chan <=
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/20
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/20
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/20
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/21
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/21
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/22