From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60221 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Oddity: gnuclient invocation of gnus-url-mailto creates 2 Date: Thu, 28 Apr 2005 15:45:40 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1114670774 1534 80.91.229.2 (28 Apr 2005 06:46:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 06:46:14 +0000 (UTC) Original-X-From: ding-owner+M8749@lists.math.uh.edu Thu Apr 28 08:46:10 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DR2mO-0006tq-Sc for ding-account@gmane.org; Thu, 28 Apr 2005 08:45:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DR2my-0002pV-00; Thu, 28 Apr 2005 01:46:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DR2md-0002pQ-00 for ding@lists.math.uh.edu; Thu, 28 Apr 2005 01:45:59 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DR2mW-0003u0-3O for ding@lists.math.uh.edu; Thu, 28 Apr 2005 01:45:52 -0500 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DR2mV-0004rS-00 for ; Thu, 28 Apr 2005 08:45:51 +0200 Original-Received: from [127.0.0.1] (helo=localhost) by washington.hostforweb.net with esmtpa (Exim 4.44) id 1DR2mY-0000uR-D2 for ding@gnus.org; Thu, 28 Apr 2005 02:45:54 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5-b20 (linux) Cancel-Lock: sha1:3VsPvSgGuzppeFOqWrd5NjESbbY= X-Hashcash: 1:20:050428:ding@gnus.org::fUzf5ba7HVtJ7xEW:00003+ta X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60221 >>>>> In Katsumi Yamaoka wrote: > Otherwise, you can customize the gnuserv-frame variable. For > example, put the following forms in your ~/.xemacs/init.el file: > (defun gnuserv-gnus-url-mailto (url) > "Make sure the Gnus frame exists." [...] I've revised message-multiple-frames.el[1] so as to make such a trick needless. It is done by advising the message-pop-to-buffer function. Now you only need to put (setq gnuserv-frame t) in the init file or use the "-batch" option to the gnuclient command. You can also use emacsclient to launch message frames without adding any setting except for `(server-start)'. For example: emacsclient --eval '(gnus-url-mailto "mailto:nobody@example.com")' In addition, that a strange behavior happened when using gnus-user-agent as mail-user-agent has also been solved. [1] ftp://ftp.jpl.org/pub/elisp/message-multiple-frames.el.gz or http://www.jpl.org/ftp/pub/elisp/message-multiple-frames.el.gz