From: "Phillip Sawbridge" <phillip.sawbridge@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [konqueror] Can't invoke and editor when `view source'
Date: Thu, 8 Jan 2009 14:34:36 -0500 [thread overview]
Message-ID: <126318cd0901081134h56861d41p62dfb28d1825275f@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]
Hi,
Just another workaround for this problem. The ones presented in that thread
didn't work for me.
I used the "open with terminal option" in konqueror to get around this emacs
probelm but didn't like the fact that there was always a extra terminal
window hanging around so I use dcop to hide that window.
So I configure konqueror to open files I want emacs to work with using this
script :
#!/bin/bash
# invokes emacs but hides the current konsole from which it was invoked.
# konsole should be killed automatically when emacs exits
# make sure that option is set in konqueror otherwise you will have a
million hidden windows.
# hack to work around bug in konqueror which requires you to invoke emacs
# through a terminal when double-clicking a file
# get invoking dcop konsole session id
KONSOLE_SESSION="$(echo $KONSOLE_DCOP | cut -d\( -f 2 | cut -d, -f1)"
# hide the window
dcop $KONSOLE_SESSION konsole-mainwindow#1 setHidden true
# start emacs
emacs $1 &
--
cheers,
phillip
[-- Attachment #2: Type: text/html, Size: 1290 bytes --]
next reply other threads:[~2009-01-08 19:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 19:34 Phillip Sawbridge [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2008-01-16 18:57 ` reader
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=126318cd0901081134h56861d41p62dfb28d1825275f@mail.gmail.com \
--to=phillip.sawbridge@gmail.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