all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do you run your scripts efficiently?
@ 2008-09-14 15:13 Ben Aurel
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Aurel @ 2008-09-14 15:13 UTC (permalink / raw)
  To: help-gnu-emacs

hi
I work mostly in vim, although I'm not a very advanced vim user. The
problem is I can't find a simple way to easily run a perl script and
capture its output.

I've tried different things but I'm still *very* unsatisfied with the
implementation of the following basic workflow:

     1. Edit a perl script in the editor
     2. Press one key (eg. F5) to save and run the script
     3. Print the output to a window below the editor window
     4. Possibility to easily switch to the output window and scroll
through the messages
     5. Possibility to easily switch back to the editor window


Currently I work with a GNU screen/vim combo.

________________
| term1: vim |
|~
|~
|________________
| term2
|  jdoe:%
|________________

But there is always a lot of typing involved. For example to
accomplish step 2. in the workflow above:

     - ESC, :w (to save the script in vim in term1)
     - CTRL-Z, tab (to switch to term2)
     - type "./myscript.pl" (to run the script in term2)


I think it's far from ideal... Can this easier be done with emacs? How
is your workflow?

thanks
ben




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-16 20:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.19322.1221540524.18990.help-gnu-emacs@gnu.org>
2008-09-16 13:50 ` How do you run your scripts efficiently? Dan Espen
2008-09-16 16:24   ` harven
2008-09-16 20:18 ` Xah
2008-09-14 15:13 Ben Aurel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.