all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using Emacs-22.0.50 as programming editor for Perl
@ 2008-06-11 15:02 Ted
  2008-06-11 19:55 ` David Kastrup
  0 siblings, 1 reply; 2+ messages in thread
From: Ted @ 2008-06-11 15:02 UTC (permalink / raw)
  To: help-gnu-emacs

I've been using Emacs for a while, as well as programming little Perl
scripts for about the same amount of time.  So far, so good.  But I
have two issues I have yet to resolve, despite studying the Emacs
documentation (maybe I'm just looking in the wrong part of that
though, or maybe what I'm trying to do isn't discussed there).

1) When I run a script, standard output gets mixed with standard error
iostreams.  Is there a simple way to tell Emacs to display each output
stream in its own window?  At a minimum, things would be a whole lot
easier if whatever is written to STDOUT is kept separate from whatever
is written to STDERR!  I would have thought that these two streams
would be written to separate windows by default.

2) Debugging is a bit of a pain.  I can use "perl -d myTestScript.pl"
from a Windows (WXP) commandline window.  But when I try the usual
commands, that I'd use from the commandline, within Emacs, nothing
happens most of the time, and sometimes I'd get an error message
saying the command I'd used is obsolete.  While it is trivially easy
to step through my scripts using "perl -d myTestScript.pl" from a
Windows (WXP) commandline window, I have yet to step through my code
when I have Emacs use the same command to start a debugging session.
Emacs does display the debugger's prompt, but none of the commands I'd
use in the debugger's own interface seems to work when it is trying to
function within Emacs.

Any suggestions to get either of these issues resolved would be
greatly appreciated.

Thanks

Ted


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

* Re: Using Emacs-22.0.50 as programming editor for Perl
  2008-06-11 15:02 Using Emacs-22.0.50 as programming editor for Perl Ted
@ 2008-06-11 19:55 ` David Kastrup
  0 siblings, 0 replies; 2+ messages in thread
From: David Kastrup @ 2008-06-11 19:55 UTC (permalink / raw)
  To: help-gnu-emacs

Ted <r.ted.byers@rogers.com> writes:

> 1) When I run a script, standard output gets mixed with standard error
> iostreams.  Is there a simple way to tell Emacs to display each output
> stream in its own window?  At a minimum, things would be a whole lot
> easier if whatever is written to STDOUT is kept separate from whatever
> is written to STDERR!  I would have thought that these two streams
> would be written to separate windows by default.

Call your program via a shell command to redirect stderr output to a
separate file and track that with auto-revert-tail-mode.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

end of thread, other threads:[~2008-06-11 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 15:02 Using Emacs-22.0.50 as programming editor for Perl Ted
2008-06-11 19:55 ` David Kastrup

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.