|
Posted by Joseph Brenner on March 6, 2008, 6:15 pm
Please log in for more thread options
I'm considering using the name "Run::Emacs" for a CPAN module
that works with the emacs installed on your system by shelling
out to it (it doesn't use Emacs::EPL). There will be a few
different types of routines included, probably in two broad
categories:
(1) Utilities for running elisp code:
o building the emacs command with the right batch, eval
and load options (and also "no-splash")
o handling quoting of the elisp to pass it through the
shell)
(2) Probing your emacs installation:
o what version of emacs is available
o what is the load-path defined by the user's init
files (.emacs, etc.)
o is a given library found in the load-path?
(And further, I'll probably have some ancillary modules to do
things like extract emacs docstrings and display them in
other formats, such as html... "Run::Emacs::ExtractDocs"?)
"Run" doesn't seem like a bad place to put it in the namespace,
but I was wondering if there might be something available.
"Run::Emacs" describes very well the intent of the class (1)
routines, but perhaps it's not quite as accurate for the class
(2) routines that just provide information about your emacs
(though it does describe how these routines work internally).
Other possibilities like "Proc", "Exec", "Cmd", "Shell" don't
seem like they have quite the right shades of meaning.
Oh, and there's also a "RunApp::", but that looks like a specific
framework someone is working on (it's not too well documented,
unfortunately), and I suspect I should stay out of that namespace.
Actually, maybe it would be better to call it "Emacs::Run",
that would put it in parallel with things like "Emacs::EPL"...
Any comments?
|
| Similar Threads | Posted | | advice needed on using proper perl graphics module(s) | November 4, 2004, 1:02 pm |
| Namcespace advice sought for libevent wrapper | August 14, 2004, 8:26 am |
| Seeking Namespace Advice (MVS OS/390 Mainframe Util.) | March 23, 2005, 8:49 am |
| RFC: Namespace advice for new VXML interpreter modules | October 8, 2007, 9:00 am |
| mod_perl: modules not running? | August 30, 2004, 12:45 am |
| which perl version is mod_perl running?? | April 15, 2006, 5:48 am |
| Trying to get HTML::Mason running, stuff out-of-date? | October 6, 2004, 5:28 pm |
| Error in Perl Inline::C program running | November 3, 2005, 4:00 am |
| LWP Install Fails under WinXP SP2 running ActivePerl Build 810 | November 22, 2004, 1:20 pm |
| Running compiled Inline C perl scripts on more than one machine | February 9, 2006, 12:12 pm |
|