RCS file: /home/resolve/Lib/CVS/emacs-wiki/emacs-wiki.el,v Working file: /home/resolve/.elisp/emacs-wiki/emacs-wiki.el head: 1.53 branch: locks: strict access list: symbolic names: start: 1.1.1.1 resolve: 1.1.1 keyword substitution: kv total revisions: 54; selected revisions: 54 description: ---------------------------- revision 1.53 date: 2003/04/29 12:03:14; author: resolve; state: Exp; lines: +112 -228 - reverted the last set of changes, since emacs20 lacks \{min,max\} regexp specifications and nested backquotes. will need to build compatibility libs for this ---------------------------- revision 1.52 date: 2003/04/26 15:45:09; author: resolve; state: Exp; lines: +14 -2 added a tag thanks to some lisp from Sacha Chua. ---------------------------- revision 1.51 date: 2003/04/26 15:02:11; author: resolve; state: Exp; lines: +2 -2 (emacs-wiki-markup-initial-directives): make the variables buffer local when set ---------------------------- revision 1.50 date: 2003/04/26 14:27:38; author: resolve; state: Exp; lines: +2 -2 emacs-wiki-publishing-markup: more characters to watch out for ---------------------------- revision 1.49 date: 2003/04/26 14:14:00; author: resolve; state: Exp; lines: +2 -2 (emacs-wiki-insert-anchor): add id= tags, for compatibility with older browsers ---------------------------- revision 1.48 date: 2003/04/26 14:10:03; author: resolve; state: Exp; lines: +5 -4 (emacs-wiki-insert-anchor): honour emacs-wiki-anchor-on-word when looking at a HTML element, too. ---------------------------- revision 1.47 date: 2003/04/26 13:56:54; author: resolve; state: Exp; lines: +233 -101 New helper macros: - full-line-p - backward-syntax-p - forward-syntax-p - format-recurring New macros which generate macros which generate markup rules: - emacs-wiki-define-surrounded - emacs-wiki-define-pair - emacs-wiki-define-prefix Changes: - emacs-wiki-highlight-markup now uses the new markup macros where possible - emacs-wiki-highlight-ok-context-p: removed; this functionality is in the macros above now - emacs-wiki-highlight-emphasised, emacs-wiki-highlight-verbatim, emacs-wiki-highlight-underline: removed; these are now defined inline emacs-wiki-highlight-markup - emacs-wiki-no-surrounding-whitespace-p: removed - emacs-wiki-keymap-property: fixed a bug due to misplaced parens with my last update - emacs-wiki-highlight-title: as this is changed to to emphasis highlighting routines now, logic needs to be embedded to ensure we're in the correct context ---------------------------- revision 1.46 date: 2003/04/25 14:26:48; author: resolve; state: Exp; lines: +15 -11 emacs-wiki-link-properties: correct some unbalanced alists emacs-wiki-high-emphasised: factored out some of the code into another function ---------------------------- revision 1.45 date: 2003/04/17 13:06:10; author: resolve; state: Exp; lines: +5 -3 emacs-wiki-publishing-header: updated the header to html 4.0 transitional, as we don't comply to strict. thanks to Max Froumentin. (emacs-wiki-markup-word): only check for multiple lines when using _ or = when publishing ---------------------------- revision 1.44 date: 2003/03/17 01:00:02; author: resolve; state: Exp; lines: +7 -6 (emacs-wiki-contents-tag): use put-text-property rather than propertize, since xemacs doesn't have the latter. also propertize the entire contents region rather than just the individual elements * thanks also to sacha chua (sacha AT free DOT net DOT ph) for a patch for the contents and anchoring on a word stuff - I forgot to mention it yesterday ---------------------------- revision 1.43 date: 2003/03/16 12:14:44; author: resolve; state: Exp; lines: +18 -16 (emacs-wiki-page-name), (emacs-wiki-transform-name): preserve the match data. this should fix the remainder of the problems with anchors ---------------------------- revision 1.42 date: 2003/03/16 11:55:09; author: resolve; state: Exp; lines: +29 -19 (emacs-wiki-published-name): allow the transform to effect the suffix of the file as well (emacs-wiki-insert-anchor): use emacs-wiki-anchor-on-word emacs-wiki-anchor-on-word: control whether an anchor should be empty or should grab the first word. see the doc string for more. defaults to off, which is different to previous behavior (emacs-wiki-contents-tag): set the region to read-only to prevent WikiLinks etc from being expanded inside the contents section (emacs-wiki-link-url): corrected the indexing of a match string which was clobbering the anchor name in [[wikilinks#anchor]] ---------------------------- revision 1.41 date: 2003/03/13 08:16:41; author: resolve; state: Exp; lines: +3 -3 * spelling and doc fixes from Karl Eichwalder (keichwa AT gmx DOT net) ---------------------------- revision 1.40 date: 2003/03/03 15:00:23; author: resolve; state: Exp; lines: +19 -16 (emacs-wiki-markup-link): if the url looks like it's not standing on its own (it's in quotes or a closing > comes after it), then refrain from marking it up. ---------------------------- revision 1.39 date: 2003/03/01 17:52:25; author: resolve; state: Exp; lines: +26 -17 (emacs-wiki-make-faces): patch from Thomas Link to build the xemacs faces (emacs-wiki-highlight-emphasized): avoid trying to step past the end of the buffer when something that looks like a header is in the buffer, and save the match data ---------------------------- revision 1.38 date: 2003/03/01 17:00:45; author: resolve; state: Exp; lines: +2 -2 (emacs-wiki-replace-markup): oops, paren mismatch ---------------------------- revision 1.37 date: 2003/03/01 16:56:37; author: resolve; state: Exp; lines: +10 -5 emacs-wiki-meta-content-coding: detect only if mule is available ---------------------------- revision 1.36 date: 2003/03/01 15:27:08; author: resolve; state: Exp; lines: +4 -2 catch the bare-word mailto: case when marking up email addresses ---------------------------- revision 1.35 date: 2003/03/01 14:45:04; author: resolve; state: Exp; lines: +34 -17 emacs-wiki-inline-relative-to: new (emacs-wiki-inline-image): use the above to control where inlined images are relative to ---------------------------- revision 1.34 date: 2003/02/28 00:01:42; author: resolve; state: Exp; lines: +1 -1 (emacs-wiki-highlight-emphasised): only match headings up to three levels deep ---------------------------- revision 1.33 date: 2003/02/27 13:33:08; author: resolve; state: Exp; lines: +17 -8 emacs-wiki-url-regexp: recognise mailto links emacs-wiki-publishing-markup: don't recognise email addresses within a wiki link ---------------------------- revision 1.32 date: 2003/02/26 10:50:14; author: resolve; state: Exp; lines: +91 -43 (emacs-wiki-multiline-maybe): expand region for multiline fontlock (emacs-wiki-highlight-emphasised): - use (emacs-wiki-multiline-maybe) - now for headers, too. check if it's a header and fontlock appropriately (emacs-wiki-highlight-title): - highlight #title tags with a bigger font (emacs-wiki-make-faces): generate the header faces. since xemacs / emacs20 don't support the height property, if we're running under them we just generate a default face instead (emacs-wiki-example-tag): use (emacs-wiki-multiline-maybe) (emacs-wiki-verbatim-tag): use (emacs-wiki-multiline-maybe) ---------------------------- revision 1.31 date: 2003/02/25 09:07:41; author: resolve; state: Exp; lines: +6 -7 * added a few more characters we don't want to interpolate ---------------------------- revision 1.30 date: 2003/02/25 07:41:13; author: resolve; state: Exp; lines: +20 -26 (emacs-wiki-verbatim-tag): when highlighting, prevent further modification emacs-wiki-highlight-markup: run the custom tags before other markup, as they will be responsible for supressing some markup ---------------------------- revision 1.29 date: 2003/02/25 06:18:09; author: resolve; state: Exp; lines: +22 -3 (emacs-wiki-escape-html-string): convert all dangerous characters into character entities (emacs-wiki-replace-markup): use (emacs-wiki-escape-html-string) to ensure links are rendered correctly ---------------------------- revision 1.28 date: 2003/02/24 12:25:04; author: resolve; state: Exp; lines: +13 -12 (emacs-wiki-highlight-ok-context-p): properly consider multi-character strings ---------------------------- revision 1.27 date: 2003/02/24 07:01:47; author: resolve; state: Exp; lines: +35 -21 emacs-wiki-coding-default: the coding to write out pages with emacs-wiki-charset-default: the charset to place in html pages by default (emacs-wiki-publish): change to the page's directory when publishing, so projects are correctly detected (emacs-wiki-escape-html-specials): terminate the loop if point moves past end (emacs-wiki-example-tag): (emacs-wiki-verbatim-tag): escape html special characters (emacs-wiki-markup-entity): if we have no translation for an entity, preserve it ---------------------------- revision 1.26 date: 2003/02/21 16:04:59; author: resolve; state: Exp; lines: +1 -5 * there's no need to set-auto-mode, that's done in normal mode ---------------------------- revision 1.25 date: 2003/02/14 13:03:18; author: resolve; state: Exp; lines: +1 -1 (emacs-wiki-replace-markup): correctly insert the "charset" identifier when setting the character-set, thanks to Jean-Philippe Georget ---------------------------- revision 1.24 date: 2003/02/12 03:09:56; author: resolve; state: Exp; lines: +16 -4 emacs-wiki-projects: few people have reported being confused about how to use projects, so i've added an example and some further explanation ---------------------------- revision 1.23 date: 2003/02/12 03:00:44; author: resolve; state: Exp; lines: +11 -6 emacs-wiki-publishing-transforms: update documentation to make it clearer ---------------------------- revision 1.22 date: 2003/02/04 06:53:15; author: resolve; state: Exp; lines: +4 -1 emacs-wiki-file-regexp: second time lucky ---------------------------- revision 1.21 date: 2003/02/04 05:38:39; author: resolve; state: Exp; lines: +18 -9 emacs-wiki-file-regexp: added .el files, fixed the gz,bzip detection (emacs-wiki-published-name): accept an optional second argument so we can generate paths relative to the location we're linking to ---------------------------- revision 1.20 date: 2003/02/04 03:11:48; author: resolve; state: Exp; lines: +46 -22 (emacs-wiki-markup-initial-directives): roll back the #path stuff emacs-wiki-publishing-transforms: new (emacs-wiki-published-name): apply the above variable to names as they're generated, so we can transform the names on the fly - publish all files matching a certain string to a different directory, etc ---------------------------- revision 1.19 date: 2003/02/03 21:39:51; author: resolve; state: Exp; lines: +51 -62 (emacs-wiki-highlight-ok-context-p): factored from some of the highlighting functions which shared common code. corrected a few thinkos (emacs-wiki-highlight-{under..,verb..}): use the above (emacs-wiki-highlight-emphasized): fixed the multi-line code. multi-line emphasised regions should now work without any c-l toggling, no matter whether you were editing from the start or the end of the region ---------------------------- revision 1.18 date: 2003/02/03 19:09:08; author: resolve; state: Exp; lines: +2 -7 (emacs-wiki-change-project): adjust the mode-line ourselves (emacs-wiki-maybe-update-mode-name): removed ---------------------------- revision 1.17 date: 2003/01/31 12:55:24; author: resolve; state: Exp; lines: +32 -11 * experimenting with a #page directive, ie the EmacsWiki website uses #page emacs/wiki/index.html. The problem at the moment is getting other pages to link to it - #page can only work if we read all those forms in to determine the location of a page. (emacs-wiki-published-file): the if the var of the same name is valid, use that instead ---------------------------- revision 1.16 date: 2003/01/28 19:02:35; author: resolve; state: Exp; lines: +29 -15 * started thinking about providing tags for interactive or publishing only, both for convenience and to avoid having the lisp marked up in the other mode * (emacs-wiki-replace-markup): use condition-case instead of ignore-errors, since cl-macs isn't always available. ---------------------------- revision 1.15 date: 2003/01/27 19:29:45; author: resolve; state: Exp; lines: +4 -2 (emacs-wiki-highlight-underlined): accomodate the beginning or end of buffer case ---------------------------- revision 1.14 date: 2003/01/25 21:39:37; author: resolve; state: Exp; lines: +139 -124 * added emacs-wiki-file-regexp (thanks johnw) * narrowed down the font-lock syntax to be closer to the resulting published markup. this should hopefully render correctly most of the time now. * emacs-wiki-content-coding-map is an alist to help decide what charset the resulting published HTML should have. * removed the HR css line from the default, as it's buggy in mozilla ---------------------------- revision 1.13 date: 2003/01/22 20:07:25; author: resolve; state: Exp; lines: +46 -4 * the content-type of published HTML pages is now based on the coding system of a buffer, and `emacs-wiki-content-coding-map' ---------------------------- revision 1.12 date: 2003/01/22 18:17:37; author: resolve; state: Exp; lines: +19 -6 (emacs-wiki-publish): - call (save-some-buffers) with a predicate to ensure the user is only prompted for emacs-wiki buffers - if the publishing directory doesn't exist, create it ---------------------------- revision 1.11 date: 2002/11/24 05:55:03; author: resolve; state: Exp; lines: +12 -2 * new release * fix for changelog entries with extended wiki link names * fix for change-project in xemacs ---------------------------- revision 1.10 date: 2002/11/24 04:16:09; author: resolve; state: Exp; lines: +12 -4 * fix for empty table elements when publishing with xemacs ---------------------------- revision 1.9 date: 2002/11/24 03:23:36; author: resolve; state: Exp; lines: +4 -1 * new release ---------------------------- revision 1.8 date: 2002/10/30 10:20:32; author: resolve; state: Exp; lines: +9 -6 * oops. don't change the old page when manually changing project ---------------------------- revision 1.7 date: 2002/10/25 17:29:34; author: resolve; state: Exp; lines: +14 -6 * don't jump to the welcome page when changing to the same project ---------------------------- revision 1.6 date: 2002/10/25 17:18:16; author: resolve; state: Exp; lines: +38 -3 * local variables in wiki pages should work now * configurable display of current project in the modeline * manually changing the wiki project will jump to that wiki's welcome page (objections?) ---------------------------- revision 1.5 date: 2002/09/07 03:53:16; author: resolve; state: Exp; lines: +67 -11 * add emacs-wiki-delete-link-at-point, to ease refactoring * extended links now set rear-nonsticky * entity table translations, for translating HTML entities not supported by all browsers (thanks to johnw) ---------------------------- revision 1.4 date: 2002/08/13 13:15:08; author: resolve; state: Exp; lines: +15 -5 * fixed a bug with rename link in emacs21 ---------------------------- revision 1.3 date: 2002/08/13 10:38:45; author: resolve; state: Exp; lines: +21 -11 * fixed the search facilities - wiki directories are now expanded before being passed to grep, the search prompt aligns correctly in xemacs now, interactive searching works again. ---------------------------- revision 1.2 date: 2002/08/13 08:12:38; author: resolve; state: Exp; lines: +29 -1 * New maintainer * New feature - "rename link at point" - bound to C-c C-r * When calling emacs-wiki-index, the buffer is first erased (thanks to Robert.Fenk@gmx.de) ---------------------------- revision 1.1 date: 2002/08/13 07:48:48; author: resolve; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 2002/08/13 07:48:48; author: resolve; state: Exp; lines: +0 -0 =============================================================================