From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 02:44:23 2012 Received: (at submit) by debbugs.gnu.org; 11 Sep 2012 06:44:23 +0000 Received: from localhost ([127.0.0.1]:53501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBKCr-0001t4-5x for submit@debbugs.gnu.org; Tue, 11 Sep 2012 02:44:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42442) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBIvu-0007b4-UP for submit@debbugs.gnu.org; Tue, 11 Sep 2012 01:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBIvG-0004Zz-TV for submit@debbugs.gnu.org; Tue, 11 Sep 2012 01:22:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBIvG-0004Zv-Po for submit@debbugs.gnu.org; Tue, 11 Sep 2012 01:22:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBIvF-0007S2-94 for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 01:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBIvD-0004ZP-MY for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 01:22:05 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:52329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBIvD-0004ZI-Ib for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 01:22:03 -0400 Received: by iec9 with SMTP id 9so255014iec.0 for ; Mon, 10 Sep 2012 22:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1vtrwrm90xOc2F6tGgXjigXzCVpckGgHe3qjKYnZJVw=; b=JsU5ffC/a2cd2p0E73kQavV/kd9PXf+XmhQ9QIa8hwWvPQUPk+MPJ62ZenoxWAGdGM zsz2B3TItiC9/dc2/xs8mfww+Sze3j38zQysIv+VC4jp72Vv77+CS6PyLPV8Kr2sYQlF LhisDge4SNWlFgGBt+wYaqP3LAmoem05vsZ6Db8Vj01QwFS1Vn2ZhNYcYUdN1MswiQeW cwzLYyaW168pJijr4H0CRW1DsPmYGFETJ699lDRRIs4gm+IcyaX2Vs9xq+I9R26Fc6nB 6mVigiMczA+fl02Zf3cDoxuX26/A53sspGAK+fvglVaY3Z54ffSya+hS0wvsVkwHTeUE xWQg== MIME-Version: 1.0 Received: by 10.50.36.161 with SMTP id r1mr14942878igj.10.1347340922621; Mon, 10 Sep 2012 22:22:02 -0700 (PDT) Received: by 10.64.56.10 with HTTP; Mon, 10 Sep 2012 22:22:02 -0700 (PDT) Date: Mon, 10 Sep 2012 22:22:02 -0700 Message-ID: Subject: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer From: Dan Davison To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 11 Sep 2012 02:44:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 1. emacs -nw -q 2. M-x run-python 3. At the prompt, enter "aaaa = 4" followed by RETURN 4. At the prompt, enter "aaaaaa = 6" followed by RETURN 5. At the prompt enter "aa" followed by TAB to request a completion After step (4) the buffer contents look like: >>> aaaa = 4 >>> aaaaaa = 6 >>> After step (5) it looks like: >>> aaaa = 4 >>> aaaaaa = 6 >>> 'aaaa;aaaaaa' >>> aaaa Notice that the string containing possible completions was leaked to the shell buffer. The bug occurs both when running emacs in a terminal with `emacs -nw -q` and when running the emacs cocoa app. Some discussion of this bug can be found at https://github.com/fgallina/python.el/issues/92. It seems to be OS X-specific, related to `accept-process-output`. Dan In GNU Emacs 24.2.50.1 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2012-09-10 on cotinga.local Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--with-ns' '--with-png=no' '--with-gif=no'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Inferior Python Minor modes in effect: compilation-shell-minor-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC ESC O A ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D RET ESC O B ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C RET C-x o ESC O A ESC O B ESC O B ESC O B C-x o ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O B ESC O A ESC x r e p o TAB r TAB TAB RET C-g C-x b * P y TAB RET C-h v m a j o TAB RET C-x C-f C-g C-u C-g C-x C-f DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL d a v TAB n o n TAB p y t TAB . TAB z TAB . p y RET d e f s DEL a TAB ESC O B TAB ESC O B TAB ESC O B a TAB ESC O B DEL ESC x c o m p l TAB i TAB a t TAB RET a ESC x ESC O A RET C-x b RET ESC x r e p o r TAB RET Recent messages: Can't guess python-indent-offset, using defaults: 4 Loading vc-git...done ...on_work/python.el/z.py locked by davison@cotin... (pid 2599): (s, q, p, ?)? Please type q, s, or p; or ? for help ...on_work/python.el/z.py locked by davison@cotin... (pid 2599): (s, q, p, ?)? Please type q, s, or p; or ? for help ...on_work/python.el/z.py locked by davison@cotin... (pid 2599): (s, q, p, ?)? byte-code: End of buffer [4 times] Making completion list... You can run the command `completion-at-point' with C-M-i [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr vc-git pp browse-url wid-edit network-stream starttls url-http tls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util password-cache url-vars mailcap emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile python rx comint ring ansi-color help-mode easymenu help-fns time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 12 04:10:12 2012 Received: (at 12409) by debbugs.gnu.org; 12 Sep 2012 08:10:12 +0000 Received: from localhost ([127.0.0.1]:55923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBi1U-0000zm-Ko for submit@debbugs.gnu.org; Wed, 12 Sep 2012 04:10:12 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:44206) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TBi1T-0000zd-4k for 12409@debbugs.gnu.org; Wed, 12 Sep 2012 04:10:11 -0400 Received: (qmail invoked by alias); 12 Sep 2012 08:09:25 -0000 Received: from 62-47-43-31.adsl.highway.telekom.at (EHLO [62.47.43.31]) [62.47.43.31] by mail.gmx.net (mp028) with SMTP; 12 Sep 2012 10:09:25 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1///UpqWJj/sSNDJGaSAh9O8k6eH3fY/pjtLqZgsU H4OUTOCn3WXH17 Message-ID: <50504336.6090006@gmx.at> Date: Wed, 12 Sep 2012 10:09:26 +0200 From: martin rudalics MIME-Version: 1.0 To: Dan Davison Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > 1. emacs -nw -q > 2. M-x run-python > 3. At the prompt, enter "aaaa = 4" followed by RETURN > 4. At the prompt, enter "aaaaaa = 6" followed by RETURN > 5. At the prompt enter "aa" followed by TAB to request a completion > > After step (4) the buffer contents look like: >>>> aaaa = 4 >>>> aaaaaa = 6 >>>> > > After step (5) it looks like: > >>>> aaaa = 4 >>>> aaaaaa = 6 >>>> 'aaaa;aaaaaa' >>>> aaaa This could be related to the behavior of `complete-with-action'. See also bug#10851. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 24 14:34:22 2012 Received: (at 12409) by debbugs.gnu.org; 24 Sep 2012 18:34:22 +0000 Received: from localhost ([127.0.0.1]:53566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGDU6-0007cd-Cu for submit@debbugs.gnu.org; Mon, 24 Sep 2012 14:34:22 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]:51466) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGDU5-0007cX-71 for 12409@debbugs.gnu.org; Mon, 24 Sep 2012 14:34:21 -0400 Received: by yenl13 with SMTP id l13so1861748yen.3 for <12409@debbugs.gnu.org>; Mon, 24 Sep 2012 11:32:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=2mUuFSARTPoES7DYQZx+GVksIxliV623g7YaoNfLf5U=; b=WVGgADTm2TdXBbvnz5R0OYybM+FvQfK2kIxx9ZPBWTa68RTWP8CWFZzFR9T3P9fK3E u9ANQDFz6TgjTnljuHbZb/x8DXhLzJyLWi+PMdCMy6/l3qp0IVxj+b6dpEWEcIDmcpAy 4V6x6HviXlBNPRdFS1A2vXM/rie8HNrvhRuzgEtjEMp4BVJG9wOoeXxEOfCLIdnn3NN+ AlQpUyJUYIsTwusadhXv1sq8YQ4wMh82SN/AWr/UBEsjOI18la0fhDujsrQYFhJ3plbu zCfCOtdRaVXjt2+r9dCSmEIm8YNqXDcVW7qpUadpyvkVIbEIMVNfLayZphVYZVsVL/Pa ny+Q== Received: by 10.236.112.179 with SMTP id y39mr5244263yhg.67.1348511545665; Mon, 24 Sep 2012 11:32:25 -0700 (PDT) Received: from [192.168.1.25] (host71.190-138-197.telecom.net.ar. [190.138.197.71]) by mx.google.com with ESMTPS id o25sm25876269yhm.14.2012.09.24.11.32.24 (version=SSLv3 cipher=OTHER); Mon, 24 Sep 2012 11:32:25 -0700 (PDT) Message-ID: <5060A74D.5070206@anue.biz> Date: Mon, 24 Sep 2012 15:32:45 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: 12409@debbugs.gnu.org Subject: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlkKAb7PKJSKZzL/xtsy+QrZij7v7B7DXCj/h1nekwobzsFyXIdxvxnIw5SryerYKb0oYTj X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12409 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) I believe this is directly related to #10295. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 30 21:00:49 2012 Received: (at 12409) by debbugs.gnu.org; 1 Oct 2012 01:00:49 +0000 Received: from localhost ([127.0.0.1]:35179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIUNM-0004mP-Ka for submit@debbugs.gnu.org; Sun, 30 Sep 2012 21:00:49 -0400 Received: from mail-gg0-f172.google.com ([209.85.161.172]:42216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIUNK-0004mI-Gy for 12409@debbugs.gnu.org; Sun, 30 Sep 2012 21:00:47 -0400 Received: by ggeq3 with SMTP id q3so967035gge.3 for <12409@debbugs.gnu.org>; Sun, 30 Sep 2012 18:00:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=halA/8YnpdbUCi4DNvSHusWOL3ZGeEFhmv6BgjuvkFY=; b=bKN02vGuIsk8OuJvMhLFC+Wwvg1Vxtxzd0KCiEaqEw+VPvKbftTMa2GLcNlvpjG+iR NP7usM8huaxP/tlFdtBLHo5YA1Kvb0Uy7DCNvpah5Jh7b3aErEDzXLS9GfOqYyiBTiOU pEajuXpei0Hm5D+WYI5wtv+cubdRVJ3Ugsygu/sJOjFppPtHOt3vT0AnIihTq7Ge9IDJ KToczSb7vTtQXoYXTFKSIcdNgKh/nFk7qXw5g0VNrmiyun3L2fmgP/hhl/srjQSDU47u EAOLWTPJbOcqZGe3NlXXanbnWb9Cw4RYE1To5gHq3E1jahXzZbsZzfRvanmcGpZhECRN 554g== Received: by 10.236.193.105 with SMTP id j69mr11096536yhn.21.1349053221094; Sun, 30 Sep 2012 18:00:21 -0700 (PDT) Received: from [192.168.1.136] (OL144-145.fibertel.com.ar. [24.232.145.144]) by mx.google.com with ESMTPS id k11sm14400729anm.17.2012.09.30.18.00.19 (version=SSLv3 cipher=OTHER); Sun, 30 Sep 2012 18:00:20 -0700 (PDT) Message-ID: <5068EB3F.7010300@anue.biz> Date: Sun, 30 Sep 2012 22:00:47 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: 12409@debbugs.gnu.org Subject: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm95oExfXaYSGDWT007rtcdauDLEw4CMY51Xv9DsneQDqPEyXKwADmTHf/jZoGYocj1uwDw X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 12409 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) I just pushed in revno 110300 something that might fix this. I'm using the same strategy that gud-gdb has for grabbing output from the inferior process. Confirmations are much appreciated. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 14:06:28 2012 Received: (at 12409) by debbugs.gnu.org; 7 Oct 2012 18:06:28 +0000 Received: from localhost ([127.0.0.1]:60291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKvFD-0001pe-Vr for submit@debbugs.gnu.org; Sun, 07 Oct 2012 14:06:28 -0400 Received: from mailout.melmac.se ([62.20.26.67]:57851) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKvFB-0001pJ-TQ for 12409@debbugs.gnu.org; Sun, 07 Oct 2012 14:06:26 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 160929F9B for <12409@debbugs.gnu.org>; Sun, 7 Oct 2012 20:05:57 +0200 (CEST) Received: (qmail 22060 invoked by uid 89); 7 Oct 2012 18:05:23 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 7 Oct 2012 18:05:23 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 3BF827FA05E; Sun, 7 Oct 2012 20:05:56 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <50504336.6090006@gmx.at> Date: Sun, 7 Oct 2012 20:05:56 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9E057099-063A-47E0-9493-3C51CCFEF671@swipnet.se> References: <50504336.6090006@gmx.at> To: martin rudalics , =?iso-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. In the trunk, it does behave much better: >>> aaaa = 4 aaaa = 4 >>> aaaaaa = 6 aaaaaa = 6 >>> aaaa [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org, Dan Davison X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. In the trunk, it does behave much better: >>> aaaa = 4 aaaa = 4 >>> aaaaaa = 6 aaaaaa = 6 >>> aaaa [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] Hello. In the trunk, it does behave much better: >>> aaaa =3D 4 aaaa =3D 4 >>> aaaaaa =3D 6 aaaaaa =3D 6 >>> aaaa The first TAB on aa completes to aaaa, no garbage characters. But on the second TAB, the completion buffer says: Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: aaaa aaaaaa'^M i.e. a trailing '^M is shown. That is a real carriage return, not ^ and = M btw. Jan D. 12 sep 2012 kl. 10:09 skrev martin rudalics : > > 1. emacs -nw -q > > 2. M-x run-python > > 3. At the prompt, enter "aaaa =3D 4" followed by RETURN > > 4. At the prompt, enter "aaaaaa =3D 6" followed by RETURN > > 5. At the prompt enter "aa" followed by TAB to request a completion > > > > After step (4) the buffer contents look like: > >>>> aaaa =3D 4 > >>>> aaaaaa =3D 6 > >>>> > > > > After step (5) it looks like: > > > >>>> aaaa =3D 4 > >>>> aaaaaa =3D 6 > >>>> 'aaaa;aaaaaa' > >>>> aaaa >=20 > This could be related to the behavior of `complete-with-action'. See > also bug#10851. >=20 > martin >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 15:51:26 2012 Received: (at 12409) by debbugs.gnu.org; 7 Oct 2012 19:51:26 +0000 Received: from localhost ([127.0.0.1]:60359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKwso-0004Du-DV for submit@debbugs.gnu.org; Sun, 07 Oct 2012 15:51:26 -0400 Received: from mail-gg0-f172.google.com ([209.85.161.172]:56599) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKwsl-0004Df-Cl for 12409@debbugs.gnu.org; Sun, 07 Oct 2012 15:51:24 -0400 Received: by mail-gg0-f172.google.com with SMTP id i4so1019650ggn.3 for <12409@debbugs.gnu.org>; Sun, 07 Oct 2012 12:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=iGslyp8ubPELEvSX5OBlH7nb/wU5UTzgiLlfuD9j8hM=; b=Qf5xNXKUeasm/63RqFzkfJbMP2DTqTeWqVZkt96c7YQkk7f50yjlOb3CTSc/FhJbIv vWR2Ue/WZ0+JBOL5feKF6FVpe30/wLn3AQSohSf4n25X6ScaEH6gdjW4enneVTlm1INA /Y6Fk3JMLjcH98kB/IGgjDt9eFwAPootwF7MFPOyo2qLnX/cEa0gwxNEomGhPb75K42n p604x+LBfEPkmhH4bIgwLnHv3q/+jTfJ3iqfexOtpjF6dlx4bOH+YHgGBvPYJ9Luhoat OiJuD0fkjTKW6SBRa2SoXdNUrASURM7NSMf+C/LZj1YW6tDK6cxbzGQvZgqfXbaJ9i7c SIPA== Received: by 10.236.75.228 with SMTP id z64mr2075718yhd.1.1349639454286; Sun, 07 Oct 2012 12:50:54 -0700 (PDT) Received: from [192.168.1.25] (host17.181-14-226.telecom.net.ar. [181.14.226.17]) by mx.google.com with ESMTPS id t46sm23150957yhi.3.2012.10.07.12.50.52 (version=SSLv3 cipher=OTHER); Sun, 07 Oct 2012 12:50:53 -0700 (PDT) Message-ID: <5071DD38.1060907@anue.biz> Date: Sun, 07 Oct 2012 16:51:20 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: 12409@debbugs.gnu.org Subject: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlJBR42aTlENVDBMxvGTJK+FuaiJNSQPRFgUDjAPYZWf6DMO+SuwVqSGJaDmHT+6dz5Qu3u X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12409 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) Does the attached patch fix that? === modified file 'lisp/progmodes/python.el' *** lisp/progmodes/python.el 2012-10-07 19:37:37 +0000 --- lisp/progmodes/python.el 2012-10-07 19:47:52 +0000 *************** *** 1887,1893 **** python-shell-output-filter-buffer (concat python-shell-output-filter-buffer string)) (when (string-match ! (format "\n\\(?:%s\\|%s\\|%s\\)$" python-shell-prompt-regexp python-shell-prompt-block-regexp python-shell-prompt-pdb-regexp) --- 1887,1895 ---- python-shell-output-filter-buffer (concat python-shell-output-filter-buffer string)) (when (string-match ! ;; It seems on OSX an extra carriage return might be attached ! ;; to the end of output. ! (format " ?\n\\(?:%s\\|%s\\|%s\\)$" python-shell-prompt-regexp python-shell-prompt-block-regexp python-shell-prompt-pdb-regexp) From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 03:24:46 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 07:24:46 +0000 Received: from localhost ([127.0.0.1]:60690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL7hl-0004D5-Cf for submit@debbugs.gnu.org; Mon, 08 Oct 2012 03:24:46 -0400 Received: from mailout.melmac.se ([62.20.26.67]:35175) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL7hj-0004Cs-0P for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 03:24:43 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 51C8A9DAB for <12409@debbugs.gnu.org>; Mon, 8 Oct 2012 09:24:10 +0200 (CEST) Received: (qmail 7059 invoked by uid 89); 8 Oct 2012 07:23:37 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 8 Oct 2012 07:23:37 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B72637FA05E; Mon, 8 Oct 2012 09:24:09 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <5071DD38.1060907@anue.biz> Date: Mon, 8 Oct 2012 09:24:03 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5071DD38.1060907@anue.biz> To: =?iso-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 7 okt 2012 kl. 21:51 skrev Fabián Ezequiel Gallina : > Does the attached patch fix that? > > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 7 okt 2012 kl. 21:51 skrev Fabián Ezequiel Gallina : > Does the attached patch fix that? > > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] Hello. 7 okt 2012 kl. 21:51 skrev Fabi=E1n Ezequiel Gallina : > Does the attached patch fix that? >=20 >=20 No, unfortunately it does not. The value of python-shell-output-filter-buffer is: ';'.join(__COMPLETER_all_completions('''aaaa'''))^M 'aaaa;aaaaaa'^M >>> Jan D. > =3D=3D=3D modified file 'lisp/progmodes/python.el' > *** lisp/progmodes/python.el 2012-10-07 19:37:37 +0000 > --- lisp/progmodes/python.el 2012-10-07 19:47:52 +0000 > *************** > *** 1887,1893 **** > python-shell-output-filter-buffer > (concat python-shell-output-filter-buffer string)) > (when (string-match > ! (format "\n\\(?:%s\\|%s\\|%s\\)$" > python-shell-prompt-regexp > python-shell-prompt-block-regexp > python-shell-prompt-pdb-regexp) > --- 1887,1895 ---- > python-shell-output-filter-buffer > (concat python-shell-output-filter-buffer string)) > (when (string-match > ! ;; It seems on OSX an extra carriage return might be = attached > ! ;; to the end of output. > ! (format " ?\n\\(?:%s\\|%s\\|%s\\)$" > python-shell-prompt-regexp > python-shell-prompt-block-regexp > python-shell-prompt-pdb-regexp) >=20 >=20 >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 10:08:08 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 14:08:08 +0000 Received: from localhost ([127.0.0.1]:33631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLE07-0000Ao-Pm for submit@debbugs.gnu.org; Mon, 08 Oct 2012 10:08:08 -0400 Received: from mail-gg0-f172.google.com ([209.85.161.172]:49961) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLE05-0000AI-Ec for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 10:08:06 -0400 Received: by mail-gg0-f172.google.com with SMTP id i4so1174347ggn.3 for <12409@debbugs.gnu.org>; Mon, 08 Oct 2012 07:07:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:x-gm-message-state; bh=WtFzfbCLFxTmU2erWQV0OREm+JPvgkj8Fw29GpUuRUE=; b=JGlZPkgx4dnW+CPzGZDKAPU3uwHn3zaGrJieEFOb36ycw7Ez3CX0e5PrkLcm9x41vP FJkVUysfhxcDzMOO191GsX6jzgRzHu/JApLYIG6VLyU1bWCL3VW70BLltz8rwu+oms0K Uby7grScBAVRUCowqA45WPBISfH0eIlVs56zUnrPGudhGKhDw0rJ2ULBT9qT148LLe57 POgazrAMeEHxSVU4LZpFPCnxM9spMrSTNX1e7IiFr74ILLsq901ttSlxtg0Tx10B9g/D /9n1tRZX3t6854NuXO3fsdUKj9UKmBbYLo9O0S/oaq3HC4lJ3n+kvfUEHIUSIptQ8rYW hYRQ== Received: by 10.236.73.72 with SMTP id u48mr16136432yhd.71.1349705252068; Mon, 08 Oct 2012 07:07:32 -0700 (PDT) Received: from [192.168.1.136] (OL144-145.fibertel.com.ar. [24.232.145.144]) by mx.google.com with ESMTPS id k28sm14132474ann.12.2012.10.08.07.07.30 (version=SSLv3 cipher=OTHER); Mon, 08 Oct 2012 07:07:31 -0700 (PDT) Message-ID: <5072DE3E.4010300@anue.biz> Date: Mon, 08 Oct 2012 11:07:58 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer References: <5071DD38.1060907@anue.biz> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030405030403050803060809" X-Gm-Message-State: ALoCoQlPY5+j5rKBb3naTBpvzLpA4Pb8bqcKaRUrIuY29ruMzI1OfeXZ3ySDZHCMIBGJObE2/qcC X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) This is a multi-part message in MIME format. --------------030405030403050803060809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 10/08/2012 04:24 AM, Jan Djärv wrote: > (format " ?\n\\(?:%s\\|%s\\|%s\\)$" Unfortunately it seems the patch I copied here lost the carriage return because of my email client or something, attaching the file instead. Please try this one and let me know. Thanks!, Fabián --------------030405030403050803060809 Content-Type: text/plain; charset=UTF-8; name="python-osx-output.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="python-osx-output.diff" PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvcHJvZ21vZGVzL3B5dGhvbi5lbCcKLS0tIGxpc3Av cHJvZ21vZGVzL3B5dGhvbi5lbAkyMDEyLTEwLTA3IDE5OjM3OjM3ICswMDAwCisrKyBsaXNw L3Byb2dtb2Rlcy9weXRob24uZWwJMjAxMi0xMC0wNyAxOTo0Nzo1MiArMDAwMApAQCAtMTg4 Nyw3ICsxODg3LDkgQEAKICAgIHB5dGhvbi1zaGVsbC1vdXRwdXQtZmlsdGVyLWJ1ZmZlcgog ICAgKGNvbmNhdCBweXRob24tc2hlbGwtb3V0cHV0LWZpbHRlci1idWZmZXIgc3RyaW5nKSkK ICAgKHdoZW4gKHN0cmluZy1tYXRjaAotICAgICAgICAgKGZvcm1hdCAiXG5cXCg/OiVzXFx8 JXNcXHwlc1xcKSQiCisgICAgICAgICA7OyBJdCBzZWVtcyBvbiBPU1ggYW4gZXh0cmEgY2Fy cmlhZ2UgcmV0dXJuIG1pZ2h0IGJlIGF0dGFjaGVkCisgICAgICAgICA7OyB0byB0aGUgZW5k IG9mIG91dHB1dC4KKyAgICAgICAgIChmb3JtYXQgIg0/XG5cXCg/OiVzXFx8JXNcXHwlc1xc KSQiCiAgICAgICAgICAgICAgICAgIHB5dGhvbi1zaGVsbC1wcm9tcHQtcmVnZXhwCiAgICAg ICAgICAgICAgICAgIHB5dGhvbi1zaGVsbC1wcm9tcHQtYmxvY2stcmVnZXhwCiAgICAgICAg ICAgICAgICAgIHB5dGhvbi1zaGVsbC1wcm9tcHQtcGRiLXJlZ2V4cCkKCg== --------------030405030403050803060809-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 12:45:38 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 16:45:38 +0000 Received: from localhost ([127.0.0.1]:33928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLGSU-0003yj-6e for submit@debbugs.gnu.org; Mon, 08 Oct 2012 12:45:38 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:57897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLGSR-0003yb-PA for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 12:45:33 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Xb6qx5wQmz3hhcC; Mon, 8 Oct 2012 18:45:01 +0200 (CEST) X-Auth-Info: /Wu1os08c+oicjaNDwYxgHvh0TXhUtjMCXBmxx9qSaw= Received: from igel.home (ppp-88-217-116-133.dynamic.mnet-online.de [88.217.116.133]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Xb6qw5j68zbbgt; Mon, 8 Oct 2012 18:45:00 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 3232ECA2A4; Mon, 8 Oct 2012 18:45:00 +0200 (CEST) From: Andreas Schwab To: =?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> X-Yow: YOW!! Now I understand advanced MICROBIOLOGY and th' new TAX REFORM laws!! Date: Mon, 08 Oct 2012 18:44:59 +0200 In-Reply-To: <5072DE3E.4010300@anue.biz> (=?utf-8?Q?=22Fabi=C3=A1n?= Ezequiel Gallina"'s message of "Mon, 08 Oct 2012 11:07:58 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org, Jan =?utf-8?Q?Dj=C3=A4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) Fabi=C3=A1n Ezequiel Gallina writes: > =3D=3D=3D modified file 'lisp/progmodes/python.el' > --- lisp/progmodes/python.el 2012-10-07 19:37:37 +0000 > +++ lisp/progmodes/python.el 2012-10-07 19:47:52 +0000 > @@ -1887,7 +1887,9 @@ > python-shell-output-filter-buffer > (concat python-shell-output-filter-buffer string)) > (when (string-match > - (format "\n\\(?:%s\\|%s\\|%s\\)$" > + ;; It seems on OSX an extra carriage return might be attached > + ;; to the end of output. > + (format "?\n\\(?:%s\\|%s\\|%s\\)$" \r Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 14:46:46 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 18:46:46 +0000 Received: from localhost ([127.0.0.1]:34123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLILm-0007gH-Jp for submit@debbugs.gnu.org; Mon, 08 Oct 2012 14:46:46 -0400 Received: from mailout.melmac.se ([62.20.26.67]:60955) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLILk-0007g6-SG for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 14:46:45 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 16390917E for <12409@debbugs.gnu.org>; Mon, 8 Oct 2012 20:46:10 +0200 (CEST) Received: (qmail 29188 invoked by uid 89); 8 Oct 2012 18:45:36 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 8 Oct 2012 18:45:36 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 923D07FA05E; Mon, 8 Oct 2012 20:46:09 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <5072DE3E.4010300@anue.biz> Date: Mon, 8 Oct 2012 20:46:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> To: =?iso-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 8 okt 2012 kl. 16:07 skrev Fabián Ezequiel Gallina : > On 10/08/2012 04:24 AM, Jan Djärv wrote: >> (format " ?\n\\(?:%s\\|%s\\|%s\\)$" > Unfortunately it seems the patch I copied here lost the carriage return because of my email client or something, attaching the file instead. Please try this one and let me know. > > > Thanks!, > Fabián > > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 8 okt 2012 kl. 16:07 skrev Fabián Ezequiel Gallina : > On 10/08/2012 04:24 AM, Jan Djärv wrote: >> (format " ?\n\\(?:%s\\|%s\\|%s\\)$" > Unfortunately it seems the patch I copied here lost the carriage return because of my email client or something, attaching the file instead. Please try this one and let me know. > > > Thanks!, > Fabián > > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 8 okt 2012 kl. 16:07 skrev Fabi=E1n Ezequiel Gallina : > On 10/08/2012 04:24 AM, Jan Dj=E4rv wrote: >> (format " ?\n\\(?:%s\\|%s\\|%s\\)$" > Unfortunately it seems the patch I copied here lost the carriage = return because of my email client or something, attaching the file = instead. Please try this one and let me know. >=20 >=20 > Thanks!, > Fabi=E1n >=20 > (format "\r?\n\\(?:%s\\|%s\\|%s\\)$" works. It is a bad idea to use = literal ^M in files, so take Andreas advice and use \r. Thanks, Jan D. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 15:08:35 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 19:08:35 +0000 Received: from localhost ([127.0.0.1]:34144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLIgs-0008BH-Nl for submit@debbugs.gnu.org; Mon, 08 Oct 2012 15:08:34 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:34775) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLIgr-0008B6-84 for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 15:08:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghYBBVYjEAs0EhQYDSSIIboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200875275" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Oct 2012 15:07:58 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1A9F8594D1; Mon, 8 Oct 2012 15:07:57 -0400 (EDT) From: Stefan Monnier To: Jan =?iso-8859-1?Q?Dj=E4rv?= Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Message-ID: References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> Date: Mon, 08 Oct 2012 15:07:57 -0400 In-Reply-To: <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22's?= message of "Mon, 8 Oct 2012 20:46:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org, =?iso-8859-1?Q?Fabi=E1n?= Ezequiel Gallina X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > (format "\r?\n\\(?:%s\\|%s\\|%s\\)$" works. It is a bad idea to use literal > ^M in files, so take Andreas advice and use \r. BTW, could someone investigate into the cause of these ^M? IOW, we need to look at the actual bytes that Python sends to Emacs, then figure out why Emacs's EOL-conversion doesn't handle them (are the bytes wrong, or is the process's coding-system set incorrectly?). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 15:50:22 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 19:50:22 +0000 Received: from localhost ([127.0.0.1]:34190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLJLK-0000j5-2i for submit@debbugs.gnu.org; Mon, 08 Oct 2012 15:50:22 -0400 Received: from mailout.melmac.se ([62.20.26.67]:38860) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLJLI-0000io-Sp for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 15:50:21 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 7D45F9273 for <12409@debbugs.gnu.org>; Mon, 8 Oct 2012 21:49:44 +0200 (CEST) Received: (qmail 10989 invoked by uid 89); 8 Oct 2012 19:49:11 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 8 Oct 2012 19:49:11 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 14B137FA05E; Mon, 8 Oct 2012 21:49:44 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: Date: Mon, 8 Oct 2012 21:49:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <864920C4-FDBB-4AAB-8146-42CAAA3B3AEF@swipnet.se> References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> To: Stefan Monnier X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. Python does not write them, using dtruss i see: write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org, =?iso-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. Python does not write them, using dtruss i see: write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] Hello. Python does not write them, using dtruss i see: write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE) =20 No \r in sight. Jan D. 8 okt 2012 kl. 21:07 skrev Stefan Monnier : >> (format "\r?\n\\(?:%s\\|%s\\|%s\\)$" works. It is a bad idea to use = literal >> ^M in files, so take Andreas advice and use \r. >=20 > BTW, could someone investigate into the cause of these ^M? > IOW, we need to look at the actual bytes that Python sends to Emacs, > then figure out why Emacs's EOL-conversion doesn't handle them (are > the bytes wrong, or is the process's coding-system set incorrectly?). >=20 >=20 > Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 17:57:40 2012 Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 21:57:40 +0000 Received: from localhost ([127.0.0.1]:34329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLLKW-0004gS-0o for submit@debbugs.gnu.org; Mon, 08 Oct 2012 17:57:40 -0400 Received: from mail-yh0-f44.google.com ([209.85.213.44]:55121) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLLKT-0004gF-Qk for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 17:57:38 -0400 Received: by mail-yh0-f44.google.com with SMTP id 56so1145230yhq.3 for <12409@debbugs.gnu.org>; Mon, 08 Oct 2012 14:57:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=wEe2LJOrLKGEARPBKaWf13AT9MZkxTLFsAZ0TO9QPKA=; b=JxIPqtiLeOfjsTkoI5/EoonNvBJp6ccUEsr7u/c1/JclFw9EHOG7x2kEnvlRKuzN8l kGAOLmDehxtIo4iZqCp/egnU5GX0ZosXh5I199y9sJvrIg94PC/vqYvl3HkTCzUhzzM/ RIkHkwSQwhJgIfvDMvxq5eVjlGyhuP/h0woPrScTlBQJuP4bWRBqZAjJojckBT9YdTwC xt1Cfp+IWLbcSjk++kUhPeGnrVBcHnVjyo2+IClLF9nb0OwXHb6ni9PLvWbnH2ou6BIY /T9UuEppML+juPp0ZnhdvDJ7+vWxww8XNzWwkALex5caCNPsh1EAt6A57FQhkZc0aPql Fv6Q== Received: by 10.236.131.69 with SMTP id l45mr17253608yhi.46.1349733422750; Mon, 08 Oct 2012 14:57:02 -0700 (PDT) Received: from [192.168.1.25] (host235.186-125-121.telecom.net.ar. [186.125.121.235]) by mx.google.com with ESMTPS id o66sm26281142yhi.19.2012.10.08.14.57.01 (version=SSLv3 cipher=OTHER); Mon, 08 Oct 2012 14:57:02 -0700 (PDT) Message-ID: <50734C48.70306@anue.biz> Date: Mon, 08 Oct 2012 18:57:28 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> <864920C4-FDBB-4AAB-8146-42CAAA3B3AEF@swipnet.se> In-Reply-To: <864920C4-FDBB-4AAB-8146-42CAAA3B3AEF@swipnet.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmLZ9rnO0tgt6IqhZjEksbfc4KQaC9/FIKyhZn9kiMvFt9g9EuU/fsE5s8IASwjZj/VrY6b X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12409 Cc: 12409@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) On 10/08/2012 04:49 PM, Jan Djärv wrote: > Hello. > > Python does not write them, using dtruss i see: > > write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE) > > No \r in sight. > > Jan D. > > 8 okt 2012 kl. 21:07 skrev Stefan Monnier : > >>> (format "\r?\n\\(?:%s\\|%s\\|%s\\)$" works. It is a bad idea to use literal >>> ^M in files, so take Andreas advice and use \r. >> BTW, could someone investigate into the cause of these ^M? >> IOW, we need to look at the actual bytes that Python sends to Emacs, >> then figure out why Emacs's EOL-conversion doesn't handle them (are >> the bytes wrong, or is the process's coding-system set incorrectly?). >> >> >> Stefan I just pushed that small fix in 110473. I think for future discussion the extra \r on OSX might have earned his own ticket. If everyone agrees we can close this one. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 23 22:03:54 2012 Received: (at control) by debbugs.gnu.org; 24 Oct 2012 02:03:54 +0000 Received: from localhost ([127.0.0.1]:58432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQqK2-0000aN-Bc for submit@debbugs.gnu.org; Tue, 23 Oct 2012 22:03:54 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:62061) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQqK0-0000aA-Ho for control@debbugs.gnu.org; Tue, 23 Oct 2012 22:03:53 -0400 Received: by mail-vc0-f172.google.com with SMTP id fl11so29923vcb.3 for ; Tue, 23 Oct 2012 19:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=wrvuagywsNo3PhEv6MYkxiXjgfayP0zsuy1CtC+YhOI=; b=FBd+H6V96ZSgZF6s4bSuxxXR2gYdfD1IxFXyCXuZqFczAT4B13vM9HMOT00mzFYhgT p8jDCa8frvnYC7WJHqLpBJ3nUgBgMjTWvTLo7b3xg2BJNSQNOZal6WkypON0uQEf1TG9 6+qWcoZa9FUOa3sV0SVKySSzvp8XYz9uqfIatthfDdFhZcDrf8UNOyapXYE1YeNSHaML 9HPX8juNZgCF3D3Dzk9AUpzxhPQtgRpDguTa4BxAVqAj4N5pYEl8xDQHt6wKljCvIyxO UcPX1sguX2x3YaeHWCreetSXCzADnSPx02r3DmdqSbj4g5p8I3+cTUP944dBicjesHrr eEQw== Received: by 10.52.29.148 with SMTP id k20mr19199744vdh.37.1351044111812; Tue, 23 Oct 2012 19:01:51 -0700 (PDT) Received: from ulysses (173-166-11-18-newengland.hfc.comcastbusiness.net. [173.166.11.18]) by mx.google.com with ESMTPS id y7sm14957376vdt.1.2012.10.23.19.01.49 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2012 19:01:50 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 12409 Date: Wed, 24 Oct 2012 10:01:48 +0800 Message-ID: <87sj94hblf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) close 12409 thanks From unknown Fri Jun 20 20:11:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator