[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12. The Emacs Interface

LinkController's reporting system is designed to be independent of the interface to it, and often the shell interface will be all that is needed. However another convenient interface is through emacs. There are two parts to this integration.

12.1 Finding Files with Broken Links  An emacs program to display broken links.
12.2 Finding Broken Links in Files Within Emacs  Finding broken links in a file.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.1 Finding Files with Broken Links

There is a special emacs mode called link-report-dired written for locating files with broken links. The mode is based on find-dired and works very similarly. It runs the program link-report with an option which makes it list file names in the same way as the ls program does. The user can then move around the buffer as normal in emacs and enter files using a single key press (normally f).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.2 Finding Broken Links in Files Within Emacs

The program check-page was specially designed so that it outputs in a format which can be read by emacs' compile mode. You can use it within emacs and then step from error to error correcting them.

To do this, after you have set up your system and completed link checking use the command M-x compile check-page filename. You will now see another buffer open up with all of the errors shown there. You can use the key M-` (that's a real back quote, not an apostrophe) to step between errors.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Michael De La Rue on December, 30 2001 using texi2html