From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Newsgroups: gmane.emacs.help Subject: Using Emacs-22.0.50 as programming editor for Perl Date: Wed, 11 Jun 2008 08:02:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213232854 30626 80.91.229.12 (12 Jun 2008 01:07:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 01:07:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 03:08:08 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6bHe-0002mg-5W for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2008 03:07:22 +0200 Original-Received: from localhost ([127.0.0.1]:34307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6bGq-0003L3-Kc for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jun 2008 21:06:32 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!34g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 76.68.140.42 Original-X-Trace: posting.google.com 1213196560 10092 127.0.0.1 (11 Jun 2008 15:02:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 11 Jun 2008 15:02:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 34g2000hsf.googlegroups.com; posting-host=76.68.140.42; posting-account=yMk5SQoAAADCmqm4d5kvJsQWXGMWgn4i User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159381 X-Mailman-Approved-At: Wed, 11 Jun 2008 21:06:00 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54750 Archived-At: 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