1 |
Håkon Alstadheim <hakon@×××××××××××××××.no> writes: |
2 |
|
3 |
>> Can you start emacs without problems from konqueror at right |
4 |
>> click/open with/ on any machine? I mean without `xterm -e emacs' |
5 |
>> |
6 |
>> |
7 |
>> |
8 |
> Not running konqueror here, but yes, emacs would fire up quite |
9 |
> reliably when I had it as my source editor in mozilla, way back |
10 |
> when. You most definitely SHOULD be able to run it without a terminal |
11 |
> window. If you are really keen on getting this to work, you could |
12 |
> write a little script like so to use as your editor: ---- |
13 |
> #!/bin/bash |
14 |
> date >>~/emacs.log |
15 |
> emacs "$@" >>~/emacs.log 2>&1 |
16 |
|
17 |
Thanks for the input... that is a good idea, and surprisingly works |
18 |
fine. But does not provide the slightest clue why such a work around |
19 |
is necessary. Nothing but the date gets written to emacs log. |
20 |
|
21 |
Apparently for some reason there needs to be a sort of cutout between |
22 |
Konq and emacs, but not so with kate or kwrite. |
23 |
|
24 |
> Come to think of it (while looking up the $@ semantics), could it be |
25 |
> that the argument fed from konqueror has spaces in it? Maybe it needs |
26 |
> quoting? |
27 |
|
28 |
I'm not sure how to capture whatever it is that konq is doing. I |
29 |
don't think its throwing an error. But not really sure how to tell |
30 |
other than looking for .xsessions* file or something else with a kde |
31 |
error in it. |
32 |
|
33 |
I think it is just timing out silently. |
34 |
|
35 |
However it seems it would be almost guaranteed that there would be |
36 |
spaces in the command `emacs %s' or something similar. |
37 |
|
38 |
> Experiment with adding </dev/null onto there (that never did it for |
39 |
> me). Have a look at what the log says. |
40 |
|
41 |
Just for the record... no soap there. I'd already tried another |
42 |
non-promising test, adding the background sign `&' which didn't seem |
43 |
likely to help and as expected, did not. |
44 |
|
45 |
-- |
46 |
gentoo-user@l.g.o mailing list |