From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.help Subject: python.el, shell-send-region and exception handling Date: Fri, 09 Jan 2015 16:35:05 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420817900 22898 80.91.229.3 (9 Jan 2015 15:38:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2015 15:38:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 09 16:38:14 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y9bcj-0002Dx-0y for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2015 16:37:17 +0100 Original-Received: from localhost ([::1]:51122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9bci-0000yX-C2 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2015 10:37:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9bcW-0000yR-Sp for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 10:37:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9bcR-0000Ev-Tj for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 10:37:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9bcR-0000Eh-M4 for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 10:36:59 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y9bbr-0005qq-0k for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 16:36:23 +0100 Original-Received: from 193.106.183.18 ([193.106.183.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jan 2015 16:36:22 +0100 Original-Received: from wavexx by 193.106.183.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jan 2015 16:36:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101969 Archived-At: Is there a way to have python-shell-send-region (and friends) to detect uncaught exceptions at the python prompt? I would like to be notified somehow of python exceptions either in the minibuffer or by splitting the window and showing python's output. Currently, uncaught exceptions simply go unnoticed if you don't have the output buffer visible. This is done currently in python-mode.el, but I couldn't find an alternative in python.el. Thanks.