From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: Re: Is it possible to use emacsclient as the Gnome system editor?
Date: Tue, 21 Nov 2006 14:59:23 +0100 [thread overview]
Message-ID: <4563063B.1020401@student.lu.se> (raw)
In-Reply-To: <87irh9j5nj.fsf@bang.priv.no>
Steinar Bang wrote:
> Platform: Intel Pentium M, Ubuntu Dapper,
> Gnome desktop (2.14.3-0ubuntu1)
> emacs21 21.4a-3ubuntu2
>
> I'm trying to use emacsclient, instead of gedit, as the default Gnome
> text editor.
>
> Googling found me this howto:
> http://ubuntuforums.org/showthread.php?t=299086
>
> But this requires that there is a .desktop entry for the replacement
> editor. On my system there is an emacs21.desktop. But using that
> would fire up a new emacs for each file opened, and that's not what I
> want.
>
> So what I wonder is: is it possible to create an emacsclient.desktop
> entry? Or is desktop entry for emacsclient a meaningless concept?
>
> Basically: Is it possible to use emacsclient as the Gnome system
> editor?
Basically: yes. However with the current emacsclient you have to start
emacs first. There has currently been a discussion on the emacs devel
list where I have tried to argue that in Emacs 22 emacsclient should be
able to automatically start emacs when needed. I think most people there
would agree it is a good (but for many not very important) thing.
However it does not seem that it will make it into Emacs 22.
I have this working on MS Windows at the moment, but I am not sure the
code is working on GNU/Linux. Testers are welcome.
next prev parent reply other threads:[~2006-11-21 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 13:22 Is it possible to use emacsclient as the Gnome system editor? Steinar Bang
2006-11-21 13:59 ` Lennart Borgman [this message]
2006-11-21 14:07 ` Leo
[not found] ` <mailman.938.1164117578.2155.help-gnu-emacs@gnu.org>
2006-11-21 14:25 ` David Kastrup
2006-11-21 15:34 ` Lennart Borgman
2006-11-22 7:53 ` Steinar Bang
[not found] ` <mailman.977.1164182027.2155.help-gnu-emacs@gnu.org>
2006-11-22 10:08 ` David Kastrup
[not found] <mailman.934.1164115395.2155.help-gnu-emacs@gnu.org>
2006-11-21 13:42 ` Charles philip Chan
2006-11-22 7:40 ` Steinar Bang
2006-11-21 18:07 ` Olive
2006-11-21 19:11 ` Juanma Barranquero
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=4563063B.1020401@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.