From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60194 Path: news.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Oddity: gnuclient invocation of gnus-url-mailto creates 2 frames Date: Fri, 22 Apr 2005 08:51:30 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114174280 13780 80.91.229.2 (22 Apr 2005 12:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 12:51:20 +0000 (UTC) Keywords: gnus-url-mailto,gnuclient,frame,xemacs Original-X-From: ding-owner+M8722@lists.math.uh.edu Fri Apr 22 14:51:17 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOxci-0007tH-3r for ding-account@gmane.org; Fri, 22 Apr 2005 14:51:08 +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 1DOxdK-0005v3-00; Fri, 22 Apr 2005 07:51:46 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DOxdG-0005uy-00 for ding@lists.math.uh.edu; Fri, 22 Apr 2005 07:51:42 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DOxdF-0004Zn-Ei for ding@lists.math.uh.edu; Fri, 22 Apr 2005 07:51:41 -0500 Original-Received: from zimbs-null.sp.cs.cmu.edu ([128.2.198.166] helo=mesquite.charcoal.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DOxdA-0002s3-00 for ; Fri, 22 Apr 2005 14:51:36 +0200 Original-Received: from mesquite.charcoal.com (localhost [127.0.0.1]) by mesquite.charcoal.com (8.13.1/8.13.1) with ESMTP id j3MCpUE5015373 for ; Fri, 22 Apr 2005 08:51:30 -0400 Original-Received: (from karl@localhost) by mesquite.charcoal.com (8.13.1/8.13.1/Submit) id j3MCpUtR015372; Fri, 22 Apr 2005 08:51:30 -0400 Original-To: ding@gnus.org X-Face: ?=p^Gj2JkX~UU_@W}[q/'Dxn19x-zfIQ](y<&ky/?1-&Nz&,!W}R.Gp+"LeGojoR =RF>?!XVs{a:`Yt(gqM<#$Zy(C@]'dR4Hy4S1.I(n3:2"R:=Uy!)K9>U!gNTyH{p +_w#F[gt).$Vyvo5=9LF^PeQ(@H#}QLAbfyYxX/8t:TDR5nA\|RmJO"EwjL8tWyvM User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5-b20 (linux) X-Spam-Score: -4.7 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60194 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60194 Not necessarily a bug, but definitely an oddity. I've been using this shell script for a while, as my means of starting Gnus from the GNOME panel, and for clicking a "mailto:" link in Firefox. #!/bin/sh export PATH=/usr/local/bin:"$PATH" if [ "$1" = "" ] ; then exec xemacs -geometry 90x63 -f gnus-init else if gnuclient -batch -eval t >/dev/null 2>&1 ; then exec gnuclient -eval "(gnus-url-mailto \"$1\")" else exec xemacs -geometry 90x63 \ -eval "(progn (require 'gnus-art) (gnus-url-mailto \"$1\") (font-lock-mode 1))" fi fi exec xmessage -center No XEmacs or gnuclient echo no xemacs, no gnuclient, no xmessage exit 1 What's significant here is the middle exec, using gnuclient to induce Gnus to do gnus-url-mailto's thing. When I click on a Firefox- displayed link, Gnus produces not one but two new frames (using Katsumi Yamaoka's message-multiple-frames.el). One of them is the size specified in message-multiple-frames (80x40); the other is my default startup size of 90x63. If I subsequently kill, postpone, or send the message... 1- From the default 90x63 frame, *both* frames disappear. 2- From the m-m-f frame, only that frame disappears, and the default 90x63 frame resumes display of (only) *Summary*. It's at worst a minor annoyance, but darn strange: What would be causing Gnus to think that a single invocation of gnus-url-mailto should deserve two separate and clearly very different (given geometry choices) frame initializations? It's not because the script is being invoked more than once -- I've run the gnuclient command directly from a shell prompt and still get 2 frames. Guesses welcome. --karl