Mercurial > hg > xemacs-beta
comparison lisp/hm--html-menus/README @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 08:51:32 +0200 |
| parents | 4103f0995bd7 |
| children | 8b8b7f3559a2 |
comparison
equal
deleted
inserted
replaced
| 25:383a494979f8 | 26:441bb1e64a06 |
|---|---|
| 1 This README file describes the emacs lisp package hm--html-menus-5.2. | 1 This README file describes the emacs lisp package hm--html-menus-5.3. |
| 2 | 2 |
| 3 The package provides functions and various popup and pulldown menus | 3 The package provides functions and various popup and pulldown menus |
| 4 for a html mode called hm--html-mode, a mode for writing html pages. | 4 for a html mode called hm--html-mode, a mode for writing html pages. |
| 5 It provides also a minor mode (hm--html-minor-mode), which can be used | |
| 6 together with another html major mode, like the psgml-html mode in the | |
| 7 XEmacs 19.14. | |
| 5 | 8 |
| 6 It has an interface to view the html documents in a W3 browser with | 9 It has an interface to view the html documents in a W3 browser with |
| 7 Netscape, the w3-package from William M. Perry and Mosaic with the | 10 Netscape, the w3-package from William M. Perry and Mosaic with the |
| 8 file html-view.el from Ron Tapia. It provides also a drag and drop | 11 file html-view.el from Ron Tapia. It provides also a drag and drop |
| 9 interface, which makes it very easy to insert links or images, by just | 12 interface, which makes it very easy to insert links or images, by just |
| 23 This package is tested with the xemacs 19.15 on Suns with SunOS 5.5 | 26 This package is tested with the xemacs 19.15 on Suns with SunOS 5.5 |
| 24 and on PC's with linux. But it should work also on other (possibly | 27 and on PC's with linux. But it should work also on other (possibly |
| 25 only UNIX ?) platforms. | 28 only UNIX ?) platforms. |
| 26 | 29 |
| 27 NOTE: The current release isn't tested with the Emacs 19 (5.0 is but | 30 NOTE: The current release isn't tested with the Emacs 19 (5.0 is but |
| 28 5.1 and 5.2 are not). One of the next releases in the near future :-) will be a | 31 5.1 to 5.3 are not). One of the next releases in the near future :-) will be a |
| 29 bug fix only release for the Emacs 19. So please report any bugs to | 32 bug fix only release for the Emacs 19. So please report any bugs to |
| 30 muenkel@tnt.uni-hannover.de to shorten the time until the Emacs 19 | 33 muenkel@tnt.uni-hannover.de to shorten the time until the Emacs 19 |
| 31 related bugs are fixed. | 34 related bugs are fixed. |
| 32 | 35 |
| 33 Read the file README-EMACS-19, if you want to use this package with | 36 Read the file README-EMACS-19, if you want to use this package with |
| 48 LSM : Entry for the Linux Software Map; | 51 LSM : Entry for the Linux Software Map; |
| 49 NEWS : Change logfile; | 52 NEWS : Change logfile; |
| 50 adapt.el : provides functions to use this package | 53 adapt.el : provides functions to use this package |
| 51 with the GNU Emacs 19 | 54 with the GNU Emacs 19 |
| 52 hm--html.el : provides functions to write html pages; | 55 hm--html.el : provides functions to write html pages; |
| 53 some of these functions are similar to | 56 in this file are all commands defined, |
| 54 functions of the html-mode.el; | 57 which inserts html elements and entities; |
| 55 hm--html-indentation.el : provides the indentation stuff; | 58 hm--html-indentation.el : provides the indentation stuff; |
| 56 hm--html-keys.el : provides the keybindings; | 59 hm--html-keys.el : provides the keybindings; |
| 57 hm--html-menu.el : provides the menus; | 60 hm--html-menu.el : provides the menus; |
| 58 hm--html-mode.el : provides the functions for the definition | 61 hm--html-mode.el : provides the functions for the definition |
| 59 of the hm--html-mode; this is now the | 62 of the hm--html-mode; this is now the |
| 60 main file of the package; | 63 main file of the package; |
| 64 hm--html-not-standard.el : provides functions to insert some | |
| 65 non standard hteml elements; | |
| 66 this file is not evaluated by default; | |
| 61 hm--html-configuration.el : configuration file for the html mode; | 67 hm--html-configuration.el : configuration file for the html mode; |
| 62 choose this as system configuration file; | 68 choose this as system configuration file; |
| 63 hm--html-drag-and-drop.el : defines the HTML- specific functions | 69 hm--html-drag-and-drop.el : defines the HTML- specific functions |
| 64 for the drag and drop interface; | 70 for the drag and drop interface; |
| 65 hm--html-indentation.el : defines functions for the indentation of | 71 hm--html-indentation.el : defines functions for the indentation of |
| 97 ============= | 103 ============= |
| 98 | 104 |
| 99 Note: In this version the setting of the environment variables | 105 Note: In this version the setting of the environment variables |
| 100 HTML_CONFIG_FILE and HTML_USER_CONFIG_FILE are no longer necessary, | 106 HTML_CONFIG_FILE and HTML_USER_CONFIG_FILE are no longer necessary, |
| 101 if you put the user configuration file in the home directrory and | 107 if you put the user configuration file in the home directrory and |
| 102 the system (site) configuration file in one of the load path directories | 108 the system configuration file in one of the load path directories |
| 103 of your xemacs or GNU Emacs 19. | 109 of your XEmacs or Emacs 19. |
| 104 | 110 |
| 105 1. Put all the *.el files in one of your xemacs (or emacs) lisp load | 111 1. Put all the *.el files in one of your xemacs (or emacs) lisp load |
| 106 directories (i.e. lisp/packages). | 112 directories (i.e. lisp/packages). |
| 107 | 113 |
| 108 2. Put the following in your .emacs (or default.el or site-init.el): | 114 2. Put the following in your .emacs (or default.el or site-init.el): |
| 151 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode) | 157 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode) |
| 152 auto-mode-alist))) | 158 auto-mode-alist))) |
| 153 | 159 |
| 154 It could also be, that you've already the autoload lines for | 160 It could also be, that you've already the autoload lines for |
| 155 the w3 package in your emacs. | 161 the w3 package in your emacs. |
| 162 | |
| 163 If you want to use this the hm--html-minor-mode together | |
| 164 with the psgml-html modes, then you should add the following | |
| 165 line (works only in XEmacs version >= 19.15 and != 20.0) | |
| 166 (add-hook 'html-mode-hook 'hm--html-minor-mode) | |
| 156 | 167 |
| 157 3. Set (if you want) the environment variable HTML_CONFIG_FILE | 168 3. Set (if you want) the environment variable HTML_CONFIG_FILE |
| 158 to the html system configuration file i.e.: | 169 to the html system configuration file i.e.: |
| 159 setenv HTML_CONFIG_FILE /usr/xemacs/lisp/hm--html-configuration.el | 170 setenv HTML_CONFIG_FILE /usr/xemacs/lisp/hm--html-configuration.el |
| 160 | 171 |
