From: reader@newsguy.com
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [konqueror] Can't invoke and editor when `view source'
Date: Wed, 16 Jan 2008 21:52:04 -0600 [thread overview]
Message-ID: <873asxxg63.fsf@newsguy.com> (raw)
In-Reply-To: 478EC12A.2070505@alstadheim.priv.no
Håkon Alstadheim <hakon@alstadheim.priv.no> writes:
>> Can you start emacs without problems from konqueror at right
>> click/open with/ on any machine? I mean without `xterm -e emacs'
>>
>>
>>
> 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 </dev/null onto there (that never did it for
> 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.
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-17 3:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 1:23 [gentoo-user] [konqueror] Can't invoke and editor when `view source' reader
2008-01-16 6:17 ` Hemmann, Volker Armin
2008-01-16 8:25 ` Mick
2008-01-16 18:56 ` [gentoo-user] " reader
2008-01-16 19:59 ` Håkon Alstadheim
2008-01-16 21:14 ` reader
2008-01-16 21:25 ` reader
2008-01-17 2:44 ` Håkon Alstadheim
2008-01-17 3:52 ` reader [this message]
2008-01-16 18:57 ` reader
-- strict thread matches above, loose matches on Subject: below --
2009-01-08 19:34 Phillip Sawbridge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873asxxg63.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox