From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16095 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.gnus.user Subject: Re: How to set up Gnus as default mailto application in Ubuntu? Date: Fri, 01 Feb 2013 17:16:35 +0100 Organization: Emacs Helm Message-ID: <87txpwau1o.fsf@gmail.com> References: <87vcadrya3.fsf@sklar.v.cablecom.net> <87a9rokrml.fsf@mithlond.arda> <877gmsoyvv.fsf@sklar.v.cablecom.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359735413 12396 80.91.229.3 (1 Feb 2013 16:16:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2013 16:16:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 01 17:17:13 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U1JIe-0007cN-J0 for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2013 17:17:12 +0100 Original-Received: from localhost ([::1]:47398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1JIM-0007i3-9z for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2013 11:16:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1JII-0007ht-IM for info-gnus-english@gnu.org; Fri, 01 Feb 2013 11:16:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1JIF-0000C3-8c for info-gnus-english@gnu.org; Fri, 01 Feb 2013 11:16:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1JIF-0000BP-2R for info-gnus-english@gnu.org; Fri, 01 Feb 2013 11:16:47 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U1JIU-0007VX-88 for info-gnus-english@gnu.org; Fri, 01 Feb 2013 17:17:02 +0100 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 17:17:02 +0100 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 17:17:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Kcrl5R++HaKSu6dlYKeYtuO4Lv4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16095 Archived-At: Marius Hofert writes: > Can you be a bit more specific (for a newbie), please? > > The page says: > > ,---- > | Configure your web browser and operating system so that the script is the default email application > `---- > > As I wrote, it is not clear to me, how I can tell google-chrome to accept a > script. Don't know for google-chrome, but for firefox, it is possible, see https://github.com/emacs-helm/helm/wiki#wiki-firefoxbookmarks It is the same for gnus, with this script instead: --8<---------------cut here---------------start------------->8--- #!/bin/bash wmctrl -xa emacs if [ -n $1 ]; then emacsclient -e "(message-mail (substring \"$1\" 7))" else emacsclient -e "(message-mail)" fi --8<---------------cut here---------------end--------------->8--- -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997