From: Marco Correia <mvc@netcabo.pt>
Subject: emacs kpart
Date: Fri, 4 Jul 2003 15:33:03 +0000 [thread overview]
Message-ID: <200307041533.03863.mvc@netcabo.pt> (raw)
Hi all,
I'm considering creating a KPart (which is a kind of KDE component suitable to
be integrated within KDE programs, in a certain way equivalent to Gnome's
bonobo or Windows OLE), for integrating emacs in kde apps.
The basic idea is to launch an emacs process in the background and use the
gnuclient-gnuserv functionality to pass the user keystrokes to the emacs
process. The outcome of the user actions (modifications on the current
buffer) would then have to be collected from the emacs buffer. So here is the
issue:
Is there a way to store the contents of the current buffer and then, after
some modification, retrieve only the part that have changed? I know that
there are some functions for retrieving the entire or part of the buffer
(e.g. buffer-string,buffer-substring) but if I don't know which parts have
been modified after some point, my only choice is to retrieve the entire
buffer, which is of course very inneficient.
Also, before I go deeply into this, I really would like to hear from an emacs
expert what he/she thinks of this idea, or if it this impossible by some
obvious reason that I don't know about.
thanks
--
Marco Correia <mvc@netcabo.pt>
next reply other threads:[~2003-07-04 15:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-04 15:33 Marco Correia [this message]
2003-07-05 22:26 ` emacs kpart Richard Stallman
2003-07-30 15:28 ` Mario Lang
2003-07-07 18:38 ` Kevin Rodgers
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=200307041533.03863.mvc@netcabo.pt \
--to=mvc@netcabo.pt \
/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.