To set up this support package, first place the "tidy.el" file somewhere in your `load-path' and open it in Emacs. See the URL above for instructions on how to do this. Installation: This package assumes you have and up-to-date HTML Tidy program installed on your system. Finally `tidy-describe-options' allows you to browse the documentation strings associated with each option. The function `tidy-save-settings' will save the current option settings to your `tidy-config-file'. This is normally called by the load-hook for your HTML editing mode (see installation instructions below). The function `tidy-parse-config-file' will synchronise options displayed in the menu-bar with the settings in `tidy-config-file'. This package also provides menu-bar support for setting Tidy's many options, and includes support for Tidy configuration files. Warnings and errors are presented in a compilation buffer to facilitate tracking down necessary changes (e.g. tags (useful for writhing cgi scripts in Pearl). If `tidy-buffer' is given a prefix argument, tidy operates on the current region, ignoring mark-up outside. The function `tidy-buffer' sends the current buffer to HTML Tidy, replacing the existing contents with a "tidied" version. This package provides the following functions: `tidy-buffer', `tidy-parse-config-file', `tidy-save-settings', and `tidy-describe-options', These can be invoked interactively (using M-x) or via the menu-bar. Commentary: Provides a simple interface to the HTML Tidy program - a free utility that can fix common errors in your mark-up and clean up sloppy editing automatically. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. You should have received a copy of the GNU General Public License along with GNU Emacs see the file COPYING. See the GNU General Public License for more details. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This file is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2, or (at your option) any later version. Emacs Lisp Archive Entry Filename: tidy.el Author: Kahlil (Kal) HODGSON X-URL: Time-stamp: Version: 2.12 Keywords: languages This file is NOT part of GNU Emacs. Download tidy.el - Interface to the HTML Tidy program Copyright (C) 2001, 2002, 2003 by Free Software Foundation, Inc.
0 Comments
Leave a Reply. |