<<

NAME

Run::Emacs - module that handles shelling out to emacs for different purposes

SYNOPSIS

   use Run::Emacs ':all';
   my $major_version = emacs_version;
   if ($major_version > 22) {
      print "You have a recent version of emacs\n";
   }

DESCRIPTION

Run::Emacs is a module that deals with shelling out to emacs for various purposes.

The immediate need is to determine the major version of the emacs installed, to find out if --no-splash should be used.

(( Eventually this will have a number of run string generators that spit out fancy strings to do unusual stuff with emacs.

   It will probably also have some wrappers that
   use these generated runstrings, and scrape
   out the results.

   Note: with --batch message sends to STDERR,
   might combine with 2>1 bourne/bash-trick,
   and run it with backticks.

   Question: should this thing be ooped up?
))

(( Consider renaming? Maybe Test::Emacs or something. Nah. ))

EXPORT

None by default.

emacs_version

Returns the version of the emacs program stored on your system. By default it checks the simple command "emacs", and returns only the major version.

SEE ALSO

TODO Mention other useful documentation:

  o  related modules:  L<Module::Name>
  o  operating system documentation (such as man pages in UNIX)
  o  any relevant external documentation such as RFCs or standards
  o  discussion forum set up for your module (if you have it)
  o  web site set up for your module (if you have it)

AUTHOR

Joseph Brenner, <doom@kzsu.stanford.edu>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Joseph Brenner

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

BUGS

None reported... yet.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 81:

'=item' outside of any '=over'

Around line 128:

You forgot a '=back' before '=head1'

<<