template-menu-checkins Mailing List for Template Menu For Emacs
Brought to you by:
xmldoc
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|
From: Michael S. <xm...@us...> - 2003-12-08 05:11:10
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv30924 Removed Files: ChangeLog Log Message: no need to track changes to ChangeLog :) --- ChangeLog DELETED --- |
From: Michael S. <xm...@us...> - 2003-12-08 05:06:37
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv30453 Modified Files: ChangeLog Added Files: screenshot.gif Log Message: screenshot added --- NEW FILE --- GIF89aÒ¾ @5 (@°¶-[¶mÈKW.» îêÍ« úÜÀoaÃ;PÜ`±ãÆ!8p ¹2eÊ!dÖ3Î ?@ºô§S£F=!5 Ö¯cOMíÛ·/ØÖÍo¾1\N|øpâ+_®!yóç7ç AõëÖ³sØ~;÷ÛÁþç ÞyЫOþîãÃÂ}}îø SX§@ ªPJÔ¢U£Ò¨JZ0õ©PªT§JÓ¤2õªs*U·ÊÕ®z5§VŪX¦Õ¯õ¬híjXÇÊV5p«\yºÖ¶Úõ]o«^÷ÊWÖfL\Z9vW.¯}M¬bÓú×#ÖÓêzlaÛØ v±ÍìT«Çêq±4h¿y»ÊNÖ¡½¬fWËZ¡r6¤Tþ£&ÓI:v`$µìO[ËÛÞÒiJUçØLdJïh´½À¦©Zß:÷¹}pí¸ÃWÊÉU.À*Û\èz÷¹Òä8k{Éñ·¶Ú ØawûÝö~7¼?sâhYDg¶¾é XwÝËßÌÂWùeê~ûKà¾þwVéÌ`¹8Áé]p'|ÖCX¹¦°¹já6ÃqT;ìáÂXÄ(.*Kl×§øÅ@]1ÙêbÛ§2þdǺc³es\5¾±gãÁS %icw]+ÈC²KeNÂî2ÁUîlêzl-(KùËHî¸dIÎvÎÌÊLoþ5éä4Ã2\^3Wæ>²Qà<í7ùæ&+Îr2EùÌ'Ƴ\i:ÙveâùÙ\ôm»<Í6éÉGºG+Ò¾1[igìªñX½¤Ú yåLë6Ô°i9ßCÖÑlNõ<:Þ©úÏìµ°ý*æÈÎØr:^¨-â7úØær5lÍìjgÔÙÐ^ê²Malg;¥Ûæv½ýí[Ü&w¹Cznt÷WÝëþh»Ýí^xÇ»¢ó¦÷{}o[ÚÛÊ·¾¡;ëLïnºÞÛ¬ì`|Îü~^¢7M9¶R¼ ³uæéÞåqgv!8'BCäJäwÅÇp:WPÙ7D^ì'^òws·ÖA¥Åö·eÝã>ï>n¶vrñ YØq[8Rc2 Ev9"$"syvu¹tÙxÉé(àzIY¹Ùùé ùn {U9pW"-¡é:Q 9Y9£¹Q.!"¤É®9"¨y3¶Ù·i¹é»Ù¸ùº ¼)¾Æ ¥TJ¥SJXj¥ZÚ\¥`ú¥bZ¥è¡ ©©¤SYqø¨c©úv Ü;Ú§NZ§³©ªjt*Õ9§Lúªµ¤¯*îÙ¬ª¼ú«° ¬®Ù«òé«Áz¬Ã*¬Æ¬Á ¢*6J§^Jªô¶zª¹ú§"¤tªäéÜꧤÝ:®tzâ)©ÝêÚ®º®Õiî*¯ï:¯®i¯ìZ¯©J¥hZC2ê.ëoz¬©¡·*¤á¹¡-úEÊ©HÊ£ú°Ê¡*¯RZ° ¥k©Û¥9± ˱![{"K²#û±®Ù¯>äþ»pÔênj¬Ë ¦ä ¯ñZ»*²¹*¥ø§ÛB[¬DK¤EëË´GK¬FÛ´H»´¤ù®/ú©=Ó¦õFØ ¯ª©"Û±%¢©§]±&â«Ë¥³ùJ¯l{¯úÚ¶kë¶p«¶tµ7ûTk3VÛ^¦J³µ©«òJ¶»)·³ój¨Y+µÀ±+²©pú¸¹¹[¹{g·:é0g¥pJºâù®g«¢´ë¥»¹@«ºÊ µÈª´NË´O{»³«»(˲ö|ªõ¦<¸¹[³Æ¨¬¹q»PK¼>¼¹û¼»½¸[½Óþk½µK»Ìʬqë»=ã¹¼9ù¹ø/ly¾ÛoâÛä+Qæ¾m ¾ùµ¾ ¸,Úª:á¿üdpGMH}åCÀ@ºãëiG|Üu/Pø¼ôù§çéÁ}º§ÊÃ7ú¬ù4dZi=Ï.,~õrgvgxA¿äfúÆt_ÝUø{¯» ¤HªªtZ®L £IÄ»I¨ ߴžfB 8[øGr¤µMP,ÃìkHSwiþÓ¸w4Çg#jùweÀùIºj¦ÆCÌ»d»ÂÕUjÔð³-tÃUtI)ôÇdÄ ÈvÆë¨Ëü§z««k¶¡',¿e¶DmcvØ:XL\CjáFA$sìB:hÊõÃ9«á« ±äZ¸wKÉx+Å ªîGÈ4¸F6¤Éú-Q,Î>øÎlÈèÊggiÔ,Pa̼°<Ëãjý<º»j<µîÌçuÉ5 ÄfÖÎcvMÍÇÌlfï\L+¼ÅúF`ìÍ>¬Í={êÆ~˺wkþÉîhÑZüJRxiw|w|ÌÈ]ã°øtÏø¼Á×üºÉ«{º:«²¸"¢Òâ¼ÎÑçPÌ}üö¤Ó;m·®{©Dý³%²E}H}LÿûɼÇN]¿ö;QùÒ»º½éºµ+¸ººÖäÙÕÆÇd]Ö õÑp=dzÐÛ×(kÕLkÐ÷Ñv½P®üÓÁc»V®']r]]Ø:LP®¿¿¯fÓOMÙ5Á"sÙ=Úm9Ù½ÓÕÌÓ¤½Ú¥M×ny/°Û²=Û´]Û¶}Û¸Ûº½Û¼ÝÛ¾M/]ÃÓ&.¬ÀuyÀÊÜÌmÜÍ]Mlôþ¸ÖÕ¹E~ZÁô£Úi Ð+¢,Þ(ZÞäMÞѽQ3yÚ ÃËðXO´44Ö¬×ÖùÈÒËXßø½ßûÙßõ¹«éMuÍÞ¨=J]èhzw_Ç;g-!¨vÚ©nmÞã]áâ}á/jÚOîÍãlrÿ£3xÍ%òÝËZº{¥®»¥dêâ0Þâ2¥Xà×vÓÎ1îIª^]-ÝÖÛÜÍÜÉìúÊV͹J.©KÎÖNã¿+Åж 6óôÖöÒö«'ËÁ×;æÙË»Û[³6QëMå 9uîäÙÓçO A{~¤YÔ( ¯¿ò"#ÐÃß:,1Áã(Ì©A [tñEOªÏB Âp$GDpÇÙÌ+07AäÅ gDÅTrI¬ñIn|G)ÛÐÇ*ÔòG¯LÑH$sL2¡RJ4µj/à µ»Î¿ßl,N:½þ«sN7w;íÌ#[Fðô,SBAq+Ô$>ÓDSÊù-ÍQÏÀô®)³GctPÄ »´¨JÙTMQRÕ\rÓËPÏ0"ÍËU=Óà`u*UWr²T¥LV'Åõ»ýÎûT@Kt<Ç=öWJ3S=÷³u©DyµÐWh6±?Iz6YÃËÙÿ$³¶ÛЮµrÚ)]uWmïãÝ$¿½*Uñí·C*Ñý7S;·Ã_ËKà7ÔqÔzÓ¼÷àõÈ áÄ1à+%öÒY)UZLIFðaæèø¹,rùecyfk¶ùfs¾YRpùí8Ö¿ÑýyËrmZä Index: ChangeLog =================================================================== RCS file: /cvsroot/template-menu/template-menu/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -U2 -r1.2 -r1.3 --- ChangeLog 8 Dec 2003 04:27:09 -0000 1.2 +++ ChangeLog 8 Dec 2003 05:06:34 -0000 1.3 @@ -1,4 +1,6 @@ 2003-12-08 xmldoc <xm...@si...> + * ChangeLog, Makefile, NEWS: updated for v0.92 + * Makefile, VERSION: bump up version to v0.92 |
From: Michael S. <xm...@us...> - 2003-12-08 04:27:12
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv24174 Modified Files: ChangeLog Makefile NEWS Log Message: updated for v0.92 Index: ChangeLog =================================================================== RCS file: /cvsroot/template-menu/template-menu/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -U2 -r1.1.1.1 -r1.2 --- ChangeLog 6 Dec 2003 03:07:44 -0000 1.1.1.1 +++ ChangeLog 8 Dec 2003 04:27:09 -0000 1.2 @@ -1,54 +1,36 @@ -2003-12-03 Michael Smith <sm...@si...> +2003-12-08 xmldoc <xm...@si...> - * templ-menu.el: use octal to specify space (instead of hex) + * Makefile, VERSION: bump up version to v0.92 - * templ-menu.el: changed ?\<space> to ?\x20 in string replace + * README: updated for v0.92 -2003-12-02 Michael Smith <sm...@si...> +2003-12-06 xmldoc <xm...@si...> - * templ-menu.el: Keep template-menu-template-dir for now. - - * templ-menu.el: function for building menu now called only - externally - -2003-11-28 Michael Smith <sm...@si...> - - * Makefile, README, templ-menu.el: doc fixes for clarity in - install doc - - * Makefile: updates for v0.91 - - * example-templates/docbook/config-key.tpl, + * Makefile, NEWS, README, TODO, VERSION, example-templates/docbook/config_key.tpl, - example-templates/docbook/log-event.tpl, - example-templates/docbook/log_event.tpl: delete and rename - - * Makefile: activate changelog target - - * NEWS, README, TODO, VERSION, templ-menu.el: implement generated - menu based on template discovery - - * example-templates/log_event.tpl: file for testing - - * example-templates/foobook/config_key.tpl, + example-templates/docbook/figure.tpl, + example-templates/docbook/log_event.tpl, + example-templates/docbook/procedure.tpl, + example-templates/foobook/config_key.tpl, example-templates/foobook/figure.tpl, example-templates/foobook/log_event.tpl, - example-templates/foobook/procedure.tpl: duplicate example files - in separate dir (for testing) + example-templates/foobook/procedure.tpl, + example-templates/formal_article.journal.tpl, + example-templates/log_event.tpl, templ-menu.el: New file. -2003-11-20 Michael Smith <sm...@si...> - - * COPYING, Makefile, NEWS, README, TODO, VERSION, - example-templates/docbook/config-key.tpl, + * Makefile, NEWS, README, TODO, VERSION, + example-templates/docbook/config_key.tpl, example-templates/docbook/figure.tpl, - example-templates/docbook/log-event.tpl, - example-templates/docbook/procedure.tpl, exclude.txt, - templ-menu.el: New file. + example-templates/docbook/log_event.tpl, + example-templates/docbook/procedure.tpl, + example-templates/foobook/config_key.tpl, + example-templates/foobook/figure.tpl, + example-templates/foobook/log_event.tpl, + example-templates/foobook/procedure.tpl, + example-templates/formal_article.journal.tpl, + example-templates/log_event.tpl, templ-menu.el: initial import - * COPYING, Makefile, NEWS, README, TODO, VERSION, - example-templates/docbook/config-key.tpl, - example-templates/docbook/figure.tpl, - example-templates/docbook/log-event.tpl, - example-templates/docbook/procedure.tpl, exclude.txt, - templ-menu.el: initial import + * COPYING, ChangeLog, exclude.txt: New file. + + * COPYING, ChangeLog, exclude.txt: initial import Index: Makefile =================================================================== RCS file: /cvsroot/template-menu/template-menu/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -U2 -r1.2 -r1.3 --- Makefile 8 Dec 2003 04:22:13 -0000 1.2 +++ Makefile 8 Dec 2003 04:27:09 -0000 1.3 @@ -24,6 +24,6 @@ # REMOTEDIR = /incoming -REMOTEHOST = atlantis.io.com -REMOTEDIR = /virtual/customer/logopoeia.com/htdocs/template-menu +REMOTEHOST = upload.sourceforge.net +REMOTEDIR = /incoming MAKE = make Index: NEWS =================================================================== RCS file: /cvsroot/template-menu/template-menu/NEWS,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -U2 -r1.1.1.1 -r1.2 --- NEWS 6 Dec 2003 03:07:46 -0000 1.1.1.1 +++ NEWS 8 Dec 2003 04:27:09 -0000 1.2 @@ -1,2 +1,7 @@ +0.92 + First public release. Updated `template-menu-make-submenu-name' + do some smarter formatting (based on suggestions and examples + from Bruce D'Arcus). + 0.91 Added `template-menu-get-file-list' function for discovering |
From: Michael S. <xm...@us...> - 2003-12-08 04:22:16
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv23639 Modified Files: Makefile VERSION Log Message: bump up version to v0.92 Index: Makefile =================================================================== RCS file: /cvsroot/template-menu/template-menu/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -U2 -r1.1.1.1 -r1.2 --- Makefile 6 Dec 2003 03:07:46 -0000 1.1.1.1 +++ Makefile 8 Dec 2003 04:22:13 -0000 1.2 @@ -70,6 +70,6 @@ install: -# $(NCFTPPUT) $(NCFTPPUT_OPTS) $(REMOTEHOST) $(REMOTEDIR) $(DIRNAME)-$(VERSION).zip - $(SCP) $(SCP_OPTS) $(DIRNAME)-$(VERSION).zip $(README) $(REMOTEHOST):$(REMOTEDIR) + $(NCFTPPUT) $(NCFTPPUT_OPTS) $(REMOTEHOST) $(REMOTEDIR) $(DIRNAME)-$(VERSION).zip +# $(SCP) $(SCP_OPTS) $(DIRNAME)-$(VERSION).zip $(README) $(REMOTEHOST):$(REMOTEDIR) clean: $(BYTE_FILES) Index: VERSION =================================================================== RCS file: /cvsroot/template-menu/template-menu/VERSION,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -U2 -r1.1.1.1 -r1.2 --- VERSION 6 Dec 2003 03:07:46 -0000 1.1.1.1 +++ VERSION 8 Dec 2003 04:22:13 -0000 1.2 @@ -1 +1 @@ -0.91 +0.92 |
From: Michael S. <xm...@us...> - 2003-12-08 03:57:48
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv20056 Modified Files: README Log Message: updated for v0.92 Index: README =================================================================== RCS file: /cvsroot/template-menu/template-menu/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -U2 -r1.1.1.1 -r1.2 --- README 6 Dec 2003 03:07:46 -0000 1.1.1.1 +++ README 8 Dec 2003 03:57:45 -0000 1.2 @@ -1,10 +1,9 @@ -------------------------------------------------------------------- Commentary ------------------------------------------------------------------- This package adds an "Insert Template" submenu to your File - menu. It relies on Christoph Wedler's `template' package. + menu. It relies on Christoph Wedler's `template' package. The way it works is this: Given the name of a directory, - `template-menu': + `template-menu-mode' 1. Searches through that directory and all its subdirectories for @@ -24,10 +23,10 @@ 0. First download and install the Christoph Wedler's `template' - package. You can get it from: + package. You can get it from: http://emacs-template.sourceforge.net/ - `template-menu' will not work at all unless you already have - `template' installed. + `template-menu-mode' will not work at all unless you already + have `template' installed. In particular, make sure you have the following `template' @@ -39,10 +38,9 @@ 1. Either put this file into a directory that's already in your load path, or add whatever directory it's already in to your - load path. For example, + load path. For example, (add-to-list 'load-path "c:/my-xml-stuff/elisp/") -2. Add the following to the end of your .emacs file exactly as - shown: +2. Add the following to your .emacs file exactly as shown: (require 'templ-menu) @@ -52,45 +50,63 @@ the directory you plan to use as your base templates directory. -4. Set a value for the `template-menu-template-dir' option, so that - `template-menu' where you find your template files. See the - Customization section for details. +4. Add the following to your .emacs file, replacing "c:/FOO" with + whatever the path to your base templates directory is. + + (template-menu-build-menu-from-dir "c:/FOO") -Convention for Naming Template Files ------------------------------------- +File-naming Conventions for Controlling Formatting of Menu Names +---------------------------------------------------------------- The names of the menu items are generated based on the file names -found. To generate the menu names `template-menu': +found. Use underscores and dots in your files to control formatting +of menu names. - - removes the ".tpl" extension - - replaces any underscores in the name with spaces - - puts the word in the result into uppercase - -So, if you have a template file for which you want the associated -menu-item name to be "Log Event", give the template file the name -log_event.tpl. +For example, suppose that you give a file the following name: -------------------------------------------------------------------- -Customization -------------------------------------------------------------------- + formal_article.journal.risx.tpl + +Based on that filename, `template-menu-mode' does the following +in order to generate a corresponding menu name for that file. + + 1. Removes the ".tpl" extension: + => formal_article.journal.risx + + 2. Replaces any underscores in the name with spaces: + => formal article.journal.risx -Currently, the only option you can (and must) customize is the -`template-menu-template-dir'option, which specifies the path to -the directory where you have template files stored. + 3. Surrounds the part of the name after the first dot with parens: + => formal article (journal.risx) -To customize that option, either: + 4. Replaces any remaining dots in the filename with commas: + => formal article (journal, risx) - - type \M-x customize-group<return>template-menu<return>, set - the value there, then restart your Emacs + 5. Uppercases the initial letter of each word in the result: + => Formal Article (Journal, Risx) - or +------------------------------------------------------------------- +Customization +------------------------------------------------------------------- + There are currently no user-customizable options. + +------------------------------------------------------------------- +History +------------------------------------------------------------------- + 2003-12-03 v0.92 + Updated `template-menu-make-submenu-name' do some smarter + formatting (based on suggestions and examples from Bruce D'Arcus). - - Adding something similar to the following to your .emacs file: + 2003-11-28 v0.91 + Added `template-menu-get-file-list' function for discovering + template files and dynamically generating the menu based on what + it finds (based on suggestion from Bruce D'Arcus). - (setq template-menu-template-dir "c:/my-emacs-stuff/templates") + 2003-11-19 v0.90 + initial version - IMPORTANT: Make sure to place the line above so that appears in - your .emacs file somewhere before the - (require 'templ-menu) line you added when you - installed `template-menu'. If it appears after the - (require 'templ-menu) line, it won't work. +------------------------------------------------------------------- +Acknowledgements +------------------------------------------------------------------- +Thanks to Bruce D'Arcus for patiently testing and providing many +suggestions, including the idea of having contents of the menu +created automatically based on discovery of template files. ------------------------------------------------------------------- |
From: Michael S. <xm...@us...> - 2003-12-06 03:07:49
|
Update of /cvsroot/template-menu/template-menu In directory sc8-pr-cvs1:/tmp/cvs-serv28233 Log Message: initial import Status: Vendor Tag: xmldoc Release Tags: start N template-menu/ChangeLog N template-menu/COPYING N template-menu/exclude.txt N template-menu/Makefile N template-menu/NEWS N template-menu/README N template-menu/templ-menu.el N template-menu/TODO N template-menu/VERSION N template-menu/example-templates/formal_article.journal.tpl N template-menu/example-templates/log_event.tpl N template-menu/example-templates/docbook/config_key.tpl N template-menu/example-templates/docbook/figure.tpl N template-menu/example-templates/docbook/log_event.tpl N template-menu/example-templates/docbook/procedure.tpl N template-menu/example-templates/foobook/config_key.tpl N template-menu/example-templates/foobook/figure.tpl N template-menu/example-templates/foobook/log_event.tpl N template-menu/example-templates/foobook/procedure.tpl No conflicts created by this import ***** Bogus filespec: - ***** Bogus filespec: Imported ***** Bogus filespec: sources |