├── .jasspa ├── company │ └── README.txt ├── contrib │ ├── ME_4_all.reg │ ├── bol_eol.emf │ ├── cygkeys.emf │ ├── hkgroovy.emf │ ├── jasspa-microemacs.desktop │ ├── mesetup.reg │ ├── myipipe.emf │ ├── readme.txt │ ├── sunkeys.emf │ └── user.emf ├── macros │ ├── 2dos.emf │ ├── 2mac.emf │ ├── 2unix.emf │ ├── 2win.emf │ ├── abbrev.emf │ ├── abbrlist.emf │ ├── ada.eaf │ ├── aix.emf │ ├── asmx86.etf │ ├── asn1.etf │ ├── asp.eaf │ ├── au3.eaf │ ├── au3.etf │ ├── benchmrk.emf │ ├── bibtex.etf │ ├── bookmark.emf │ ├── buffinit.emf │ ├── c.eaf │ ├── c.etf │ ├── calc.emf │ ├── cfind.emf │ ├── cfm.eaf │ ├── cfm.etf │ ├── charset.emf │ ├── charsutl.emf │ ├── clearcs.emf │ ├── cmacros.emf │ ├── cobol.etf │ ├── collapse.emf │ ├── comment.emf │ ├── cpp.eaf │ ├── cpp.etf │ ├── crosswd.emf │ ├── ctags.emf │ ├── cvs.emf │ ├── cygwin.emf │ ├── darwin.emf │ ├── dmf.emf │ ├── doc.etf │ ├── docmacro.emf │ ├── docutl.emf │ ├── dos.emf │ ├── draw.emf │ ├── ehftools.emf │ ├── emf.eaf │ ├── emf.etf │ ├── emftags.emf │ ├── etfinsrt.emf │ ├── euphor.eaf │ ├── euphor.etf │ ├── f.etf │ ├── f90.etf │ ├── fattrib.emf │ ├── favorite.emf │ ├── fileopen.emf │ ├── filetool.emf │ ├── filetype.emf │ ├── find.emf │ ├── fold.emf │ ├── format.emf │ ├── freebsd.emf │ ├── ftp.emf │ ├── games.emf │ ├── gdiff.emf │ ├── gentags.emf │ ├── h.etf │ ├── hkada.emf │ ├── hkapache.emf │ ├── hkasmx86.emf │ ├── hkasn1.emf │ ├── hkasp.eaf │ ├── hkasp.emf │ ├── hkau3.emf │ ├── hkawk.emf │ ├── hkbibtex.emf │ ├── hkbinary.emf │ ├── hkblist.emf │ ├── hkbnf.emf │ ├── hkc.eaf │ ├── hkc.emf │ ├── hkcfm.emf │ ├── hkcfms.emf │ ├── hkcobol.emf │ ├── hkcpp.eaf │ ├── hkcpp.emf │ ├── hkcss.emf │ ├── hkcygwin.emf │ ├── hkdiff.emf │ ├── hkdirlst.emf │ ├── hkdirtre.emf │ ├── hkdoc.emf │ ├── hkdos.emf │ ├── hkdot.emf │ ├── hkehf.emf │ ├── hkemf.eaf │ ├── hkemf.emf │ ├── hkerf.emf │ ├── hkeuphor.emf │ ├── hkf90.emf │ ├── hkfvwm.emf │ ├── hkhtml.eaf │ ├── hkhtml.emf │ ├── hkidl.emf │ ├── hkimake.emf │ ├── hkinfo.emf │ ├── hkini.emf │ ├── hkipipe.emf │ ├── hkiss.emf │ ├── hkjava.emf │ ├── hkjs.emf │ ├── hkjsp.eaf │ ├── hkjsp.emf │ ├── hkjst.eaf │ ├── hkjst.emf │ ├── hklatex.emf │ ├── hklhtml.emf │ ├── hklisp.emf │ ├── hklists.emf │ ├── hklua.emf │ ├── hkm4.emf │ ├── hkmake.emf │ ├── hkman.emf │ ├── hkmeta.emf │ ├── hkmhg.emf │ ├── hkmod2.emf │ ├── hknroff.eaf │ ├── hknroff.emf │ ├── hkpascal.emf │ ├── hkperl.emf │ ├── hkphp.eaf │ ├── hkphp.emf │ ├── hkphps.emf │ ├── hkpls.emf │ ├── hkpseudo.emf │ ├── hkpsf.emf │ ├── hkpython.emf │ ├── hkr.emf │ ├── hkreg.emf │ ├── hkruby.emf │ ├── hkrul.emf │ ├── hksamba.emf │ ├── hkscheme.emf │ ├── hksgml.emf │ ├── hkshell.emf │ ├── hkslang.emf │ ├── hkspec.emf │ ├── hksql.emf │ ├── hktcl.emf │ ├── hktexi.emf │ ├── hktxt.emf │ ├── hkvb.emf │ ├── hkverilg.emf │ ├── hkvhdl.emf │ ├── hkvrml.emf │ ├── hkwiki.emf │ ├── hkxml.emf │ ├── hkyacc.emf │ ├── hpp.etf │ ├── hpux.emf │ ├── html.eaf │ ├── html.etf │ ├── htmlcore.emf │ ├── htmltool.emf │ ├── htmlutil.emf │ ├── idl.etf │ ├── imake.etf │ ├── insdate.emf │ ├── irix.emf │ ├── itemlist.emf │ ├── java.eaf │ ├── java.etf │ ├── javatags.emf │ ├── js.eaf │ ├── js.etf │ ├── jsp.eaf │ ├── jst.eaf │ ├── jst.etf │ ├── jst2html.emf │ ├── jst2ltx.emf │ ├── jst2rtf.emf │ ├── jst2text.emf │ ├── jstags.emf │ ├── jstprint.erf │ ├── jstutl.emf │ ├── keyboard.emf │ ├── killlist.emf │ ├── language.emf │ ├── langutl.emf │ ├── latex.eaf │ ├── latex.etf │ ├── linux.emf │ ├── list.emf │ ├── mahjongg.emf │ ├── mail.emf │ ├── mailmerg.emf │ ├── majormod.emf │ ├── makefile.etf │ ├── matchit.edf │ ├── matchit.emf │ ├── me.ehf │ ├── me.emf │ ├── mecua.emf │ ├── meemacs.emf │ ├── melogo.emf │ ├── meme3_8.emf │ ├── menedit.emf │ ├── meserver.emf │ ├── metris.emf │ ├── mhg.etf │ ├── misc.emf │ ├── mod2.etf │ ├── mouse.emf │ ├── mouseosd.emf │ ├── mouserec.emf │ ├── msshift.emf │ ├── narrow.emf │ ├── newcomp.etf │ ├── newuser.emf │ ├── newuser.erf │ ├── newuser.etf │ ├── notes.emf │ ├── notesutl.emf │ ├── nroff.etf │ ├── ntags.emf │ ├── null │ ├── openbsd.emf │ ├── openstep.emf │ ├── organiza.emf │ ├── organizd.emf │ ├── organize.emf │ ├── organizi.emf │ ├── organizl.emf │ ├── organizm.emf │ ├── organizt.emf │ ├── organizw.emf │ ├── osd.emf │ ├── osdcua.emf │ ├── osdhelp.emf │ ├── osdmisc.emf │ ├── osdnedit.emf │ ├── osf1.emf │ ├── pagefile.emf │ ├── pascal.eaf │ ├── pascal.etf │ ├── password.emf │ ├── patience.emf │ ├── perl.eaf │ ├── perl.etf │ ├── perltags.emf │ ├── php.eaf │ ├── pls.eaf │ ├── pls.etf │ ├── print.emf │ ├── print.erf │ ├── printall.emf │ ├── printd.emf │ ├── printd.erf │ ├── printepc.emf │ ├── printeps.erf │ ├── printers.emf │ ├── printf.emf │ ├── printhpd.erf │ ├── printhpl.erf │ ├── printhtm.erf │ ├── printstp.emf │ ├── printwdw.erf │ ├── psf.etf │ ├── python.eaf │ ├── python.etf │ ├── rect.emf │ ├── ruby.etf │ ├── rul.etf │ ├── scheme.emf │ ├── schemeb.emf │ ├── schemebc.emf │ ├── schemebh.emf │ ├── schemech.emf │ ├── schemed.emf │ ├── schemegb.emf │ ├── schemege.emf │ ├── schemegg.emf │ ├── schemego.emf │ ├── schemej.emf │ ├── schemel.emf │ ├── schemelj.emf │ ├── schemelm.emf │ ├── schememd.emf │ ├── schememw.emf │ ├── schemepd.emf │ ├── schemepl.emf │ ├── schemes.emf │ ├── schemesf.emf │ ├── schemetb.emf │ ├── schemetw.emf │ ├── schemevi.emf │ ├── schemosd.emf │ ├── search.emf │ ├── session.emf │ ├── sessnstp.emf │ ├── sgml.eaf │ ├── spec.etf │ ├── spell.emf │ ├── spellaut.emf │ ├── spellutl.emf │ ├── ssaver.emf │ ├── sunos.emf │ ├── tcl.eaf │ ├── tcl.etf │ ├── tcltags.emf │ ├── textags.emf │ ├── toolbar.emf │ ├── tooldef.emf │ ├── toollist.emf │ ├── tools.emf │ ├── toolstd.emf │ ├── toolstp.emf │ ├── triangle.emf │ ├── txt.eaf │ ├── unixterm.emf │ ├── userstp.emf │ ├── utils.emf │ ├── vbtags.emf │ ├── vhdl.eaf │ ├── vhdl.etf │ ├── vm.emf │ ├── watch.emf │ ├── win32.emf │ ├── word.emf │ ├── xfind.emf │ ├── xml.etf │ ├── xmlutil.emf │ ├── yacc.etf │ ├── zaurus.emf │ └── zfile.emf ├── pixmaps │ ├── me.l.pm │ ├── me.m.pm │ ├── me.t.pm │ ├── me.xpm │ ├── me_128.png │ ├── me_gnome_48.png │ ├── me_l.png │ ├── me_m.png │ ├── me_s.png │ ├── mini-me.xpm │ ├── ne.xpm │ ├── ne_l.png │ ├── ne_m.png │ └── ne_s.png └── spelling │ └── README.txt ├── COPYING ├── LICENSE ├── build.txt ├── change.log ├── cygwin.txt ├── docs ├── README.md └── _config.yml ├── faq.txt ├── infolist.txt ├── license.txt ├── memsdev ├── commands.cpp ├── commands.h ├── dsaddin.cpp ├── dsaddin.h ├── maindialog.cpp ├── maindialog.h ├── memsdev.aps ├── memsdev.clw ├── memsdev.cpp ├── memsdev.def ├── memsdev.dsp ├── memsdev.dsw ├── memsdev.h ├── memsdev.odl ├── memsdev.rc ├── memsdev.txt ├── readme.txt ├── res │ ├── bitmap1.bmp │ ├── memsdev.rc2 │ ├── tbarlrge.bmp │ └── tbarmedm.bmp ├── resource.h ├── response.cpp ├── response.h ├── stdafx.cpp └── stdafx.h ├── msdev6 ├── memsdev6.dsp └── memsdev6.dsw ├── patch.txt ├── readme.txt └── src ├── abbrev.c ├── aix4.gmk ├── aix4.mak ├── aix5.gmk ├── aix5.mak ├── basic.c ├── bfs.c ├── bfs.h ├── bind.c ├── buffer.c ├── build ├── build.bat ├── build.txt ├── crypt.c ├── cygwin.gmk ├── cygwin.txt ├── darwin.gmk ├── dirlist.c ├── display.c ├── dosdj1.mak ├── dosdj2.mak ├── dosterm.c ├── ebind.def ├── ebind.h ├── edef.h ├── eextrn.h ├── efunc.def ├── efunc.h ├── emain.h ├── emode.def ├── emode.h ├── eopt.h ├── eprint.def ├── eprint.h ├── esearch.h ├── eskeys.def ├── eskeys.h ├── estruct.h ├── eterm.h ├── etermcap.def ├── eval.c ├── evar.def ├── evar.h ├── evers.h ├── exec.c ├── faq.txt ├── file.c ├── fileio.c ├── frame.c ├── freebsd.gmk ├── freebsd.mak ├── hilight.c ├── history.c ├── hpux10.gmk ├── hpux10.mak ├── hpux11.gmk ├── hpux11.mak ├── hpux9.gmk ├── hpux9.mak ├── icon_me.ico ├── icon_ne.ico ├── infolist.txt ├── input.c ├── irix5.gmk ├── irix5.mak ├── irix6.gmk ├── irix6.mak ├── isearch.c ├── key.c ├── line.c ├── linux2.gmk ├── linux26.gmk ├── macro.c ├── main.c ├── me.rc ├── me32.bmp ├── memsvc20.rc ├── mingw.gmk ├── mingw32.gmk ├── narrow.c ├── ncmsvc20.rc ├── ne.rc ├── ne32.bmp ├── nec.rc ├── nemsvc20.rc ├── next.c ├── openbsd.gmk ├── openstep.mak ├── osd.c ├── osf1.gmk ├── patch.txt ├── print.c ├── random.c ├── readme.txt ├── regex.c ├── region.c ├── registry.c ├── search.c ├── spawn.c ├── spell.c ├── suncsw.mak ├── suncsw86.mak ├── sunos5.gmk ├── sunos5.mak ├── sunosx86.gmk ├── sunosx86.mak ├── tag.c ├── termio.c ├── time.c ├── undo.c ├── unixterm.c ├── win32b55.mak ├── win32bc.mak ├── win32s ├── methnk16.c ├── methnk16.def ├── methnk16.dll ├── readme.txt ├── w32sut.h ├── w32sut16.lib ├── w32sut32.lib └── win16.mak ├── win32sv2.mak ├── win32sv4.mak ├── win32v2.mak ├── win32v5.mak ├── win32v6.mak ├── win32v8.mak ├── window.c ├── winprint.c ├── winterm.c ├── winterm.h ├── wintermr.h ├── word.c └── zaurus.gmk /.jasspa/company/README.txt: -------------------------------------------------------------------------------- 1 | > -!- document -!- 2 | > This is part of the JASSPA MicroEmacs macro files 3 | > Copyright (C) 2004 JASSPA (www.jasspa.com) 4 | > See the file COPYING for copying and conditions. 5 | > 6 | 7 | Place your company wide information in this directory. The 8 | directory may be defined as follows: 9 | 10 | comany.emf 11 | 12 | Typically there is a file called "company.emf" which is 13 | executed at start-up by all users. This file should contain a 14 | formal company name which is used for populating all 15 | templates. 16 | 17 | set-variable %company-name "Acme Industries Inc." 18 | 19 | *.etf 20 | 21 | Template files for new file headers. Copy the *.etf files 22 | from the "macro" directory and modify to the style used by 23 | the company. 24 | 25 | *.emf 26 | 27 | Add macro files that are used on a company basis, typically 28 | private file formats etc. The "company.emf" would include 29 | hooks for the template i.e. 30 | 31 | add-file-hook ".myf" fhook-myfile 32 | 33 | The company directory would include the macro definition i.e. 34 | 35 | hkmyfile.emf 36 | 37 | This file type is then defined for all users who use the 38 | company file. 39 | -------------------------------------------------------------------------------- /.jasspa/contrib/ME_4_all.reg: -------------------------------------------------------------------------------- 1 | REGEDIT4 2 | 3 | [HKEY_CLASSES_ROOT\*\shell] 4 | 5 | [HKEY_CLASSES_ROOT\*\shell\MicroEmacs Edit] 6 | 7 | [HKEY_CLASSES_ROOT\*\shell\MicroEmacs Edit\command] 8 | @="me32.exe -c -o \"%1\"" 9 | -------------------------------------------------------------------------------- /.jasspa/contrib/jasspa-microemacs.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Version=1.0 4 | Name=JASSPA MicroEmacs 5 | GenericName=Text Editor 6 | Comment=Emacs Text Editor 7 | Icon=/usr/share/jasspa/pixmaps/me_gnome_48.png 8 | TryExec=me 9 | Exec=me %F 10 | Terminal=false 11 | MimeType=text/plain; 12 | Categories=Development;TextEditor; 13 | StartupWMClass=MicroEmacs 14 | -------------------------------------------------------------------------------- /.jasspa/contrib/myipipe.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2006 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Over-riding the ipipe behaviour 7 | ; Authors: Steve Phillips & Jon Green 8 | 9 | ; Macro to exchange the current buffer scroll mode setting on entering the 10 | ; buffer. 11 | 0 define-macro bhook-ipipe 12 | ; Save the other context. Resrote local context. 13 | set-variable :oscroll $scroll 14 | set-variable $scroll :scroll 15 | !emacro 16 | 17 | ; Macro to restore the buffer scroll mode setting on leaving the buffer. 18 | 0 define-macro ehook-ipipe 19 | ; Restore existing context 20 | set-variable :scroll $scroll 21 | set-variable $scroll :oscroll 22 | !emacro 23 | 24 | ; Macro to redefine the wrapping behavior of the *compile* buffer and disable 25 | ; word wrapping. 26 | 0 define-macro my-fhook-ipipe 27 | ; Default scroll mode - simply copy in the current scroll mode. 28 | set-variable :scroll $scroll 29 | 30 | ; Determine what type of buffer we want to over-ride. 31 | !if &seq $buffer-bname "*compile*" 32 | ; Smooth scroll in *compile* buffer 33 | set-variable :scroll &bor 0x10 &band $scroll 0x0f 34 | ; Disable word wraping 35 | -1 buffer-mode "wrap" 36 | !endif 37 | !if &seq $buffer-bname "*grep*" 38 | ; Smooth scroll in *grep* buffer 39 | set-variable :scroll &bor 0x10 &band $scroll 0x0f 40 | !endif 41 | !if &seq $buffer-bname "*icommand*" 42 | ; Smooth scroll in *icommand* buffer 43 | set-variable :scroll &bor 0x10 &band $scroll 0x0f 44 | !endif 45 | !emacro 46 | 47 | 48 | -------------------------------------------------------------------------------- /.jasspa/macros/2dos.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: To dos text file conversion routine. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me [-B] "@2dos" 11 | ; 12 | ; set the default so empty files are handled correctly 13 | 1 global-mode "cr" 14 | 1 global-mode "lf" 15 | -1 global-mode "ctrlz" 16 | define-macro start-up 17 | delete-other-windows 18 | !while ¬ &seq $buffer-bname "*scratch*" 19 | set-variable #l2 0 20 | !if &band $buffer-fmod 0x10000 21 | set-variable #l0 "Directory, skip" 22 | !elif &band $buffer-fmod 0x80000 23 | set-variable #l0 "Binary, skip" 24 | !else 25 | set-variable #l3 &add &add &bmod "cr" &mul &bmod "lf" 2 &mul &bmod "ctrlz" 4 26 | set-variable #l0 &mid "Strange0Unix Mac Windows Strange4Strange5Strange6Dos" &mul #l3 8 8 27 | !if &seq &rig #l0 -1 " " 28 | set-variable #l0 &lef #l0 -1 29 | !jump -2 30 | !endif 31 | !if &band $buffer-fmod 0x100000 32 | set-variable #l0 &cat #l0 " (bad), fix" 33 | set-variable #l2 1 34 | !elif &sub #l3 7 35 | set-variable #l0 &cat #l0 ", fix" 36 | set-variable #l2 1 37 | !else 38 | set-variable #l0 &cat #l0 ", okay" 39 | !endif 40 | !endif 41 | !if &band $system 0x1000000 42 | -1 ml-write &cat &cat $buffer-fname " - " #l0 43 | !else 44 | ml-write &cat &cat &cat &cat "[Processing \"" $buffer-fname "\" - " #l0 "]" 45 | !endif 46 | !if #l2 47 | ; flag as a unix file and as edited, then save 48 | 1 buffer-mode "cr" 49 | 1 buffer-mode "lf" 50 | 1 buffer-mode "ctrlz" 51 | 1 buffer-mode "edit" 52 | 0 save-buffer 53 | !endif 54 | delete-buffer $buffer-bname 55 | !done 56 | exit-emacs 57 | !emacro 58 | -------------------------------------------------------------------------------- /.jasspa/macros/2mac.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2006 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: 2006-10-20 7 | ; Synopsis: To Mac text file conversion routine. 8 | ; Authors: Steven Phillips 9 | ; 10 | ; Usage: 11 | ; me [-B] "@2mac" 12 | ; 13 | ; set the default so empty files are handled correctly 14 | -1 global-mode "cr" 15 | 1 global-mode "lf" 16 | -1 global-mode "ctrlz" 17 | define-macro start-up 18 | delete-other-windows 19 | !while ¬ &seq $buffer-bname "*scratch*" 20 | set-variable #l2 0 21 | !if &band $buffer-fmod 0x10000 22 | set-variable #l0 "Directory, skip" 23 | !elif &band $buffer-fmod 0x80000 24 | set-variable #l0 "Binary, skip" 25 | !else 26 | set-variable #l3 &add &add &bmod "cr" &mul &bmod "lf" 2 &mul &bmod "ctrlz" 4 27 | set-variable #l0 &mid "Strange0Unix Mac Windows Strange4Strange5Strange6Dos" &mul #l3 8 8 28 | !if &seq &rig #l0 -1 " " 29 | set-variable #l0 &lef #l0 -1 30 | !jump -2 31 | !endif 32 | !if &band $buffer-fmod 0x100000 33 | set-variable #l0 &cat #l0 " (bad), fix" 34 | set-variable #l2 1 35 | !elif &sub #l3 2 36 | set-variable #l0 &cat #l0 ", fix" 37 | set-variable #l2 1 38 | !else 39 | set-variable #l0 &cat #l0 ", okay" 40 | !endif 41 | !endif 42 | !if &band $system 0x1000000 43 | -1 ml-write &cat &cat $buffer-fname " - " #l0 44 | !else 45 | ml-write &cat &cat &cat &cat "[Processing \"" $buffer-fname "\" - " #l0 "]" 46 | !endif 47 | !if #l2 48 | ; flag as a unix file and as edited, then save 49 | -1 buffer-mode "cr" 50 | 1 buffer-mode "lf" 51 | -1 buffer-mode "ctrlz" 52 | 1 buffer-mode "edit" 53 | 0 save-buffer 54 | !endif 55 | delete-buffer $buffer-bname 56 | !done 57 | exit-emacs 58 | !emacro 59 | -------------------------------------------------------------------------------- /.jasspa/macros/2unix.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: To unix text file conversion routine. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me [-B] "@2unix" 11 | ; 12 | ; set the default so empty files are handled correctly 13 | 1 global-mode "cr" 14 | -1 global-mode "lf" 15 | -1 global-mode "ctrlz" 16 | define-macro start-up 17 | delete-other-windows 18 | !while ¬ &seq $buffer-bname "*scratch*" 19 | set-variable #l2 0 20 | !if &band $buffer-fmod 0x10000 21 | set-variable #l0 "Directory, skip" 22 | !elif &band $buffer-fmod 0x80000 23 | set-variable #l0 "Binary, skip" 24 | !else 25 | set-variable #l3 &add &add &bmod "cr" &mul &bmod "lf" 2 &mul &bmod "ctrlz" 4 26 | set-variable #l0 &mid "Strange0Unix Mac Windows Strange4Strange5Strange6Dos" &mul #l3 8 8 27 | !if &seq &rig #l0 -1 " " 28 | set-variable #l0 &lef #l0 -1 29 | !jump -2 30 | !endif 31 | !if &band $buffer-fmod 0x100000 32 | set-variable #l0 &cat #l0 " (bad), fix" 33 | set-variable #l2 1 34 | !elif &sub #l3 1 35 | set-variable #l0 &cat #l0 ", fix" 36 | set-variable #l2 1 37 | !else 38 | set-variable #l0 &cat #l0 ", okay" 39 | !endif 40 | !endif 41 | !if &band $system 0x1000000 42 | -1 ml-write &cat &cat $buffer-fname " - " #l0 43 | !else 44 | ml-write &cat &cat &cat &cat "[Processing \"" $buffer-fname "\" - " #l0 "]" 45 | !endif 46 | !if #l2 47 | ; flag as a unix file and as edited, then save 48 | 1 buffer-mode "cr" 49 | -1 buffer-mode "lf" 50 | -1 buffer-mode "ctrlz" 51 | 1 buffer-mode "edit" 52 | 0 save-buffer 53 | !endif 54 | delete-buffer $buffer-bname 55 | !done 56 | exit-emacs 57 | !emacro 58 | -------------------------------------------------------------------------------- /.jasspa/macros/2win.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: To Windows text file conversion routine. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me [-B] "@2win" 11 | ; 12 | ; set the default so empty files are left alone 13 | 1 global-mode "cr" 14 | 1 global-mode "lf" 15 | -1 global-mode "ctrlz" 16 | define-macro start-up 17 | delete-other-windows 18 | !while ¬ &seq $buffer-bname "*scratch*" 19 | set-variable #l2 0 20 | !if &band $buffer-fmod 0x10000 21 | set-variable #l0 "Directory, skip" 22 | !elif &band $buffer-fmod 0x80000 23 | set-variable #l0 "Binary, skip" 24 | !else 25 | set-variable #l3 &add &add &bmod "cr" &mul &bmod "lf" 2 &mul &bmod "ctrlz" 4 26 | set-variable #l0 &mid "Strange0Unix Mac Windows Strange4Strange5Strange6Dos" &mul #l3 8 8 27 | !if &seq &rig #l0 -1 " " 28 | set-variable #l0 &lef #l0 -1 29 | !jump -2 30 | !endif 31 | !if &band $buffer-fmod 0x100000 32 | set-variable #l0 &cat #l0 " (bad), fix" 33 | set-variable #l2 1 34 | !elif &sub #l3 3 35 | set-variable #l0 &cat #l0 ", fix" 36 | set-variable #l2 1 37 | !else 38 | set-variable #l0 &cat #l0 ", okay" 39 | !endif 40 | !endif 41 | !if &band $system 0x1000000 42 | -1 ml-write &cat &cat $buffer-fname " - " #l0 43 | !else 44 | ml-write &cat &cat &cat &cat "[Processing \"" $buffer-fname "\" - " #l0 "]" 45 | !endif 46 | !if #l2 47 | ; flag as a unix file and as edited, then save 48 | 1 buffer-mode "cr" 49 | 1 buffer-mode "lf" 50 | -1 buffer-mode "ctrlz" 51 | 1 buffer-mode "edit" 52 | 0 save-buffer 53 | !endif 54 | delete-buffer $buffer-bname 55 | !done 56 | exit-emacs 57 | !emacro 58 | -------------------------------------------------------------------------------- /.jasspa/macros/abbrev.emf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/abbrev.emf -------------------------------------------------------------------------------- /.jasspa/macros/ada.eaf: -------------------------------------------------------------------------------- 1 | be "begin\r\T\p\rend;\P" 2 | ca "case \p of\rend;\P" 3 | el "else\rbegin\r\T\p\rend;\P" 4 | fo "for \p in do\rbegin\rend;\P" 5 | fu "function \p ( );\rbegin\rend;\P" 6 | if "if \p then\rbegin\rend;\P" 7 | pr "procedure \p ( );\rbegin\rend;\P" 8 | re "repeat\r\T\p\runtil ;\P" 9 | wh "while \p do\rbegin\rend;\P" 10 | wi "with \p do\rbegin\rend;\P" 11 | wr "writeln (\p);\P" 12 | 13 | -------------------------------------------------------------------------------- /.jasspa/macros/aix.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for IBM AIX boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "\"%f\", line %l" 15 | ; gcc compiler 16 | add-next-line "*compile*" "%f:%l:" 17 | 18 | -------------------------------------------------------------------------------- /.jasspa/macros/asmx86.etf: -------------------------------------------------------------------------------- 1 | # -!- asmx86 -!- ########################################################### 2 | # 3 | # System : 4 | # Module : 5 | # Object Name : $RCSfile$ 6 | # Revision : $Revision$ 7 | # Date : $Date$ 8 | # Author : $Author$ 9 | # Created By : $USER_NAME$ 10 | # Created : $ASCII_TIME$ 11 | # Last Modified : <090829.1746> 12 | # 13 | # Description 14 | # 15 | # Notes 16 | # 17 | # History 18 | # 19 | ############################################################################# 20 | # 21 | # Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | # 23 | # All Rights Reserved. 24 | # 25 | # This document may not, in whole or in part, be copied, photocopied, 26 | # reproduced, translated, or reduced to any electronic medium or machine 27 | # readable form without prior written consent from $COMPANY_NAME$. 28 | # 29 | ############################################################################# 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/asn1.etf: -------------------------------------------------------------------------------- 1 | -- -!- asn.1 -!- ============================================================- 2 | -- 3 | -- System : 4 | -- Module : 5 | -- Object Name : $RCSfile$ 6 | -- Revision : $Revision$ 7 | -- Date : $Date$ 8 | -- Author : $Author$ 9 | -- Created By : $USER_NAME$ 10 | -- Created : $ASCII_TIME$ 11 | -- Last Modified : <090829.1746> 12 | -- 13 | -- Description 14 | -- 15 | -- Notes 16 | -- 17 | -- History 18 | -- 19 | --=========================================================================== 20 | -- 21 | -- Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | -- 23 | -- All Rights Reserved. 24 | -- 25 | -- This document may not, in whole or in part, be copied, photocopied, 26 | -- reproduced, translated, or reduced to any electronic medium or machine 27 | -- readable form without prior written consent from $COMPANY_NAME$. 28 | -- 29 | --=========================================================================== 30 | -------------------------------------------------------------------------------- /.jasspa/macros/asp.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/au3.eaf: -------------------------------------------------------------------------------- 1 | If "If \p Then\r\rEndIf\r\P" 2 | Se "Select\rCase \p\rCase\rEndSelect\r\P" 3 | Fo "For $i = \p To . Step 1\r\rNext\r\P" 4 | Wh "While \p\r\rWEnd\r\P" 5 | Do "Do\r\rUntil " 6 | Fu "Func \p\r\rEndFunc\r\P" 7 | -------------------------------------------------------------------------------- /.jasspa/macros/au3.etf: -------------------------------------------------------------------------------- 1 | ; -*- Autoit3 -*- 2 | ; 3 | ; Copyright $YEAR$ $COMPANY_NAME$. 4 | ; All Rights Reserved 5 | ; 6 | ; System : $BUFFER_NAME$ : 7 | ; Module : 8 | ; Object Name : $RCS_FILE$ 9 | ; Revision : $REVISION$ 10 | ; Date : $ASCII_TIME$ 11 | ; Author : $USER_NAME$ 12 | ; Created By : $USER_NAME$, $COMPANY_NAME$ 13 | ; Created : $ASCII_TIME$ 14 | ; Last Modified : <090829.1746> 15 | ; 16 | ; History : 17 | ; 18 | 19 | 20 | -------------------------------------------------------------------------------- /.jasspa/macros/bibtex.etf: -------------------------------------------------------------------------------- 1 | @ARTICLE{ 2 | author = {$USER_NAME$}, 3 | year = {$YEAR$}, 4 | title = {A}, 5 | journal = {A}, 6 | volume = {n}, 7 | pages = {n-n}, 8 | } 9 | -------------------------------------------------------------------------------- /.jasspa/macros/c.eaf: -------------------------------------------------------------------------------- 1 | "" "\ecCText Insertion\ecA" 2 | #i "#include <\p>\r\P" " #include" 3 | #d "#define " " #define" 4 | if "if(\p)\r{\r\r}\r\P" " if()" 5 | ef "else if(\p)\r{\r\r}\r\P" " else if()" 6 | el "else\r{\r\p\r}\r\P" " else" 7 | sw "switch(\p)\r{\rcase :\rdefault:\r}\r\P" " switch()" 8 | wh "while(\p)\r{\r\r}\r\P" " while()" 9 | 10 | -------------------------------------------------------------------------------- /.jasspa/macros/c.etf: -------------------------------------------------------------------------------- 1 | /* -*- C -*- **************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1746> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | static const char rcsid[] = "@(#) : $Id$"; 32 | 33 | 34 | -------------------------------------------------------------------------------- /.jasspa/macros/cfind.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2007 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: 2007-10-17 7 | ; Synopsis: Command-line wrapper for ME based find and grep commands 8 | ; Authors: Steven Phillips 9 | ; 10 | ; Notes: 11 | ; 12 | ; The following vars must be set (.arg0...argn via option -f): 13 | ; .about.argn - Numeric argument to give the command 14 | ; .about.arg0 - Must be set to find, grep or replace-string-in-files 15 | ; .about.arg1 - first argument for the command 16 | ; .about.arg2 - second argument for the command (if required) 17 | ; .about.arg3 - second argument for the command (if required etc) 18 | ; 19 | !if ¬ &exi .about.arg0 20 | -1 ml-write "Error: Find command not set" 21 | 0 exit-emacs 22 | !elif &seq .about.arg1 "ERROR" 23 | -1 ml-write &spr "Error: Arguments for the %s command not given" .about.arg0 24 | 0 exit-emacs 25 | !elif &seq &find $user-name ".erf" "ERROR" 26 | -1 ml-write &spr "Error: Failed to find ME registry for \"%s\"" $user-name 27 | 0 exit-emacs 28 | !endif 29 | !force read-registry "/history" $user-name "c" 30 | set-variable $kept-versions ® &spr "/history/%s/kept-vers" $platform "0" 31 | set-variable $file-ignore ® &spr "/history/%s/file-ignore" $platform "" 32 | 33 | 0 define-macro-file buffinit buffer-init buffer-init-fhook buffer-bind-create fhook-default 34 | 0 define-macro-file utils frame-handle ascii-time var-str-sub str-to-regex filemask-to-regex copy-registry create-file-path 35 | 0 define-macro exec-file 36 | set-variable .first 1 37 | !force @# execute-file @1 38 | !if $status 39 | !return 40 | !endif 41 | !if .first 42 | !if &seq &set #l0 &find @1 ".emf" "ERROR" 43 | ml-write &spr "[Failed to find Macro file %s.emf]" @1 44 | !else 45 | find-file #l0 46 | !force execute-buffer $buffer-bname 47 | ml-write &spr "[Error found in Macro file %s, line %d]" #l0 $window-line 48 | !endif 49 | set-variable .first 0 50 | !endif 51 | !abort 52 | !emacro 53 | set-variable .osd.tmp 40 54 | set-variable .osd.next &cond &exi .osd.next .osd.next &add .osd.tmp 1 55 | 0 exec-file "find" 56 | 57 | define-macro start-up 58 | set-variable $buffer-fname &stat a "." 59 | ml-write &spr "Exec: [%s] [%s] [%s] [%s] [%s] [%s]" .about.arg0 .about.arg1 .about.arg2 .about.arg3 .about.arg4 .about.arg5 60 | ml-write &cat "Find from dir: " $buffer-fname 61 | !if &exi .about.argn 62 | .about.argn execute-named-command .about.arg0 .about.arg1 .about.arg2 .about.arg3 .about.arg4 .about.arg5 63 | !else 64 | execute-named-command .about.arg0 .about.arg1 .about.arg2 .about.arg3 .about.arg4 .about.arg5 65 | !endif 66 | 0 exit-emacs 67 | !emacro 68 | -------------------------------------------------------------------------------- /.jasspa/macros/cfm.etf: -------------------------------------------------------------------------------- 1 | 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/charset.emf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/charset.emf -------------------------------------------------------------------------------- /.jasspa/macros/cobol.etf: -------------------------------------------------------------------------------- 1 | * -*- cobol -*- ************************************************************ 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1747> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | **************************************************************************** 30 | -------------------------------------------------------------------------------- /.jasspa/macros/cpp.eaf: -------------------------------------------------------------------------------- 1 | #i "#include <\p>\r\P" 2 | #d "#define " 3 | if "if(\p)\r{\r\r}\r\P" 4 | ef "else if(\p)\r{\r\r}\r\P" 5 | el "else\r{\r\p\r}\r\P" 6 | wh "while(\p)\r{\r\r}\r\P" 7 | sw "switch(\p)\r{\rcase :\rdefault:\r}\r\P" 8 | -------------------------------------------------------------------------------- /.jasspa/macros/cpp.etf: -------------------------------------------------------------------------------- 1 | // -!- C++ -!- ////////////////////////////////////////////////////////////// 2 | // 3 | // System : 4 | // Module : 5 | // Object Name : $RCSfile$ 6 | // Revision : $Revision$ 7 | // Date : $Date$ 8 | // Author : $Author$ 9 | // Created By : $USER_NAME$ 10 | // Created : $ASCII_TIME$ 11 | // Last Modified : <090829.1747> 12 | // 13 | // Description 14 | // 15 | // Notes 16 | // 17 | // History 18 | // 19 | ///////////////////////////////////////////////////////////////////////////// 20 | // 21 | // Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | // 23 | // All Rights Reserved. 24 | // 25 | // This document may not, in whole or in part, be copied, photocopied, 26 | // reproduced, translated, or reduced to any electronic medium or machine 27 | // readable form without prior written consent from $COMPANY_NAME$. 28 | // 29 | ////////////////////////////////////////////////////////////////////////////// 30 | 31 | static const char rcsid[] = "@(#) : $Id$"; 32 | 33 | -------------------------------------------------------------------------------- /.jasspa/macros/cygwin.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2001-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Nov 2001 7 | ; Synopsis: setup file for Cygwin installation boxes 8 | ; Authors: Jon Green 9 | ; 10 | ; Load up common unix stuff (colors, templates, grep, RCS, mail) 11 | !force exec-file "unixterm" 12 | ; no vt100-nam on linux, this may cause problems in an ishell 13 | set-variable %ipipe-term "TERM=vt100" 14 | ;--- COMSHELL 15 | ; As command.com's prompt echoing is broken ishell is useless without 16 | ; the following 2 variables which enable ME's command-line support 17 | ; NOTE - if you use a different prompt (i.e. not "PATH>") then you 18 | ; must configure .ishell.prompt appropriately 19 | set-variable .ishell.prompt "^[^>\n]*>" 20 | set-variable .ishell.noecho "1" 21 | ;--- CYGWIN 22 | ; Cygwin environment may not have a $SHELL variable defined. 23 | ; Define the shell if not defined. 24 | !if &seq $SHELL "ERROR" 25 | set-variable $SHELL /bin/bash 26 | !endif 27 | ; Try to find cygwin automatically. We need to identify where cygwin exists 28 | ; in the file system as information received from BASH is DOS drive 29 | ; information that is converted into cygwin space. 30 | !if ¬ &exi %cygwin-path 31 | !if &seq "D" &stat "t" "c:/cygwin" 32 | set-variable %cygwin-path "c:/cygwin" 33 | !endif 34 | !endif 35 | ; Wrapper to define cygwin macro, this is based on the Win32 version, our 36 | ; path information is a little different so we adjust. 37 | define-macro cygwin 38 | !if &seq %cygwin-path "ERROR" 39 | ; Bitch if the environment is not defined. 40 | 5000 ml-write "[Error: %cygwin-path not set - see hkcygwin.emf]" 41 | !abort 42 | ; See if bash exists. 43 | !elif &seq "R" &stat "t" &cat %cygwin-path "/bin/bash.exe" 44 | ; Load the macro file and execute the cygwin session. 45 | !force exec-file "hkcygwin" 46 | !if $status 47 | cygwin 48 | !endif 49 | !else 50 | 5000 ml-write &spr "[Error: Cannot find bash program. %s]" "/bin/bash.exe" 51 | !abort 52 | !endif 53 | !emacro 54 | ; Define the info path for cygwin. 55 | !if ¬ &exi $INFOPATH 56 | set-variable $INFOPATH "/usr/share/info" 57 | !endif 58 | ; Compile stuff 59 | 0 add-next-line "*compile*" 60 | add-next-line "*compile*" "%f:%l:" 61 | ; 62 | ; Diff stuff; Cygwin uses GNU diff so set this up for all Cygwin 63 | ; platforms. Nobody is going to change this are they ?? 64 | ; 65 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 66 | ; 67 | ; Set up the info path 68 | ; 69 | !if ¬ &exi $INFOPATH 70 | set-variable $INFOPATH "/usr/info" 71 | !endif 72 | -------------------------------------------------------------------------------- /.jasspa/macros/darwin.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for Darwin (Mac OS X) boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "%f:%l:" 15 | ; 16 | ; Diff stuff; FreeBSD uses GNU diff so set this up for all 17 | ; platforms. Nobody is going to change this are they ?? 18 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 19 | -------------------------------------------------------------------------------- /.jasspa/macros/doc.etf: -------------------------------------------------------------------------------- 1 | > -!- document -!- 2 | > 3 | > Copyright $YEAR$ $COMPANY_NAME$. 4 | > 5 | > Created By : $USER_NAME$ 6 | > Created : $ASCII_TIME$ 7 | > Last Modified : <160495.1521> 8 | > 9 | -------------------------------------------------------------------------------- /.jasspa/macros/docutl.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Mon Jan 14 2002 7 | ; Synopsis: Common document macros. 8 | ; Authors: Jon Green & Steven Phillips 9 | ; 10 | ; Notes: broken out of docmacro.emf 11 | ; 12 | !if ¬ &exist .osd.doc-stat 13 | set-variable .osd.doc-stat &pinc .osd.next 1 14 | !endif 15 | -1 osd .osd.doc-stat 16 | osd .osd.doc-stat 0 "batcDH" 9 3 99 .scheme.osd-title "Current Mode Settings" 17 | osd .osd.doc-stat 3 "" 18 | osd .osd.doc-stat 7 "" 19 | osd .osd.doc-stat 11 "" 20 | osd .osd.doc-stat 99 "BcfH" .scheme.osd-ebtt " \HOK " f void 21 | 22 | define-macro doc-mode-state 23 | osd .osd.doc-stat 4 "" &spr " Filling to column : %d " $buffer-fill-col 24 | osd .osd.doc-stat 5 "" &spr " Justification Mode: %s " $buffer-fill-mode 25 | set-variable #l0 "Unknown mode, default to left:NAuto-detect All (L/R/C):OAuto-detect One for word-processor:BAuto-detect Both (R/C):LAuto-detect Left:RAuto-detect Right:CAuto-detect Center:nNone:bBoth justify (L/R):lLeft:rRight:cCenter:oOne for word-processor:" 26 | set-variable #l0 &rig #l0 &add 1 &sin &cat ":" $buffer-fill-mode #l0 27 | set-variable #l0 &lef #l0 &sub &sin ":" #l0 1 28 | osd .osd.doc-stat 6 "" &spr " %s " #l0 29 | osd .osd.doc-stat 8 "" &spr " Ignore characters : %s " $fill-ignore 30 | osd .osd.doc-stat 9 "" &spr " Bullet characters : %s " $fill-bullet 31 | osd .osd.doc-stat 10 "" &spr " Bullet lookahead : %d " $fill-bullet-len 32 | .osd.doc-stat osd 33 | !emacro 34 | 35 | 0 define-macro doc-set-justify 36 | set-variable $buffer-fill-mode &mid "BBCLnR" @# 1 37 | doc-mode-state 38 | !emacro 39 | 40 | define-macro fill-paragraph-center 41 | set-variable #l1 $buffer-fill-mode 42 | set-variable $buffer-fill-mode "c" 43 | !force !force @# fill-paragraph 44 | set-variable $buffer-fill-mode #l1 45 | !emacro 46 | 47 | define-macro fill-paragraph-left 48 | set-variable #l1 $buffer-fill-mode 49 | set-variable $buffer-fill-mode "l" 50 | !force !force @# fill-paragraph @mna 51 | set-variable $buffer-fill-mode #l1 52 | !emacro 53 | 54 | define-macro fill-paragraph-right 55 | set-variable #l1 $buffer-fill-mode 56 | set-variable $buffer-fill-mode "r" 57 | !force !force @# fill-paragraph @mna 58 | set-variable $buffer-fill-mode #l1 59 | !emacro 60 | 61 | define-macro fill-paragraph-both 62 | set-variable #l1 $buffer-fill-mode 63 | set-variable $buffer-fill-mode "b" 64 | !force !force @# fill-paragraph @mna 65 | set-variable $buffer-fill-mode #l1 66 | !emacro 67 | 68 | define-macro fill-paragraph-gutter 69 | set-variable #l1 $buffer-fill-mode 70 | set-variable $buffer-fill-mode "g" 71 | !force !force @# fill-paragraph @mna 72 | set-variable $buffer-fill-mode #l1 73 | !emacro 74 | 75 | -------------------------------------------------------------------------------- /.jasspa/macros/dos.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1995-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for MS-DOS boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | 0 define-macro exec-me 10 | pipe-shell-command &spr "%s %s" $progname @1 @mna 11 | !emacro 12 | ; Setup the screen resolution 13 | define-macro reset-25 14 | change-font "3" "0" 15 | !emacro 16 | define-macro reset-50 17 | change-font "3" "1" 18 | !emacro 19 | define-macro reset-def 20 | !if &seq $TERM "E80x50" 21 | reset-50 22 | !elif &seq $TERM "E80x25" 23 | reset-25 24 | !else 25 | change-font ® &spr "/history/%s/font" %platform "3" ® &spr "/history/%s/font-dbl" $platform "1" 26 | !endif 27 | !emacro 28 | global-bind-key reset-25 "C-c 2" 29 | global-bind-key reset-50 "C-c 5" 30 | global-bind-key reset-def "C-c 9" 31 | reset-def 32 | ; setup the next-error stuff including grep and compiling 33 | set-variable $line-template "[0-9]+" 34 | set-variable $file-template "[a-zA-Z:]*[0-9a-zA-Z\\\\/_.]+" 35 | set-variable %xgrep-com "grep /n" 36 | ; These definitions are for dos grep & djgpp gcc compiler 37 | add-next-line "*grep*" "%f: %l:" 38 | 0 add-next-line "*compile*" 39 | add-next-line "*compile*" "%f(%l): Error" 40 | add-next-line "*compile*" "%f(%l): Warn" 41 | add-next-line "*compile*" "%f:%l:" 42 | 43 | -------------------------------------------------------------------------------- /.jasspa/macros/emf.eaf: -------------------------------------------------------------------------------- 1 | "" "\ecCText Insertion:\ecA" 2 | de "define-macro \p\r!emacro\T\P" " Define macro" 3 | "0 define-macro \p\r!emacro\T\P" " Define hidden macro" 4 | !h "define-help \"\p\"\r\rNAME\r - \r\r$a\r\rSYNOPSIS\r n args...\r\rDESCRIPTION\r
\r\rDIAGNOSTICS\r \r\rNOTES\r \r\rSEE ALSO\r \r!ehelp\P" " Define help" 5 | deb "set-variable $debug 2" " Debug point" 6 | "" "" 7 | !i "!if \T\p\r!endif\T\P" " !if" 8 | !if "!if \T\p\r!endif\T\P" 9 | "!elif \T" " !elif" 10 | !e "!else\T\r\T" " !else" 11 | !w "!while \T\p\r!done\T\P" " !while" 12 | !r "!repeat\T\r!until \T" " !repeat" 13 | !f "!force \T\p\r!if $status\r!endif\T\P" " !force" 14 | ml "ml-write \"\p\"\P" " ml-write" 15 | se "set-variable " " set-variable" 16 | !g "!goto" 17 | !n "!nma " 18 | !c "!continue\r" 19 | !a "!abort\r" 20 | !b "!beep\r" 21 | 22 | -------------------------------------------------------------------------------- /.jasspa/macros/emf.etf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : $Author$ 4 | ; Created By : $USER_NAME$ 5 | ; Created : $ASCII_TIME$ 6 | ; Last Modified : <090829.1747> 7 | ; 8 | ; Description 9 | ; 10 | ; Notes 11 | ; 12 | ; History 13 | ; 14 | ; Copyright (c) $YEAR$ $COMPANY_NAME$. 15 | ; 16 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 17 | -------------------------------------------------------------------------------- /.jasspa/macros/euphor.eaf: -------------------------------------------------------------------------------- 1 | if "if \p then\rend if\r\P" 2 | wh "while \p do\rend while\r\P" 3 | fu "function \p\rend function\r\P" 4 | 5 | -------------------------------------------------------------------------------- /.jasspa/macros/euphor.etf: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- 3 | -- Author : $Author$ 4 | -- Created By : $USER_NAME$ 5 | -- Created : $ASCII_TIME$ 6 | -- Last Modified : <090829.1747> 7 | -- 8 | -- Description 9 | -- 10 | -- Notes 11 | -- 12 | -- History 13 | -- 14 | -- Copyright (c) $YEAR$ $COMPANY_NAME$. 15 | -- 16 | ---------------------------------------------------------------------------- 17 | -------------------------------------------------------------------------------- /.jasspa/macros/f.etf: -------------------------------------------------------------------------------- 1 | c -*- f -*- **************************************************************** 2 | c 3 | c System : 4 | c Module : 5 | c Object Name : $RCSfile$ 6 | c Revision : $Revision$ 7 | c Date : $Date$ 8 | c Author : $Author$ 9 | c Created By : $USER_NAME$ 10 | c Created : $ASCII_TIME$ 11 | c Last Modified : <090829.1747> 12 | c 13 | c Description 14 | c 15 | c Notes 16 | c 17 | c History 18 | c 19 | c *************************************************************************** 20 | c 21 | c Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | c 23 | c All Rights Reserved. 24 | c 25 | c This document may not, in whole or in part, be copied, photocopied, 26 | c reproduced, translated, or reduced to any electronic medium or machine 27 | c readable form without prior written consent from $COMPANY_NAME$. 28 | c 29 | c **************************************************************************** 30 | -------------------------------------------------------------------------------- /.jasspa/macros/f90.etf: -------------------------------------------------------------------------------- 1 | !-*- f90 -*- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2 | ! 3 | ! System : 4 | ! Module : 5 | ! Object Name : $RCSfile$ 6 | ! Revision : $Revision$ 7 | ! Date : $Date$ 8 | ! Author : $Author$ 9 | ! Created By : $USER_NAME$ 10 | ! Created : $ASCII_TIME$ 11 | ! Last Modified : <090829.1747> 12 | ! 13 | ! Description 14 | ! 15 | ! Notes 16 | ! 17 | ! History 18 | ! 19 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 20 | ! 21 | ! Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | ! 23 | ! All Rights Reserved. 24 | ! 25 | ! This document may not, in whole or in part, be copied, photocopied, 26 | ! reproduced, translated, or reduced to any electronic medium or machine 27 | ! readable form without prior written consent from $COMPANY_NAME$. 28 | ! 29 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 30 | -------------------------------------------------------------------------------- /.jasspa/macros/filetype.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Dos to unix text file convertion routine. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@filetype" 11 | ; 12 | define-macro start-up 13 | delete-other-windows 14 | !while ¬ &seq $buffer-bname "*scratch*" 15 | set-variable #l1 &rig $buffer-fname -59 16 | ml-write &spr "Processing [%s]" #l1 17 | ; what type of file is it 18 | set-variable #l2 "" 19 | !if &band $buffer-fmod 0x10000 20 | set-variable #l0 "Directory" 21 | !elif &band $buffer-fmod 0x80000 22 | set-variable #l0 "Binary" 23 | !else 24 | set-variable #l0 &add 1 &add &add &bmod "cr" &mul &bmod "lf" 2 &mul &bmod "ctrlz" 4 25 | set-variable #l0 &lget "|Strange0|Unix|Mac|Windows|Strange4|Strange5|Strange6|Dos|" #l0 26 | !if &band $buffer-fmod 0x100000 27 | set-variable #l2 &cat #l2 "EOL" 28 | !endif 29 | end-of-buffer 30 | !force backward-line 31 | !if &band $line-flags 0x10 32 | !if &len #l2 33 | set-variable #l2 &cat #l2 ", " 34 | !endif 35 | set-variable #l2 &cat #l2 "EOF" 36 | !endif 37 | !endif 38 | !if &len #l2 39 | set-variable #l0 &spr "%s (bad %s)" #l0 #l2 40 | !endif 41 | !if &band $system 0x1000000 42 | -1 ml-write &spr "%s%n%s" #l1 &sub 60 &len #l1 " " #l0 43 | !else 44 | find-buffer "*scratch*" 45 | insert-string &spr "%s%n%s\n" #l1 &sub 60 &len #l1 " " #l0 46 | -1 find-buffer "*scratch*" 47 | !endif 48 | delete-buffer $buffer-bname 49 | !done 50 | !if &band $system 0x1000000 51 | 0 quick-exit 52 | !endif 53 | !emacro 54 | -------------------------------------------------------------------------------- /.jasspa/macros/freebsd.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for FreeBSD boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "%f:%l:" 15 | ; 16 | ; Diff stuff; FreeBSD uses GNU diff so set this up for all 17 | ; platforms. Nobody is going to change this are they ?? 18 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 19 | -------------------------------------------------------------------------------- /.jasspa/macros/games.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Jul 18 1998 7 | ; Synopsis: Games wrapper file to keep me.emf small 8 | ; Authors: Steven Phillips 9 | ; 10 | define-macro cross-word 11 | execute-file crosswd 12 | cross-word 13 | !emacro 14 | define-macro Mahjongg 15 | execute-file mahjongg 16 | Mahjongg 17 | !emacro 18 | define-macro Match-It 19 | execute-file matchit 20 | Match-It 21 | !emacro 22 | define-macro Metris 23 | execute-file metris 24 | Metris 25 | !emacro 26 | define-macro Patience 27 | execute-file patience 28 | Patience 29 | !emacro 30 | define-macro Triangle 31 | execute-file triangle 32 | Triangle 33 | !emacro 34 | 35 | -------------------------------------------------------------------------------- /.jasspa/macros/h.etf: -------------------------------------------------------------------------------- 1 | /* -*- C -*- **************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1747> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | #ifndef __$BUFFER_NAME$ 32 | #define __$BUFFER_NAME$ 33 | 34 | #if defined(__cplusplus) || defined(c_plusplus) 35 | extern "C" { 36 | #endif 37 | $CURSOR$ 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | #endif /* __$BUFFER_NAME$ */ 43 | -------------------------------------------------------------------------------- /.jasspa/macros/hkasp.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/hkasp.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2003-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created Thu Oct 16 2003 7 | ; Synopsis: ASP Hook File 8 | ; Authors: Steven Phillips 9 | ; 10 | define-macro fhook-asp 11 | set-variable $buffer-mask "luh1" 12 | @# buffer-init "asp" 13 | buffer-init-hooks 14 | !emacro 15 | 16 | ; buffer-init variables 17 | set-variable .fhook-asp.name "ASP" 18 | set-variable .fhook-asp.setup ® "/history/fhook/asp" "cdfghinopsx" 19 | set-variable .fhook-asp.setup-mask "acdefghikmnopstux" 20 | set-variable .fhook-asp.command-flag "|" 21 | set-variable .fhook-asp.command-name "|" 22 | set-variable .fhook-asp.command-nbind "|" 23 | set-variable .fhook-asp.command-kbind "|" 24 | set-variable .fhook-asp.command-desc "|" 25 | set-variable .fhook-asp.indent-width 2 26 | 27 | ; load in the html core 28 | !force execute-file "htmlcore" "asp" 29 | 30 | ; add the <% %> vb script support 31 | !if &and &sin "h" .fhook-asp.setup &band .hilight.flags 0x02 32 | hilight .hilight.asptag 4 "=\\{[^ \t\n<>]*<%" "%>[^ \t\n>]*" "" .scheme.string 33 | hilight .hilight.asptag 4 "=\\{\"[^\"\n<]*<%" "%>[^\"]*\"" "" .scheme.string 34 | !if &exist .hilight.vbscript 35 | hilight .hilight.asp 0x80 "<%" .hilight.vbscript .scheme.prepro 36 | hilight .hilight.asp 0xa0 "End If$" .hilight.vbscript .scheme.keyword 37 | hilight .hilight.asp 0xa0 "End Function$" .hilight.vbscript .scheme.keyword 38 | hilight .hilight.asp 0xa0 "End Sub$" .hilight.vbscript .scheme.keyword 39 | hilight .hilight.asptag 0x80 "<%" .hilight.vbscript .scheme.prepro 40 | hilight .hilight.vbscript 0x80 "%>" 0 .scheme.prepro 41 | !endif 42 | !endif 43 | !if &sin "d" .fhook-asp.setup 44 | !if &exist .indent.vbscript 45 | indent .hilight.asptag t "<%" .indent.vbscript 46 | indent .hilight.asptag t "[\t ]*End If$" .hilight.vbscript 47 | indent .hilight.asptag t "[\t ]*End Function$" .hilight.vbscript 48 | indent .hilight.asptag t "[\t ]*End Sub$" .hilight.vbscript 49 | indent .hilight.asptag t "%>" .hilight.asp 50 | 51 | indent .hilight.asp x "^<%" 0 .indent.vbscript 52 | indent .hilight.asp x ".<%" t .indent.vbscript 53 | indent .indent.vbscript w "%>" -t 0 54 | !endif 55 | !endif 56 | 57 | buffer-init-fhook "asp" 58 | -------------------------------------------------------------------------------- /.jasspa/macros/hkbibtex.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: bibtex file hook - invoked when a BibTeX file is loaded. 7 | ; Authors: Detlef Groth, Steve Phillips & Jon Green 8 | ; 9 | define-macro fhook-bibtex 10 | @# buffer-init "bibtex" 11 | buffer-init-hooks 12 | !emacro 13 | 14 | ; buffer-init variables 15 | set-variable .fhook-bibtex.name "BibTeX" 16 | set-variable .fhook-bibtex.setup ® "/history/fhook/bibtex" "fghinsx" 17 | set-variable .fhook-bibtex.setup-mask "aefghikmnstux" 18 | set-variable .fhook-bibtex.command-flag "|thbH|" 19 | set-variable .fhook-bibtex.command-name "|bibtex-swap-hilight|" 20 | set-variable .fhook-bibtex.command-nbind "||" 21 | set-variable .fhook-bibtex.command-kbind "|C-c C-h|" 22 | set-variable .fhook-bibtex.command-desc "|T\Hoggle hilighting|" 23 | 24 | set-variable .fhook-bibtex.collapse-open "^@" 25 | set-variable .fhook-bibtex.collapse-close "^@\\|\\'" 26 | set-variable .fhook-bibtex.collapse-mnext "-1" 27 | 28 | !if &and &sin "h" .fhook-bibtex.setup &band .hilight.flags 0x02 29 | !if ¬ &exist .hilight.bibtex 30 | set-variable .hilight.bibtex &pinc .hilight.next 1 31 | set-variable .hilight.bibtexs &pinc .hilight.next 1 32 | !endif 33 | ; normal token hilighting 34 | 0 hilight .hilight.bibtex 0 $global-scheme 35 | hilight .hilight.bibtex 0 "^\\s*\\{@\\w*\\}{" .scheme.bold 36 | hilight .hilight.bibtex 0 "^\\s*\\{\\w*\\s*\\}={*" .scheme.italic 37 | hilight .hilight.bibtex 0 "^\\s*\\{\\w*\\s*\\}=\\s{*" .scheme.italic 38 | 39 | ; bibtex simulation hilighting 40 | 0 hilight .hilight.bibtexs 0 $global-scheme 41 | hilight .hilight.bibtexs 0x44 "\\\\bibitem{" "" "}" "" "" .scheme.bold 42 | hilight .hilight.bibtexs 0x44 "{\\\\em " "" "}" "" "" .scheme.italic 43 | ;hilight .hilight.bibtexs 64 "\\\\newblock " "" ; any idea ?? 44 | ;hilight .hilight.bibtexs 0x44 "year = " "Y: " "," "" .scheme.bold 45 | ;hilight .hilight.bibtexs 0x44 "@ARTICLE{" "*" "," "*" "" .scheme.hlred 46 | 47 | 0 define-macro bibtex-swap-hilight 48 | !if &equal $buffer-hilight .hilight.bibtex 49 | set-variable $buffer-hilight .hilight.bibtexs 50 | 1 buffer-mode "view" 51 | !else 52 | set-variable $buffer-hilight .hilight.bibtex 53 | -1 buffer-mode "view" 54 | !endif 55 | !emacro 56 | !endif 57 | 58 | buffer-init-fhook "bibtex" 59 | 60 | -------------------------------------------------------------------------------- /.jasspa/macros/hkbnf.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Feb 6 1999 7 | ; Synopsis: Simple hilighting of a BNF file. 8 | ; Authors: Jon Green 9 | ; 10 | define-macro fhook-bnf 11 | @# buffer-init "bnf" 12 | buffer-init-hooks 13 | !emacro 14 | 15 | ; buffer-init variables 16 | set-variable .fhook-bnf.name "BNF" 17 | set-variable .fhook-bnf.setup ® "/history/fhook/bnf" "ghix" 18 | set-variable .fhook-bnf.setup-mask "aeghikmtux" 19 | 20 | !if &and &sin "h" .fhook-bnf.setup &band .hilight.flags 0x02 21 | !if ¬ &exist .hilight.bnf 22 | set-variable .hilight.bnf &pinc .hilight.next 1 23 | !endif 24 | 0 hilight .hilight.bnf 2 50 $global-scheme 25 | hilight .hilight.bnf 4 "<[[:alpha:]]" ">" "" .scheme.variable 26 | hilight .hilight.bnf 1 "::=" .scheme.keyword 27 | hilight .hilight.bnf 1 "\\[" .scheme.keyword 28 | hilight .hilight.bnf 1 "]" .scheme.keyword 29 | hilight .hilight.bnf 1 "{" .scheme.keyword 30 | hilight .hilight.bnf 1 "}" .scheme.keyword 31 | hilight .hilight.bnf 1 "|" .scheme.keyword 32 | hilight .hilight.bnf 2 "!!" .scheme.comment 33 | hilight .hilight.bnf 2 "^#" .scheme.comment 34 | hilight .hilight.bnf 2 "^//" .scheme.comment 35 | !endif 36 | 37 | buffer-init-fhook "bnf" 38 | 39 | 40 | -------------------------------------------------------------------------------- /.jasspa/macros/hkc.eaf: -------------------------------------------------------------------------------- 1 | "\Lcompile\N" " Compile" 2 | "" " \ecCGenerate Tags\ecA" 3 | "\Lgenerate-tags-file\N" " Generate" 4 | "\L0 generate-tags-file\N" " With Menu..." 5 | "" "" 6 | "" " \ecCSlashify\ecA" 7 | "\Lc-slashify\N" " Slashify region" 8 | "\Lc-deslashify\N" " Deslashify region" 9 | "" "" 10 | "" " \ecCDefines\ecA" 11 | "\Lc-hash-set-define\N" " Set #define" 12 | "\Lc-hash-unset-define\N" " Unset #define" 13 | "\Lc-hash-eval\N" " Evaluate #'s" 14 | "\L1 c-hash-eval\N" " Evaluate #'s Use Narrow" 15 | "\Lc-hash-del\N" " Remove # Evaluation" 16 | "" "" 17 | "" " \ecCComments\ecA" 18 | "\Lcomment-start\N" " Start Comment" 19 | "\Lcomment-line\N" " Comment Out Line" 20 | "\Luncomment-line\N" " Delete Comment" 21 | "\Lcomment-to-end-of-line\N" " Comment to End of Line" 22 | "\Lcomment-restyle\N" " Restyle Comment" 23 | "" "" 24 | "" " \ecCFolding\ecA" 25 | "\Lcollapse-current\N" " Open/Close Current Function" 26 | "\Lcollapse-all\N" " Open/Close All Functions" 27 | "" "" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/hkcpp.eaf: -------------------------------------------------------------------------------- 1 | "\Lcompile\N" " Compile" 2 | "" " \ecCGenerate Tags\ecA" 3 | "\Lgenerate-tags-file\N" " Generate" 4 | "\L0 generate-tags-file\N" " With Menu..." 5 | "" "" 6 | "" " \ecCSlashify\ecA" 7 | "\Lc-slashify\N" " Slashify region" 8 | "\Lc-deslashify\N" " Deslashify region" 9 | "" "" 10 | "" " \ecCDefines\ecA" 11 | "\Lc-hash-set-define\N" " Set #define" 12 | "\Lc-hash-unset-define\N" " Unset #define" 13 | "\Lc-hash-eval\N" " Evaluate #'s" 14 | "\L1 c-hash-eval\N" " Evaluate #'s Use Narrow" 15 | "\Lc-hash-del\N" " Remove # Evaluation" 16 | "" "" 17 | "" " \ecCComments\ecA" 18 | "\Lcomment-start\N" " Start Comment" 19 | "\Lcomment-line\N" " Comment Out Line" 20 | "\Luncomment-line\N" " Delete Comment" 21 | "\Lcomment-to-end-of-line\N" " Comment to End of Line" 22 | "\Lcomment-restyle\N" " Restyle Comment" 23 | "" "" 24 | "" " \ecCFolding\ecA" 25 | "\Lcollapse-current\N" " Open/Close Current Function" 26 | "\Lcollapse-all\N" " Open/Close All Functions" 27 | "" "" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/hkdiff.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Wed Aug 23 2000 7 | ; Synopsis: Hilighting for diff files 8 | ; Authors: Jon Green 9 | ; 10 | ; Notes: 11 | ; This has been extrapolated from the tools.emf file that originally 12 | ; handled the diff utility and associated hilighting. 13 | ; 14 | !if ¬ &exi .hilight.diff 15 | set-variable .hilight.diff &pinc .hilight.next 1 16 | !endif 17 | 18 | !if &band .hilight.flags 0x02 19 | 0 hilight .hilight.diff 0 $global-scheme 20 | ; Gnu diff utility, uses --context 21 | hilight .hilight.diff 0x102 "! " .scheme.no1 22 | hilight .hilight.diff 0x102 "+ " .scheme.no1 23 | hilight .hilight.diff 0x102 "- " .scheme.no1 24 | ; Regular diff utility. May be a bit too colored !! 25 | hilight .hilight.diff 0x102 "<" .scheme.no2 26 | hilight .hilight.diff 0x102 ">" .scheme.prepro 27 | ; Common 28 | hilight .hilight.diff 0x102 "*\\*\\*\\*" .scheme.keyword 29 | hilight .hilight.diff 0x102 "*\\*\\*" .scheme.no2 30 | hilight .hilight.diff 0x102 "--- " .scheme.prepro 31 | hilight .hilight.diff 0x102 "Only" .scheme.comment 32 | hilight .hilight.diff 0x102 "Files" .scheme.comment 33 | 34 | !endif 35 | 36 | define-macro fhook-diff 37 | ; Set up the buffer modes 38 | -1 buffer-mode "time" 39 | !if &band .hilight.flags 0x02 40 | set-variable $buffer-hilight .hilight.diff 41 | !endif 42 | buffer-init-hooks 43 | !emacro 44 | 45 | buffer-init-fhook "diff" 46 | -------------------------------------------------------------------------------- /.jasspa/macros/hkdoc.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: 19th February 1997 7 | ; Synopsis: Document hook for ASCII text documentation 8 | ; Authors: Jon Green 9 | ; 10 | ; Notes: See docmacro.emf for documentation 11 | ; 12 | define-macro fhook-doc 13 | ; use the document fhook in docmacro 14 | @# doc-fhook-body "doc" "document" 15 | !emacro 16 | 17 | ; buffer-init variables 18 | set-variable .fhook-doc.setup ® "/history/fhook/doc" "fghijnopswx" 19 | set-variable .fhook-doc.setup-mask "aefghijkmnopstuwx" 20 | set-variable .fhook-doc.name "Document" 21 | 22 | ; load docmacro.emf passing the doc setup flags 23 | execute-file "docmacro" "doc" 24 | 25 | buffer-init-fhook "doc" 26 | -------------------------------------------------------------------------------- /.jasspa/macros/hkemf.eaf: -------------------------------------------------------------------------------- 1 | "" " \ecCGenerate Tags\ecA" 2 | "\Lgenerate-tags-file\N" " Generate" 3 | "\L0 generate-tags-file\N" " With Menu..." 4 | "" "" 5 | "" " \ecCExecute\ecA" 6 | "\Lexecute-line @wl\N" " Current Line" 7 | "\Lexecute-buffer $buffer-bname\N" " Current Buffer" 8 | "\Lexecute-buffer @mna\N" " Buffer" 9 | "\Lexecute-file\N" " File" 10 | "" "" 11 | "" " \ecCComments\ecA" 12 | "\Lcomment-start\N" " Start Comment" 13 | "\Lcomment-line\N" " Comment Out Line" 14 | "\Luncomment-line\N" " Delete Comment" 15 | "\Lcomment-to-end-of-line\N" " Comment to End of Line" 16 | "\Lcomment-restyle\N" " Restyle Comment" 17 | "" "" 18 | "" " \ecCFolding\ecA" 19 | "\Lcollapse-current\N" " Open/Close Current Macro" 20 | "\Lcollapse-all\N" " Open/Close All Macros" 21 | "" "" 22 | -------------------------------------------------------------------------------- /.jasspa/macros/hkerf.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: erf hook - invoked when a MicroEmacs registry file is loaded. 7 | ; Authors: Jon Green & Steven Phillips 8 | ; 9 | define-macro fhook-erf 10 | set-variable $buffer-mask "luh1" 11 | @# buffer-init "erf" 12 | buffer-init-hooks 13 | !emacro 14 | 15 | ; buffer-init variables 16 | set-variable .fhook-erf.name "ME Registry" 17 | set-variable .fhook-erf.setup ® "/history/fhook/erf" "dfghiopx" 18 | set-variable .fhook-erf.setup-mask "adefghikmoptux" 19 | set-variable .fhook-erf.comment "|;||;|; | ;|r|" 20 | set-variable .fhook-erf.indent-width 1 21 | 22 | ; setup erf collapse support 23 | set-variable .fhook-erf.collapse-open "^\".*{$" 24 | set-variable .fhook-erf.collapse-close "^}" 25 | set-variable .fhook-erf.collapse-mclose "1" 26 | set-variable .fhook-erf.collapse-mnext "-1" 27 | 28 | !if ¬ &exist .hilight.erf 29 | set-variable .hilight.erf &pinc .hilight.next 1 30 | !endif 31 | 32 | !if &and &sin "h" .fhook-erf.setup &band .hilight.flags 0x02 33 | 0 hilight .hilight.erf 0 $global-scheme 34 | hilight .hilight.erf 4 "\"" "\"" "\\" .scheme.keyword 35 | hilight .hilight.erf 0 "=" .scheme.operator 36 | hilight .hilight.erf 0x2 ";" .scheme.comment ; Comment from SOL to EOL. 37 | !endif 38 | 39 | !if &sin "d" .fhook-erf.setup 40 | 0 indent .hilight.erf 0 10 41 | indent .hilight.erf n "{" t 42 | indent .hilight.erf o "}" -t 43 | indent .hilight.erf e "\"" "\"" "\\" 44 | indent .hilight.erf i ";" 45 | !endif 46 | 47 | buffer-init-fhook "erf" 48 | 49 | -------------------------------------------------------------------------------- /.jasspa/macros/hkhtml.eaf: -------------------------------------------------------------------------------- 1 | "" " \ecCDocument\ecA" 2 | "\Lhtml-view-netscape\N" " Preview in Netscape" 3 | "\Lhtml-view-iexplorer\N" " Preview in IExplorer" 4 | "" "" 5 | "\L1 html-insert-main-tag\N" " HTML Tag" 6 | "\L2 html-insert-main-tag\N" " Header" 7 | "\L4 html-insert-main-tag\N" " Title" 8 | "" "" 9 | "\L5 html-insert-main-tag\N" " Body" 10 | "\L5 html-insert-main-tag\N\L3 html-insert-attrib BGCOLOR\N" " Background Color" 11 | "\L5 html-insert-main-tag\N\L3 html-insert-attrib TEXT\N" " Main Text Color" 12 | "\L5 html-insert-main-tag\N\L3 html-insert-attrib LINK\N" " Link Text Color" 13 | "\L5 html-insert-main-tag\N\L3 html-insert-attrib ALINK\N" " Active Link Color" 14 | "\L5 html-insert-main-tag\N\L3 html-insert-attrib VLINK\N" " Visited Link Color" 15 | "" "" 16 | "\Lhtml-config-netscape\N" " Configure Netscape" 17 | "\Lhtml-config-iexplorer\N" " Configure IExplorer" 18 | "" "" 19 | "" " \ecCFrames & Tables\ecA" 20 | "\Lhtml-insert-tag FRAMESET\N" " Frame Set" 21 | "\Lhtml-insert-tag FRAME\N" " Frame" 22 | "\Lhtml-insert-tag NOFRAMES\N" " No Frames" 23 | "" "" 24 | "\Lhtml-create-table\N" " Create Table" 25 | "\Lhtml-insert-tag TABLE\N" " Table" 26 | "\Lhtml-insert-tag TR\N" " Table Row" 27 | "\Lhtml-insert-tag TD\N" " Table Column" 28 | "" "" 29 | "" " \ecCInsert\ecA" 30 | "\L6 html-insert-tag \"!----\"\N\CB\CB\CB" " Comment" 31 | "\L5 html-insert-tag A\N\CB NAME=\"\"\CB" " Hyperlink Target" 32 | "\L5 html-insert-tag A\N\CB HREF=\"\"\CB" " Hyperlink Jump" 33 | "\L5 html-insert-tag A\N\CB HREF=\"\" TARGET=\"\"\CB\CB\CB\CB\CB\CB\CB\CB\CB\CB\CB" " Hyperlink Jump with Target" 34 | "\L6 html-insert-tag EMBED\N\CB SRC=\"\"\CB" " Embed File" 35 | "\L6 html-insert-tag IMG\N\CB SRC=\"\"\CB" " Image" 36 | "\L6 html-insert-tag HR\N\CB ALIGN=\"CENTER\" SIZE=\"1\"\CF" " Dividing Line" 37 | "\Lhtml-insert-color\N" " Color" 38 | "" "" 39 | "" " \ecCText Format\ecA" 40 | "\Lhtml-insert-tag B\N" " Bold" 41 | "\Lhtml-insert-tag I\N" " Italic" 42 | "\Lhtml-insert-tag U\N" " Underline" 43 | "\Lhtml-insert-tag FONT\N" " Font" 44 | "" "" 45 | "\Lhtml-insert-tag CENTER\N" " Center" 46 | "\Lhtml-insert-tag H1\N" " Header 1" 47 | "\Lhtml-insert-tag H2\N" " Header 2" 48 | "\Lhtml-insert-tag H3\N" " Header 3" 49 | "\Lhtml-insert-tag H4\N" " Header 4" 50 | "" "" 51 | 52 | -------------------------------------------------------------------------------- /.jasspa/macros/hkimake.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Imakefile hook 7 | ; Authors: Jon Green 8 | ; 9 | define-macro fhook-imake 10 | set-variable $buffer-mask "luh1" 11 | @# buffer-init "imake" 12 | buffer-init-hooks 13 | !emacro 14 | 15 | ; buffer-init variables 16 | set-variable .fhook-imake.name "Imakefile" 17 | set-variable .fhook-imake.setup ® "/history/fhook/imake" "ghinopTx" 18 | set-variable .fhook-imake.setup-mask "aeghikmnoptux" 19 | set-variable .fhook-imake.comment "|/*| */|*| * | * |fr|" 20 | 21 | !if &and &sin "h" .fhook-imake.setup &band .hilight.flags 0x02 22 | !if ¬ &exist .hilight.imake 23 | set-variable .hilight.imake &pinc .hilight.next 1 24 | !endif 25 | ; Imakefile file highlighting 26 | 0 hilight .hilight.imake 2 50 $global-scheme 27 | hilight .hilight.imake 0 ":" .scheme.variable 28 | hilight .hilight.imake 4 "\"" "\"" "\\" .scheme.string 29 | hilight .hilight.imake 20 "/\\*" "*/" "" .scheme.comment 30 | hilight .hilight.imake 0 "/\\*\\." $global-scheme 31 | hilight .hilight.imake 50 "#" .scheme.prepro 32 | hilight .hilight.imake 4 "\\$(" ")" "" .scheme.variable 33 | hilight .hilight.imake 1 "\\$O" .scheme.variable 34 | hilight .hilight.imake 1 "\\$T" .scheme.variable 35 | hilight .hilight.imake 0 "\\.SUFFIXES" .scheme.keyword 36 | hilight .hilight.imake 0 "\\.IGNORE" .scheme.keyword 37 | hilight .hilight.imake 0 "\\.DEFAULT" .scheme.keyword 38 | hilight .hilight.imake 0 "\\.PRECIOUS" .scheme.keyword 39 | hilight .hilight.imake 1 "\\$@" .scheme.keyword 40 | hilight .hilight.imake 1 "\\$\\$@" .scheme.keyword 41 | hilight .hilight.imake 1 "\\$\\*" .scheme.keyword 42 | hilight .hilight.imake 1 "\\$<" .scheme.keyword 43 | !endif 44 | 45 | buffer-init-fhook "imake" 46 | -------------------------------------------------------------------------------- /.jasspa/macros/hkini.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1997-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Microsoft Windows initalisation file hook. 7 | ; Authors: Jon Green 8 | ; 9 | ; Notes: Typically used for Microsoft Windows environments 10 | ; primarily for the initalisation files. The syntax is 11 | ; slightly more liberal that a true .ini file but allows 12 | ; the template to be used by slightly different file formats. 13 | ; 14 | ; Usage: .ini - Microsoft Windows initialisation files 15 | ; .hpj - Microsoft help project files. 16 | ; 17 | define-macro fhook-ini 18 | set-variable $buffer-mask "luh1" 19 | @# buffer-init "ini" 20 | buffer-init-hooks 21 | !emacro 22 | 23 | ; buffer-init variables 24 | set-variable .fhook-ini.setup ® "/history/fhook/ini" "fghiopx" 25 | set-variable .fhook-ini.setup-mask "aefghikmoptux" 26 | set-variable .fhook-ini.comment "|;||;|; | ;|r|" 27 | 28 | ; setup ini file collapse 29 | set-variable .fhook-ini.collapse-open "^\\[" 30 | set-variable .fhook-ini.collapse-close "^\\[\\|\\'" 31 | set-variable .fhook-ini.collapse-mnext "-1" 32 | 33 | !if &and &sin "h" .fhook-ini.setup &band .hilight.flags 0x02 34 | !if ¬ &exist .hilight.ini 35 | set-variable .hilight.ini &pinc .hilight.next 1 36 | !endif 37 | 0 hilight .hilight.ini 0 .scheme.keyword 38 | hilight .hilight.ini 0 "/" $global-scheme 39 | hilight .hilight.ini 2 "=" $global-scheme 40 | hilight .hilight.ini 0 ":=" $global-scheme 41 | hilight .hilight.ini 2 "#" .scheme.comment ; Comment from SOL to EOL. 42 | hilight .hilight.ini 0x102 ";" .scheme.comment ; Comment from SOL to EOL. 43 | ; Obscure file format extensions 44 | hilight .hilight.ini 2 "//" .scheme.comment ; Comment to EOL. 45 | hilight .hilight.ini 20 "\\[" "]" "" .scheme.string 46 | hilight .hilight.ini 1 "ROOT" .scheme.variable 47 | hilight .hilight.ini 1 "USER" .scheme.variable 48 | hilight .hilight.ini 1 "LOCAL" .scheme.variable 49 | hilight .hilight.ini 1 "CURRENT" .scheme.variable 50 | !endif 51 | 52 | buffer-init-fhook "ini" 53 | 54 | -------------------------------------------------------------------------------- /.jasspa/macros/hkiss.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Inno Setup Script file hook 7 | ; Authors: Jon Green 8 | ; 9 | define-macro fhook-iss 10 | set-variable $buffer-mask "luh1" 11 | @# buffer-init "iss" 12 | buffer-init-hooks 13 | !emacro 14 | set-variable .fhook-iss.name "Inno Setup Script" 15 | set-variable .fhook-iss.setup ® "/history/fhook/iss" "fghiopx" 16 | set-variable .fhook-iss.setup-mask "aefghikmoptux" 17 | set-variable .fhook-iss.comment "|;||;|; | ;|r|" 18 | 19 | ; setup iss file collapse 20 | set-variable .fhook-iss.collapse-open "^\\[" 21 | set-variable .fhook-iss.collapse-close "^\\[\\|\\'" 22 | set-variable .fhook-iss.collapse-mnext "-1" 23 | 24 | !if ¬ &exist .hilight.iss 25 | set-variable .hilight.iss &pinc .hilight.next 1 26 | !endif 27 | 28 | !if &and &sin "h" .fhook-iss.setup &band .hilight.flags 0x02 29 | 0 hilight .hilight.iss 3 20 $global-scheme 30 | hilight .hilight.iss 0x21 ";.*" .scheme.comment 31 | hilight .hilight.iss 20 "\\[" "]" "" .scheme.function 32 | hilight .hilight.iss 4 "\"" "\"" "" .scheme.string 33 | ; Setup - Compiler related. 34 | hilight .hilight.iss 0x20 "\\m+\\s*\\}=" .scheme.keyword 35 | ; File related of the form "^Name:" or "; Name:" 36 | hilight .hilight.iss 0x20 "\\m+\\s*\\}:" .scheme.keyword 37 | hilight .hilight.iss 0x00 ";\\{\\s*\\m+\\s*\\}:" .scheme.keyword 38 | ; Variables 39 | hilight .hilight.iss 0x01 "{\\m+}" .scheme.variable 40 | ; Registry values 41 | hilight .hilight.iss 0x01 "HKCR" .scheme.prepro 42 | hilight .hilight.iss 0x01 "HKCU" .scheme.prepro 43 | hilight .hilight.iss 0x01 "HKLM" .scheme.prepro 44 | hilight .hilight.iss 0x01 "HKU" .scheme.prepro 45 | hilight .hilight.iss 0x01 "HKCC" .scheme.prepro 46 | ; Setup - Obsolete. These directives are obsolete and should not be used 47 | ; in any new scripts. 48 | hilight .hilight.iss 0x20 "AlwaysCreateUninstallIcon\\s*\\}=" .scheme.error 49 | hilight .hilight.iss 0x20 "DisableAppendDir\\s*\\}=" .scheme.error 50 | hilight .hilight.iss 0x20 "DontMergeDuplicateFiles\\s*\\}=" .scheme.error 51 | hilight .hilight.iss 0x20 "MessagesFile\\s*\\}=" .scheme.error 52 | hilight .hilight.iss 0x20 "UninstallIconFile\\s*\\}=" .scheme.error 53 | hilight .hilight.iss 0x20 "UninstallIconName\\s*\\}=" .scheme.error 54 | hilight .hilight.iss 0x20 "UninstallStyle\\s*\\}=" .scheme.error 55 | hilight .hilight.iss 0x20 "WizardSmallImageBackColor\\s*\\}=" .scheme.error 56 | hilight .hilight.iss 0x20 "WizardStyle\\s*\\}=" .scheme.error 57 | !endif 58 | 59 | buffer-init-fhook "iss" 60 | -------------------------------------------------------------------------------- /.jasspa/macros/hkjsp.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/hkjst.eaf: -------------------------------------------------------------------------------- 1 | "" "\ecCExport:\ecA" 2 | "\Ljst-to-html\N\N" " To HTML (./.htm)" 3 | "\Ljst-to-latex\N\N" " To LaTeX (./.tex)" 4 | "\Ljst-to-rtf\N\N" " To RTF (./.rtf)" 5 | "\Ljst-to-text\N\N" " To text (./.txt)" 6 | -------------------------------------------------------------------------------- /.jasspa/macros/hklatex.emf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/hklatex.emf -------------------------------------------------------------------------------- /.jasspa/macros/hklhtml.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2004-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created Fri Jan 9 2004 7 | ; Synopsis: LUA-HTML Hook File 8 | ; Authors: Steven Phillips & Jeremy Cowgar 9 | ; 10 | define-macro fhook-lhtml 11 | set-variable $buffer-mask "luh1" 12 | @# buffer-init "lhtml" 13 | buffer-init-hooks 14 | !emacro 15 | 16 | ; buffer-init variables 17 | set-variable .fhook-lhtml.name "LUA-HTML" 18 | set-variable .fhook-lhtml.setup ® "/history/fhook/lhtml" "cdghinopsx" 19 | set-variable .fhook-lhtml.setup-mask "acdeghikmnopstux" 20 | set-variable .fhook-lhtml.command-flag "|" 21 | set-variable .fhook-lhtml.command-name "|" 22 | set-variable .fhook-lhtml.command-nbind "|" 23 | set-variable .fhook-lhtml.command-kbind "|" 24 | set-variable .fhook-lhtml.command-desc "|" 25 | set-variable .fhook-lhtml.indent-width 2 26 | 27 | ; load in lua script & the html core 28 | !if ¬ &exist fhook-lua 29 | !force exec-file "hklua" 30 | !endif 31 | !force execute-file "htmlcore" "lhtml" 32 | 33 | ; add the lua script support 34 | !if &and &sin "h" .fhook-lhtml.setup &band .hilight.flags 0x02 35 | hilight .hilight.lhtmltag 4 "=\\{[^ \t\n<>]*<\\?lua" "\\?>[^ \t\n>]*" "" .scheme.string 36 | hilight .hilight.lhtmltag 4 "=\\{\"[^\"\n<]*<\\?lua" "\\?>[^\"]*\"" "" .scheme.string 37 | !if &exist .hilight.luascript 38 | hilight .hilight.lhtml 0x80 "<\\?lua" .hilight.luascript .scheme.prepro 39 | hilight .hilight.lhtmltag 0x80 "<\\?lua" .hilight.luascript .scheme.prepro 40 | hilight .hilight.luascript 0x80 "\\?>" 0 .scheme.prepro 41 | hilight .hilight.lhtml 0x80 "<%" .hilight.luascript .scheme.prepro 42 | hilight .hilight.lhtmltag 0x80 "<%" .hilight.luascript .scheme.prepro 43 | hilight .hilight.luascript 0x80 "%>" 0 .scheme.prepro 44 | !endif 45 | !endif 46 | !if &sin "d" .fhook-lhtml.setup 47 | !if &exist .indent.luascript 48 | indent .hilight.lhtmltag t "<\\?lua" .indent.luascript 49 | indent .hilight.lhtmltag t "\\?>" .hilight.lhtml 50 | indent .hilight.lhtmltag t "<%" .indent.luascript 51 | indent .hilight.lhtmltag t "%>" .hilight.lhtml 52 | 53 | indent .hilight.lhtml x "<\\?lua" t .indent.luascript 54 | indent .hilight.lhtml x "<%" t .indent.luascript 55 | indent .indent.luascript w "\\?>" -t 0 56 | indent .indent.luascript w "%>" -t 0 57 | !endif 58 | !endif 59 | 60 | buffer-init-fhook "lhtml" 61 | -------------------------------------------------------------------------------- /.jasspa/macros/hklisp.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: lisp hook - invoked when a lisp file is loaded. 7 | ; Authors: Steven Phillips 8 | ; 9 | set-char-mask "2" "-$&#!%:@." 10 | 11 | define-macro fhook-lisp 12 | set-variable $buffer-mask "luh1" 13 | @# buffer-init "lisp" 14 | buffer-init-hooks 15 | !emacro 16 | 17 | ; buffer-init variables 18 | set-variable .fhook-lisp.setup ® "/history/fhook/lisp" "dghiopx" 19 | set-variable .fhook-lisp.setup-mask "adeghikmoptux" 20 | set-variable .fhook-lisp.comment "|;||;|; | ;|r|" 21 | set-variable .fhook-lisp.indent-width 2 22 | 23 | !if ¬ &exist .hilight.lisp 24 | set-variable .hilight.lisp &pinc .hilight.next 1 25 | !endif 26 | 27 | !if &and &sin "h" .fhook-lisp.setup &band .hilight.flags 0x02 28 | 0 hilight .hilight.lisp 2 50 $global-scheme 29 | hilight .hilight.lisp 0x804 "\"" "\"" "\\" .scheme.string 30 | hilight .hilight.lisp 20 "#|" "|#" "" .scheme.comment 31 | hilight .hilight.lisp 2 ";" .scheme.comment 32 | hilight .hilight.lisp 1 "^\\s*(\\{defvar" .scheme.variable 33 | hilight .hilight.lisp 1 "^\\s*(\\{defconst" .scheme.variable 34 | hilight .hilight.lisp 1 "^\\s*(\\{defun" .scheme.keyword 35 | !endif 36 | 37 | !if &sin "d" .fhook-lisp.setup 38 | 0 indent .hilight.lisp 0 10 39 | indent .hilight.lisp n "(" t 40 | indent .hilight.lisp o ")" -t 41 | indent .hilight.lisp i ";" 42 | indent .hilight.lisp e "\"" "\"" "\\" 43 | indent .hilight.lisp e "#|" "|#" "" 44 | indent .hilight.lisp i ";" 45 | !endif 46 | 47 | buffer-init-fhook "lisp" 48 | -------------------------------------------------------------------------------- /.jasspa/macros/hkmake.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1997-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Makefile hook 7 | ; Authors: Jon Green 8 | ; 9 | define-macro fhook-make 10 | set-variable $buffer-mask "luh1" 11 | @# buffer-init "make" "makefile" 12 | buffer-init-hooks 13 | !emacro 14 | 15 | ; buffer-init variables 16 | set-variable .fhook-make.name "Makefile" 17 | set-variable .fhook-make.setup ® "/history/fhook/make" "ghinopTx" 18 | set-variable .fhook-make.setup-mask "aeghikmnoptux" 19 | set-variable .fhook-make.comment "|#||#|# | #|r|" 20 | 21 | !if &and &sin "h" .fhook-make.setup &band .hilight.flags 0x02 22 | ; Make file highlighting 23 | !if ¬ &exist .hilight.make 24 | set-variable .hilight.make &pinc .hilight.next 1 25 | !endif 26 | 0 hilight .hilight.make 0 $global-scheme 27 | hilight .hilight.make 0 ":" .scheme.variable 28 | hilight .hilight.make 4 "[^\\]\"" "\"" "\\" .scheme.string 29 | hilight .hilight.make 0 "/\\*\\." $global-scheme 30 | hilight .hilight.make 2 "#" .scheme.comment 31 | hilight .hilight.make 4 "\\$(" ")" "" .scheme.variable 32 | hilight .hilight.make 1 "\\$O" .scheme.variable 33 | hilight .hilight.make 1 "\\$T" .scheme.variable 34 | hilight .hilight.make 0 "\\.SUFFIXES" .scheme.keyword 35 | hilight .hilight.make 0 "\\.IGNORE" .scheme.keyword 36 | hilight .hilight.make 0 "\\.DEFAULT" .scheme.keyword 37 | hilight .hilight.make 0 "\\.PRECIOUS" .scheme.keyword 38 | hilight .hilight.make 1 "\\$@" .scheme.keyword 39 | hilight .hilight.make 1 "\\$\\$@" .scheme.keyword 40 | hilight .hilight.make 1 "\\$\\*" .scheme.keyword 41 | hilight .hilight.make 1 "\\$^" .scheme.keyword 42 | hilight .hilight.make 1 "\\$<" .scheme.keyword 43 | ; Highlight the TODO markers in comments. 44 | hilight .hilight.make 18 "#\\s+[Tt][Oo][Dd][Oo]" .scheme.error 45 | !endif 46 | 47 | buffer-init-fhook "make" 48 | -------------------------------------------------------------------------------- /.jasspa/macros/hkmhg.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Mar 20 1999 7 | ; Synopsis: MHEG-5 hook 8 | ; Authors: Jon Green 9 | ; Notes: Configured for UK-DTTV broadcast MHEG-5 only. 10 | ; 11 | define-macro fhook-mhg 12 | set-variable $buffer-mask "luh1" 13 | @# buffer-init "mhg" 14 | buffer-init-hooks 15 | !emacro 16 | 17 | ; buffer-init variables 18 | set-variable .fhook-mhg.name "MHEG" 19 | set-variable .fhook-mhg.setup ® "/history/fhook/mhg" "fghinopx" 20 | set-variable .fhook-mhg.setup-mask "aefghikmnoptux" 21 | set-variable .fhook-mhg.comment "|//||/|// | //||" 22 | set-variable .fhook-mhg.exact -1 23 | 24 | ; Set up the collapses for 'mheg' 25 | set-variable .fhook-mhg.collapse-open "^{" 26 | set-variable .fhook-mhg.collapse-close "^}" 27 | set-variable .fhook-mhg.collapse-mclose "1" 28 | set-variable .fhook-mhg.collapse-mnext "-1" 29 | 30 | !if &and &sin "h" .fhook-mhg.setup &band .hilight.flags 0x02 31 | ; Hi-light M-HEG Mode 32 | !if ¬ &exist .hilight.mhg 33 | set-variable .hilight.mhg &pinc .hilight.next 1 34 | !endif 35 | 0 hilight .hilight.mhg 1 $global-scheme 36 | hilight .hilight.mhg 2 "//" .scheme.comment 37 | hilight .hilight.mhg 4 "\"" "\"" "\\" .scheme.string 38 | hilight .hilight.mhg 4 "'" "'" "\\" .scheme.string 39 | ; Generic main keyword introduction 40 | hilight .hilight.mhg 4 "{:" "\\}\\W" "" .scheme.keyword 41 | ; Variable values 42 | hilight .hilight.mhg 1 "true" .scheme.variable 43 | hilight .hilight.mhg 1 "false" .scheme.variable 44 | hilight .hilight.mhg 1 "start" .scheme.variable 45 | hilight .hilight.mhg 1 "end" .scheme.variable 46 | hilight .hilight.mhg 1 "centre" .scheme.variable 47 | ; Events 48 | hilight .hilight.mhg 1 "isrunning" .scheme.prepro 49 | hilight .hilight.mhg 1 "timerevent" .scheme.prepro 50 | hilight .hilight.mhg 1 "timerfired" .scheme.prepro 51 | hilight .hilight.mhg 1 "userinput" .scheme.prepro 52 | hilight .hilight.mhg 1 "testevent" .scheme.prepro 53 | hilight .hilight.mhg 1 "justified" .scheme.prepro 54 | hilight .hilight.mhg 1 "asynchstopped" .scheme.prepro 55 | !endif 56 | 57 | buffer-init-fhook "mhg" 58 | -------------------------------------------------------------------------------- /.jasspa/macros/hknroff.eaf: -------------------------------------------------------------------------------- 1 | "" " \ecCGenerate Tags\ecA" 2 | "\Lgenerate-tags-file\N" " Generate" 3 | "\L0 generate-tags-file\N" " With Menu..." 4 | "" "" 5 | "" " \ecCComments\ecA" 6 | "\Lcomment-start\N" " Start Comment" 7 | "\Lcomment-line\N" " Comment Out Line" 8 | "\Luncomment-line\N" " Delete Comment" 9 | "\Lcomment-to-end-of-line\N" " Comment to End of Line" 10 | "\Lcomment-restyle\N" " Restyle Comment" 11 | "" "" 12 | "" " \ecCFolding\ecA" 13 | "\Lcollapse-current\N" " Open/Close Current Section" 14 | "\Lcollapse-all\N" " Open/Close All Sections" 15 | "" "" 16 | 17 | -------------------------------------------------------------------------------- /.jasspa/macros/hkphp.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/hkspec.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2004-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Feb 14 12:39:53 2004 7 | ; Synopsis: Hilighting for RedHat RPM Package Manager File 8 | ; Authors: Jon Green 9 | ; 10 | ; Notes: 11 | ; A simple hilighting scheme, nothing too complex as it is 12 | ; used so infrequently. Not all of the tags may be included. 13 | ; 14 | define-macro fhook-spec 15 | @# buffer-init "spec" 16 | buffer-init-hooks 17 | !emacro 18 | 19 | set-variable .fhook-spec.setup ® "/history/fhook/spec" "bghinopx" 20 | set-variable .fhook-spec.setup-mask "aebghikmnoptux" 21 | set-variable .fhook-spec.comment "|#||#|# | #||" 22 | ; Hilighting 23 | !if &and &sin "h" .fhook-spec.setup &band .hilight.flags 0x02 24 | !if ¬ &exist .hilight.spec 25 | set-variable .hilight.spec &pinc .hilight.next 1 26 | !endif 27 | 28 | ; Make file highlighting 29 | 0 hilight .hilight.spec 2 50 $global-scheme 30 | hilight .hilight.spec 2 "#" .scheme.comment 31 | ; 32 | hilight .hilight.spec 0 "^\\w+:" .scheme.keyword 33 | hilight .hilight.spec 0 "^%\\w+" .scheme.keyword 34 | hilight .hilight.spec 4 "%{" "}" "" .scheme.variable 35 | hilight .hilight.spec 4 "\\$" "\\}\\W" "" .scheme.variable 36 | !endif 37 | 38 | buffer-init-fhook "spec" 39 | -------------------------------------------------------------------------------- /.jasspa/macros/hktexi.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Mon Jul 12 1999 7 | ; Synopsis: Quick hilight for texinfo files. 8 | ; Authors: Jon Green 9 | ; 10 | ; Notes: Could benifit with some tools. 11 | ; 12 | define-macro fhook-texi 13 | @# buffer-init "texi" 14 | buffer-init-hooks 15 | !emacro 16 | 17 | ; buffer-init variables 18 | set-variable .fhook-texi.name "Texinfo" 19 | set-variable .fhook-texi.setup ® "/history/fhook/texi" "bghiopx" 20 | set-variable .fhook-texi.setup-mask "abeghikmoptux" 21 | set-variable .fhook-texi.comment "|@c |||@c |||" 22 | 23 | !if &and &sin "h" .fhook-texi.setup &band .hilight.flags 0x02 24 | !if ¬ &exist .hilight.texi 25 | set-variable .hilight.texi &pinc .hilight.next 1 26 | !endif 27 | 0 hilight .hilight.texi 0 $global-scheme 28 | hilight .hilight.texi 0 "@c .*" .scheme.comment 29 | hilight .hilight.texi 4 "@" "\\}\\W" "" .scheme.keyword 30 | !endif 31 | 32 | buffer-init-fhook "texi" 33 | 34 | -------------------------------------------------------------------------------- /.jasspa/macros/hktxt.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Mon Mar 20 2000 7 | ; Synopsis: text file hook 8 | ; Authors: Jon Green 9 | ; 10 | ; Notes: See docmacro.emf for documentation 11 | ; 12 | define-macro fhook-txt 13 | ; use the document fhook in docmacro 14 | @# doc-fhook-body "txt" "text" 15 | !emacro 16 | 17 | ; buffer-init variables 18 | set-variable .fhook-txt.name "Text" 19 | set-variable .fhook-txt.setup ® "/history/fhook/txt" "gijopsw" 20 | set-variable .fhook-txt.setup-mask "aefghijkmnopstuwx" 21 | 22 | ; load docmacro.emf passing the doc setup flags 23 | execute-file "docmacro" "txt" 24 | 25 | buffer-init-fhook "txt" 26 | -------------------------------------------------------------------------------- /.jasspa/macros/hpp.etf: -------------------------------------------------------------------------------- 1 | // -!- c++ -!- ////////////////////////////////////////////////////////////// 2 | // 3 | // System : 4 | // Module : 5 | // Object Name : $RCSfile$ 6 | // Revision : $Revision$ 7 | // Date : $Date$ 8 | // Author : $Author$ 9 | // Created By : $USER_NAME$ 10 | // Created : $ASCII_TIME$ 11 | // Last Modified : <090829.1745> 12 | // 13 | // Description 14 | // 15 | // Notes 16 | // 17 | // History 18 | // 19 | ///////////////////////////////////////////////////////////////////////////// 20 | // 21 | // Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | // 23 | // All Rights Reserved. 24 | // 25 | // This document may not, in whole or in part, be copied, photocopied, 26 | // reproduced, translated, or reduced to any electronic medium or machine 27 | // readable form without prior written consent from $COMPANY_NAME$. 28 | // 29 | ////////////////////////////////////////////////////////////////////////////// 30 | 31 | #ifndef __$BUFFER_NAME$ 32 | #define __$BUFFER_NAME$ 33 | $CURSOR$ 34 | 35 | #endif // __$BUFFER_NAME$ 36 | 37 | -------------------------------------------------------------------------------- /.jasspa/macros/hpux.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1995-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for HPUX boxes. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "cc: \"\\.\\./%f\", line %l" 15 | add-next-line "*compile*" "cpp: \"\\.\\./%f\", line %l" 16 | add-next-line "*compile*" "cc: \"%f\", line %l" 17 | add-next-line "*compile*" "cpp: \"%f\", line %l" 18 | add-next-line "*compile*" "Warning \\d+: \"%f\", line %l" 19 | add-next-line "*compile*" "%f:%l:" 20 | 21 | 22 | -------------------------------------------------------------------------------- /.jasspa/macros/html.etf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $CURSOR$ 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.jasspa/macros/idl.etf: -------------------------------------------------------------------------------- 1 | /* -*- idl -*- **************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1748> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/imake.etf: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1748> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/insdate.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Mon Sep 13 1999 7 | ; Synopsis: Insert the date string into the current buffer. 8 | ; Authors: Steven Phillips 9 | ; Notes: 10 | ; Format is compliant to standard strftime C function, the following 11 | ; Codes are supported: 12 | ; 13 | ; %% % char 14 | ; %Y 4 digit year 15 | ; %y 2 digit year 16 | ; %B Month 17 | ; %b 3 letter month 18 | ; %m 2 digit month 19 | ; %#m 1 digit month 20 | ; %d 2 digit day 21 | ; %#d 1 digit day 22 | ; %A Week Day 23 | ; %a 3 letter week day 24 | ; %H 2 digit 24 hour 25 | ; %M 2 digit minute 26 | ; %S 2 digit second 27 | ; 28 | 0 define-macro-file organize organizer-init 29 | 30 | 0 define-macro osd-insert-date-exec 31 | insert-string &rig $result 2 32 | !emacro 33 | 34 | 0 define-macro osd-insert-date 35 | organizer-init 36 | set-variable #l0 $time 37 | ascii-time 38 | -1 osd @# 39 | osd @# 0 "b" 40 | osd @# 1 "" &spr "\HA %s" #l9 f osd-insert-date-exec 41 | set-variable #l4 &rep #l0 " " "0" 42 | set-variable #l1 0 43 | !while ¬ &seq &set #l2 &lget .formats &inc #l1 1 "" 44 | ; 012345678901234567890123456789 45 | ; $time "1999255 91312145 2220" 46 | set-variable #l2 &rep #l2 "%%" "\b" 47 | set-variable #l2 &rep #l2 "%Y" &lef #l0 4 48 | set-variable #l2 &rep #l2 "%y" &mid #l0 2 2 49 | set-variable #l2 &rep #l2 "%B" &lget .org.months &mid #l0 7 2 50 | set-variable #l2 &rep #l2 "%b" &lef &lget .org.months &mid #l0 7 2 3 51 | set-variable #l2 &rep #l2 "%m" &mid #l4 7 2 52 | set-variable #l2 &rep #l2 "%#m" &trb &mid #l0 7 2 53 | set-variable #l2 &rep #l2 "%d" &mid #l4 9 2 54 | set-variable #l2 &rep #l2 "%#d" &trb &mid #l0 9 2 55 | set-variable #l2 &rep #l2 "%A" &lget .org.days &add 1 &mid #l0 11 1 56 | set-variable #l2 &rep #l2 "%a" &lef &lget .org.days &add 1 &mid #l0 11 1 3 57 | set-variable #l2 &rep #l2 "%H" &mid #l4 12 2 58 | set-variable #l2 &rep #l2 "%M" &mid #l4 14 2 59 | set-variable #l2 &rep #l2 "%S" &mid #l4 16 2 60 | set-variable #l2 &rep #l2 "\b" "%" 61 | osd @# &add #l1 1 "" &spr "\H%s %s" &itoa &add #l1 65 #l2 f osd-insert-date-exec 62 | !done 63 | !emacro 64 | 65 | !if &seq .spell.language "enus" 66 | ; American style 67 | set-variable .osd-insert-date.formats "|%m/%d/%y|%m.%d.%y|%m/%d/%Y|%Y-%m-%d|%#d-%b-%y|%#d %b %y|%#d %b %Y|%#d %B %Y|%A, %#d %B %Y|%m/%d/%y %H:%M|%m/%d/%y %H:%M:%S|" 68 | !else 69 | set-variable .osd-insert-date.formats "|%d/%m/%y|%d.%m.%y|%#d/%m/%Y|%Y-%m-%d|%#d-%b-%y|%#d %b %y|%#d %b %Y|%#d %B %Y|%A, %#d %B %Y|%d/%m/%y %H:%M|%d/%m/%y %H:%M:%S|" 70 | !endif 71 | 72 | -------------------------------------------------------------------------------- /.jasspa/macros/irix.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1995-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for SGI IRIX boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "\"%f\", line %l:" 15 | add-next-line "*compile*" "^cfe: Error: \\.\\./%f, line %l" 16 | add-next-line "*compile*" "^cfe: Warning [0-9]*: %f, line %l" 17 | add-next-line "*compile*" "^cfe: Error: %f, line %l" 18 | ; gcc compiler 19 | add-next-line "*compile*" "^%f:%l:" 20 | 21 | -------------------------------------------------------------------------------- /.jasspa/macros/java.eaf: -------------------------------------------------------------------------------- 1 | #i "#include <\p>\r\P" 2 | #d "#define " 3 | if "if(\p)\r{\r\r}\r\P" 4 | ef "else if(\p)\r{\r\r}\r\P" 5 | el "else\r{\r\p\r}\r\P" 6 | wh "while(\p)\r{\r\r}\r\P" 7 | sw "switch(\p)\r{\rcase :\rdefault:\r}\r\P" 8 | -------------------------------------------------------------------------------- /.jasspa/macros/java.etf: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1748> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | 32 | -------------------------------------------------------------------------------- /.jasspa/macros/js.etf: -------------------------------------------------------------------------------- 1 | /* -*- javascript -*- 2 | Copyright $YEAR$ $COMPANY_NAME$ 3 | All Rights Reserved 4 | System : $BUFFER_NAME$ : 5 | Object Name : $RCS_FILE$ 6 | Revision : $REVISION$ 7 | Date : $ASCII_TIME$ 8 | Created By : $USER_NAME$, $COMPANY_NAME$ 9 | Created : $ASCII_TIME$ 10 | 11 | Last Modified : <090829.1748> 12 | ID : $Id$ 13 | Source : $Source$ 14 | Description 15 | Notes 16 | */ 17 | var ns4 = document.layers; 18 | var ie4 = document.all; 19 | var nn6 = document.getElementById && !document.all; 20 | -------------------------------------------------------------------------------- /.jasspa/macros/jsp.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/jst.eaf: -------------------------------------------------------------------------------- 1 | "" "\ecCExport:\ecA" 2 | "\Exjst-to-html\N\N" " To HTML (./.htm)" 3 | "\Exjst-to-latex\N\N" " To LaTeX (./.tex)" 4 | "\Exjst-to-rtf\N\N" " To RTF (./.rtf)" 5 | "\Exjst-to-text\N\N" " To text (./.txt)" 6 | -------------------------------------------------------------------------------- /.jasspa/macros/jst.etf: -------------------------------------------------------------------------------- 1 | &[c -!- jst -!-] 2 | &[c Copyright: $YEAR$ $COMPANY_NAME$] 3 | &[c Created: $ASCII_TIME$] 4 | &[vns author "$USER_NAME$"] 5 | 6 | = &[vs title "$FILE_BASENAME$"] 7 | -------------------------------------------------------------------------------- /.jasspa/macros/jst2html.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: JST to HTML command-line conversion. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@jst2html" 11 | ; 12 | define-macro start-up 13 | delete-other-windows 14 | !while ¬ &seq $buffer-bname "*scratch*" 15 | ; use default file name with no prompt 16 | !force 2 jst-to-html 17 | !if ¬ $status 18 | 5000 command-wait 19 | !force 0 delete-buffer "*jst-tmp*" 20 | !endif 21 | delete-buffer $buffer-bname 22 | !done 23 | exit-emacs 24 | !emacro 25 | 26 | execute-file "me" 27 | execute-file "jstutl" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/jst2ltx.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: JST to LaTeX command-line conversion. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@jst2ltx" 11 | ; 12 | define-macro start-up 13 | delete-other-windows 14 | !while ¬ &seq $buffer-bname "*scratch*" 15 | ; use default file name with no prompt 16 | !force 2 jst-to-latex 17 | !if ¬ $status 18 | 5000 command-wait 19 | !force 0 delete-buffer "*jst-tmp*" 20 | !endif 21 | delete-buffer $buffer-bname 22 | !done 23 | exit-emacs 24 | !emacro 25 | 26 | execute-file "me" 27 | execute-file "jstutl" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/jst2rtf.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: JST to rich text format command-line conversion. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@jst2rtf" 11 | ; 12 | define-macro start-up 13 | delete-other-windows 14 | !while ¬ &seq $buffer-bname "*scratch*" 15 | ; use default file name with no prompt 16 | !force 2 jst-to-rtf 17 | !if ¬ $status 18 | 5000 command-wait 19 | !force 0 delete-buffer "*jst-tmp*" 20 | !endif 21 | delete-buffer $buffer-bname 22 | !done 23 | exit-emacs 24 | !emacro 25 | 26 | execute-file "me" 27 | execute-file "jstutl" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/jst2text.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: JST to Plain text command-line conversion. 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@jst2text" 11 | ; 12 | define-macro start-up 13 | delete-other-windows 14 | !while ¬ &seq $buffer-bname "*scratch*" 15 | ; use default file name with no prompt 16 | !force 2 jst-to-text 17 | !if ¬ $status 18 | 5000 command-wait 19 | !force 0 delete-buffer "*jst-tmp*" 20 | !endif 21 | delete-buffer $buffer-bname 22 | !done 23 | exit-emacs 24 | !emacro 25 | 26 | execute-file "me" 27 | execute-file "jstutl" 28 | 29 | -------------------------------------------------------------------------------- /.jasspa/macros/jstprint.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Steven Phillips 4 | ; Last Modified : <020130.2236> 5 | ; 6 | ; Description : Plain text printer driver (default). 7 | ; 8 | ; Notes 9 | ; 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 11 | "setup" = "1" 12 | "internal" = "0" 13 | "flags" = "256" 14 | "paper-x" = "1024" 15 | "paper-y" = "50" 16 | "page-x" = "1024" 17 | "page-y" = "50" 18 | "rows" = "1" 19 | "cols" = "1" 20 | "mtop" = "0" 21 | "mbottom" = "0" 22 | "mleft" = "0" 23 | "mright" = "0" 24 | "buffer" = "*jst-tmp3*" 25 | 26 | ; Strip blanks from the end of the line. 27 | "strip" = "1" 28 | 29 | "econt" = "" 30 | "scont" = "" 31 | "xsep" = "" 32 | "hsep" = "" 33 | "vsep" = "" 34 | "wsep" = "" 35 | "eol" = "\n" 36 | "eop" = "" 37 | "sop" = "" 38 | "eof" = "" 39 | "sof" = "" 40 | 41 | "scheme-order" = "biu" 42 | "start" 43 | { 44 | "b" = "\bFB" 45 | "i" = "\bFI" 46 | "u" = "\bFU" 47 | } 48 | "end" 49 | { 50 | "b" = "\bfB" 51 | "i" = "\bfI" 52 | "u" = "\bfU" 53 | } 54 | -------------------------------------------------------------------------------- /.jasspa/macros/keyboard.emf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/keyboard.emf -------------------------------------------------------------------------------- /.jasspa/macros/language.emf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/language.emf -------------------------------------------------------------------------------- /.jasspa/macros/langutl.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2001-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Sep 15 2001 7 | ; Synopsis: Language setup routines 8 | ; Authors: Steven Phillips 9 | ; 10 | ; Notes: 11 | ; Originally part of language.emf but broken out to keep language.emf 12 | ; clean and speed up start-up 13 | ; 14 | 0 define-macro spell-rules-init 15 | !if ¬ &exi .spell.language 16 | set-variable #l0 &spr " Language \"%s\" not supported! " ® "/history/language" "Default" 17 | osd-dialog "Spelling Checker" #l0 " \HOk " 18 | !abort 19 | !endif 20 | !force execute-file &cat "lsr" .spell.language 21 | !if ¬ $status 22 | !if @# 23 | set-variable #l0 &spr " Rules and dictionaries for language \"%s\" \n are not available, please download." ® "/history/language" "Default" 24 | osd-dialog "Spelling Checker" #l0 " \HOk " 25 | !endif 26 | !abort 27 | !endif 28 | ; Add the eXtended, Main and Personal dictionaries 29 | add-dictionary &cat "lsdx" .spell.language 30 | add-dictionary &cat "lsdm" .spell.language 31 | add-dictionary &cat "lsdp" .spell.language 32 | !emacro 33 | -------------------------------------------------------------------------------- /.jasspa/macros/latex.etf: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 | % 3 | % System : 4 | % Module : 5 | % Object Name : $RCSfile$ 6 | % Revision : $Revision$ 7 | % Date : $Date$ 8 | % Author : $Author$ 9 | % Created By : $USER_NAME$ 10 | % Created : $ASCII_TIME$ 11 | % Last Modified : <090829.1748> 12 | % 13 | % Description 14 | % 15 | % Notes 16 | % 17 | % History 18 | % 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | % 21 | % Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | % 23 | % All Rights Reserved. 24 | % 25 | % This document may not, in whole or in part, be copied, photocopied, 26 | % reproduced, translated, or reduced to any electronic medium or machine 27 | % readable form without prior written consent from $COMPANY_NAME$. 28 | % 29 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/linux.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for Linux boxes 7 | ; Authors: Jon Green 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; no vt100-nam on linux, this may cause problems in an ishell 12 | set-variable %ipipe-term "TERM=vt100" 13 | ; 14 | ; Compile stuff 15 | 0 add-next-line "*compile*" 16 | add-next-line "*compile*" "%f:%l:" 17 | ; 18 | ; Diff stuff; LINUX uses GNU diff so set this up for all LINUX 19 | ; platforms. Nobody is going to change this are they ?? 20 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 21 | 22 | -------------------------------------------------------------------------------- /.jasspa/macros/makefile.etf: -------------------------------------------------------------------------------- 1 | ##-*- makefile -*-############################################################ 2 | # 3 | # System : 4 | # Module : 5 | # Object Name : $RCSfile$ 6 | # Revision : $Revision$ 7 | # Date : $Date$ 8 | # Author : $Author$ 9 | # Created By : $USER_NAME$ 10 | # Created : $ASCII_TIME$ 11 | # Last Modified : <090829.1748> 12 | # 13 | # Description 14 | # 15 | # Notes 16 | # 17 | # History 18 | # 19 | # $Log$ 20 | # 21 | ############################################################################## 22 | # 23 | # Copyright (c) $YEAR$ $COMPANY_NAME$. 24 | # 25 | # All Rights Reserved. 26 | # 27 | # This document may not, in whole or in part, be copied, photocopied, 28 | # reproduced, translated, or reduced to any electronic medium or machine 29 | # readable form without prior written consent from $COMPANY_NAME$. 30 | # 31 | ############################################################################## 32 | 33 | 34 | -------------------------------------------------------------------------------- /.jasspa/macros/meemacs.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2004-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sun Oct 24 12:52:06 2004 7 | ; Synopsis: MicroEmacs GNU Emacs emulation 8 | ; Authors: Jon Green, Steven Phillips, Paul Boekholt 9 | ; 10 | ; Rebind the keys according to the GNU Emacs key binding. We cannot 11 | ; reproduced all of the bindings literally (obviously otherwise MicroEmacs 12 | ; will be huge) but retain the best compatibility that we can. 13 | ; 14 | ; create wrapper macros for commands which are differently named and create 15 | ; some missing commands, see GNU Emacs docs for help on these commands. 16 | define-macro revert-buffer 17 | reread-file 18 | !emacro 19 | define-macro kill-word 20 | @# forward-kill-word 21 | !emacro 22 | define-macro next-line 23 | @# forward-line 24 | !emacro 25 | define-macro previous-line 26 | @# backward-line 27 | !emacro 28 | ; trim whitespace around point 29 | define-macro delete-horizontal-space 30 | !while &sin @wc " \t" 31 | forward-delete-char 32 | !done 33 | !force backward-char 34 | !if $status 35 | !while &sin @wc " \t" 36 | forward-delete-char 37 | backward-char 38 | !done 39 | forward-char 40 | !endif 41 | !emacro 42 | define-macro ediff 43 | @# gdiff @1 @2 @3 @4 44 | !emacro 45 | 46 | ; C-k kill-line binding should kill to the end of line only 47 | global-bind-key kill-line "C-k" 48 | 49 | ; kill words should kill the whitespace as well. 50 | 1 global-bind-key forward-kill-word "esc d" 51 | 1 global-bind-key backward-kill-word "esc backspace" 52 | 53 | global-bind-key kill-region "S-delete" 54 | global-bind-key backward-delete-char "delete" 55 | 56 | global-bind-key backward-paragraph "C-up" 57 | global-bind-key forward-paragraph "C-down" 58 | 59 | global-bind-key backward-word "A-left" 60 | global-bind-key forward-word "A-right" 61 | 62 | global-bind-key query-replace-string "esc %" 63 | global-bind-key expand-look-back "esc /" 64 | global-bind-key delete-horizontal-space "esc \\" 65 | 66 | ; help 67 | global-bind-key major-mode-help "C-h m" 68 | global-bind-key help-command "C-h f" 69 | global-bind-key info "C-h i" 70 | global-bind-key describe-variable "C-h v" 71 | -------------------------------------------------------------------------------- /.jasspa/macros/meserver.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Thu Dec 31 1998 7 | ; Synopsis: Server input handling routines. 8 | ; Authors: steven phillips 9 | ; 10 | 0 define-macro server-input 11 | goto-alpha-mark "I" 12 | !if &equ $window-line :last-line 13 | !return 14 | !endif 15 | set-variable #l0 $window-line 16 | set-variable #l1 $buffer-bname 17 | goto-line :last-line 18 | !while &gre #l0 $window-line 19 | set-variable #l5 &add $window-line 1 20 | !if &seq @wc "C" 21 | set-variable #l2 &lget &rig @wl 1 1 22 | set-variable #l3 &rig @wl &add 3 &len #l2 23 | !if ¬ &lfind :client-list #l2 24 | set-variable :client-list &lin :client-list -1 #l2 25 | set-variable &ind &spr ":%s-buffer" #l2 "" 26 | !endif 27 | popup-window "" 28 | set-variable #l4 &ind &spr ":%s-buffer" #l2 29 | !if ¬ &seq #l4 "" 30 | !force 0 find-buffer #l4 31 | !endif 32 | !force execute-line #l3 33 | set-variable #l4 $buffer-bname 34 | popup-window #l1 35 | set-variable &ind &spr ":%s-buffer" #l2 #l4 36 | !elif &seq @wc "M" 37 | set-variable #l2 &lget &rig @wl 1 1 38 | set-variable #l3 &rig @wl &add 3 &len #l2 39 | ml-write &spr "Message from client %s: %s" #l2 #l3 40 | !endif 41 | goto-line #l5 42 | !done 43 | goto-alpha-mark "I" 44 | set-variable :last-line $window-line 45 | -1 find-buffer $buffer-bname 46 | !emacro 47 | -------------------------------------------------------------------------------- /.jasspa/macros/mhg.etf: -------------------------------------------------------------------------------- 1 | // -!- mhg -!- ////////////////////////////////////////////////////////////// 2 | // 3 | // System : 4 | // Module : 5 | // Object Name : $RCSfile$ 6 | // Revision : $Revision$ 7 | // Date : $Date$ 8 | // Author : $Author$ 9 | // Created By : $USER_NAME$ 10 | // Created : $ASCII_TIME$ 11 | // Last Modified : <090829.1748> 12 | // 13 | // Description 14 | // 15 | // Notes 16 | // 17 | // History 18 | // 19 | ///////////////////////////////////////////////////////////////////////////// 20 | // 21 | // Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | // 23 | // All Rights Reserved. 24 | // 25 | // This document may not, in whole or in part, be copied, photocopied, 26 | // reproduced, translated, or reduced to any electronic medium or machine 27 | // readable form without prior written consent from $COMPANY_NAME$. 28 | // 29 | ////////////////////////////////////////////////////////////////////////////// 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/mod2.etf: -------------------------------------------------------------------------------- 1 | (**************************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1748> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************) 30 | 31 | MODULE $CURSOR$ 32 | -------------------------------------------------------------------------------- /.jasspa/macros/newcomp.etf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Add your company macros and definitions to this file. 7 | ; This is usually called ".emf". 8 | ; 9 | -------------------------------------------------------------------------------- /.jasspa/macros/newuser.erf: -------------------------------------------------------------------------------- 1 | ;-!- erf -!- 2 | "aix" { 3 | "ext-char-set" = "1" 4 | "file-ignore" = "~ ./" 5 | "scheme" = "schemebc" 6 | "scroll-bar" = "0x1be" 7 | } 8 | "cygwin" { 9 | "ext-char-set" = "1" 10 | "file-ignore" = "~ ./" 11 | "scheme" = "schemebc" 12 | "scroll-bar" = "0x1be" 13 | } 14 | "cygwinc" { 15 | "scheme" = "schemetb" 16 | "system" = "30869" 17 | } 18 | "darwin" { 19 | "ext-char-set" = "1" 20 | "file-ignore" = "~ ./" 21 | "scheme" = "schemebc" 22 | "scroll-bar" = "0x1be" 23 | } 24 | "dos" { 25 | "blink" = "13107800" 26 | "char-set" = "PC-437" 27 | "file-ignore" = "~ ./" 28 | "scroll-bar" = "0x1be" 29 | } 30 | "exact" = "0" 31 | "file-mask" = "\CH*.c,*.cc,*.cpp\CH*.h,*.hpp,*.def\CHImakefile,Makefile*\CH*.txt,*.doc,*.log\CH*.emf,*.eaf,*.erf,*.etf,*.ehf\CH*.bat,*.sys,*.sh,*.csh,*shrc,.login\CH*.tk,*.tcl\CH*.[0-9],*.tni\CH" 32 | "file-type" = "\CHC/C++ Source\CHC/C++ Header\CHMakefile\CHText file\CHEmacs File\CHShell Script\CHTK/TCL\CHNroff file\CH" 33 | "freebsd" { 34 | "ext-char-set" = "1" 35 | "file-ignore" = "~ ./" 36 | "scheme" = "schemebc" 37 | "scroll-bar" = "0x1be" 38 | } 39 | "hpux" { 40 | "ext-char-set" = "1" 41 | "file-ignore" = "~ ./" 42 | "scheme" = "schemebc" 43 | "scroll-bar" = "0x1be" 44 | } 45 | "irix" { 46 | "ext-char-set" = "1" 47 | "file-ignore" = "~ ./" 48 | "scheme" = "schemebc" 49 | "scroll-bar" = "0x1be" 50 | } 51 | "linux" { 52 | "ext-char-set" = "1" 53 | "file-ignore" = "~ ./" 54 | "scheme" = "schemebc" 55 | "scroll-bar" = "0x1be" 56 | } 57 | "mouse" { 58 | "C-mouse-drop-1" = "mouse-osd-multi" 59 | "C-mouse-pick-1" 60 | "mouse-auto-1" = "1" 61 | "mouse-drop-1" = "mouse-drop-type1" 62 | "mouse-drop-2" = "mouse-move-yank" 63 | "mouse-drop-3" = "mouse-osd-multi" 64 | "mouse-pick-1" = "mouse-pick-type1" 65 | "mouse-pick-2" 66 | "mouse-pick-3" 67 | "mouse-wdown" = "5 mouse-wdown-scroll" 68 | "mouse-wup" = "5 mouse-wup-scroll" 69 | } 70 | "openbsd" { 71 | "ext-char-set" = "1" 72 | "file-ignore" = "~ ./" 73 | "scheme" = "schemebc" 74 | "scroll-bar" = "0x1be" 75 | } 76 | "osf1" { 77 | "ext-char-set" = "1" 78 | "file-ignore" = "~ ./" 79 | "scheme" = "schemebc" 80 | "scroll-bar" = "0x1be" 81 | } 82 | "sunos" { 83 | "ext-char-set" = "1" 84 | "file-ignore" = "~ ./" 85 | "scheme" = "schemebc" 86 | "scroll-bar" = "0x1be" 87 | } 88 | "win32" { 89 | "blink" = "13107800" 90 | "char-set" = "Win-ANSI" 91 | "ext-char-set" = "1" 92 | "file-ignore" = "~ ./" 93 | "scheme" = "schemebc" 94 | "scroll-bar" = "0x1be" 95 | } 96 | "win32c" { 97 | "blink" = "13107800" 98 | "char-set" = "Win-OEM" 99 | "file-ignore" = "~ ./" 100 | "scroll-bar" = "0x1be" 101 | } 102 | "zaurus" { 103 | "ext-char-set" = "1" 104 | "file-ignore" = "~ ./" 105 | "scheme" = "schemebc" 106 | "scroll-bar" = "0x1be" 107 | } 108 | -------------------------------------------------------------------------------- /.jasspa/macros/newuser.etf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2004-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Example User template 7 | ; Authors: Steven Phillips & Jon Green 8 | ; 9 | 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 11 | ; The default key binding for Home/End is the beginning and end 12 | ; of the file. Remove comments to change the default binding to the 13 | ; end of the line ? Alternatively enable MS Friendly Keys in user-setup 14 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 15 | ;global-bind-key beginning-of-line "home" 16 | ;global-bind-key end-of-line "end" 17 | 18 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 19 | ; The command completion is the character, if you require Ksh type 20 | ; completion using then uncomment the following line. will 21 | ; still be valid. 22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 23 | ;ml-bind-key tab "esc esc" 24 | 25 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 26 | ; Change the home directory on Windows and DOS. 27 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 28 | ;!if &or &seq $platform "dos" &seq $platform "win32" 29 | ; set-variable $home "c:/" 30 | ;!endif 31 | 32 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 33 | ; 'C' is the default language for .h files if you would like the default 34 | ; to be C++ then uncomment the following lines. If you also want .c files 35 | ; to be C++ then add a .c extension to the string. 36 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 37 | ;add-file-hook ".h .def" fhook-cpp 38 | -------------------------------------------------------------------------------- /.jasspa/macros/nroff.etf: -------------------------------------------------------------------------------- 1 | .\"*-*- nroff -*-************************************************************* 2 | .\" 3 | .\" System : 4 | .\" Module : 5 | .\" Object Name : $RCSfile$ 6 | .\" Revision : $Revision$ 7 | .\" Date : $Date$ 8 | .\" Author : $Author$ 9 | .\" Created By : $USER_NAME$ 10 | .\" Created : $ASCII_TIME$ 11 | .\" Last Modified : <041022.1605> 12 | .\" 13 | .\" Description 14 | .\" 15 | .\" Notes 16 | .\" 17 | .\" History 18 | .\" 19 | .\"*************************************************************************** 20 | .\" 21 | .\" Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | .\" 23 | .\" All Rights Reserved. 24 | .\" 25 | .\" This document may not, in whole or in part, be copied, photocopied, 26 | .\" reproduced, translated, or reduced to any electronic medium or machine 27 | .\" readable form without prior written consent from $COMPANY_NAME$. 28 | .\" 29 | .\"*************************************************************************** 30 | .\" 31 | -------------------------------------------------------------------------------- /.jasspa/macros/null: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/null -------------------------------------------------------------------------------- /.jasspa/macros/openbsd.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: setup file for OpenBSD boxes 7 | ; Authors: Jon Green 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "%f:%l:" 15 | ; 16 | ; Diff stuff; FreeBSD uses GNU diff so set this up for all 17 | ; platforms. Nobody is going to change this are they ?? 18 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 19 | -------------------------------------------------------------------------------- /.jasspa/macros/openstep.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Sat Feb 5 2000 7 | ; Synopsis: Setup file for NeXT Openstep boxes 8 | ; Authors: Jon Green 9 | ; 10 | ; Load up common unix stuff 11 | !force exec-file "unixterm" 12 | ; no vt100-nam on openstep. 13 | set-variable %ipipe-term "TERM=vt100" 14 | ; 15 | ; Compile stuff 16 | 0 add-next-line "*compile*" 17 | add-next-line "*compile*" "%f:%l:" 18 | ; 19 | ; Diff stuff; Openstep uses GNU diff so set this up for all Openstep 20 | ; platforms. Nobody is going to change this are they ?? 21 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 22 | -------------------------------------------------------------------------------- /.jasspa/macros/osf1.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1999-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Setup file for OSF1 boxes 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Load up common unix stuff 10 | !force exec-file "unixterm" 11 | ; 12 | ; Compile stuff 13 | 0 add-next-line "*compile*" 14 | add-next-line "*compile*" "%f:%l:" 15 | ; 16 | ; Diff stuff; FreeBSD uses GNU diff so set this up for all 17 | ; platforms. Nobody is going to change this are they ?? 18 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive" 19 | -------------------------------------------------------------------------------- /.jasspa/macros/pascal.eaf: -------------------------------------------------------------------------------- 1 | be "begin\r\T\p\rend;\P" 2 | ca "case \p of\rend;\P" 3 | el "else\rbegin\r\T\p\rend;\P" 4 | fo "for \p to do\rbegin\rend;\P" 5 | fu "function \p ( );\rbegin\rend;\P" 6 | if "if \p then\rbegin\rend;\P" 7 | pr "procedure \p ( );\rbegin\rend;\P" 8 | re "repeat\r\T\p\runtil ;\P" 9 | wh "while \p do\rbegin\rend;\P" 10 | wi "with \p do\rbegin\rend;\P" 11 | wr "writeln (\p);\P" 12 | -------------------------------------------------------------------------------- /.jasspa/macros/pascal.etf: -------------------------------------------------------------------------------- 1 | {**************************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1749> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************} 30 | 31 | begin 32 | end. 33 | -------------------------------------------------------------------------------- /.jasspa/macros/perl.etf: -------------------------------------------------------------------------------- 1 | # -*- perl -*- ############################################################### 2 | # 3 | # System : 4 | # Module : 5 | # Object Name : $RCSfile:$ 6 | # Revision : $Revision:$ 7 | # Date : $Date:$ 8 | # Author : $Author:$ 9 | # Created By : $USER_NAME$ 10 | # Created : $ASCII_TIME$ 11 | # Last Modified : <090829.1749> 12 | # 13 | # Description 14 | # 15 | # Notes 16 | # 17 | # History 18 | # 19 | ############################################################################## 20 | # 21 | # Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | # 23 | # All Rights Reserved. 24 | # 25 | # This document may not, in whole or in part, be copied, photocopied, 26 | # reproduced, translated, or reduced to any electronic medium or machine 27 | # readable form without prior written consent from $COMPANY_NAME$. 28 | # 29 | ############################################################################## 30 | 31 | -------------------------------------------------------------------------------- /.jasspa/macros/php.eaf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.jasspa/macros/pls.eaf: -------------------------------------------------------------------------------- 1 | if "if \p then\r\T\rend if;\P" 2 | el "else" 3 | els "elsif \p then\P" 4 | be "begin\r\T\p\rend;\P" 5 | ca "case \p\r\Twhen then ;\rend case;\P" 6 | wh "when \p then ;\P" 7 | lo "loop\r\T\p\rend loop;\P" 8 | wh "while \p loop\rend loop;\P" 9 | fo "for \p in loop\rend loop;\P" 10 | pr "procedure \p is\rbegin\rend;\P" 11 | -------------------------------------------------------------------------------- /.jasspa/macros/pls.etf: -------------------------------------------------------------------------------- 1 | /* -*- pls -*- ************************************************************** 2 | * 3 | * System : 4 | * Module : 5 | * Object Name : $RCSfile$ 6 | * Revision : $Revision$ 7 | * Date : $Date$ 8 | * Author : $Author$ 9 | * Created By : $USER_NAME$ 10 | * Created : $ASCII_TIME$ 11 | * Last Modified : <090829.1749> 12 | * 13 | * Description 14 | * 15 | * Notes 16 | * 17 | * History 18 | * 19 | **************************************************************************** 20 | * 21 | * Copyright (c) $YEAR$ $COMPANY_NAME$. 22 | * 23 | * All Rights Reserved. 24 | * 25 | * This document may not, in whole or in part, be copied, photocopied, 26 | * reproduced, translated, or reduced to any electronic medium or machine 27 | * readable form without prior written consent from $COMPANY_NAME$. 28 | * 29 | ****************************************************************************/ 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /.jasspa/macros/print.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Mon May 22 2000 7 | ; Synopsis: Printer setup macro file - invoked when print command is executed. 8 | ; Authors: Steven Phillips 9 | ; 10 | !if ¬ ® "/print/setup" "0" 11 | ;500 ml-write "[Setting up the printer]" 12 | ; get the current print scheme 13 | set-variable #l9 ® "/print/scheme" "" 14 | 15 | ; get the user configuration 16 | !if &seq ® "/print-history" "" "" 17 | ; not yet loaded, search for a myprint.erf first 18 | ;500 ml-write "[Loading myprint.erf]" 19 | !force read-registry "print-history" &find "myprint" ".erf" "ab" 20 | !if ¬ $status 21 | ; not found so try the default print.erf 22 | ;500 ml-write "[Loading print.erf]" 23 | !force read-registry "print-history" &find "print" ".erf" "b" 24 | !if ¬ $status 25 | ml-write "[Failed to find \"print.erf\"]" 26 | !return 27 | !endif 28 | !endif 29 | !endif 30 | 31 | ; load the driver - check this isn't the current one first 32 | set-variable #l0 ® &spr "/print-history/%s/driver" $platform "printd" 33 | !if ¬ &seq ® "/print" "" #l0 34 | ;500 ml-write &spr "[Loading %s.erf]" #l0 35 | ; read the new driver 36 | !force read-registry "print" &find #l0 ".erf" "r" 37 | !if ¬ $status 38 | ml-write &spr "[Failed to find print driver \"%s.erf\"]" #l0 39 | !return 40 | !endif 41 | !endif 42 | 43 | ; overlay the driver layout over /print 44 | set-variable #l1 &spr "%s/%s" ® &spr "/print-history/%s/page-size" $platform "" ® &spr "/print-history/%s/char-size" $platform "" 45 | !if ¬ &seq ® "/print/layout" "" #l1 46 | ;500 ml-write &spr "[Overlaying layout %s]" #l1 47 | !force copy-registry &cat "/print/layout/" #l1 "/print" 48 | !if ¬ $status 49 | ml-write &spr "[Failed to find page layout \"%s\"]" #l1 50 | !return 51 | !endif 52 | set-registry "/print/layout" #l1 53 | !endif 54 | 55 | ;500 ml-write &spr "[Overlaying print-history]" 56 | set-registry "/print/header" ® "/print-history/header" "" 57 | set-registry "/print/footer" ® "/print-history/footer" "" 58 | copy-registry &cat "/print-history/" $platform "/print" 59 | ; remove the file flag so /print is not written 60 | mark-registry "/print" "F" 61 | 62 | ; load the print scheme 63 | !if ¬ &seq &set #l1 ® "/print/scheme" "printd" #l9 64 | ;500 ml-write &spr "[Loading print scheme %s]" #l1 65 | !force exec-file #l1 66 | !endif 67 | 68 | ; set /print and /print/setup to reflect this config 69 | set-registry "/print" #l0 70 | set-registry "/print/setup" 1 71 | !endif 72 | 73 | 74 | -------------------------------------------------------------------------------- /.jasspa/macros/print.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Steven Phillips 4 | ; Last Modified : <040202.1224> 5 | ; 6 | ; Description : Default user printer configuration file. 7 | ; 8 | ; Notes : None of the platforms are fully defined (keeps the file 9 | ; small) so print-setup must be run first. 10 | ; 11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 12 | 13 | ; Header & footer - common 14 | "header" = "Page %n. Date: %D/%M/%Y %h:%m:%s File: %f\n" 15 | "footer" = "\nPage %n" 16 | 17 | ; platform depenent printer setup 18 | "dos" 19 | { 20 | "command-line" = "copy %f prn" 21 | } 22 | "freebsd" 23 | { 24 | "command-line" = "lp -s %f" 25 | } 26 | "hpux" 27 | { 28 | "command-line" = "lp -s %f" 29 | } 30 | "irix" 31 | { 32 | "command-line" = "lpr -s %f" 33 | } 34 | "linux" 35 | { 36 | "command-line" = "lp -s %f" 37 | } 38 | "openbsd" 39 | { 40 | "command-line" = "lp -s %f" 41 | } 42 | "osf1" 43 | { 44 | "command-line" = "lp -s %f" 45 | } 46 | "sunos" 47 | { 48 | "command-line" = "lpr -s %f" 49 | } 50 | "zaurus" 51 | { 52 | "command-line" = "lp -s %f" 53 | } 54 | "win32" 55 | { 56 | "command-line" = "copy %f prn" 57 | } 58 | -------------------------------------------------------------------------------- /.jasspa/macros/printall.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 1997-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Synopsis: Print all loaded buffers 7 | ; Authors: Steven Phillips 8 | ; 9 | ; Usage: 10 | ; me "@printall" 11 | ; 12 | execute-file "me" 13 | execute-file "print" 14 | 15 | define-macro print-all-buffers 16 | !force delete-buffer "*scratch*" 17 | delete-other-windows 18 | !while ¬ &seq $buffer-bname "*scratch*" 19 | print-buffer 20 | delete-buffer $buffer-bname 21 | !done 22 | !emacro 23 | 24 | define-macro start-up 25 | print-all-buffers 26 | quick-exit 27 | !emacro 28 | 29 | 30 | -------------------------------------------------------------------------------- /.jasspa/macros/printd.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Steven Phillips 4 | ; Last Modified : <000529.1419> 5 | ; 6 | ; Description : Plain text printer driver (default). 7 | ; 8 | ; Notes 9 | ; 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 11 | "internal" = "0" 12 | ; Separator characters 13 | "scont" = ">" ;; Print start continuation character 14 | "econt" = "\\" ;; Print continuation character. 15 | "xsep" = "-+-" ;; Horizontal/vertical separator intersection. 16 | "hsep" = "-" ;; Horizontal separator sting - one character. 17 | "vsep" = " | " ;; Vertical separator string 18 | "wsep" = "3" ;; The vertical separator width is 3 characters 19 | 20 | ; Strip blanks from the end of the line. 21 | "strip" = "1" 22 | 23 | "eol" = "\n" 24 | "eop" = "" 25 | "sop" = "" 26 | "eof" = "" 27 | "sof" = "" 28 | 29 | "layout" 30 | { 31 | "Default" 32 | { 33 | "Default" 34 | { 35 | "paper-x" = "80" 36 | "paper-y" = "66" 37 | } 38 | " 80x66" 39 | { 40 | "paper-x" = "80" 41 | "paper-y" = "66" 42 | } 43 | "160x134" 44 | { 45 | "paper-x" = "160" 46 | "paper-y" = "134" 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /.jasspa/macros/printeps.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Steven Phillips 4 | ; Last Modified : <000529.1430> 5 | ; 6 | ; Description : Epson Stylus printer driver (default). 7 | ; 8 | ; Notes 9 | ; 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 11 | "internal" = "0" 12 | ; Separator characters 13 | "econt" = "\\" ;; Print continuation character. 14 | "scont" = ">" ;; Print start continuation character 15 | "xsep" = "-+-" ;; Horizontal/vertical separator intersection. 16 | "hsep" = "-" ;; Horizontal separator sting - one character. 17 | "vsep" = " | " ;; Vertical separator string 18 | "wsep" = "3" ;; The vertical separator width is 3 characters 19 | 20 | ; Strip blanks from the end of the line. 21 | "strip" = "1" 22 | 23 | "eof" = "\e@" 24 | "eop" = "" 25 | "eop" = "\f" 26 | "eol" = "\r\n" 27 | 28 | "scheme-order" = "Fbiu" 29 | "start" 30 | { 31 | "F" = "\er%p1%d" 32 | "b" = "\eE" 33 | "i" = "\e4" 34 | "u" = "\e(-11" 35 | } 36 | "end" 37 | { 38 | "b" = "\eF" 39 | "i" = "\e5" 40 | "u" = "\e(-10" 41 | } 42 | "layout" 43 | { 44 | "A4 Portrait" 45 | { 46 | " 80x66" 47 | { 48 | "paper-x" = "80" 49 | "paper-y" = "66" 50 | "sof" = "\e@\el0" 51 | } 52 | "192x134" 53 | { 54 | "paper-x" = "192" 55 | "paper-y" = "134" 56 | "sof" = "\e@\el0\eX\x0f\x0c\x00" 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /.jasspa/macros/printers.emf: -------------------------------------------------------------------------------- 1 | ; -!- emf -!- 2 | ; This is part of the JASSPA MicroEmacs macro files 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com) 4 | ; See the file me.emf for copying and conditions. 5 | ; 6 | ; Created: Tue May 23 2000 7 | ; Synopsis: List of printer drivers and schemes 8 | ; Authors: Steven Phillips 9 | ; 10 | ; Setup the Print drivers 11 | set-variable .print-setup.driver-names "|Default Plain Text|HTML|Windows|HP Deskjet|HP Laserjet 4v|Epson Stylus|" 12 | set-variable .print-setup.driver-files "|printd|printhtm|printwdw|printhpd|printhpl|printeps|" 13 | ; Setup the Print Schemes 14 | set-variable .print-setup.scheme-names "|Default Plain Text|Use fonts|Epson ESC/P Color|" 15 | set-variable .print-setup.scheme-files "|printd|printf|printepc|" 16 | 17 | -------------------------------------------------------------------------------- /.jasspa/macros/printhpd.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Jon Green & Steven Phillips 4 | ; Last Modified : <000529.1426> 5 | ; 6 | ; Description : HP Deskjet printer driver. 7 | ; 8 | ; Notes 9 | ; 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 11 | "internal" = "0" 12 | ; Separator characters 13 | "econt" = "\\" ;; Print continuation character. 14 | "scont" = ">" ;; Print start continuation character 15 | "xsep" = "-+-" ;; Horizontal/vertical separator intersection. 16 | "hsep" = "-" ;; Horizontal separator sting - one character. 17 | "vsep" = " | " ;; Vertical separator string 18 | "wsep" = "3" ;; The vertical separator width is 3 characters 19 | 20 | ; Strip blanks from the end of the line. 21 | "strip" = "1" 22 | 23 | "eol" = "\r\n" 24 | "sop" = "" 25 | "eop" = "\e&l0H" 26 | "eof" = "\eE" 27 | 28 | ; Does bold, underline and italic. Start/End sequences. 29 | "start" 30 | { 31 | "b" = "\e(s3B" 32 | "i" = "\e(s1S" 33 | "u" = "\e&d1D" 34 | } 35 | "end" 36 | { 37 | "b" = "\e(s0B" 38 | "i" = "\e(s0S" 39 | "u" = "\e&d@" 40 | } 41 | 42 | "layout" 43 | { 44 | "A4 Portrait" 45 | { 46 | "192x134" 47 | { 48 | "paper-x" = "192" 49 | "paper-y" = "134" 50 | "sof" = "\eE\e&l0L\e&l0E\e&a0L\e(s0P\e(s24H\e(s6V\e&l4C" 51 | } 52 | " 80x68" 53 | { 54 | "paper-x" = "80" 55 | "paper-y" = "68" 56 | "sof" = "\eE\e&l0L\e&l0E\e&a0L" 57 | } 58 | } 59 | "A4 Landscape" 60 | { 61 | "220x96" 62 | { 63 | "paper-x" = "220" 64 | "paper-y" = "96" 65 | "sof" = "\eE\e&l0L\e&l0E\e&a0L\e&l1O\e(s0P\e(s24H\e(s6V\e&l4C" 66 | } 67 | "110x48" 68 | { 69 | "paper-x" = "110" 70 | "paper-y" = "48" 71 | "sof" = "\eE\e&l0L\e&l0E\e&a0L\e&l1O" 72 | } 73 | } 74 | } 75 | 76 | -------------------------------------------------------------------------------- /.jasspa/macros/printhtm.erf: -------------------------------------------------------------------------------- 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ; 3 | ; Author : Jon Green & Steven Phillips 4 | ; Last Modified : <000529.1419> 5 | ; 6 | ; Description : HTML Printer driver. 7 | ; 8 | ; Notes: we use this as a test printer. It simply converts to HTML. 9 | ; capturing the output we can then view it and look for any 10 | ; annomolies. 11 | ; 12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 13 | "internal" = "0" 14 | ; Separator characters 15 | "econt" = "\\" ;; Print continuation character. 16 | "scont" = ">" ;; Print start continuation character 17 | "xsep" = "-+-" ;; Horizontal/vertical separator intersection. 18 | "hsep" = "-" ;; Horizontal separator sting - one character. 19 | "vsep" = " | " ;; Vertical separator string 20 | "wsep" = "3" ;; The vertical separator width is 3 characters 21 | 22 | ; Strip blanks from the end of the line. 23 | "strip" = "1" 24 | 25 | "eol" = "\n" 26 | "eop" = "
\n" 27 | "sop" = "
"
28 | "eof" = "\n\n"
29 | "sof" = "\nTest Page\n\n\n"
30 | 
31 | ; Does bold, italic, use courier as underline.
32 | "bg-color" = ""
33 | "scheme-order" = "Fbiu"
34 | "start"
35 | {
36 |  "F" = ""
37 |  "b" = ""
38 |  "i" = ""
39 |  "u" = ""
40 | }
41 | "end"
42 | {
43 |  "b" = ""
44 |  "i" = ""
45 |  "u" = ""
46 | }
47 | ; Filter the following characters through the device.
48 | "filter"
49 | {
50 |  ;;            0x20= \;;
51 |  "<" = "<\;"
52 |  ">" = ">\;"
53 |  "&" = "&\;"
54 |  "\"" = ""\;"
55 | }
56 | "layout"
57 | {
58 |  "Default"
59 |  {
60 |   " 80x66"
61 |   {
62 |    "paper-x" = "80"
63 |    "paper-y" = "66"
64 |   }
65 |   "160x134"
66 |   {
67 |    "paper-x" = "160"
68 |    "paper-y" = "134"
69 |   }
70 |  }
71 | }
72 | 


--------------------------------------------------------------------------------
/.jasspa/macros/printwdw.erf:
--------------------------------------------------------------------------------
 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 2 | ;
 3 | ;  Author        : Steven Phillips
 4 | ;  Last Modified : <030515.1333>
 5 | ;
 6 | ;  Description   : Windows printer driver.
 7 | ;
 8 | ;  Notes
 9 | ; 
10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11 | "internal" = "1"              ;; Windows internal printer driver
12 | "win-default" = "1"           ;; Use the defult printer by default
13 | 
14 | ; Separator characters
15 | "econt" = "\\"                ;; Print continuation character.
16 | "scont" = ">"                 ;; Print start continuation character
17 | "xsep" = "-+-"                ;; Horizontal/vertical separator intersection.
18 | "hsep" = "-"                  ;; Horizontal separator sting - one character.
19 | "vsep" = " | "                ;; Vertical separator string
20 | "wsep" = "3"                  ;; The vertical separator width is 3 characters
21 | 
22 | ; Strip blanks from the end of the line.
23 | "strip" = "1"
24 | 
25 | "sof" = ""
26 | "eof" = ""
27 | "sop" = "\es"
28 | "eop" = "\ee"
29 | "eol" = "\n"
30 | "scheme-order" = "BFbiu"
31 | "start"
32 | {
33 |  "B" = "\ec%p1%02xB"
34 |  "F" = "\ec%p1%02xF"
35 |  "b" = "\efA"
36 |  "i" = "\efB"
37 |  "u" = "\efC"
38 | }
39 | "end"
40 | {
41 |  "b" = "\efa"
42 |  "i" = "\efb"
43 |  "u" = "\efc"
44 | }
45 |   
46 | "layout"
47 | {
48 |  "automatic"
49 |  {
50 |   "automatic"
51 |   {
52 |    "page-x" = "80"
53 |    "page-y" = "66"
54 |    "specifier-x" = "1"
55 |    "specifier-y" = "1"
56 |   }
57 |  }
58 | }
59 | 


--------------------------------------------------------------------------------
/.jasspa/macros/psf.etf:
--------------------------------------------------------------------------------
 1 | ##############################################################################
 2 | #
 3 | #  System        : 
 4 | #  Module        : 
 5 | #  Object Name   : $RCSfile$
 6 | #  Revision      : $Revision$
 7 | #  Date          : $Date$
 8 | #  Author        : $Author$
 9 | #  Created By    : $USER_NAME$
10 | #  Created       : $ASCII_TIME$
11 | #  Last Modified : <090829.1749>
12 | #
13 | #  Description	
14 | #
15 | #  Notes
16 | #
17 | #  History
18 | #
19 | ##############################################################################
20 | #
21 | #  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | # 
23 | #  All Rights Reserved.
24 | # 
25 | #  This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | #  reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | #  readable form without prior written consent from $COMPANY_NAME$.
28 | #
29 | ##############################################################################
30 | 
31 | vendor
32 |     # 
33 |     tag yourtag
34 |     description "your description"
35 |     title "your title"
36 | end
37 | product
38 |     tag yourtag
39 |     title "your title"
40 |     description "your description"
41 | 
42 |     # Revision
43 |     revision 1.0
44 | 
45 |     #
46 |     # HP-UX 10.20
47 |     # architecture S700/800_HPUX_10
48 |     # machine_type 9000/[78]*
49 |     # os_name HP-UX
50 |     # os_release ?.10.*
51 |     # os_version *
52 |     #
53 |     # HP-UX 11.x
54 |     architecture HP-UX_B.11.00_32/64
55 |     machine_type 9000/[78]*:*
56 |     os_name HP-UX
57 |     os_release ?.11.*
58 |     os_version *
59 |         
60 |     copyright "Copyright (c) $YEAR$ $COMPANY_NAME$"
61 | 
62 |     fileset
63 |         tag yourtag
64 |         title "your title"
65 |         revision 1.0
66 |         #
67 |         postinstall your.postinstall
68 |         postremove  your.postremove
69 |         #
70 |         directory product=/opt/product
71 |         file_permissions -u 022 -g bin -o bin
72 |         file *
73 |     end
74 | end    
75 | 
76 | 


--------------------------------------------------------------------------------
/.jasspa/macros/python.eaf:
--------------------------------------------------------------------------------
 1 |  "" " \ecCControl Flow:\ecA"
 2 | def "def \p():\P" "  def"
 3 | class "class \p:\r    \" Docstring\"\r    def __init__(self):\P" "  class"
 4 | defm "def \p():\P" "  classdef public"
 5 | defmp "def __\p__():\P" "  classdef private"
 6 | if "if \p:\P" "  if"
 7 | ifelse "if \p:\r\relse:\r\P" "  if else"
 8 | while "while (\p):\P" "  while"
 9 | for "for \p in range(10):\P" "  for"
10 | tryex "try:\r    # try code\r    \p\rexcept ...Error:\r     # except code\P" "  try except"
11 | tryfi "try:\r    # try code\r    \p\rfinally:\r     # finally code\P" "  try finally"
12 |  "" ""
13 |  "" " \ecCTkinter:\ecA "
14 | import "from Tkinter import *\r"  "  import"
15 |  "" ""
16 | 


--------------------------------------------------------------------------------
/.jasspa/macros/python.etf:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/env python
 2 | ##############################################################################
 3 | #
 4 | #  System        : 
 5 | #  Module        : 
 6 | #  Object Name   : $RCSfile$
 7 | #  Revision      : $Revision$
 8 | #  Date          : $Date$
 9 | #  Author        : $Author$
10 | #  Created By    : $USER_NAME$
11 | #  Created       : $ASCII_TIME$
12 | #  Last Modified : <090829.1749>
13 | #
14 | #  Description	
15 | #
16 | #  Notes
17 | #
18 | #  History
19 | #	
20 | ##############################################################################
21 | #
22 | #  Copyright (c) $YEAR$ $COMPANY_NAME$.
23 | # 
24 | #  All Rights Reserved.
25 | # 
26 | #  This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
27 | #  reproduced,  translated,  or  reduced to any  electronic  medium or machine
28 | #  readable form without prior written consent from $COMPANY_NAME$.
29 | #
30 | ##############################################################################
31 | 
32 | 


--------------------------------------------------------------------------------
/.jasspa/macros/ruby.etf:
--------------------------------------------------------------------------------
 1 | ## -*- ruby -*- ##############################################################
 2 | #
 3 | #  System        : 
 4 | #  Module        : 
 5 | #  Object Name   : $RCSfile$
 6 | #  Revision      : $Revision$
 7 | #  Date          : $Date$
 8 | #  Author        : $Author$
 9 | #  Created By    : $USER_NAME$
10 | #  Created       : $ASCII_TIME$
11 | #  Last Modified : <090829.1750>
12 | #
13 | #  Description	
14 | #
15 | #  Notes
16 | #
17 | #  History
18 | #
19 | ##############################################################################
20 | #
21 | #  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | # 
23 | #  All Rights Reserved.
24 | # 
25 | #  This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | #  reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | #  readable form without prior written consent from $COMPANY_NAME$.
28 | #
29 | ##############################################################################
30 | 
31 | 
32 | 


--------------------------------------------------------------------------------
/.jasspa/macros/rul.etf:
--------------------------------------------------------------------------------
 1 | /////////////////////////////////////////////////////////////////////////////
 2 | //
 3 | //  System        : 
 4 | //  Module        : 
 5 | //  Object Name   : $RCSfile$
 6 | //  Revision      : $Revision$
 7 | //  Date          : $Date$
 8 | //  Author        : $Author$
 9 | //  Created By    : $USER_NAME$
10 | //  Created       : $ASCII_TIME$
11 | //  Last Modified : <090829.1750>
12 | //
13 | //  Description	
14 | //
15 | //  Notes
16 | //
17 | //  History
18 | //	
19 | /////////////////////////////////////////////////////////////////////////////
20 | //
21 | //  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | // 
23 | //  All Rights Reserved.
24 | // 
25 | // This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | // reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | // readable form without prior written consent from $COMPANY_NAME$.
28 | //
29 | //////////////////////////////////////////////////////////////////////////////
30 | 
31 | 


--------------------------------------------------------------------------------
/.jasspa/macros/schemes.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 2000-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Created:     Fri Feb 2 2001
 7 | ; Synopsis:    List of screen color schemes
 8 | ; Authors:     Steven Phillips
 9 | ;
10 | set-variable .scheme.scheme-names "|Default White on Black|Basic Black on Cream|Black on Cream|Sandy Shores|Sherwood Forest|Brownie|Lemon Jelly|Blue Hue|Mirkwood|Plain Black on Cream|Plain White on Black|Black on Grey|MS Dev-Studio Colors|Termcap (black)|Termcap (White)|Charcoal|Lumina|General Electric Black|General Electric Blue|General Electric Olive|General Electric Gray|"
11 | set-variable .scheme.scheme-files "|schemed|schemebc|schemej|schemevi|schemesf|schemeb|schemelj|schemebh|schememw|schemepl|schemepd|schemel|schememd|schemetb|schemetw|schemech|schemelm|schemege|schemegb|schemego|schemegg|"
12 | 


--------------------------------------------------------------------------------
/.jasspa/macros/sessnstp.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 2006-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Created:     2006-06-09
 7 | ; Synopsis:    ME Session setup dialog
 8 | ; Authors:     Steven Phillips
 9 | ;
10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11 | !if ¬ &exi .osd.sssnc
12 |     set-variable .osd.sssn &pinc .osd.next 1
13 | !endif
14 | 
15 | 0 define-macro session-setup-entry
16 |     !if &les @# 0
17 |         set-variable %session-name @ml2 "" %session-name
18 |     !else
19 |         set-variable $result %session-name
20 |     !endif
21 | !emacro
22 | 0 define-macro session-setup-cb
23 |     set-variable #l0 &ind &set #l1 &cat ".session." &lget "|kill|amark|update|" &abs @#
24 |     !if &les @# 0
25 |         set-variable &ind #l1 &bxor #l0 1
26 |     !elif ¬ #l0
27 |         !abort
28 |     !endif
29 | !emacro
30 | 
31 | -1 osd .osd.sssn
32 | osd .osd.sssn 0  "batcDHs" 3 6 52 8 -1 -1 520 .scheme.osd-title "Session Setup"
33 | osd .osd.sssn 10  ""
34 | osd .osd.sssn 15  ""
35 | osd .osd.sssn 20  "Sfh" "  \HName: " 30
36 | osd .osd.sssn 30  "EtxHf" .scheme.osd-entry "###############################" 1 session-setup-entry
37 | osd .osd.sssn 50  ""
38 | osd .osd.sssn 60  "hf" "       "
39 | osd .osd.sssn 70  "Ctpfx" &cat .osd.checkbox-chars "\} Save \Hkill chain" 1 session-setup-cb
40 | osd .osd.sssn 80  ""
41 | osd .osd.sssn 90  "hf" "       "
42 | osd .osd.sssn 100 "Ctpfx" &cat .osd.checkbox-chars "\} Save buffer \Hbookmarks" 2 session-setup-cb
43 | osd .osd.sssn 110  ""
44 | osd .osd.sssn 120 "hf" "       "
45 | osd .osd.sssn 130 "Ctpfx" &cat .osd.checkbox-chars "\} Auto \HUpdate" 3 session-setup-cb
46 | osd .osd.sssn 500 ""
47 | osd .osd.sssn 510 ""
48 | osd .osd.sssn 520 "BtcfHh" .scheme.osd-ebtt " \HOkay " f void
49 | 
50 | define-macro session-setup
51 |     !if ¬ &exi %session-name
52 |         set-variable %session-name $user-name
53 |     !endif
54 |     !force .osd.sssn osd
55 | !emacro
56 | 


--------------------------------------------------------------------------------
/.jasspa/macros/spec.etf:
--------------------------------------------------------------------------------
 1 | ##############################################################################
 2 | #
 3 | #  System        :
 4 | #  Module        :
 5 | #  Object Name   : $RCSfile$
 6 | #  Revision      : $Revision$
 7 | #  Date          : $Date$
 8 | #  Author        : $Author$
 9 | #  Created By    : $USER_NAME$
10 | #  Created       : $ASCII_TIME$
11 | #  Last Modified : <090829.1750>
12 | #
13 | #  Description
14 | #
15 | #  Notes
16 | #
17 | #  History
18 | #
19 | ##############################################################################
20 | #
21 | #  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | #
23 | #  All Rights Reserved.
24 | #
25 | #  This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | #  reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | #  readable form without prior written consent from $COMPANY_NAME$.
28 | #
29 | ##############################################################################
30 | 
31 | Summary:            # your one line summary of package
32 | Name:               # yourPackageName - what the package will be called.
33 | Version: 1.0        # Version of software being packaged.
34 | Release: 1          # Number of times software been packaged.
35 | Copyright: GPL      # Copyright terms, we'll assume GPL here.
36 | Group:              # How package should be grouped i.e. Applications/Sound
37 | URL:                # http://www.somewhere.com
38 | Source:             # where you get your source from
39 | Packager: $USER_NAME$ 
40 | Vendor:   $COMPANY_NAME$
41 | 
42 | %description
43 | Add a longer description here
44 | that may span over multiple lines
45 | and end with an empty line.
46 | 
47 | # Scripts to prepare the package
48 | %prep
49 | 
50 | # As alternative to %prep then use %setup
51 | %setup
52 | 
53 | # Shell script to build product
54 | %build
55 | make
56 | 
57 | # Shell script to install the product.
58 | %install
59 | make install
60 | 
61 | # Clean - remove files that are not part of build area.
62 | %clean
63 | 
64 | # Define the files that are part of the package.
65 | %files
66 | %defattr(-,root,root)
67 | %doc README
68 | %{_bindir}/myapp
69 | %{_datadir}/myappdata
70 | 
71 | # Log of changes
72 | %changelog
73 | 


--------------------------------------------------------------------------------
/.jasspa/macros/spellutl.emf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/macros/spellutl.emf


--------------------------------------------------------------------------------
/.jasspa/macros/ssaver.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 1997-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Created:     Sun Dec 21 1997
 7 | ; Synopsis:    Cheesy Screen saver (for dos?)
 8 | ; Authors:     Steven Phillips
 9 | ;
10 | set-variable %screen-saver 0
11 | define-macro screen-saver
12 |     !if ¬ &pinc %screen-saver 1
13 |         !if &seq @cck "idle-pick"
14 |             ; default is to switch on in 5 minutes time
15 |             &cond @? @# 300000 create-callback screen-saver
16 |         !else
17 |             !if &seq @cck "callback"
18 |                 @# create-callback screen-saver
19 |             !elif @?
20 |                 ; user has suppled argument, install or remove
21 |                 !if &gre @# 0
22 |                     &mul @# 60000 global-bind-key screen-saver "idle-pick"
23 |                 !else
24 |                     !force global-unbind-key "idle-pick"
25 |                 !endif
26 |                 set-variable %screen-saver &sub %screen-saver 1
27 |                 !return
28 |             !endif
29 |             set-variable @# $frame-depth
30 |             !while &dec @# 1
31 |                 2 screen-poke @# 0 $global-scheme &spr "%n" $frame-width " "
32 |             !done
33 |             0 screen-poke 0 0 $global-scheme &spr "%n" $frame-width " "
34 |             -1 show-cursor
35 |             ; must set this to stop recursion when waiting for a key!
36 |             set-variable %screen-saver 0
37 |             set-variable @# @cg
38 |             set-variable %screen-saver 1
39 |             1 show-cursor
40 |             screen-update
41 |             0 ml-write
42 |         !endif
43 |     !endif
44 |     set-variable %screen-saver &sub %screen-saver 1
45 | !emacro
46 | 
47 | 


--------------------------------------------------------------------------------
/.jasspa/macros/sunos.emf:
--------------------------------------------------------------------------------
 1 | ;-!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 1995-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Synopsis:    Setup file for SunOS boxes.
 7 | ; Authors:     Steven Phillips
 8 | ;
 9 | ; Load up common unix stuff
10 | !force exec-file "unixterm"
11 | ;
12 | ; Compile stuff
13 | 0 add-next-line "*compile*"
14 | add-next-line "*compile*" "\"%f\", line %l:"
15 | ; gcc compiler
16 | add-next-line "*compile*" "%f:%l:"
17 | ; End if terminal mode
18 | 


--------------------------------------------------------------------------------
/.jasspa/macros/tcl.etf:
--------------------------------------------------------------------------------
 1 | ##############################################################################
 2 | #
 3 | #  System        : 
 4 | #  Module        : 
 5 | #  Object Name   : $RCSfile$
 6 | #  Revision      : $Revision$
 7 | #  Date          : $Date$
 8 | #  Author        : $Author$
 9 | #  Created By    : $USER_NAME$
10 | #  Created       : $ASCII_TIME$
11 | #  Last Modified : <090829.1750>
12 | #
13 | #  Description	
14 | #
15 | #  Notes
16 | #
17 | #  History
18 | #	
19 | ##############################################################################
20 | #
21 | #  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | # 
23 | #  All Rights Reserved.
24 | # 
25 | #  This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | #  reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | #  readable form without prior written consent from $COMPANY_NAME$.
28 | #
29 | ##############################################################################
30 | 
31 | 
32 | 


--------------------------------------------------------------------------------
/.jasspa/macros/tooldef.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Created:     Fri May 24 2002
 7 | ; Synopsis:    Default dummy toolbar tools
 8 | ; Authors:     Steven Phillips
 9 | ;
10 | 0 define-macro toolbar-default
11 |     set-position "\x86"
12 |     goto-position "\x85"
13 |     set-variable #l0 &mid $buffer-bname 9 &sub &len $buffer-bname 10
14 |     set-variable #l1 &cond &gre $window-depth $window-width "\n" " "
15 |     find-buffer &spr "*toolbar-%s*" #l0 
16 |     -1 buffer-mode "undo"
17 |     -1 buffer-mode "view"
18 |     beginning-of-buffer
19 |     set-mark
20 |     end-of-buffer
21 |     -1 kill-region
22 |     set-variable #l0 &cat &sup &lef #l0 1 &rig #l0 1
23 |     insert-string &cat #l0 " Toolbar\n\n"
24 |     insert-string &spr "The %s toolbar%shas not yet been%sconfigured.\n\nUse mode-line right%smouse button pop-up%smenu to set-up." #l0 #l1 #l1 #l1 #l1
25 |     beginning-of-buffer
26 |     set-variable $line-scheme .scheme.header
27 |     -1 buffer-mode "edit"
28 |     1 buffer-mode "view"
29 |     goto-position "\x86"
30 | !emacro
31 | 


--------------------------------------------------------------------------------
/.jasspa/macros/toollist.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 2002-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Created:     Fri May 24 2002
 7 | ; Synopsis:    List of toolbar tools
 8 | ; Authors:     Steven Phillips
 9 | ;
10 | ; Setup the Toolbar tools
11 | set-variable .toolbar.tool-descs "\CHBuffer Bookmarks\CHBuffer File Info\CHBuffer List\CHBuffer Tab List\CHKill List\CHBuffer Tools\CHBuffer Abbreviations\CHBuffer Item List\CHDirectory Tree\CHDirectory File List\CHFavorites\CHFTP Console\CHCVS Console\CHClearCase Console\CH"
12 | set-variable .toolbar.tool-names "\CHBookmarks\CHInfo\CHBuff List\CHBuffer Tab List\CHKill List\CHTools\CHAbbrevs\CHItems\CHDir Tree\CHDir Files\CHFavorites\CHFTP Console\CHCVS Console\CHClearCase Console\CH"
13 | set-variable .toolbar.tool-buffs "\CH*bookmark*\CH*buffer-info*\CH*buffer-list*\CH*toolbar-buffer-tab*\CH*kill-list*\CH*tool-list*\CH*abbrev-list*\CH*item-list*\CH*directory*\CH*toolbar-files*\CH*favorites*\CH*ftp-console*\CH*cvs-console*\CH*cc-console*\CH"
14 | set-variable .toolbar.tool-files "\CHbookmark\CHtoolstd\CHtoolstd\CHtoolstd\CHkilllist\CHabbrlist\CHabbrlist\CHitemlist\CHtoolstd\CHhkdirlst\CHfavorite\CHftp\CHcvs\CHclearcs\CH"
15 | set-variable .toolbar.tool-flags "\CH0x2000b\CH0x22001b\CH0x1b\CH0x10000b\CH0x100003\CH0x10007\CH0x10007\CH0x22000f\CH0x1\CH0x200001\CH0x3\CH0x01\CH0x01\CH0x01\CH"
16 | set-variable .toolbar.tool-cmds  "\CHbookmark-create\CHbuffer-info-create\CHbuffer-list-create\CHbuffer-tab-list-create\CHkill-list-create\CHtool-list-create\CHabbrev-list-create\CHitem-list-create\CHtoolbar-dir-list-create\CHtoolbar-file-list-create\CHtoolbar-favorites\CHftp-console-tool\CHcvs-console-tool\CHcc-console-tool\CH"
17 | 


--------------------------------------------------------------------------------
/.jasspa/macros/txt.eaf:
--------------------------------------------------------------------------------
1 |  "" "\ecCJustify Paragraph:\ecA"
2 |  "\Exfill-paragraph-both\N" "  Both"
3 |  "\Exfill-paragraph-center\N" "  Center"
4 |  "\Exfill-paragraph-left\N" "  Left"
5 |  "\Exfill-paragraph-right\N" "  Right"
6 | 


--------------------------------------------------------------------------------
/.jasspa/macros/unixterm.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 1995-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Synopsis:    Common unix setup file
 7 | ; Authors:     Steven Phillips
 8 | ;
 9 | define-macro-file hkman man
10 | define-macro-file hkipipe ishell gdb dbx perldb
11 | add-file-hook ".C" fhook-cpp
12 | 0 define-macro exec-me
13 |     ipipe-shell-command &spr "\"%s\" %s" $progname @1 @mna
14 | !emacro
15 | !if &band $system 0x01
16 |     ; Not using X
17 |     !if ¬ &band $system 0x02
18 |         ; no color - change the window chars so osd is more usable
19 |         set-variable $window-chars &spr "%s=x*[>]<%s" &lef $window-chars 47 &rig $window-chars 54
20 |     !endif
21 | !else
22 |     !if ¬ &seq &set #l0 ® &spr "/history/%s/font" $platform "" ""
23 |         change-font #l0
24 |     !endif
25 | !endif
26 | ;
27 | ; setup the next-error stuff including grep and compiling
28 | ;
29 | set-variable $line-template "[0-9]+"
30 | set-variable $file-template "[!-9;-z~]+"
31 | set-variable %ipipe-term "TERM=vt100-nam"
32 | ; Grep stuff
33 | set-variable %xgrep-com "grep -n"
34 | ; RCS stuff
35 | set-variable $rcs-file     "RCS/%f,v"
36 | set-variable $rcs-co-com   "co %f"
37 | set-variable $rcs-cou-com  "co -l %f"
38 | set-variable $rcs-ci-com   "ci -u -m\"%m\" %f"
39 | ;set-variable $rcs-cif-com  "ci -u -m\"%m\" %f"
40 | ; Declare the .dir file found in X11 font directory, this is not an info file.
41 | add-file-hook ".dir"                                          fhook-txt
42 | 


--------------------------------------------------------------------------------
/.jasspa/macros/vhdl.eaf:
--------------------------------------------------------------------------------
1 | if "if \p then\rend if;\P"
2 | be "begin\r\p\rend\P"
3 | el "eleif \p then\P"
4 | wh "while \p loop\rend loop;\P"
5 | 


--------------------------------------------------------------------------------
/.jasspa/macros/vhdl.etf:
--------------------------------------------------------------------------------
 1 | -----------------------------------------------------------------------------
 2 | --
 3 | --  System        : 
 4 | --  Module        : 
 5 | --  Object Name   : $RCSfile$
 6 | --  Revision      : $Revision$
 7 | --  Date          : $Date$
 8 | --  Author        : $Author$
 9 | --  Created By    : $USER_NAME$
10 | --  Created       : $ASCII_TIME$
11 | --  Last Modified : <090829.1750>
12 | --
13 | --  Description	
14 | --
15 | --  Notes
16 | --
17 | --  History
18 | --	
19 | -----------------------------------------------------------------------------
20 | --
21 | --  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 | -- 
23 | --  All Rights Reserved.
24 | -- 
25 | -- This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 | -- reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 | -- readable form without prior written consent from $COMPANY_NAME$.
28 | --
29 | -----------------------------------------------------------------------------
30 | 
31 | 


--------------------------------------------------------------------------------
/.jasspa/macros/xml.etf:
--------------------------------------------------------------------------------
 1 | 
 2 | 
17 | 


--------------------------------------------------------------------------------
/.jasspa/macros/yacc.etf:
--------------------------------------------------------------------------------
 1 | /****************************************************************************
 2 |  *
 3 |  *  System        : 
 4 |  *  Module        : 
 5 |  *  Object Name   : $RCSfile$
 6 |  *  Revision      : $Revision$
 7 |  *  Date          : $Date$
 8 |  *  Author        : $Author$
 9 |  *  Created By    : $USER_NAME$
10 |  *  Created       : $ASCII_TIME$
11 |  *  Last Modified : <090829.1750>
12 |  *
13 |  *  Description	
14 |  *
15 |  *  Notes
16 |  *
17 |  *  History
18 |  *	
19 |  ****************************************************************************
20 |  *
21 |  *  Copyright (c) $YEAR$ $COMPANY_NAME$.
22 |  * 
23 |  *  All Rights Reserved.
24 |  * 
25 |  * This  document  may  not, in  whole  or in  part, be  copied,  photocopied,
26 |  * reproduced,  translated,  or  reduced to any  electronic  medium or machine
27 |  * readable form without prior written consent from $COMPANY_NAME$.
28 |  *
29 |  ****************************************************************************/
30 | 
31 | static const char rcsid[] = "@(#) : $Id$";
32 | 
33 | 
34 | 


--------------------------------------------------------------------------------
/.jasspa/macros/zaurus.emf:
--------------------------------------------------------------------------------
 1 | ; -!- emf -!-
 2 | ; This is part of the JASSPA MicroEmacs macro files
 3 | ; Copyright (C) 1998-2009 JASSPA (www.jasspa.com)
 4 | ; See the file me.emf for copying and conditions.
 5 | ;
 6 | ; Synopsis:    Setup file for Zaurus Linux boxes
 7 | ; Authors:     Jon Green & Steven Phillips
 8 | ;
 9 | ; Load up common unix stuff
10 | !force exec-file "unixterm"
11 | ; redefine the main menu due to screen width problems
12 | osd 0  5   "D"
13 | osd 0  10  "Mdfsh" " \HFile "   1
14 | osd 0  15  "D"
15 | osd 0  20  "Mdfsh" " \HEdit "   2
16 | osd 0  25  "D"
17 | osd 0  30  "Mdfsh" " \HSearch "  3
18 | osd 0  35  "D"
19 | osd 0  40  "Mdfsh" " \HInsert "  4
20 | osd 0  45  "D"
21 | osd 0  50  "Mdfsh" " F\Hormat "  5
22 | osd 0  55  "D"
23 | osd 0  60  "Mdfsh" " E\Hxecute "  6
24 | osd 0  65  "D"
25 | osd 0  70  "Mdfsh" " \HTools "  7
26 | osd 0  75  "D"
27 | osd 0  80  "Mdfsh" " \HWindow "  8
28 | osd 0  85  "D"
29 | osd 0  90  "Mdfsr" " \HHelp "     9
30 | ; shrink the default window size so it fits
31 | !if ¬ &set #l0 ® &spr "/history/%s/frame-width" %platform "0"
32 |     change-frame-width 71
33 | !endif
34 | !if ¬ &set #l0 ® &spr "/history/%s/frame-depth" %platform "0"
35 |     change-frame-depth 28
36 | !endif
37 | 
38 | ; no vt100-nam on linux, this may cause problems in an ishell
39 | set-variable %ipipe-term "TERM=vt100"
40 | ;
41 | ; Compile stuff
42 | 0 add-next-line "*compile*"
43 | add-next-line "*compile*" "%f:%l:"
44 | ;
45 | ; Diff stuff; LINUX uses GNU diff so set this up for all LINUX
46 | ; platforms. Nobody is going to change this are they ??
47 | set-variable %diff-com "diff --context --minimal --ignore-space-change --recursive"
48 | 
49 | 


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me.l.pm:
--------------------------------------------------------------------------------
 1 | /* XPM */
 2 | static char * me_l_pm[] = {
 3 | /* width height ncolors cpp [x_hot y_hot] */
 4 | "48 48 6 1 0 0",
 5 | /* colors */
 6 | " 	c #C0C0C0C0C0C0",
 7 | ".	s iconColor1	m black	c black",
 8 | "X	c #00000000FFFF",
 9 | "o	s none	m none	c none",
10 | "O	s iconColor6	m white	c yellow",
11 | "+	c #FFFF00000000",
12 | /* pixels */
13 | "                                                ",
14 | "                                                ",
15 | ".XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.",
16 | ".XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.",
17 | "..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..",
18 | "o.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.o",
19 | "oo.                                          .oo",
20 | "oo.                                          .oo",
21 | "ooo..........................................ooo",
22 | "ooo..........................................ooo",
23 | "oooo.........................................ooo",
24 | "oooo...............OOOOOOOOOO...............oooo",
25 | "ooooo............OOOOOOOOOOOOOO.............oooo",
26 | "ooooo...........OOOOOOOOOOOOOOOOO..........ooooo",
27 | "oooooo.........OOOOOOOOOOOOOOOOOOO.........ooooo",
28 | "oooooo........OOOOOOOO....OOOOOOOO........oooooo",
29 | "ooooooo.......OOOOOOO......OOOOOOOO.......oooooo",
30 | "oooooooo.....OOOOOOO........OOOOOOO......ooooooo",
31 | "oooooooo....OOOOOOO..........OOOOOO......ooooooo",
32 | "oooooooo....OOOOOO............OOOOOO....oooooooo",
33 | "ooooooooo...OOOOOO............OOOOOO...ooooooooo",
34 | "ooooooooo...OOOOOOOOOOOOOOOOOOOOOOOO...ooooooooo",
35 | "oooooooooo..OOOOOOOOOOOOOOOOOOOOOOOO..oooooooooo",
36 | "ooooooooooo.OOOOOOOOOOOOOOOOOOOOOOOO..oooooooooo",
37 | "ooooooooooo.OOOOOOOOOOOOOOOOOOOOOOOO..oooooooooo",
38 | "ooooooooooo.OOOOOOOOOOOOOOOOOOOOOOOO.ooooooooooo",
39 | "ooooooooooo.OOOOOO...................ooooooooooo",
40 | "ooooooooooo.OOOOOO..................oooooooooooo",
41 | "oooooooooooo.OOOOOO.................oooooooooooo",
42 | "oooooooooooo.OOOOOOO...............ooooooooooooo",
43 | "ooooooooooooo.OOOOOOO........OOOO..ooooooooooooo",
44 | "ooooooooooooo.OOOOOOOO......OOOOOO..oooooooooooo",
45 | "oooooooooooooo.OOOOOOOOOOOOOOOOOOOOO.ooooooooooo",
46 | "ooooooooooooooo..OOOOOOOOOOOOOOOOOO.oooooooooooo",
47 | "oooooooooooooooo..OOOOOOOOOOOOOOOO.ooooooooooooo",
48 | "oooooooooooooooo....OOOOOOOOOOO...oooooooooooooo",
49 | "oooooooooooooooo.................ooooooooooooooo",
50 | "ooooooooooooooooo...............oooooooooooooooo",
51 | "ooooooooooooooooo.            .ooooooooooooooooo",
52 | "oooooooooooooooooo.++++++++++.oooooooooooooooooo",
53 | "ooooooooooooooooooo.+++++++++.oooooooooooooooooo",
54 | "ooooooooooooooooooo.++++++++.ooooooooooooooooooo",
55 | "oooooooooooooooooooo.+++++++.ooooooooooooooooooo",
56 | "oooooooooooooooooooo.++++++.oooooooooooooooooooo",
57 | "ooooooooooooooooooooo.+++++.oooooooooooooooooooo",
58 | "ooooooooooooooooooooo.++++.ooooooooooooooooooooo",
59 | "oooooooooooooooooooooo.+++.ooooooooooooooooooooo",
60 | "ooooooooooooooooooooooo...oooooooooooooooooooooo"};
61 | 


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me.m.pm:
--------------------------------------------------------------------------------
 1 | /* XPM */
 2 | static char * me_m_pm[] = {
 3 | /* width height ncolors cpp [x_hot y_hot] */
 4 | "32 32 6 1 0 0",
 5 | /* colors */
 6 | " 	c #C0C0C0C0C0C0",
 7 | ".	s iconColor1	m black	c black",
 8 | "X	c #00000000FFFF",
 9 | "o	s none	m none	c none",
10 | "O	s iconColor6	m white	c yellow",
11 | "+	c #FFFF00000000",
12 | /* pixels */
13 | "                                ",
14 | ".XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.",
15 | "..XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.",
16 | "o.XXXXXXXXXXXXXXXXXXXXXXXXXXXX.o",
17 | "o.                            .o",
18 | "oo............................oo",
19 | "oo............................oo",
20 | "ooo..........OOOOOO..........ooo",
21 | "ooo........OOOOOOOOOO........ooo",
22 | "oooo......OOOOOOOOOOOO......oooo",
23 | "oooo.....OOOOO....OOOOO.....oooo",
24 | "ooooo....OOOO......OOOO....ooooo",
25 | "ooooo...OOOO........OOO....ooooo",
26 | "oooooo..OOOO........OOOO..oooooo",
27 | "oooooo..OOOOOOOOOOOOOOOO..oooooo",
28 | "ooooooo.OOOOOOOOOOOOOOOO.ooooooo",
29 | "ooooooo.OOOOOOOOOOOOOOOO.ooooooo",
30 | "ooooooo.OOOO............oooooooo",
31 | "ooooooo.OOOO............oooooooo",
32 | "oooooooo.OOOO..........ooooooooo",
33 | "oooooooo.OOOOO.....OOO..oooooooo",
34 | "ooooooooo.OOOOOOOOOOOOOOoooooooo",
35 | "oooooooooo.OOOOOOOOOOOO.oooooooo",
36 | "ooooooooooo..OOOOOOO...ooooooooo",
37 | "ooooooooooo..........ooooooooooo",
38 | "oooooooooooo.      .oooooooooooo",
39 | "oooooooooooo.++++++.oooooooooooo",
40 | "ooooooooooooo.++++.ooooooooooooo",
41 | "ooooooooooooo.++++.ooooooooooooo",
42 | "oooooooooooooo.++.oooooooooooooo",
43 | "oooooooooooooo.++.oooooooooooooo",
44 | "ooooooooooooooo  ooooooooooooooo"};
45 | 


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me.t.pm:
--------------------------------------------------------------------------------
 1 | /* XPM */
 2 | static char * me_t_pm[] = {
 3 | /* width height ncolors cpp [x_hot y_hot] */
 4 | "16 16 5 1 0 0",
 5 | /* colors */
 6 | " 	c #00000000FFFF",
 7 | ".	s iconColor1	m black	c black",
 8 | "X	s none	m none	c none",
 9 | "o	s iconColor6	m white	c yellow",
10 | "O	c #FFFF00000000",
11 | /* pixels */
12 | "                ",
13 | ".              .",
14 | "................",
15 | "X.....oooo.....X",
16 | "XX...oooooo....X",
17 | "XX..ooo..ooo..XX",
18 | "XXX.oo....oo..XX",
19 | "XXX.oooooooo.XXX",
20 | "XXX.oo.......XXX",
21 | "XXX.oo......XXXX",
22 | "XXXX.oooooooXXXX",
23 | "XXXXX.oooo..XXXX",
24 | "XXXXXX.OOO.XXXXX",
25 | "XXXXXX.OOO.XXXXX",
26 | "XXXXXXX.O.XXXXXX",
27 | "XXXXXXXX.XXXXXXX"};
28 | 


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me.xpm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me.xpm


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me_128.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me_gnome_48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me_gnome_48.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me_l.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me_m.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me_m.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/me_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/me_s.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/mini-me.xpm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/mini-me.xpm


--------------------------------------------------------------------------------
/.jasspa/pixmaps/ne.xpm:
--------------------------------------------------------------------------------
 1 | /* XPM */
 2 | static char * ne32_xpm[] = {
 3 | "48 48 17 1",
 4 | " 	c None",
 5 | ".	c #000000",
 6 | "+	c #800000",
 7 | "@	c #008000",
 8 | "#	c #808000",
 9 | "$	c #000080",
10 | "%	c #800080",
11 | "&	c #008080",
12 | "*	c #C0C0C0",
13 | "=	c #808080",
14 | "-	c #FF0000",
15 | ";	c #00FF00",
16 | ">	c #FFFF00",
17 | ",	c #0000FF",
18 | "'	c #FF00FF",
19 | ")	c #00FFFF",
20 | "!	c #FFFFFF",
21 | "************************************************",
22 | "*..............................................*",
23 | "*.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.*",
24 | "*.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.*",
25 | "*.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.*",
26 | "**.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**",
27 | "***.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.**",
28 | "********************************************.***",
29 | "****.........................................***",
30 | "****........................................****",
31 | "*****...................>>>>>..............*****",
32 | "*****...........>>>>..>>>>>>>>>............*****",
33 | "******..........>>>>..>>>>>>>>>............*****",
34 | "*******.........>>>>>>>>>>>>>>>>..........******",
35 | "*******.........>>>>>>>...>>>>>>>.........******",
36 | "*******.........>>>>>>.....>>>>>>........*******",
37 | "********........>>>>>>......>>>>>.......********",
38 | "********........>>>>>.......>>>>>.......********",
39 | "*********.......>>>>>.......>>>>>.......********",
40 | "**********......>>>>>.......>>>>>......*********",
41 | "**********......>>>>>.......>>>>>.....**********",
42 | "**********......>>>>>.......>>>>>.....**********",
43 | "***********.....>>>>>.......>>>>>....***********",
44 | "************....>>>>>.......>>>>>....***********",
45 | "************....>>>>>.......>>>>>....***********",
46 | "*************...>>>>>.......>>>>>...************",
47 | "*************...>>>>>.......>>>>>...************",
48 | "*************...>>>>>.......>>>>>..*************",
49 | "**************..>>>>>.......>>>>>.**************",
50 | "**************..>>>>>.......>>>>>.**************",
51 | "***************.>>>>>.......>>>>>.**************",
52 | "****************.................***************",
53 | "****************.................***************",
54 | "****************................****************",
55 | "*****************...............****************",
56 | "*****************..............*****************",
57 | "******************.*****************************",
58 | "******************.-----------.*****************",
59 | "*******************----------.******************",
60 | "*******************.--------.*******************",
61 | "********************.-------********************",
62 | "********************.-------********************",
63 | "*********************.-----.********************",
64 | "**********************----.*********************",
65 | "**********************----.*********************",
66 | "**************************.*********************",
67 | "***********************.************************",
68 | "************************.***********************"};
69 | 


--------------------------------------------------------------------------------
/.jasspa/pixmaps/ne_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/ne_l.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/ne_m.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/ne_m.png


--------------------------------------------------------------------------------
/.jasspa/pixmaps/ne_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/.jasspa/pixmaps/ne_s.png


--------------------------------------------------------------------------------
/.jasspa/spelling/README.txt:
--------------------------------------------------------------------------------
 1 | > -!- document -!-
 2 | > This is part of the JASSPA MicroEmacs macro files
 3 | > Copyright (C) 2004 JASSPA (www.jasspa.com)
 4 | > See the file me.emf for copying and conditions.
 5 | >
 6 | 
 7 | Place any spelling  dictionaries  in this directory. The spelling
 8 | dictionaries  can be downloaded from  http://www.jasspa.com.  The
 9 | spelling dictionaries supported at the time of writing are:
10 | 
11 | ls_dede - German spell rules, base and extended dictionaries.
12 | ls_engb - British spell rules, base and extended dictionaries.
13 | ls_enus - American  spell rules, base and extended  dictionaries.
14 | ls_eses - Spanish spell rules and dictionary.
15 | ls_fifi - Finnish spell rules and dictionary.
16 | ls_frfr - French spell rules and dictionary.
17 | ls_itit - Italian spell rules and dictionary.
18 | ls_plpl - Polish spell rules and dictionary.
19 | ls_ptpt - Portuguese spell rules and dictionary.
20 | 
21 | The files  contained  within a  spelling  archive  use the naming
22 | convention:
23 | 
24 |     lsr.emf  Spelling rules.
25 |     lsdm.emf Base dictionary.
26 |     lsdx.emf Extended dictionary.
27 | 
28 | Some languages do not require an extended  dictionary. If you are
29 | short of space  then you can delete the  extended  dictionary  to
30 | leave  just the base  dictionary,  your word  repertoire  will be
31 | limited.
32 | 
33 | Usage
34 | -----
35 | JASSPA's  MicroEmacs  supports  an  automatic  spell  mode,  this
36 | performs  background  spell  checking  and  highlights  erroneous
37 | words. This mode may be enabled by:-
38 | 
39 |       Help -> User Setup -> Startup -> Auto Spell 
40 |       
41 | Spelling   errors  are  hilighted  in  most  color   schemes.  To
42 | correct  then move the mouse over the word and right  select, the
43 | Auto  spell  entry  should   display  in  a  pop-up,  select  the
44 | replacement word to correct.
45 | 
46 | You can spell the whole buffer using:
47 | 
48 |     esc-x spell-buffer
49 |     esc-x auto-spell-buffer            
50 | 
51 | Multiple  dictionaries may be supported on the same platform. The
52 | active dictionary may be changed from the dialog of spell buffer.
53 | 
54 | Installation
55 | ------------
56 |     Download the spelling  dictionary  and  decompress  into this
57 |     directory. 
58 |         
59 |     For a zip archive:-
60 |     
61 |         cd /path_to/jasspa/spelling
62 |         unzip /path_to_archive/le_enus.zip
63 |     
64 |     For tar+gzip archive (gtar on some platforms):-
65 |     
66 |         cd /path_to/jasspa/spelling
67 |         tar zxvf /path_to_archive/le_enus.tar.gz
68 | 


--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
 1 | ## General information about microemacs
 2 | 
 3 | Microemacs is sleek, portable emacs editor from 1985
 4 | (https://en.wikipedia.org/wiki/MicroEMACS). It shines over other editors
 5 | over speed, and usability. ### Over time, there are various versions, not### Over time, there are various versions, notably:
 6 | 
 7 | ### Over time, there are various versions, notably:
 8 | - [Linus' microemacs](https://github.com/torvalds/uemacs)
 9 | - [Jasspa's microemacs](http://www.jasspa.com)
10 |         Jasspa's microemacs has gone a long way in supporting multiple OSs, and 
11 |         extensive macros built over the years.
12 | 
13 |     This site is a fork/clone of Jasspa's microemacs versioned 20100503. The
14 | *goal* is to provide an one-stop experience for obtaining, installing and
15 | running microemacs. 
16 |     
17 |     Additionally, if possible, we would like to clean and re-factor the code 
18 | base, to keep microemacs continually to shine over the time.
19 | 
20 | ## Reasons of microemacs over other editors
21 |     - Fast, really fast
22 |     - Runs on multiple platform: *nix, windows, mac.
23 |     - Easily configurable
24 | 
25 | ## Quick install
26 |     (These instructions will be expanded with more info from http://www.jasspa.com/)
27 | 
28 |     - Clone this repo: `git clone https://github.com/ipstone/microemacs`
29 |     - In the src folder: `./build` (assuming using *nix)
30 |     - Copy or link the macros folder (.jasspa) to ~/.jassap :
31 |             - Copy: `cp .jasspa ~/
32 |             - or Link: `ln -s [path-to-jasspa]/.jasspa ~/.jasspa 
33 | 
34 | 
35 | 


--------------------------------------------------------------------------------
/docs/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-architect


--------------------------------------------------------------------------------
/infolist.txt:
--------------------------------------------------------------------------------
 1 | Install Shield Installation Notes
 2 | 
 3 | Do not install a MicroEmacs  JASSPA  distribution over of an
 4 | existing MicroEmacs JASSPA  distribution,  always remove the
 5 | existing   distribution   first.  This   ensures   that  the
 6 | distribution will uninstall correctly.
 7 | 
 8 | If you have an existing  distribution  installed  then quit
 9 | now and  remove it. New files  that you have  created in the
10 | existing  distribution,  such as you  personal  and  company
11 | profiles may be left on the system.
12 | 
13 | During the  installation  you will be prompted  for types of
14 | file extensions to install. It is recommended  that you only
15 | select  those  groups of  extension  that you will use. This
16 | operation   creates  an  "Open"  action   against  the  file
17 | extension  which makes  MicroEmacs  the default  application
18 | when  the file is  selected  from  Explorer,  etc.
19 | 


--------------------------------------------------------------------------------
/license.txt:
--------------------------------------------------------------------------------
 1 | JASSPA's MicroEMACS is distributed under the GNU GENERAL PUBLIC LICENSE (GPL).
 2 | A copy of the GPL license may be found in the file COPYING.
 3 | 
 4 | This  license  is  valid  from  January  1st 2002 and  applies  to the  JASSPA
 5 | Distribution  of  MicroEmacs  only. These  license terms may not be applied to
 6 | other  versions of MicroEmacs or  retrospectively  to older versions of JASSPA
 7 | MicroEmacs which fall under their own licensing terms.
 8 | 
 9 | Special  thanks go to Danial M.  Lawrence,  the  original  author and  license
10 | holder of MicroEMACS,  who granted JASSPA  permission to move the code base to
11 | GPL on 19th  December  2001.  Permission  was granted on the grounds that code
12 | base is nearly 14 years diverged from the original and has been  substantially
13 | modified.
14 | 
15 | Jon Green & Steve Philips (JASSPA - www.jasspa.com)
16 | 30th December 2001
17 | 


--------------------------------------------------------------------------------
/memsdev/dsaddin.h:
--------------------------------------------------------------------------------
 1 | // DSAddIn.h : header file
 2 | //
 3 | 
 4 | #if !defined(AFX_DSADDIN_H__43CE4E55_9FFA_11D2_950C_444553540000__INCLUDED_)
 5 | #define AFX_DSADDIN_H__43CE4E55_9FFA_11D2_950C_444553540000__INCLUDED_
 6 | 
 7 | #include "commands.h"
 8 | 
 9 | // {43CE4E42-9FFA-11D2-950C-444553540000}
10 | DEFINE_GUID(CLSID_DSAddIn,
11 | 0x43ce4e42, 0x9ffa, 0x11d2, 0x95, 0xc, 0x44, 0x45, 0x53, 0x54, 0, 0);
12 | 
13 | /////////////////////////////////////////////////////////////////////////////
14 | // CDSAddIn
15 | 
16 | class CDSAddIn : 
17 | 	public IDSAddIn,
18 | 	public CComObjectRoot,
19 | 	public CComCoClass
20 | {
21 | public:
22 | 	DECLARE_REGISTRY(CDSAddIn, "MeMsdev.DSAddIn.1",
23 | 		"MEMSDEV Developer Studio Add-in", IDS_MEMSDEV_LONGNAME,
24 | 		THREADFLAGS_BOTH)
25 | 
26 | 	CDSAddIn() {}
27 | 	BEGIN_COM_MAP(CDSAddIn)
28 | 		COM_INTERFACE_ENTRY(IDSAddIn)
29 | 	END_COM_MAP()
30 | 	DECLARE_NOT_AGGREGATABLE(CDSAddIn)
31 | 
32 | // IDSAddIns
33 | public:
34 | 	STDMETHOD(OnConnection)(THIS_ IApplication* pApp, VARIANT_BOOL bFirstTime,
35 | 		long dwCookie, VARIANT_BOOL* OnConnection);
36 | 	STDMETHOD(OnDisconnection)(THIS_ VARIANT_BOOL bLastTime);
37 | 
38 | protected:
39 | 	CCommandsObj* m_pCommands;
40 | 	DWORD m_dwCookie;
41 | };
42 | 
43 | //{{AFX_INSERT_LOCATION}}
44 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
45 | 
46 | #endif // !defined(AFX_DSADDIN_H__43CE4E55_9FFA_11D2_950C_444553540000__INCLUDED)
47 | 


--------------------------------------------------------------------------------
/memsdev/maindialog.cpp:
--------------------------------------------------------------------------------
 1 | // MainDialog.cpp : implementation file
 2 | //
 3 | 
 4 | #include "stdafx.h"
 5 | #include "meMsdev.h"
 6 | #include "MainDialog.h"
 7 | 
 8 | #ifdef _DEBUG
 9 | #define new DEBUG_NEW
10 | #undef THIS_FILE
11 | static char THIS_FILE[] = __FILE__;
12 | #endif
13 | 
14 | /////////////////////////////////////////////////////////////////////////////
15 | // CMainDialog dialog
16 | 
17 | 
18 | CMainDialog::CMainDialog(CWnd* pParent /*=NULL*/)
19 | 	: CDialog(CMainDialog::IDD, pParent)
20 | {
21 | 	//{{AFX_DATA_INIT(CMainDialog)
22 | 	m_bEnableEmacs = TRUE;
23 | 	m_bAutoClose = TRUE;
24 | 	//}}AFX_DATA_INIT
25 | }
26 | 
27 | 
28 | void CMainDialog::DoDataExchange(CDataExchange* pDX)
29 | {
30 | 	CDialog::DoDataExchange(pDX);
31 | 	//{{AFX_DATA_MAP(CMainDialog)
32 | 	DDX_Check(pDX, IDC_ENABLEEMACS, m_bEnableEmacs);
33 | 	DDX_Check(pDX, IDC_AUTOCLOSE, m_bAutoClose);
34 | 	//}}AFX_DATA_MAP
35 | }
36 | 
37 | 
38 | BEGIN_MESSAGE_MAP(CMainDialog, CDialog)
39 | 	//{{AFX_MSG_MAP(CMainDialog)
40 | 		// NOTE: the ClassWizard will add message map macros here
41 | 	//}}AFX_MSG_MAP
42 | END_MESSAGE_MAP()
43 | 
44 | /////////////////////////////////////////////////////////////////////////////
45 | // CMainDialog message handlers
46 | 


--------------------------------------------------------------------------------
/memsdev/maindialog.h:
--------------------------------------------------------------------------------
 1 | #if !defined(AFX_MAINDIALOG_H__AC72671A_2977_11D1_B2F3_006008040780__INCLUDED_)
 2 | #define AFX_MAINDIALOG_H__AC72671A_2977_11D1_B2F3_006008040780__INCLUDED_
 3 | 
 4 | #if _MSC_VER >= 1000
 5 | #pragma once
 6 | #endif // _MSC_VER >= 1000
 7 | // MainDialog.h : header file
 8 | //
 9 | 
10 | /////////////////////////////////////////////////////////////////////////////
11 | // CMainDialog dialog
12 | 
13 | class CMainDialog : public CDialog
14 | {
15 | // Construction
16 | public:
17 | 	CMainDialog(CWnd* pParent = NULL);   // standard constructor
18 | 
19 | // Dialog Data
20 | 	//{{AFX_DATA(CMainDialog)
21 | 	enum { IDD = IDD_ADDINMAIN };
22 | 	BOOL	m_bEnableEmacs;
23 | 	BOOL	m_bAutoClose;
24 | 	//}}AFX_DATA
25 | 
26 | 
27 | // Overrides
28 | 	// ClassWizard generated virtual function overrides
29 | 	//{{AFX_VIRTUAL(CMainDialog)
30 | 	protected:
31 | 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
32 | 	//}}AFX_VIRTUAL
33 | 
34 | // Implementation
35 | protected:
36 | 
37 | 	// Generated message map functions
38 | 	//{{AFX_MSG(CMainDialog)
39 | 		// NOTE: the ClassWizard will add member functions here
40 | 	//}}AFX_MSG
41 | 	DECLARE_MESSAGE_MAP()
42 | };
43 | 
44 | //{{AFX_INSERT_LOCATION}}
45 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
46 | 
47 | #endif // !defined(AFX_MAINDIALOG_H__AC72671A_2977_11D1_B2F3_006008040780__INCLUDED_)
48 | 


--------------------------------------------------------------------------------
/memsdev/memsdev.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/memsdev/memsdev.aps


--------------------------------------------------------------------------------
/memsdev/memsdev.clw:
--------------------------------------------------------------------------------
 1 | ; CLW file contains information for the MFC ClassWizard
 2 | 
 3 | [General Info]
 4 | Version=1
 5 | ODLFile=meMsdev.odl
 6 | ClassCount=1
 7 | Class1=CMeMsdevApp
 8 | LastClass=CMeMsdevApp
 9 | NewFileInclude2=#include "meMsdev.h"
10 | ResourceCount=1
11 | NewFileInclude1=#include "stdafx.h"
12 | LastTemplate=CCmdTarget
13 | Resource1=IDD_ADDINMAIN (English (U.S.))
14 | 
15 | [CLS:CMeMsdevApp]
16 | Type=0
17 | HeaderFile=meMsdev.h
18 | ImplementationFile=meMsdev.cpp
19 | Filter=T
20 | LastObject=CMeMsdevApp
21 | BaseClass=CWinApp
22 | VirtualFilter=AC
23 | 
24 | [DLG:IDD_ADDINMAIN (English (U.S.))]
25 | Type=1
26 | Class=?
27 | ControlCount=4
28 | Control1=IDOK,button,1342242817
29 | Control2=IDC_ENABLEEMACS,button,1342242819
30 | Control3=IDC_AUTOCLOSE,button,1342242819
31 | Control4=IDC_STATIC,static,1342177294
32 | 
33 | 


--------------------------------------------------------------------------------
/memsdev/memsdev.def:
--------------------------------------------------------------------------------
 1 | ; meMsdev.def : Declares the module parameters for the DLL.
 2 | 
 3 | LIBRARY      "MEMSDEV"
 4 | DESCRIPTION  'MEMSDEV Windows Dynamic Link Library'
 5 | 
 6 | EXPORTS
 7 |     ; Explicit exports can go here
 8 | 	DllCanUnloadNow PRIVATE
 9 | 	DllGetClassObject PRIVATE
10 | 	DllRegisterServer PRIVATE
11 | 	DllUnregisterServer PRIVATE
12 | 


--------------------------------------------------------------------------------
/memsdev/memsdev.dsw:
--------------------------------------------------------------------------------
 1 | Microsoft Developer Studio Workspace File, Format Version 5.00
 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
 3 | 
 4 | ###############################################################################
 5 | 
 6 | Project: "meMsdev"=.\meMsdev.dsp - Package Owner=<4>
 7 | 
 8 | Package=<5>
 9 | {{{
10 | }}}
11 | 
12 | Package=<4>
13 | {{{
14 | }}}
15 | 
16 | ###############################################################################
17 | 
18 | Global:
19 | 
20 | Package=<5>
21 | {{{
22 | }}}
23 | 
24 | Package=<3>
25 | {{{
26 | }}}
27 | 
28 | ###############################################################################
29 | 
30 | 


--------------------------------------------------------------------------------
/memsdev/memsdev.h:
--------------------------------------------------------------------------------
 1 | // meMsdev.h : main header file for the MEMSDEV DLL
 2 | //
 3 | 
 4 | #if !defined(AFX_MEMSDEV_H__43CE4E4B_9FFA_11D2_950C_444553540000__INCLUDED_)
 5 | #define AFX_MEMSDEV_H__43CE4E4B_9FFA_11D2_950C_444553540000__INCLUDED_
 6 | 
 7 | #ifndef __AFXWIN_H__
 8 | 	#error include 'stdafx.h' before including this file for PCH
 9 | #endif
10 | 
11 | #include "resource.h"		// main symbols
12 | 
13 | #include 
14 | #include 
15 | #include 
16 | #include 
17 | #include 
18 | 
19 | 
20 | //{{AFX_INSERT_LOCATION}}
21 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
22 | 
23 | #endif // !defined(AFX_MEMSDEV_H__43CE4E4B_9FFA_11D2_950C_444553540000__INCLUDED)
24 | 


--------------------------------------------------------------------------------
/memsdev/memsdev.odl:
--------------------------------------------------------------------------------
 1 | // meMsdev.odl : type library source for meMsdev.dll
 2 | 
 3 | // This file will be processed by the Make Type Library (mktyplib) tool to
 4 | // produce the type library (meMsdev.tlb).
 5 | 
 6 | [	uuid(43CE4E47-9FFA-11D2-950C-444553540000), version(1.0),
 7 | 	helpstring ("MEMSDEV Developer Studio Add-in") ]
 8 | library MeMsdev
 9 | {
10 | 	importlib("stdole32.tlb");
11 | 	importlib("devshl.dll");
12 | 	importlib("ide\devdbg.pkg");
13 | 	
14 | 
15 | 	//  Dual interface for CCommands
16 | 	//
17 | 	//  All commands that your add-in adds to DevStudio
18 | 	//   must appear in this interface.  You may use the
19 | 	//   ClassView to add methods to this interface, which
20 | 	//   will cause stub implementations of those methods to
21 | 	//   appear in your CCommands class.
22 | 	
23 | 	[	uuid(43CE4E43-9FFA-11D2-950C-444553540000),
24 | 		oleautomation,
25 | 		dual
26 | 	]
27 | 
28 | 	interface ICommands : IDispatch
29 | 	{
30 | 		// methods
31 | 		[id(1)]
32 | 		HRESULT MeMsdevCommandMethod();
33 | 	};
34 | 
35 | 	//  Class information for CCommands
36 | 
37 | 	[ uuid(43CE4E44-9FFA-11D2-950C-444553540000) ]
38 | 	coclass Commands
39 | 	{
40 | 		[default] interface ICommands;
41 | 	};
42 | 
43 | 	[ hidden, uuid(43CE4E45-9FFA-11D2-950C-444553540000) ]
44 | 	coclass ApplicationEvents
45 | 	{
46 | 		[default] interface IApplicationEvents;
47 | 	}
48 | 
49 | 	[ hidden, uuid(43CE4E46-9FFA-11D2-950C-444553540000) ]
50 | 	coclass DebuggerEvents
51 | 	{
52 | 		[default] interface IDebuggerEvents;
53 | 	}
54 | 
55 | 	//{{AFX_APPEND_ODL}}
56 | 	//}}AFX_APPEND_ODL}}
57 | };
58 | 


--------------------------------------------------------------------------------
/memsdev/res/bitmap1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/memsdev/res/bitmap1.bmp


--------------------------------------------------------------------------------
/memsdev/res/memsdev.rc2:
--------------------------------------------------------------------------------
 1 | //
 2 | // MEMSDEV.RC2 - resources Microsoft Visual C++ does not edit directly
 3 | //
 4 | 
 5 | #ifdef APSTUDIO_INVOKED
 6 | 	#error this file is not editable by Microsoft Visual C++
 7 | #endif //APSTUDIO_INVOKED
 8 | 
 9 | 
10 | /////////////////////////////////////////////////////////////////////////////
11 | // Add manually edited resources here...
12 | 
13 | /////////////////////////////////////////////////////////////////////////////
14 | 


--------------------------------------------------------------------------------
/memsdev/res/tbarlrge.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/memsdev/res/tbarlrge.bmp


--------------------------------------------------------------------------------
/memsdev/res/tbarmedm.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/memsdev/res/tbarmedm.bmp


--------------------------------------------------------------------------------
/memsdev/resource.h:
--------------------------------------------------------------------------------
 1 | //{{NO_DEPENDENCIES}}
 2 | // Microsoft Visual C++ generated include file.
 3 | // Used by MEMSDEV.RC
 4 | //
 5 | #define IDS_MEMSDEV_LONGNAME	1
 6 | #define IDS_MEMSDEV_DESCRIPTION 2
 7 | #define IDS_CMD_STRING				3
 8 | #define IDR_TOOLBAR_MEDIUM			128
 9 | #define IDR_TOOLBAR_LARGE			129
10 | #define IDD_ADDINMAIN                           130
11 | #define IDB_BITMAP1                             135
12 | #define IDC_ENABLEEMACS                         1000
13 | #define IDC_AUTOCLOSE                           1001
14 | 
15 | // Next default values for new objects
16 | // 
17 | #ifdef APSTUDIO_INVOKED
18 | #ifndef APSTUDIO_READONLY_SYMBOLS
19 | 
20 | #define _APS_NEXT_RESOURCE_VALUE        131
21 | #define _APS_NEXT_COMMAND_VALUE         32771
22 | #define _APS_NEXT_CONTROL_VALUE         1002
23 | #define _APS_NEXT_SYMED_VALUE           101
24 | #endif
25 | #endif
26 | 


--------------------------------------------------------------------------------
/memsdev/response.cpp:
--------------------------------------------------------------------------------
 1 | // Response.cpp: implementation of the Response class.
 2 | //
 3 | //////////////////////////////////////////////////////////////////////
 4 | 
 5 | #include "stdafx.h"
 6 | #include "meMsdev.h"
 7 | #include "Response.h"
 8 | 
 9 | #ifdef _DEBUG
10 | #undef THIS_FILE
11 | static char THIS_FILE[]=__FILE__;
12 | #define new DEBUG_NEW
13 | #endif
14 | 
15 | //////////////////////////////////////////////////////////////////////
16 | // Construction/Destruction
17 | //////////////////////////////////////////////////////////////////////
18 | 
19 | Response::Response()
20 | {
21 | 
22 | }
23 | 
24 | Response::~Response()
25 | {
26 | 
27 | }
28 | 


--------------------------------------------------------------------------------
/memsdev/response.h:
--------------------------------------------------------------------------------
 1 | // Response.h: interface for the Response class.
 2 | //
 3 | //////////////////////////////////////////////////////////////////////
 4 | 
 5 | #if !defined(AFX_RESPONSE_H__04708AC1_A0A8_11D2_950C_444553540000__INCLUDED_)
 6 | #define AFX_RESPONSE_H__04708AC1_A0A8_11D2_950C_444553540000__INCLUDED_
 7 | 
 8 | #if _MSC_VER >= 1000
 9 | #pragma once
10 | #endif // _MSC_VER >= 1000
11 | 
12 | class Response  
13 | {
14 | public:
15 | 	Response();
16 | 	virtual ~Response();
17 | 
18 | };
19 | 
20 | #endif // !defined(AFX_RESPONSE_H__04708AC1_A0A8_11D2_950C_444553540000__INCLUDED_)
21 | 


--------------------------------------------------------------------------------
/memsdev/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | //	meMsdev.pch will be the pre-compiled header
3 | //	stdafx.obj will contain the pre-compiled type information
4 | 
5 | #include "stdafx.h"
6 | 
7 | #include "atlimpl.cpp"
8 | 


--------------------------------------------------------------------------------
/memsdev/stdafx.h:
--------------------------------------------------------------------------------
 1 | // stdafx.h : include file for standard system include files,
 2 | //  or project specific include files that are used frequently, but
 3 | //      are changed infrequently
 4 | //
 5 | 
 6 | #if !defined(AFX_STDAFX_H__43CE4E4E_9FFA_11D2_950C_444553540000__INCLUDED_)
 7 | #define AFX_STDAFX_H__43CE4E4E_9FFA_11D2_950C_444553540000__INCLUDED_
 8 | 
 9 | #define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers
10 | 
11 | #include          // MFC core and standard components
12 | #include 
13 | 
14 | #include 
15 | //You may derive a class from CComModule and use it if you want to override
16 | //something, but do not change the name of _Module
17 | extern CComModule _Module;
18 | #include 
19 | 
20 | // Developer Studio Object Model
21 | #include 
22 | #include 
23 | #include 
24 | #include 
25 | #include 
26 | #include 
27 | #include 
28 | #include 
29 | #include 
30 | 
31 | /////////////////////////////////////////////////////////////////////////////
32 | // Debugging support
33 | 
34 | // Use VERIFY_OK around all calls to the Developer Studio objects which
35 | //  you expect to return S_OK.
36 | // In DEBUG builds of your add-in, VERIFY_OK displays an ASSERT dialog box
37 | //  if the expression returns an HRESULT other than S_OK.  If the HRESULT
38 | //  is a success code, the ASSERT box will display that HRESULT.  If it
39 | //  is a failure code, the ASSERT box will display that HRESULT plus the
40 | //  error description string provided by the object which raised the error.
41 | // In RETAIL builds of your add-in, VERIFY_OK just evaluates the expression
42 | //  and ignores the returned HRESULT.
43 | 
44 | #ifdef _DEBUG
45 | 
46 | void GetLastErrorDescription(CComBSTR& bstr);		// Defined in meMsdev.cpp
47 | #define VERIFY_OK(f) \
48 | 	{ \
49 | 		HRESULT hr = (f); \
50 | 		if (hr != S_OK) \
51 | 		{ \
52 | 			if (FAILED(hr)) \
53 | 			{ \
54 | 				CComBSTR bstr; \
55 | 				GetLastErrorDescription(bstr); \
56 | 				_RPTF2(_CRT_ASSERT, "Object call returned %lx\n\n%S", hr, (BSTR) bstr); \
57 | 			} \
58 | 			else \
59 | 				_RPTF1(_CRT_ASSERT, "Object call returned %lx", hr); \
60 | 		} \
61 | 	}
62 | 
63 | #else //_DEBUG
64 | 
65 | #define VERIFY_OK(f) (f);
66 | 
67 | #endif //_DEBUG
68 | 
69 | //{{AFX_INSERT_LOCATION}}
70 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
71 | 
72 | #endif // !defined(AFX_STDAFX_H__43CE4E4E_9FFA_11D2_950C_444553540000__INCLUDED)
73 | 


--------------------------------------------------------------------------------
/msdev6/memsdev6.dsw:
--------------------------------------------------------------------------------
 1 | Microsoft Developer Studio Workspace File, Format Version 6.00
 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
 3 | 
 4 | ###############################################################################
 5 | 
 6 | Project: "memsdev6"=.\memsdev6.dsp - Package Owner=<4>
 7 | 
 8 | Package=<5>
 9 | {{{
10 | }}}
11 | 
12 | Package=<4>
13 | {{{
14 | }}}
15 | 
16 | ###############################################################################
17 | 
18 | Global:
19 | 
20 | Package=<5>
21 | {{{
22 | }}}
23 | 
24 | Package=<3>
25 | {{{
26 | }}}
27 | 
28 | ###############################################################################
29 | 
30 | 


--------------------------------------------------------------------------------
/patch.txt:
--------------------------------------------------------------------------------
 1 | 
 2 | 
 3 | 
 4 | Patching(1)                       microemacs                        Patching(1)
 5 | 
 6 | 
 7 | 
 8 | 
 9 | PATCHING 
10 |      This page describes  how to patch  a MicroEmacs installation  with a later
11 |      release without re-installing. 
12 | 
13 |   Windows 
14 |      Windows requires  careful patching  in order  not to  disturb the registry
15 |      settings The following procedure should be followed. 
16 | 
17 |        *  Move to the jasspa directory, c:\ProgramFiles\JASSPA\Microemacs. 
18 |        *  COPY the  executable me32.exe  to a  backup, you  MUST copy  the file
19 |           otherwise the registry settings will change. DO NOT MOVE THE FILE. 
20 | 
21 |             copy me32.exe me32_2002_12.exe 
22 | 
23 |        *  Save the macros directory, these may be moved i.e. 
24 | 
25 |             rename macros macros_2002_12 
26 | 
27 |        *  Unpack and  install  the new  Windows  executable and  COPY  over the
28 |           original executable that was previously backed up i.e. 
29 | 
30 |             copy c:\path-to-executable\me32-win32-20040108-rc1.exe me32.exe 
31 | 
32 |        *  Create a new  macros directory and  install the macros  into this new
33 |           directory, do this manually or using a utility like WINZip. 
34 | 
35 |             mkdir macros 
36 |             cd macros 
37 |             unzip c:\path-to\memacros-20040108-rc1.zip 
38 | 
39 |        *  The  new  version  of  MicroEmacs  will  now  operate  with  the  old
40 |           installation environment.  You  may  return  to  the  old  release by
41 |           reversing the steps to patch the installation. 
42 | 
43 |   UNIX/Linux 
44 |      For *NIX package installations then patching is a little easier. The steps
45 |      are defined as follows:- 
46 | 
47 |        *  Move to the jasspa directory. 
48 | 
49 |             cd /opt/jasspa/bin 
50 | 
51 |        *  Save the original executable. 
52 | 
53 |             mv me me_200212 
54 | 
55 |        *  Unpack the new executable and make it executable. 
56 | 
57 |             gunzip me-sun-solaris-20040108-rc1.gz 
58 |             mv me-sun-solaris-20040108-rc1 me 
59 |             chmod a+x me 
60 | 
61 |        *  Save the existing macros directory. 
62 | 
63 |             cd /opt/jasspa 
64 |             mv macros macros_200212 
65 | 
66 |        *  Create a new macros directory and install the new macros:- 
67 | 
68 |             mkdir macros 
69 |             cd macros 
70 |             unzip /path-to/memacros-20040108-rc1.zip 
71 | 
72 |        *  Installed packages  are built  with the  install path  built into the
73 |           executable, this  may  be different  from  the patch  version  of the
74 |           executable  so  the  environment  variable  $MEINSTALLPATH(5)  may be
75 |           defined in the environment with the macro installation search paths. 
76 | 
77 | SEE ALSO 
78 |      $MENAME(5), $MEINSTALLPATH(5), Company Profiles, Installation, File Hooks,
79 |      File Language Templates, User Profiles. 
80 | 
81 | 


--------------------------------------------------------------------------------
/src/ebind.h:
--------------------------------------------------------------------------------
 1 | /* -*- c -*-
 2 |  *
 3 |  * JASSPA MicroEmacs - www.jasspa.com
 4 |  * ebind.h - initial key to command binding definitions.
 5 |  *
 6 |  * Copyright (C) 1988-2009 JASSPA (www.jasspa.com)
 7 |  *
 8 |  * This program is free software; you can redistribute it and/or modify it
 9 |  * under the terms of the GNU General Public License as published by the Free
10 |  * Software Foundation; either version 2 of the License, or (at your option)
11 |  * any later version.
12 |  *
13 |  * This program is distributed in the hope that it will be useful, but WITHOUT
14 |  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 |  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 |  * more details.
17 |  *
18 |  * You should have received a copy of the GNU General Public License along
19 |  * with this program; if not, write to the Free Software Foundation, Inc.,
20 |  * 675 Mass Ave, Cambridge, MA 02139, USA.
21 |  */
22 | /*
23 |  * Created:     For MicroEMACS 3.7
24 |  * Synopsis:    initial key to command binding definitions.
25 |  * Authors:     Unknown, Jon Green & Steven Phillips
26 |  * Description:
27 |  *     Includes ebind.def to create an ordered list of initial
28 |  *     key binding definitions.
29 |  */
30 | #ifdef maindef
31 | 
32 | #define	DEFBIND(x,y,z)	{(meUShort)(x), (meUShort)(z), (meUInt)(y)},
33 | 
34 | meBind  keytab[meBIND_MAX] = {
35 | 
36 | #include	"ebind.def"
37 |     
38 |     { ME_INVALID_KEY, 0, 0 }
39 | 
40 | };
41 | 
42 | #undef	DEFBIND
43 | 
44 | #endif /* maindef */
45 | 


--------------------------------------------------------------------------------
/src/eskeys.h:
--------------------------------------------------------------------------------
 1 | /* -*- c -*-
 2 |  *
 3 |  * JASSPA MicroEmacs - www.jasspa.com
 4 |  * eskeys.h - Extended key definitions.
 5 |  *
 6 |  * Copyright (C) 1997-2009 JASSPA (www.jasspa.com)
 7 |  *
 8 |  * This program is free software; you can redistribute it and/or modify it
 9 |  * under the terms of the GNU General Public License as published by the Free
10 |  * Software Foundation; either version 2 of the License, or (at your option)
11 |  * any later version.
12 |  *
13 |  * This program is distributed in the hope that it will be useful, but WITHOUT
14 |  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 |  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 |  * more details.
17 |  *
18 |  * You should have received a copy of the GNU General Public License along
19 |  * with this program; if not, write to the Free Software Foundation, Inc.,
20 |  * 675 Mass Ave, Cambridge, MA 02139, USA.
21 |  */
22 | /*
23 |  * Created:     Thu Sep 18 1997
24 |  * Synopsis:    Extended key definitions.
25 |  * Authors:     Steven Phillips & Jon Green
26 |  * Description:
27 |  *     Includes eskeys.def to create an ordered list of extended (special)
28 |  *     key names.
29 |  */
30 | 
31 | #ifndef __ESKEYS_H__
32 | #define __ESKEYS_H__
33 | 
34 | #define	DEFSKEY(s,i,d,t) t,
35 | 
36 | enum
37 | {
38 | #include	"eskeys.def"
39 |     SKEY_MAX
40 | };
41 | 
42 | #undef	DEFSKEY
43 | 
44 | extern meUByte *specKeyNames[] ;
45 | 
46 | #ifdef	maindef
47 | 
48 | #define	DEFSKEY(s,i,d,t) (meUByte *) s,
49 | 
50 | meUByte *specKeyNames[]=
51 | {
52 | #include	"eskeys.def"
53 | };
54 | #undef	DEFSKEY
55 | 
56 | #endif /* maindef */
57 | 
58 | #endif /* __ESKEYS_H__ */
59 | 
60 | 


--------------------------------------------------------------------------------
/src/evers.h:
--------------------------------------------------------------------------------
 1 | /* -*- c -*-
 2 |  *
 3 |  * JASSPA MicroEmacs - www.jasspa.com
 4 |  * evers.h - The build version definition.
 5 |  *
 6 |  * Copyright (C) 1992-2009 JASSPA (www.jasspa.com)
 7 |  *
 8 |  * This program is free software; you can redistribute it and/or modify it
 9 |  * under the terms of the GNU General Public License as published by the Free
10 |  * Software Foundation; either version 2 of the License, or (at your option)
11 |  * any later version.
12 |  *
13 |  * This program is distributed in the hope that it will be useful, but WITHOUT
14 |  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 |  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 |  * more details.
17 |  *
18 |  * You should have received a copy of the GNU General Public License along
19 |  * with this program; if not, write to the Free Software Foundation, Inc.,
20 |  * 675 Mass Ave, Cambridge, MA 02139, USA.
21 |  */
22 | /*
23 |  * Created:     1st May 1992
24 |  * Synopsis:    The build version definition.
25 |  * Authors:     Jon Green & Steven Phillips
26 |  * Description:
27 |  *     These are put in here so that you wont have to grub around in the depths
28 |  *     of display.c & main.c etc every time you want to remind yourself that
29 |  *     you've hacked emacs by updating the version number.
30 |  *
31 |  * Notes:
32 |  *     The definitions have been moved out of estruct.h, because, if you change
33 |  *     them and you have written your makefile properly, everything gets recompiled
34 |  *     whereas putting them here only makes "make" recompile display.c
35 |  * 
36 |  *     The history was removed from this file as CVS and the help pages are used
37 |  *     instead.
38 |  */
39 | 
40 | /* THESE MAY ONLY BE MODIFIED BY JASSPA THEY REPRESENT THE CURRENT 
41 |  * RELEASE OF THE BUILD AND ARE USED AS A REFERENCE POINT WHEN
42 |  * PROBLEMS OCCUR. THESE VALUES ARE NOT INTENDED TO REPRESENT 
43 |  * THE BUILD DATE OF THE SOFTWARE AND MUST NOT BE MODIFIED AS SUCH */
44 | #define meCENTURY       "20"          /* Current century. Y2 complient :-) */
45 | #define meYEAR          "09"          /* Current year */
46 | #define meMONTH         "12"          /* Current month */
47 | #define meDAY           "12"          /* Day of the month */
48 | 
49 | /* Version information - Date of build */
50 | #define	meDATE          meYEAR "/" meMONTH "/" meDAY 
51 | /* Version information - Major version number is the year of build */
52 | #define	meVERSION       meYEAR 
53 | /* Version information - Minor version number is the month of build */
54 | #define meVERSION_MINOR meMONTH
55 | /* Version information - Version as a numeric date code */
56 | #define meVERSION_CODE  meCENTURY meYEAR meMONTH meDAY 
57 | 
58 | /* The program names - these values are also used in the rc files */
59 | #define ME_MICROEMACS_FULLNAME  "MicroEmacs"
60 | #define ME_MICROEMACS_SHORTNAME "me"
61 | #define ME_NANOEMACS_FULLNAME   "NanoEmacs"
62 | #define ME_NANOEMACS_SHORTNAME  "ne"
63 | 
64 | #define ME_COMPANY_NAME         "JASSPA"
65 | #define ME_COMPANY_SITE         "www.jasspa.com"
66 | 


--------------------------------------------------------------------------------
/src/icon_me.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/icon_me.ico


--------------------------------------------------------------------------------
/src/icon_ne.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/icon_ne.ico


--------------------------------------------------------------------------------
/src/infolist.txt:
--------------------------------------------------------------------------------
 1 | Install Shield Installation Notes
 2 | 
 3 | Do not install a MicroEmacs  JASSPA  distribution over of an
 4 | existing MicroEmacs JASSPA  distribution,  always remove the
 5 | existing   distribution   first.  This   ensures   that  the
 6 | distribution will uninstall correctly.
 7 | 
 8 | If you have an existing  distribution  installed  then quit
 9 | now and  remove it. New files  that you have  created in the
10 | existing  distribution,  such as you  personal  and  company
11 | profiles may be left on the system.
12 | 
13 | During the  installation  you will be prompted  for types of
14 | file extensions to install. It is recommended  that you only
15 | select  those  groups of  extension  that you will use. This
16 | operation   creates  an  "Open"  action   against  the  file
17 | extension  which makes  MicroEmacs  the default  application
18 | when  the file is  selected  from  Explorer,  etc.
19 | 


--------------------------------------------------------------------------------
/src/me.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/me.rc


--------------------------------------------------------------------------------
/src/me32.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/me32.bmp


--------------------------------------------------------------------------------
/src/memsvc20.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/memsvc20.rc


--------------------------------------------------------------------------------
/src/ncmsvc20.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/ncmsvc20.rc


--------------------------------------------------------------------------------
/src/ne.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/ne.rc


--------------------------------------------------------------------------------
/src/ne32.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/ne32.bmp


--------------------------------------------------------------------------------
/src/nec.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/nec.rc


--------------------------------------------------------------------------------
/src/nemsvc20.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/nemsvc20.rc


--------------------------------------------------------------------------------
/src/patch.txt:
--------------------------------------------------------------------------------
 1 | 
 2 | 
 3 | 
 4 | Patching(1)                       microemacs                        Patching(1)
 5 | 
 6 | 
 7 | 
 8 | 
 9 | PATCHING 
10 |      This page describes  how to patch  a MicroEmacs installation  with a later
11 |      release without re-installing. 
12 | 
13 |   Windows 
14 |      Windows requires  careful patching  in order  not to  disturb the registry
15 |      settings The following procedure should be followed. 
16 | 
17 |        *  Move to the jasspa directory, c:\ProgramFiles\JASSPA\Microemacs. 
18 |        *  COPY the  executable me32.exe  to a  backup, you  MUST copy  the file
19 |           otherwise the registry settings will change. DO NOT MOVE THE FILE. 
20 | 
21 |             copy me32.exe me32_2002_12.exe 
22 | 
23 |        *  Save the macros directory, these may be moved i.e. 
24 | 
25 |             rename macros macros_2002_12 
26 | 
27 |        *  Unpack and  install  the new  Windows  executable and  COPY  over the
28 |           original executable that was previously backed up i.e. 
29 | 
30 |             copy c:\path-to-executable\me32-win32-20040108-rc1.exe me32.exe 
31 | 
32 |        *  Create a new  macros directory and  install the macros  into this new
33 |           directory, do this manually or using a utility like WINZip. 
34 | 
35 |             mkdir macros 
36 |             cd macros 
37 |             unzip c:\path-to\memacros-20040108-rc1.zip 
38 | 
39 |        *  The  new  version  of  MicroEmacs  will  now  operate  with  the  old
40 |           installation environment.  You  may  return  to  the  old  release by
41 |           reversing the steps to patch the installation. 
42 | 
43 |   UNIX/Linux 
44 |      For *NIX package installations then patching is a little easier. The steps
45 |      are defined as follows:- 
46 | 
47 |        *  Move to the jasspa directory. 
48 | 
49 |             cd /opt/jasspa/bin 
50 | 
51 |        *  Save the original executable. 
52 | 
53 |             mv me me_200212 
54 | 
55 |        *  Unpack the new executable and make it executable. 
56 | 
57 |             gunzip me-sun-solaris-20040108-rc1.gz 
58 |             mv me-sun-solaris-20040108-rc1 me 
59 |             chmod a+x me 
60 | 
61 |        *  Save the existing macros directory. 
62 | 
63 |             cd /opt/jasspa 
64 |             mv macros macros_200212 
65 | 
66 |        *  Create a new macros directory and install the new macros:- 
67 | 
68 |             mkdir macros 
69 |             cd macros 
70 |             unzip /path-to/memacros-20040108-rc1.zip 
71 | 
72 |        *  Installed packages  are built  with the  install path  built into the
73 |           executable, this  may  be different  from  the patch  version  of the
74 |           executable  so  the  environment  variable  $MEINSTALLPATH(5)  may be
75 |           defined in the environment with the macro installation search paths. 
76 | 
77 | SEE ALSO 
78 |      $MENAME(5), $MEINSTALLPATH(5), Company Profiles, Installation, File Hooks,
79 |      File Language Templates, User Profiles. 
80 | 
81 | 


--------------------------------------------------------------------------------
/src/spell.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/spell.c


--------------------------------------------------------------------------------
/src/win32s/methnk16.def:
--------------------------------------------------------------------------------
 1 | ;
 2 | ; JASSPA MicroEmacs - www.jasspa.com
 3 | ; methnk16.def - Windows 16-bit thunking code.
 4 | ;
 5 | ; Copyright (C) 1999-2002 JASSPA (www.jasspa.com)
 6 | ;
 7 | ; This program is free software; you can redistribute it and/or modify it
 8 | ; under the terms of the GNU General Public License as published by the Free
 9 | ; Software Foundation; either version 2 of the License, or (at your option)
10 | ; any later version.
11 | ;
12 | ; This program is distributed in the hope that it will be useful, but WITHOUT
13 | ; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 | ; more details.
16 | ;
17 | ; You should have received a copy of the GNU General Public License along
18 | ; with this program; if not, write to the Free Software Foundation, Inc.,
19 | ; 675 Mass Ave, Cambridge, MA 02139, USA.
20 | ;
21 | LIBRARY	     utsamp16	    ; Library's module name
22 | DESCRIPTION  'Sample Win32s Universal Thunk Application'
23 | EXETYPE      WINDOWS 3.1    ; required for all Windows applications
24 | STUB         'C:\MSVC\BIN\WINSTUB.EXE' ; Generates error message if application
25 | 			   ; is run without Windows
26 | 
27 | ;CODE can be moved in memory and discarded/reloaded
28 | CODE  PRELOAD MOVEABLE DISCARDABLE
29 | 
30 | DATA  PRELOAD MOVEABLE SHARED
31 | 
32 | HEAPSIZE     MAXVAL
33 | 
34 | ; Export all callback and externally available functions
35 | EXPORTS
36 | 	WEP	@1 RESIDENTNAME
37 | 	UTINIT	@2
38 | 	UTPROC	@3
39 | 
40 | IMPORTS
41 | 	USER.WNETGETUSER
42 | 


--------------------------------------------------------------------------------
/src/win32s/methnk16.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/win32s/methnk16.dll


--------------------------------------------------------------------------------
/src/win32s/readme.txt:
--------------------------------------------------------------------------------
 1 | Information on the 16-bit Thunk
 2 | ===============================
 3 | 
 4 | This directory  contains the 16-Bit  Thunking code that waits for a process to
 5 | complete.  Under  win32s  then  WinExec()  is  broken  and  does  not pass the
 6 | environment to the executed  process. We cannot use  LoadModule() as this ONLY
 7 | spawns Windows  executables. We also cannot use  CreateProcess()  on the win32
 8 | side because this is also broken !!!
 9 | 
10 | So the only way  around  everything  is to create a BAT file  which  holds the
11 | commands.  Within the BAT file we must change  directories and then invoke our
12 | command line. This piece of code on the 16-bit side  executes the BAT file and
13 | then waits for it to complete.
14 | 
15 | Note that I have used a rather  unorthodox  method of waiting,  simply looking
16 | for the task that we  spawned.  I have not seen this  method  documented,  but
17 | seems to do the job.
18 | 
19 | The only  question  mark is  whether  the win32  side  should  spawn this as a
20 | separate thread to enable other commands to be received. At preset, while this
21 | process in running the win32 site is hung up.
22 | 
23 | In this  directory,  do a "make  clean" to remove  everything  except the .dll
24 | which we require. DO NOT delete the library files in this directory. These are
25 | copied from the MSVC development  environment 1.5 in the UT samples directory.
26 | As was the w32sut.h file.
27 | 
28 | Jon Green - 4th January 1999.
29 | 


--------------------------------------------------------------------------------
/src/win32s/w32sut.h:
--------------------------------------------------------------------------------
 1 | /***
 2 | *w32sut.h -
 3 | *
 4 | *       Copyright (c) 1987-1992, Microsoft Corporation.  All rights reserved.
 5 | *
 6 | *Purpose:
 7 | *       This file declares the constants, structures, and functions
 8 | *       used for accessing and using the Universal Thunk mechanism.
 9 | *
10 | *       This file should be compiled either with constants W32SUT_16 or
11 | *       W32SUT_32 defined.
12 | *
13 | ****/
14 | 
15 | /* Check that one of the 2 constants is defined  */
16 | #ifdef W32SUT_16
17 | #ifdef W32SUT_32
18 | #error W32SUT_16 and W32SUT_32 cannot be defined simultaneously
19 | #endif
20 | #endif
21 | 
22 | #ifndef W32SUT_16
23 | #ifndef W32SUT_32
24 | #error  Either W32SUT_16 or W32SUT_32 should be defined
25 | #endif
26 | #endif
27 | 
28 | 
29 | /****      Prototypes for 32 bit DLL   ***********/
30 | #ifdef W32SUT_32
31 | 
32 | typedef DWORD  ( WINAPI * UT32PROC)( LPVOID lpBuff,
33 |                                      DWORD  dwUserDefined,
34 |                                      LPVOID *lpTranslationList
35 |                                    );
36 | 
37 | BOOL    WINAPI UTRegister( HANDLE     hModule,
38 |                            LPCSTR     lpsz16BitDLL,
39 |                            LPCSTR     lpszInitName,
40 |                            LPCSTR     lpszProcName,
41 |                            UT32PROC * ppfn32Thunk,
42 |                            FARPROC    pfnUT32Callback,
43 |                            LPVOID     lpBuff
44 |                          );
45 | 
46 | 
47 | VOID    WINAPI UTUnRegister(HANDLE hModule);
48 | 
49 | #endif
50 | 
51 | 
52 | /****      Prototypes for 16 bit DLL   ***********/
53 | #ifdef W32SUT_16
54 | 
55 | typedef DWORD (FAR PASCAL  * UT16CBPROC)( LPVOID lpBuff,
56 |                                           DWORD  dwUserDefined,
57 |                                           LPVOID FAR *lpTranslationList
58 |                                         );
59 | 
60 | 
61 | LPVOID  WINAPI  UTLinearToSelectorOffset(LPBYTE lpByte);
62 | LPVOID  WINAPI  UTSelectorOffsetToLinear(LPBYTE lpByte);
63 | 
64 | #endif
65 | 
66 | 
67 | 
68 | 
69 | 


--------------------------------------------------------------------------------
/src/win32s/w32sut16.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/win32s/w32sut16.lib


--------------------------------------------------------------------------------
/src/win32s/w32sut32.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ipstone/microemacs/aea0250d7840ecfd8a21bcfcb3172b8a7dc35c2e/src/win32s/w32sut32.lib


--------------------------------------------------------------------------------
/src/winterm.h:
--------------------------------------------------------------------------------
 1 | /* -*- c -*-
 2 |  *
 3 |  * JASSPA MicroEmacs - www.jasspa.com
 4 |  * winterm.h - Windows shared definitions.
 5 |  *
 6 |  * Copyright (C) 1999-2001 Jon Green
 7 |  * Copyright (C) 2002-2009 JASSPA (www.jasspa.com)
 8 |  *
 9 |  * This program is free software; you can redistribute it and/or modify it
10 |  * under the terms of the GNU General Public License as published by the Free
11 |  * Software Foundation; either version 2 of the License, or (at your option)
12 |  * any later version.
13 |  *
14 |  * This program is distributed in the hope that it will be useful, but WITHOUT
15 |  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 |  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 |  * more details.
18 |  *
19 |  * You should have received a copy of the GNU General Public License along
20 |  * with this program; if not, write to the Free Software Foundation, Inc.,
21 |  * 675 Mass Ave, Cambridge, MA 02139, USA.
22 |  */
23 | /*
24 |  * Created:     Mon May 24 1999
25 |  * Synopsis:    Windows shared definitions.
26 |  * Authors:     Jon Green
27 |  * Description:
28 |  *     Export shared definitions of the windows specific environment with
29 |  *     the different windows specific source files.
30 |  */
31 | 
32 | #ifndef __WINTERM_H__
33 | #define __WINTERM_H__
34 | 
35 | /* Font type settings */
36 | extern LOGFONT ttlogfont;               /* Current logical font */
37 | 
38 | /* The metrics associated with a charcter cell */
39 | typedef struct
40 | {
41 |     int sizeX;                          /* Character cell size in X width */
42 |     int sizeY;                          /* Character cell size in Y (height) */
43 |     int midX;                           /* Mid position of the cell */
44 |     int midY;                           /* Mid position of the cell */
45 | }  CharMetrics;
46 | 
47 | #endif /* __WINTERM_H__ */
48 | 
49 | 


--------------------------------------------------------------------------------