From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo M Subject: python-shell-prompt-regexp warnings Date: Mon, 20 Jun 2016 12:57:27 +0200 Message-ID: <221f5879-0b3d-9809-8434-bd6bab37fe45@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEwtc-00083W-Tq for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 06:57:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEwtY-0000uz-ON for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 06:57:35 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:36464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEwtY-0000uM-Gu for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 06:57:32 -0400 Received: by mail-wm0-x22f.google.com with SMTP id f126so64149190wma.1 for ; Mon, 20 Jun 2016 03:57:32 -0700 (PDT) Received: from [127.0.0.1] ([212.189.161.135]) by smtp.gmail.com with ESMTPSA id r6sm13029608wme.14.2016.06.20.03.57.30 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 03:57:30 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" Dear all, whenever I have python source in an org a file, I get this warning: Warning (emacs): Python shell prompts cannot be detected. If your emacs session hangs when starting python shells recover with `keyboard-quit' and then try fixing the interactive flag for your interpreter by adjusting the `python-shell-interpreter-interactive-arg' or add regexps matching shell prompts in the directory-local friendly vars: + `python-shell-prompt-regexp' + `python-shell-prompt-block-regexp' + `python-shell-prompt-output-regexp' Or alternatively in: + `python-shell-prompt-input-regexps' + `python-shell-prompt-output-regexps' any help on setting up these regex? thanks Giacomo