Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Richard Heck
Bo Peng wrote: LFUNs can accept as many parameters as you like and, in principle, in whatever form you like. You just have to parse it. So I guess I can use LFUN_EMBEDDED_FILES embed file LFUN_EMBEDDED_FILES add file etc.. I don't see why not, in principle. rh -- ==

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Bo Peng
> LFUNs can accept as many parameters as you like and, in principle, in > whatever form you like. You just have to parse it. So I guess I can use LFUN_EMBEDDED_FILES embed file LFUN_EMBEDDED_FILES add file etc.. Bo

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Richard Heck
Bo Peng wrote: You are right, but the problem is that there are two many opearations: add file, extract file, embed file, dis-embed file, ... How many exactly? Which of these could be useful from the lyx-server? If LFUN can only accept one parameter, then LFUN_EMBED_FILE file LFUN

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Bo Peng
> > You are right, but the problem is that there are two many opearations: > > add file, extract file, embed file, dis-embed file, ... > > How many exactly? Which of these could be useful from the lyx-server? If LFUN can only accept one parameter, then LFUN_EMBED_FILE file LFUN_UN_EMBED_FILE file

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> Makes me wonder: isn't embedding something we would like to do with an >> lfun (which would take care of the dirty work)? > > You are right, but the problem is that there are two many opearations: > add file, extract file, embed file, dis-embed file, ... H

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Bo Peng
> Makes me wonder: isn't embedding something we would like to do with an > lfun (which would take care of the dirty work)? You are right, but the problem is that there are two many opearations: add file, extract file, embed file, dis-embed file, ... > What happens when the document is read-only?

Re: [Cvslog] r20253 - in /lyx-devel/trunk/src/frontends: controllers/C...

2007-09-13 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: bpeng > Date: Thu Sep 13 06:45:49 2007 > New Revision: 20253 > > URL: http://www.lyx.org/trac/changeset/20253 > Log: > Embedding: mark buffer dirty after changing embedding status Makes me wonder: isn't embedding something we would like to do with an lfun (whic