unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs kpart
@ 2003-07-04 15:33 Marco Correia
  2003-07-05 22:26 ` Richard Stallman
  2003-07-07 18:38 ` Kevin Rodgers
  0 siblings, 2 replies; 4+ messages in thread
From: Marco Correia @ 2003-07-04 15:33 UTC (permalink / 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>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-30 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04 15:33 emacs kpart Marco Correia
2003-07-05 22:26 ` Richard Stallman
2003-07-30 15:28   ` Mario Lang
2003-07-07 18:38 ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).