15 msgNet / dhcp (miss)behaviour
9 msghow to teach emerge -sync to sync packages?
1 msgJava emerge problem
3 msgSANDBOX - state of the art?
2 msgq: how to make gentoo site sync for greek users
2 msgOT: awk problem
2 msgWhere can I find the ebuild for new beagle vers...
14 msg'loopback mount' hard-drive image created with dd?
8 msgWhat about this eix output?
13 msgOnce again baffled by portage
10 msgIs Gentoo on the Sales block?
10 msg[OT] Online bookmark keeper with good merge rou...
1 msgenscript
14 msgCFLAGS
4 msgVideo Network Stream from Pipe
3 msgTouchpad in 'absolute' mode
6 msg/var/lib/init.d/depcache: line 2777: config: co...
11 msgSending IMs from a script
1 msgLinux/Active Directory - Multible Subdomains

[konqueror] Can't invoke and editor when `view ...
\ reader (16 Jan 2008)
. \ Hemmann, Volker Armin (16 Jan 2008)
. . \ Mick (16 Jan 2008)
. \ reader (16 Jan 2008)
. . \ Håkon Alstadheim (16 Jan 2008)
. \ reader (16 Jan 2008)
. \ reader (16 Jan 2008)
. \ reader (16 Jan 2008)
. . \ Håkon Alstadheim (17 Jan 2008)
. \ reader (17 Jan 2008)

Subject:Re: [konqueror] Can't invoke and editor when `view source'
Group:Gentoo-user
From:reader
Date:17 Jan 2008


 
Håkon Alstadheim <hakon> 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 mailing list



© 2004-2008 readlist.com