emacro-devel Mailing List for EMacro (Page 9)
Brought to you by:
bingalls
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(74) |
Sep
(31) |
Oct
(13) |
Nov
(33) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(4) |
Mar
(11) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(7) |
Nov
(2) |
Dec
(8) |
2002 |
Jan
(9) |
Feb
(4) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(4) |
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
2003 |
Jan
(8) |
Feb
(5) |
Mar
(1) |
Apr
(7) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(2) |
2004 |
Jan
(3) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
(3) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(6) |
2007 |
Jan
(4) |
Feb
(8) |
Mar
(11) |
Apr
(45) |
May
(48) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Vishwanathan <vi...@in...> - 2000-08-31 17:11:29
|
The following is from the JDE home page ... May be of use to EMacro documentation ... <snip> Specifying a Browser The JDE delegates the task of displaying HTML documents, such as The JDE User's Guide, to browse-url, Emacs' generic interface to HTML browsers. The default browse-url browser in the latest version of NT/Emacs is the Windows default HTML browser. The default browse-url browser on Unix systems is Netscape. You can customize browse-url to use other browsers by executing M-x customize-group browse-url and editing and saving the appropriate configuration variables. Note The Windows version of browse-url uses the default action associated with the html file type on your system to display a URL (execute C-h f w32-shell-execute for more information). You can thus configure browse-url indirectly by configuring the default Windows action for html files. To do this, select View->Folder Options on the Windows/NT or Windows 95 Explorer menu (note we're talking about the file, not the Internet Explorer). For example, when you install Internet Explorer, the setup program for Internet Explorer defines actions for opening HTML files in an existing window or a new window, respectively. You can set either of these as the default open action, according to your preference. Note You can configure versions of NT/Emacs earlier than 20.4 to use the default Windows browser. For more information, see shellex and the JDE Troubleshooting Guide). However, you can get the same result with far less effort simply by upgrading to the latest version of NT/Emacs. </snip> thanks vishy ps: Meanwhile my cvs woes continue and I hope to make a concentrated effort today or towmorrow to get over the road block :-) |
From: Jan B. <jb...@ez...> - 2000-08-31 15:46:44
|
Bruce Ingalls <br...@co...> writes: > > Some changes. > > > > > Nice. The checkboxes didn't work on xemacs. > > > I tried enabling speedbar, for example. I already had the library > > See if it works now, it did with my XEmacs. > The menuing code works both on XEmacs on my sun box, and on Gnu Emacs on > Mac OS. The speedbar frame comes up in Emacs, but It looks that the > speedbar buffer is not brought to the top. I noticed this on my Sun > Emacs, too. > In other words, I see a skinny frame pop on top, Narrowly displaying > options.el (my current buffer). strange, speedbar is only started with (speedbar 1), does this happen when you start it manually? > > It's fixed, I also added msdos support, still needs to be tested > > though. > I haven't done much testing of EMacro on DOS. I reckon someone still > uses it... I don't think it's very important but I just added support for it in the option-emacs-type function. Anyways this function and option-emacs-or-xemacs, option-regular-emacs should probably be put in a separate .el file so that more packages can use it. > > > I had to eval this, before options would load. Perhaps it needs to > > be > > > moved to the top? > > > > Strange, didn't happen with my XEmacs, but I moved it to the top to be > > sure. > Now bytecompiles & loads fine. good to hear. > > Some things that still are missing from options: > > - Detect if packages are already loaded or unloaded by the user. > You can unload libraries? > This would be useful for tiny-tools, which interferes with other emacs > packages... Actually no(at least to my knowledge) but some packages have menu items, key bindings etc. that can be turned on and off, both option-enable-keys and option-disable-keys were made with this in mind, they make sure to store the previous bindings before setting new ones and restores the old ones when removing the bindings. I guess detecting unloading of packages is not possible but at least loading should be possible (featurep?) so that the menu items actually is correct. > > - Catch changes in variables that are in the save list(probably use > > defadvice) > > > - Mutex menu items. > What do you mean? Like rect.el only works on Gnu Emacs, but I have > equivalent code for XEmacs (that won't work on Gnu)? Something like that, just look at line highlighting, if I remember there are at least 3 different kinds and you don't want run all of them at the same time, the same goes for different keymappings. > > - Support submenus(groups) for packages menu, the number of packages > > might increase. > I now have to rethink EMacro. > We could have a Programmer menu entry, with sub-items C, Java, Perl... > Users can check boxes to have them loaded on entry or not, to speed up > EMacro. Yes, a good idea, if you're not a programmer you probably don't want to load all those fancy packages. > I also have to figure out how to do popup menus; the XEmacs menubar is > getting crowded (Especially in JDE mode, with qflib loaded). isn't this done with x-popup-menu? The flyspell mode has some popup menus, it's a good place to look. Hopefully the menu structure is quite similar to top menus, that way we can easily reuse these menus. > Kai Großjohann recently posted some untested code for reading (writing?) > ini-style "key=value" files. I suppose XML format would be better; I'm > not sure about speed. Something to think about. That would be better for options storing, executing lisp code when loading is not necessarily the best way, especially when considering that a user might upgrade their emacs/packages and some of the variables change. With an XML file you can also use an external program to configure it, this might be easier for newbies to use. If we come up with a good XML file I would be happy to create a configuration program in Qt. > You can reduce the number of bytecompile warnings, by replacing most of > your setq()s with defconst()s. strange, wouldn't that change the variables to become constant? -- - Jan Borsodi <jb...@ez...> - Software Developer/Designer @ eZ Systems Web: http://www.ez.no QtVu developer: http://www.qtvu.org |
From: Bruce I. <br...@co...> - 2000-08-31 14:51:14
|
> Some changes. > > > Nice. The checkboxes didn't work on xemacs. > > I tried enabling speedbar, for example. I already had the library > See if it works now, it did with my XEmacs. The menuing code works both on XEmacs on my sun box, and on Gnu Emacs on Mac OS. The speedbar frame comes up in Emacs, but It looks that the speedbar buffer is not brought to the top. I noticed this on my Sun Emacs, too. In other words, I see a skinny frame pop on top, Narrowly displaying options.el (my current buffer). > It's fixed, I also added msdos support, still needs to be tested > though. I haven't done much testing of EMacro on DOS. I reckon someone still uses it... > > I had to eval this, before options would load. Perhaps it needs to > be > > moved to the top? > > Strange, didn't happen with my XEmacs, but I moved it to the top to be > sure. Now bytecompiles & loads fine. > Some things that still are missing from options: > - Detect if packages are already loaded or unloaded by the user. You can unload libraries? This would be useful for tiny-tools, which interferes with other emacs packages... > - Catch changes in variables that are in the save list(probably use > defadvice) > - Mutex menu items. What do you mean? Like rect.el only works on Gnu Emacs, but I have equivalent code for XEmacs (that won't work on Gnu)? > - Support submenus(groups) for packages menu, the number of packages > might increase. I now have to rethink EMacro. We could have a Programmer menu entry, with sub-items C, Java, Perl... Users can check boxes to have them loaded on entry or not, to speed up EMacro. I also have to figure out how to do popup menus; the XEmacs menubar is getting crowded (Especially in JDE mode, with qflib loaded). Kai Großjohann recently posted some untested code for reading (writing?) ini-style "key=value" files. I suppose XML format would be better; I'm not sure about speed. Something to think about. You can reduce the number of bytecompile warnings, by replacing most of your setq()s with defconst()s. |
From: Bruce I. <br...@co...> - 2000-08-30 21:43:34
|
>New version of options.el, a lot of functions have been rewritten >and it's more stable. Nice. The checkboxes didn't work on xemacs. I tried enabling speedbar, for example. I already had the library loaded, but got an elisp error: Wrong number of arguments #<subr require>, 3 but I reckon that you were expecting this. Some of these arguments are optional- Can you drop off the options? >(defun option-emacs-type () > "Returns the type of emacs in use. >Returns: >emacs - for regular Emacs in a console >emacs-window - for regular Emacs in a window(X) >xemacs - for XEmacs in a console >xemacs-window - for XEmacs in a window(X) >emacs-nt - for regular Emacs on Windows NT(95/98?) in a console (NOT >IMPLEMENTED YET) >emacs-nt-window - for regular Emacs on Windows NT(95/98?) in a window(W32) >(NOT IMPLEMENTED YET) >xemacs-nt - for XEmacs on Windows NT(95/98?) in a console (NOT IMPLEMENTED >YET/DOES IT EXIST?) >xemacs-nt-window - for XEmacs on Windows NT(95/98?) in a window(W32) (NOT >IMPLEMENTED YET/DOES IT EXIST?) >emacs-mac - for regular Emacs on Mac(??) in a console (NOT IMPLEMENTED >YET/DOES IT EXIST?) >emacs-mac-window - for regular Emacs on Mac(??) in a window (NOT IMPLEMENTED >YET/DOES IT EXIST?) >xemacs-mac - for XEmacs on Mac(??) in a console (NOT IMPLEMENTED YET/DOES IT >EXIST?) >xemacs-mac-window - for XEmacs on Mac(??) in a window (NOT IMPLEMENTED >YET/DOES IT EXIST?)" Take a look at home.el. EMacro doesn't support XEmacs for Mac OS, not only because it is v19.x, but also because it doesn't properly support "emacs-version" There is not really any console mode for MacOS. That, and Environment Variables are sadly lacking. The precompiled XEmacs binaries for NT do not support console mode. I suspect it is possible to compile such support from the sources. So these are what you can check: emacs-version system-type system-configuration system-configuration-options featurep ['xemacs only? could cause bytecompile grief on gnu emacs] window-system FWIW, gtk-xemacs just went release (still many bugs). However, it behaves just like xemacs, and the author is trying to converge the code. >(defun option-smooth-scroll-enable (enable) > "Turns on smooth keyboard scrolling if ENABLE is non-nil and updates >`option-smooth-scroll'." > (if enable > (setq scroll-margin '0 > scroll-step '1) > (setq scroll-margin '2 > scroll-step '1)) > (option-config-invalidate) > (setq option-smooth-scroll enable)) I had to eval this, before options would load. Perhaps it needs to be moved to the top? >It now works with XEmacs except for loading packages, it seems >that require on XEmacs takes only two params whereas emacs >can take three where the last is noerrors. I'll have to figure out a >way to make this work on both. >This version should also work in console mode(both Emacs and XEmacs) >btw. does anyone remember how to access the menus in console mode? >and what's the best way to "popup" a message box(or similar) in console? I think F10 is menu key. Doesn't this display in the startup splash screen? I don't think I override it in keys.el, but check. I actually used an older EMacro in console mode... Hmm. will this console mode support work in windows & mac emacs? |
From: bruce i. <bin...@pa...> - 2000-08-30 12:39:02
|
I just got ssh figured out for my local use. I have yet to play with polishing it on for sourceforge. Vishwanathan wrote: > >You would upload with a command like > > scp ~/.ssh/identity.pub > vis...@cv.../~/.ssh/authorized_hosts > > But I dont have a file called identity.pub in my ~/.ssh directory !!!! The identity.pub is your public key. "identity", also in ~/.ssh is your private key that you never reveal to anyone. These are generated by ssh-keygen; maybe winCvs does this for you? > >It may also be helpful to run > > ssh-agent > >to first set the ssh environment. > > I downloaded ssh for windows and did not get any .exe called ssh-agent !!! You are talking precompiled binaries for windows command line? Is this ssh v1.x or v2.x? > >Before that, I think you need to run > >ssh-keygen, once only, but it appears that win-cvs does this for you; > >you can tell, if you have something like %HOME%/.ssh/identity.pub > > But When I run ssh-keygen it cribs as follows .... > > D:\tools>ssh-keygen.exe > Initializing random number generator... > Generating p: ....................................++ (distance 670) > Generating q: ..++ (distance 26) > Computing the keys... > Testing the keys... > Key generation complete. > Enter file in which to save the key ($HOME/.ssh/identity): > Enter passphrase (empty for no passphrase): > Enter same passphrase again: "passphrase" is to give you high security. You would put in something like "the quick brown fox jumped over lazy dog's back", which scrambles to more than a password. However, if you want to set up ssh, so that you never have to enter a password from your machine, you hit "enter" for no passphrase. You can still be secure without a passphrase - just not 128+ bit encryption safe. > gethostname: No such file or directory This looks like a problem. Perhaps you need to be connected online, when you do this? Maybe you need to have cygwin's gethostname.exe in $PATH. > > >What you need to do is upload your public key (~/.ssh/identity.pub) to > >your sourceforge home directory and append it to the > >~/.ssh/authorized_hosts there. Actually, if I remember correctly, you > >can do this from the [sourceforge] website. > > And even now when I try to upload a file I get the following error from Win > CVS :(Entire session replicated below for diagnosis) > > CVSROOT: vis...@cv...:/cvsroot/emacro (password > authentication) > TCL is available, shell is enabled : help (select and press enter) So ~/.ssh/authorized_hosts contains newline separated list of public keys, with the same format as ~/.ssh/identity.pub. You cannot log into cvs.emacro.sourceforge.net, but you can scp files there. You might also try scp-ing to emacro.sourceforge.net. There, you can log in. If you set up ssh correctly, you won't even have to provide a password, after the first time. > > cvs -z9 login > (Logging in to vis...@cv...) > > *****CVS exited normally with code 0***** > > cvs -z9 commit -m "Better Credits.html with tables et al." (in directory > D:\EMACRO\EMACRO\DOC) > cvs commit: Examining . > cvs [server aborted]: "commit" requires write access to the repository Since this is a new file, you would have to do a "cvs add" command. I'll have to look to see what "commit -m" does. > > *****CVS exited normally with code 1***** > > Now I am at my wits ends and don't know what to do :-( > > vishy > _______________________________________________ > Emacro-devel mailing list > Ema...@li... > http://lists.sourceforge.net/mailman/listinfo/emacro-devel -- EMacro makes Emacs ftp://ftp.cppsig.org/pub/tools/emacs |
From: Vishwanathan <vi...@in...> - 2000-08-29 12:42:57
|
>You would upload with a command like > scp ~/.ssh/identity.pub vis...@cv.../~/.ssh/authorized_hosts But I dont have a file called identity.pub in my ~/.ssh directory !!!! >It may also be helpful to run > ssh-agent >to first set the ssh environment. I downloaded ssh for windows and did not get any .exe called ssh-agent !!! >Before that, I think you need to run >ssh-keygen, once only, but it appears that win-cvs does this for you; >you can tell, if you have something like %HOME%/.ssh/identity.pub But When I run ssh-keygen it cribs as follows .... D:\tools>ssh-keygen.exe Initializing random number generator... Generating p: ....................................++ (distance 670) Generating q: ..++ (distance 26) Computing the keys... Testing the keys... Key generation complete. Enter file in which to save the key ($HOME/.ssh/identity): Enter passphrase (empty for no passphrase): Enter same passphrase again: gethostname: No such file or directory >What you need to do is upload your public key (~/.ssh/identity.pub) to >your sourceforge home directory and append it to the >~/.ssh/authorized_hosts there. Actually, if I remember correctly, you >can do this from the [sourceforge] website. And even now when I try to upload a file I get the following error from Win CVS :(Entire session replicated below for diagnosis) CVSROOT: vis...@cv...:/cvsroot/emacro (password authentication) TCL is available, shell is enabled : help (select and press enter) cvs -z9 login (Logging in to vis...@cv...) *****CVS exited normally with code 0***** cvs -z9 commit -m "Better Credits.html with tables et al." (in directory D:\EMACRO\EMACRO\DOC) cvs commit: Examining . cvs [server aborted]: "commit" requires write access to the repository *****CVS exited normally with code 1***** Now I am at my wits ends and don't know what to do :-( vishy |
From: Bruce I. <br...@co...> - 2000-08-28 16:09:03
|
Vishy- I got pcl-cvs to work once under XEmacs (on unix). Unfortunately, I cannot reproduce my success(!) It appears to be an SSH issue. I was following the directions below. OTOH, Win-Cvs is probably better. You would upload with a command like scp ~/.ssh/identity.pub vis...@cv.../~/.ssh/authorized_hosts It may also be helpful to run ssh-agent to first set the ssh environment. Before that, I think you need to run ssh-keygen, once only, but it appears that win-cvs does this for you; you can tell, if you have something like %HOME%/.ssh/identity.pub -- bruce What you need to do is upload your public key (~/.ssh/identity.pub) to your sourceforge home directory and append it to the ~/.ssh/authorized_hosts there. Actually, if I remember correctly, you can do this from the [sourceforge] website. This way, you do not need to provide a password each time you use cvs. |
From: Bruce I. <br...@co...> - 2000-08-28 15:58:45
|
Options.el is very cool. Some things didn't work for me, but that takes polish. Here are the problems I see, however: 1) It doesn't work on w32 (untested) or mac os. 2) It doesn't work with XEmacs. This would not be an issue, except that, for options.el to be effective, there has to be if() statements throughout all of EMacro, affecting shared code. Mac OS is probably a lost cause, unless & until we find an apple script guru. It should not be too hard to build similar code for XEmacs and w32. I have not yet learned how to do pop up menus, which is why the EMacro menubar is crowded. I think I'll post a request on SourceForge, that we are looking for someone who knows apple script. I have also been talking to someone who has written some cygwin code, that fixes paths for emacs. I plan on assimilating that piece of code, eventually. Because of the impact of options.el on the shared code base, I don't expect to put it into EMacro 2.0.4, but rather, a future release. > This the first version of options.el, try it out and see how it works, > load it with M-x load-file RET options.el RET > it will then read the option file(if any) and setup the menu. > This currently only works in Emacs for X(as far as I know). > > I'll add some code to dynamicly add options, that way any other > package can register itself to this one. I'll also look into > how to make submenus for the options and mutually exclusive items. > > btw. is there an emacs lisp command that will check if a given > variable > name really exists? > and how do I add a global menu, I've only gotten it work with specific > modes.. |
From: Bruce I. <br...@co...> - 2000-08-27 21:21:37
|
I built an even better benchmarking system, and posted the results on the public discussion forum at sourceforge. I forgot to add this analysis, numbers for xemacs running on ~300Mhz sparc: xemacs -q 1.9 sec base EMacro 2.4 sec [emacro.el, which.el, loadpath.el, configure.el preferences.el] Everything loaded: Total time (real results, not adding times for each library): 8.6 sec Adding xemacs.el & home.el: 12.1 sec EMacro spends about 3/4ths of the time loading inet.el & the programmer routines; disabling e-perl.el & e-sql.el can save over 1/4th the load time. "if load-library()" calls are relatively expensive. |
From: bruce i. <bin...@pa...> - 2000-08-26 16:47:14
|
Jan Borsodi wrote: > This the first version of options.el, try it out and see how it works, > load it with M-x load-file RET options.el RET > it will then read the option file(if any) and setup the menu. > This currently only works in Emacs for X(as far as I know). I am revamping my Linux box & home; this does not work on Mac OS... I'll check it at work, and let you know. > I'll add some code to dynamicly add options, that way any other > package can register itself to this one. I'll also look into > how to make submenus for the options and mutually exclusive items. This code looks slick. I had thought of working with the author of the dot-file generator (http://www.blackie.dk/ ?), but an emacs integrated solution is better, and sooner. We can use the minibuffer prompting for W32 & Mac, which don't easily support popup menus, yet. Another solution might have been to use html, but I don't think browser security would allow us to save info locally (except as cookies) > btw. is there an emacs lisp command that will check if a given variable > name really exists? ;;Parens may be imbalanced... (if (condition-case nil (boundp my-new-variable) (error nil)) (message (concat "Value = " my-new-variable))) ;;else (message "no such variable")) Use fboundp for defuns, featurep for packages (provided require()s)) condition-case() is for exception handling. > > and how do I add a global menu, I've only gotten it work with specific > modes.. I've not been able to get the portable easy-menu.el to work; in the table of contents for xemacs.el & gnu.el, I have example code. For gnu emacs, I've found it necessary to create a top-level menu; my catch-all name is util. The menu space is getting a little crowded. I'm going to have to figure out how to move stuff to popup menus (right mouse or C-button 3/right mouse) A quick fix might be to include a .Xdefaults for a smaller menu font size... |
From: bruce i. <bin...@pa...> - 2000-08-24 21:55:02
|
Jan actually set you up. I checked, and your permissions look OK. You can even check them, yourself, by going to admin. I just realized, that because you could ci (check in), but not commit, that there must be uncommitted changes. I ran commit, and everything should be fine, now. I recommend that you get the files, run diff and merge, as needed (I often add new links to emacro.html, for example), then check in again, and commit. Here are the doc files that changed via commit: ? readme.txt ? to_do.html ? tips.html ? solutions.html ? release_procedures.txt ? release_notes.html ? manifest.html ? install.html ? index.html ? emacs.html ? credits.html On Thu, 24 Aug 2000, Vishwanathan wrote: > I finally managed to get hold of WINCVS and installed it and logged onto the > CVS repository and checked out the files. Now I unlocked a file and made > changes to it. When I tried to commit it CVS is cribbing :-( > > <snip> > cvs -z9 commit -m "Changed the credits file to use html tables. Handcoded > other html \nstuff also. P..." credits.html (in directory > D:\EMACRO\EMACRO\doc\) > cvs [server aborted]: "commit" requires write access to the repository > > *****CVS exited normally with code 1***** > </snip> > > What does this mean? Don't I have write perms on the repository? > > thanks > > vishy > > _______________________________________________ > Emacro-devel mailing list > Ema...@li... > http://lists.sourceforge.net/mailman/listinfo/emacro-devel > |
From: bruce i. <bin...@pa...> - 2000-08-24 21:43:17
|
Jan actually set you up. I checked, and your permissions look OK. You can even check them, yourself, by going to admin. I just realized, that because you could ci (check in), but not commit, that there must be uncommitted changes. I ran commit, and everything should be fine, now. I recommend that you get the files, run diff and merge, as needed (I often add new links to emacro.html, for example), then check in again, and commit. Here are the doc files that changed via commit: ? readme.txt ? to_do.html ? tips.html ? solutions.html ? release_procedures.txt ? release_notes.html ? manifest.html ? install.html ? index.html ? emacs.html ? credits.html On Thu, 24 Aug 2000, Vishwanathan wrote: > I finally managed to get hold of WINCVS and installed it and logged onto the > CVS repository and checked out the files. Now I unlocked a file and made > changes to it. When I tried to commit it CVS is cribbing :-( > > <snip> > cvs -z9 commit -m "Changed the credits file to use html tables. Handcoded > other html \nstuff also. P..." credits.html (in directory > D:\EMACRO\EMACRO\doc\) > cvs [server aborted]: "commit" requires write access to the repository > > *****CVS exited normally with code 1***** > </snip> > > What does this mean? Don't I have write perms on the repository? > > thanks > > vishy > > _______________________________________________ > Emacro-devel mailing list > Ema...@li... > http://lists.sourceforge.net/mailman/listinfo/emacro-devel > |
From: Vishwanathan <vi...@in...> - 2000-08-24 16:49:10
|
I finally managed to get hold of WINCVS and installed it and logged onto the CVS repository and checked out the files. Now I unlocked a file and made changes to it. When I tried to commit it CVS is cribbing :-( <snip> cvs -z9 commit -m "Changed the credits file to use html tables. Handcoded other html \nstuff also. P..." credits.html (in directory D:\EMACRO\EMACRO\doc\) cvs [server aborted]: "commit" requires write access to the repository *****CVS exited normally with code 1***** </snip> What does this mean? Don't I have write perms on the repository? thanks vishy |
From: Bruce I. <br...@co...> - 2000-08-24 01:48:26
|
I removed some stuff that imho is pretty obscure and/or obsolete. This is my local copy, and has not been checked in yet. I dropped the overall size from ~410K to 370K, particularly in files that are sure to get loaded. This means that at least 10% less is being loaded, although I trimmed many comments. This did _nothing_ to increase EMacro's load speed. I am sure that the smaller files will aid maintenance, however. I will have to go thru configure, disabling files one-by-one, where dependencies allow, to find where the bottleneck is. I've been using the "time" command, with an immediate C-x C-c. It should be available in cygwin on windows. I upgraded XEmacs to v21.1.12, and gnuserver/gnuclient is working again. It is blazingly fast (1/3 second) and transparent with my xedit shell script. I did some testing for gedit gnu emacs; it should work. I think it is available for ms windows, but I haven't tried it. Then again, forking a process on ms windows is bad news. |
From: Bruce I. <br...@co...> - 2000-08-23 22:50:36
|
I decided to change all possible byte-compile-if-newer-and-load() statements to compile-if-newer-and-require(). I haven't checked the code in yet, but I'm using it, and it seems stable, so far. Currently, compile-if-newer-and-require() just does a require(). I can't get it to automagically byte-compile, but as you see, that doesn't speed things up much. It's no faster than load-library(), but it checks that a feature has not been provided, before loading. Not bytecompiling is a mixed blessing. There are a few misleading warnings; I have thought of following them with message()s that tell the user to ignore them. However, the novice could have a messed up environment, and this could be usefully caught here. require() is also good defensive programming for a team effort, to prevent loading a library twice. For some reason, if I (require 'xemacs), it does not activate recent-files. Mysteriously, only (load-library "xemacs") works. |
From: bruce i. <bin...@pa...> - 2000-08-23 18:58:41
|
I don't think I'll get upset, if you freely chop up the documentation. The only things I feel strongly about are COPYING, for legal reasons, and that everyone get credit in credits.html. On Wed, 23 Aug 2000, Vishwanathan wrote: > I find this in the credits.html file. How relevant is it? > > For example, we are keeping gnus code to a minimum, as this can be > handled by a separate ~/.gnus file Get rid of it. I think I was experimenting with ways to get people interested in working on EMacro. I doubt this works, nor does anyone bother to read it, anyway. Less is more. |
From: Bruce I. <br...@co...> - 2000-08-23 15:06:04
|
Yup! I used to do some C and windoze programming :-) vishy From: "Jarmo" <ja...@ja...> SHELLEXECUTEINFO info; memset(&info, 0, sizeof(info)); info.cbSize = sizeof(info); info.lpFile = "c:\\WINNT\\SYSTEM32\\README.HTM"; ShellExecuteEx(&info); Would you like to take charge of eventually writing a small console app that invokes the default browser to open its command-line arg? Ex: c:\html-launch.exe index.html Maybe somebody has already written this somewhere. Hopefully, it is "free" software. Here again is some existing Windows support for emacs: http://www.gnusoftware.com/Emacs/ This would not be a rush, as presumably iexplore.exe will always be in the %PATH%, and will do the trick. Haven't tested Internet Explorer yet, though. |
From: Vishwanathan <vi...@in...> - 2000-08-23 14:52:34
|
I find this in the credits.html file. How relevant is it? For example, we are keeping gnus code to a minimum, as this can be handled by a separate ~/.gnus file thanks vishy |
From: Bruce I. <br...@co...> - 2000-08-23 14:51:39
|
Jan Borsodi wrote: > > >...you then turn them > > >on the menu(they are then automaticly started ) and save the > config, > > >the next time you start emacs your wanted packages are > > Unfortunately I could not get your code going for Xemacs and so > could never > > play around with it :-( Are you talking defcustom()? Sounds like you might be using gnu emacs menus, which are not portable to xemacs. The portable way is to use easy-menu.el, but I could never get it working. However, it should be easy to write xemacs menu code. I already have some in xemacs.el |
From: Vishwanathan <vi...@in...> - 2000-08-23 10:24:44
|
Yup! I used to do some C and windoze programming :-) vishy -----Original Message----- From: ema...@li... [mailto:ema...@li...]On Behalf Of Bruce Ingalls Sent: Wednesday, August 23, 2000 3:13 AM To: ema...@li... Subject: [Emacro-devel] w32 default browser Vishy- Do you do C/Windows programming? I got this answer from usenet, to avoid hacking the registry, altogether: From: "Jarmo" <ja...@ja...> SHELLEXECUTEINFO info; memset(&info, 0, sizeof(info)); info.cbSize = sizeof(info); info.lpFile = "c:\\WINNT\\SYSTEM32\\README.HTM"; ShellExecuteEx(&info); Perhaps it is possible for elisp to simply try to execute the html file on windows, but I don't think it is that easy. -- EMacro makes Emacs ftp://ftp.cppsig.org/pub/tools/emacs/ _______________________________________________ Emacro-devel mailing list Ema...@li... http://lists.sourceforge.net/mailman/listinfo/emacro-devel |
From: Bruce I. <br...@co...> - 2000-08-22 21:40:41
|
Vishy- Do you do C/Windows programming? I got this answer from usenet, to avoid hacking the registry, altogether: From: "Jarmo" <ja...@ja...> SHELLEXECUTEINFO info; memset(&info, 0, sizeof(info)); info.cbSize = sizeof(info); info.lpFile = "c:\\WINNT\\SYSTEM32\\README.HTM"; ShellExecuteEx(&info); Perhaps it is possible for elisp to simply try to execute the html file on windows, but I don't think it is that easy. -- EMacro makes Emacs ftp://ftp.cppsig.org/pub/tools/emacs/ |
From: bruce i. <bin...@pa...> - 2000-08-22 21:19:06
|
I discovered that you can call CVS from gnu emacs, but not xemacs on unix. Just drop down the tools menu. The XEmacs password menu is missing, and I reported this bug. I've not tried it on Windows. In any case, you would first need to create a local CVS "repository" (assuming I used this buzz word right). Once you start this off from the command line, it should work nicely via gnu emacs, anyway. On Tue, 22 Aug 2000, Vishwanathan wrote: > D:\home>cvs -dv...@em...:/cvsroot/emacro checkout > emacro > cvs [checkout aborted]: cannot start server via rcmd: Invalid argument > > I get the following error when I try to checkout files. Am I missing > something basic??? > > thanks > > vishy > > _______________________________________________ > Emacro-devel mailing list > Ema...@li... > http://lists.sourceforge.net/mailman/listinfo/emacro-devel > |
From: bruce i. <bin...@pa...> - 2000-08-22 17:42:09
|
Assuming that you did set %CVS_RSH%=ssh Heck, do this too: set %CVSROOT%=vis...@em...:/cvsroot/emacro now you should be able to just type cvs -z3 co emacro Note that the cvs command is "co", not "checkout". The "-d" flag just sets CVSROOT. The -z3 compression flag may be optional, for better performance. On Tue, 22 Aug 2000, Vishwanathan wrote: > D:\home>cvs -dv...@em...:/cvsroot/emacro checkout > emacro > cvs [checkout aborted]: cannot start server via rcmd: Invalid argument > > I get the following error when I try to checkout files. Am I missing > something basic??? > > thanks > > vishy > > _______________________________________________ > Emacro-devel mailing list > Ema...@li... > http://lists.sourceforge.net/mailman/listinfo/emacro-devel > |
From: bruce i. <bin...@pa...> - 2000-08-22 17:22:39
|
> > ctrl+shift+L: recolor buffer (if it gets messed up). > > ctrl+shift+F: disable/enable buffer colors. > > > > </snip> > > > > very neatly it tells the user what to expect with each of the key strokes. > > If you guys are unanimous I can adapt this convention for documenting the > > key bindings of emacro. > > > > comments welcome! > > > > looks ok to me, what about adding multiple keymappings in EMacro, some > users like the old Emacs way of doing things and don't want them changed, > some others like it the Windows way, some Gnome, others KDE etc.. This will please everyone, but it is more work. Definitely a future release. I suppose we could have a common keys.el, then preferences prompt: traditional emacs key mapping cua/ms windows key mapping kde key mapping (is this different from w32 or gnome?) mac borland, etc etc. |
From: bruce i. <bin...@pa...> - 2000-08-22 17:14:28
|
> > I had something like this in mind when I was talking of providing ability to > > supress features. I mean if we have a file in which I can provide a list of > > all the modes that I currently use, and Emacro just loads stuff related to > > that mode it will be simply great :-) > > the option package(i mentioned this in an earlier mail) of my .emacs does > exactly this, the default is to start no fancy packages, you then turn them > on the menu(they are then automaticly started ) and save the config, > the next time you start emacs your wanted packages are > started, but there are still are a lot of other configurations that can be > put into that bit. > It also does some checking to see if the package is available, if not the > menu item is grayed out. > I think this code is a good starting point... Looks that I need to discuss this now. Jan is comfortable with his code, so that certainly takes preference. Not having this code handy as I write, it would be possible to set flags in preferences.el, to disable the load-library() calls in configure.el. If you don't program in Perl, don't load programmer/e-perl.el, for example. I broke inet.el off from poweruser.el, which is still EMacro's largest module. I could probably find something more to split from programmer.el, which is a close second in size. Here are some other issues: I've noticed little penalty on 400MHz machines, which will soon be standard. On linux-like systems, you can run emacsserver/gnuserver, which starts new sessions faster than emacs -q (no .emacs). I'm not sure how well this works on Windows, if at all; I haven't tested it. |