From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFLoX-0005m4-0U for garchives@archives.gentoo.org; Thu, 17 Jan 2008 03:53:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17C9EE0B07; Thu, 17 Jan 2008 03:52:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4D047E0AFE for ; Thu, 17 Jan 2008 03:52:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E095465FC2 for ; Thu, 17 Jan 2008 03:52:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.618 X-Spam-Level: X-Spam-Status: No, score=-2.618 required=5.5 tests=[AWL=-0.019, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SoQLRSnq4Ucm for ; Thu, 17 Jan 2008 03:52:19 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2AD4A65FB9 for ; Thu, 17 Jan 2008 03:52:18 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JFLnZ-00018e-Km for gentoo-user@gentoo.org; Thu, 17 Jan 2008 03:52:13 +0000 Received: from adsl-75-3-178-22.dsl.chcgil.sbcglobal.net ([75.3.178.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 03:52:13 +0000 Received: from reader by adsl-75-3-178-22.dsl.chcgil.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 03:52:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: reader@newsguy.com Subject: [gentoo-user] Re: [konqueror] Can't invoke and editor when `view source' Date: Wed, 16 Jan 2008 21:52:04 -0600 Organization: Still searching... Message-ID: <873asxxg63.fsf@newsguy.com> References: <87lk6qlg1c.fsf@newsguy.com> <200801160717.15356.volker.armin.hemmann@tu-clausthal.de> <200801160825.41928.michaelkintzios@gmail.com> <87odblzjie.fsf@newsguy.com> <478E622D.3080906@alstadheim.priv.no> <871w8hzcmo.fsf@newsguy.com> <478EC12A.2070505@alstadheim.priv.no> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-75-3-178-22.dsl.chcgil.sbcglobal.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:0ywG4HUWnwC8e2KMNMo8eLng3PE= Sender: news Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b43d254d-d490-46a5-a4d8-90638a2b5854 X-Archives-Hash: 8daa729d8f8e377b84ebf0103ad7931c H=E5kon Alstadheim writes: >> Can you start emacs without problems from konqueror at right >> click/open with/ on any machine? I mean without `xterm -e emacs' >> >> >> =20 > Not running konqueror here, but yes, emacs would fire up quite > reliably when I had it as my source editor in mozilla, way back > when. You most definitely SHOULD be able to run it without a terminal > window. If you are really keen on getting this to work, you could > write a little script like so to use as your editor: ---- > #!/bin/bash > date >>~/emacs.log > emacs "$@" >>~/emacs.log 2>&1 Thanks for the input... that is a good idea, and surprisingly works fine. But does not provide the slightest clue why such a work around is necessary. Nothing but the date gets written to emacs log. Apparently for some reason there needs to be a sort of cutout between Konq and emacs, but not so with kate or kwrite. > Come to think of it (while looking up the $@ semantics), could it be > that the argument fed from konqueror has spaces in it? Maybe it needs > quoting? I'm not sure how to capture whatever it is that konq is doing. I don't think its throwing an error. But not really sure how to tell other than looking for .xsessions* file or something else with a kde error in it. I think it is just timing out silently. However it seems it would be almost guaranteed that there would be spaces in the command `emacs %s' or something similar. > Experiment with adding me). Have a look at what the log says. Just for the record... no soap there. I'd already tried another non-promising test, adding the background sign `&' which didn't seem likely to help and as expected, did not. --=20 gentoo-user@lists.gentoo.org mailing list