From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 May 2016 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146410412621410 (code B ref -1); Tue, 24 May 2016 15:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2016 15:35:26 +0000 Received: from localhost ([127.0.0.1]:36565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5EMg-0005ZG-Ey for submit@debbugs.gnu.org; Tue, 24 May 2016 11:35:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5ELs-0005XU-GY for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ELm-000760-4P for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELm-00075s-20 for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELj-0000UK-Cu for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ELg-00074i-5I for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:27 -0400 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:36461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELf-000743-WF for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:24 -0400 Received: by mail-qk0-x236.google.com with SMTP id x7so13883586qkd.3 for ; Tue, 24 May 2016 08:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=ccBKEbkukMhfqxdceD9T7UuzJLoBf1tJyfLbVCDnLmA=; b=jPsKL1ZKLxW3JFe4isErqmi7Aq/vCJarIvlZHucfiT4453fQfRFpOO2iJO+OaQws2U VK4sIKAnw3TTPqJ0W7X8V/gOGSxb+71r2FAq98U3NdfoytmeFDsS9TwhdpOukOLqezVJ V+lrk1z1HNbzygghc9WgQ8BvYt1Ax1Vppc8UvAc518AWB5OiKT74D7PTCja1XOyp8DuS E5M2F9xlyjdzfASHVxH1hp11mqwa74uQ76dWqQb0iDDAFUQsoS6wZcAp2Md2KXP3E21k GJw+CQlZHoorllhtsI/Mvl8OSJuKIKXpg6XspuMHwpwBgovPVTYsgRvQPeADT12+Cce2 XOCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=ccBKEbkukMhfqxdceD9T7UuzJLoBf1tJyfLbVCDnLmA=; b=WV8qUD4ZtpetjbmbdRXFg74kMKNLoxlEYwMZad7cWXN6P6mf9sNZbGLsr3v/yDhAKh r1yi55fR8qSOo9hJToIzBSsPGhQNK3qnujguzdU/FgHJ7uNhWtw3hI+10DYju2QpayUn PmpVq1EgwdWMYjYiGm0SBJ+UDsJdbErpT6c8B6Fug07PU9i1fxNOT9rER898AsLxIZpV d2gSi8EXshiOHdY/09yRZUZvsUmK4Nu2L/MhHrNBj6/abilEDJ8bu6gfswtXsIzf3D6E Sgb5vPZI4COrCtfr6vJsmpZUsQHSBODcpfMgxcdm5F62V+nVL6Rf2Qs72NzslSfsPrdB Bllg== X-Gm-Message-State: ALyK8tJ9e/wy57ZvJcj1xcnbKxDCiua8DOgfNs1GAMO8snVz7ZYbXq/rawCZrpYgPvSFzQ== X-Received: by 10.55.192.209 with SMTP id v78mr4043544qkv.122.1464104063197; Tue, 24 May 2016 08:34:23 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id u78sm970033qku.31.2016.05.24.08.34.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 May 2016 08:34:22 -0700 (PDT) From: Jules Tamagnan Date: Tue, 24 May 2016 11:34:21 -0400 Message-ID: <867fejo4g2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Tue, 24 May 2016 11:35:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is an issue in relation to python and the interpetter shell. If the python shell is running something and it is not done then when the user goes back the the document that was being editted emacs will freeze. If the user hits C-g then a keyboard interupt is sent to the interpeter and the action that was being run is canceled. If the user has the misfortune of using the mouse to click into another window then emacs will not be able to be recovered (haven't tested that last part entirely but the easiest way is to get back to working is to 'sudo killall emacs') The issue seems to be with eldoc mode. If eldoc mode (or global-eldoc-mode) is on then python.el tries to send something to the interepter to get the definition of the symbol at the point and then since something is running in the interpetter emacs will hang while waiting for the interpetter to repond. This issue is most obvious in emacs 25 because global-eldoc-mode is on by default. This causes loss of data. This bug is easily reproducable from emacs -Q. - run emacs -Q - Open a file /tmp/test.py (or any other python file) - C-c C-p to start the interpetter (it does not matter if the interpetter is dedicated or not) - in the interpetter write an expression that will not terminate e.g. while True: 2+2 e.g. (anything that plots in matplotlib) - go back to /tmp/test.py and type anything. - you will now be frozen - type C-g to send a keyboard interupt to the interpetter repeating these steps without global-eldoc-mode does not cause any issues The most obvious fix that I have found and use is to set global-eldoc-mode to -1 on init. In GNU Emacs 25.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-07 built on bandersnatch Repository revision: 6287381da495ac5cc2a2a4acb7f49825677a44c8 System Description: Debian GNU/Linux testing (stretch) Configured using: 'configure --with-x-toolkit=gtk3 --with-xwidgets CC=gcc' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Python Minor modes in effect: shell-dirtrack-mode: t gpm-mouse-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: Shell native completion is disabled, using fallback p is undefined y is undefined t is undefined Type "q" in help window to restore its previous buffer, C-M-v to scroll help. user-error: No cross-reference here Quit eldoc error: (wrong-type-argument arrayp nil) Quit Making completion list... [4 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils thingatpt warnings compile tramp-cache python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode easymenu comint ring cl-loaddefs pcase cl-lib ansi-color t-mouse time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: conses 16 237883 7352) (symbols 48 23012 0) (miscs 40 116 165) (strings 32 25679 7181) (string-bytes 1 1156766) (vectors 16 35555) (vector-slots 8 664891 2342) (floats 8 238 254) (intervals 56 1567 1139) (buffers 976 19) (heap 1024 23963 1702)) From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2016 06:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14641564764105 (code B ref -1); Wed, 25 May 2016 06:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2016 06:07:56 +0000 Received: from localhost ([127.0.0.1]:36927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5Rz2-000148-HV for submit@debbugs.gnu.org; Wed, 25 May 2016 02:07:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5Rz0-00013w-By for submit@debbugs.gnu.org; Wed, 25 May 2016 02:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5Ryu-0001NH-1C for submit@debbugs.gnu.org; Wed, 25 May 2016 02:07:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Ryt-0001NC-Ub for submit@debbugs.gnu.org; Wed, 25 May 2016 02:07:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Rys-0006dT-ET for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 02:07:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5Ryn-0001K9-AU for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 02:07:45 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:65171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Rym-0001Is-Vc for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 02:07:41 -0400 Received: from [192.168.178.35] ([77.3.30.140]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0MRhYD-1ayY660WWf-00SyxE for ; Wed, 25 May 2016 08:07:39 +0200 References: <867fejo4g2.fsf@gmail.com> From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: <57454201.10607@easy-emacs.de> Date: Wed, 25 May 2016 08:11:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <867fejo4g2.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Q/lpuSa74VvdfODUI0wZ6yIbHygbnyzg1TwPV3lGa+a70KZAAbe YJQXH8x0glr9xMpZo3tx4sh2TUMG19sjlkGlBP08aw3nb0moqrlcIeDz6Er8G9MjxNfrqfr Y214TycAtZGUeFXSh6D7idsG2O2tVrLA4VcyZwdCcOTE2HAJeBNLycwrfZRYhNABDj/VpXW 8YqoO9+9IrjEC/sjwVB3g== X-UI-Out-Filterresults: notjunk:1;V01:K0:C6Vkb9ZhMwQ=:hdrdrsIjgaoxMT0bpKO9km N2pYddMxu1vvlRH/E9s2DCiaapJ9jcO2DvIinuijhvj90+QqJEvnSvwoNWvYyfx5Z9ZQxUNLW Mzolj+QgJJB987/mtOteOjqBqyyAg+6W1SvloS8OzWk98cEg1tx43wq3E9CNI+gOpH7tttX3/ SZQNm6lj3InCPpDqm3LF2TXmQs+n2n9ZB49krhV2SCH4LZHCxbvjlZlwdnITliLSMVd9QUsVC rL3X1xd2lR8oZeSMCrcySf9HMevwg5FWOOeVO7DwxQ3gnqVaYyDVsMZezijRDRc/Uwa96o4+b 8IBC53oeQqaZ+lYuU5jdWC9fY27nFEG0qD7KcQm6nkNvziZ+bA6FpXaZSWtJDBXmgBgTLrq1r cVGwDBRCRT8AgB/fJ6WuatEShE8O2+amLxmqwY3fVWU6Wb+GhXNJI/6guPJ4g6CvGfIpbWgrE In7RFp3lBwxpVbC78n/KAEUXUyGuy2wEi29kWA0VwhAeYR2rFFNpu+xnUOo8hDlNGeHSU8afH P0Nghi2z4sqe9NYRsU/ALMZdV6O50xxKQ7jwocLiZxXYU+jKc52dwesi66/OCILe1R4HL5ySD vri+ktjJa6Szl+eIsvnVIQlXTYgA5hDfhxod1FEqD9CJ76iPgXKHPVwN8yvm9yQfa5WxHA4Tb 1BSEsp6JOX+Tp2y2AEBwfQ3oYm4VfkJPwtfG4l3qtccBkoPBI52NNs20RgN4KoPJVdwz9c4cq eIa1YG4JDpDTWP4W X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 24.05.2016 17:34, Jules Tamagnan wrote: > This is an issue in relation to python and the interpetter shell. If > the python shell is running something and it is not done then when the > user goes back the the document that was being editted emacs will > freeze. If the user hits C-g then a keyboard interupt is sent to the > interpeter and the action that was being run is canceled. If the user > has the misfortune of using the mouse to click into another window then > emacs will not be able to be recovered (haven't tested that last part > entirely but the easiest way is to get back to working is to 'sudo > killall emacs') > > The issue seems to be with eldoc mode. If eldoc mode (or > global-eldoc-mode) is on then python.el tries to send something to the > interepter to get the definition of the symbol at the point and then > since something is running in the interpetter emacs will hang while > waiting for the interpetter to repond. This issue is most obvious in > emacs 25 because global-eldoc-mode is on by default. This causes loss of > data. > > This bug is easily reproducable from emacs -Q. > - run emacs -Q > - Open a file /tmp/test.py (or any other python file) > - C-c C-p to start the interpetter (it does not matter if the interpetter > is dedicated or not) > - in the interpetter write an expression that will not terminate > e.g. while True: 2+2 > e.g. (anything that plots in matplotlib) > - go back to /tmp/test.py and type anything. > - you will now be frozen > - type C-g to send a keyboard interupt to the interpetter > > repeating these steps without global-eldoc-mode does not cause any > issues > > The most obvious fix that I have found and use is to set > global-eldoc-mode to -1 on init. > > May reproduce this with current pretest GNU Emacs 25.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-05-18 From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2016 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14641895443560 (code B ref 23609); Wed, 25 May 2016 15:20:02 +0000 Received: (at 23609) by debbugs.gnu.org; 25 May 2016 15:19:04 +0000 Received: from localhost ([127.0.0.1]:38415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5aaO-0000vM-A8 for submit@debbugs.gnu.org; Wed, 25 May 2016 11:19:04 -0400 Received: from mail-qg0-f49.google.com ([209.85.192.49]:36214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5aaM-0000ut-M9 for 23609@debbugs.gnu.org; Wed, 25 May 2016 11:19:03 -0400 Received: by mail-qg0-f49.google.com with SMTP id q32so23399810qgq.3 for <23609@debbugs.gnu.org>; Wed, 25 May 2016 08:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=UCoRB00+ZUab9aPP9m0Da8wupxcpY1ULMedlXMV2J24=; b=o7FdowUSdJr6g3B29ZJ9I3tIWakbKLimDIotG+SVAhaii0ctFXQYI7drRL47+hMUNN bDkGMVQFMb/t6zAQZN34KmzYlK5a9I7ahz9uMH8jlSsbRRPExRVeNsdcd60TyEh5mGop Mm1dmbYt5de9aSndyjj6B/gmEEze8DHUfMKXqpuAcQ05sV7erSC0f+eOsjDMJbHMNeQM 1FFI3JgSFL0flyr34ja5x4RxYRxPTWmF+zStskwF1LnqEGmbRwM5Z4RTbuSiXlHQV00M AxMLXroMiqfQZmOYRHFM/wv67Khc7bEjXMMvfAlHGZy7hRnlz76oF1GyiLD5+pWiXcy7 0S2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=UCoRB00+ZUab9aPP9m0Da8wupxcpY1ULMedlXMV2J24=; b=Pm3xD9PbBA1I4u3oIsWOxXUqYCs30e8iV3YhuQZxyEGJsBqs1gooNo31Om/DodqHTb 1+uUFKww++WC3E7Xxj6l0fr8ScOQwPwWg9D5ecS2j1I7NBxTXMFYZbgjVb6+Q3kqE5cc 4a9ruNhYQY9HLSEVLzsTVjdTIRDhnVQErk/GbgvDAUsSCLlKtDJx4tsh+m7wTv/V6LM7 pu7AKPyMLO84nue8RV7EQXK9Kd0l4V009eoaJ5+jT3sUJ1TtTIl3UQpoOafYD4eDlSON 8QKhx1RlShkvaxFDAofPUFMyDrkaeFi2G22mLbAtaQVUqYYlqpMZLA+c4N24DE4yKdl7 wVrg== X-Gm-Message-State: ALyK8tJNPm36JaXoR2ZGdNoytSrZIs6DkAcF26Q/es8GFWLxTZosJAuANGl3A9iDkHCcUQ== X-Received: by 10.141.46.3 with SMTP id x3mr4224423qhe.3.1464189537237; Wed, 25 May 2016 08:18:57 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id b79sm2444289qhb.19.2016.05.25.08.18.56 for <23609@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2016 08:18:56 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> Date: Wed, 25 May 2016 11:18:55 -0400 In-Reply-To: <57454201.10607@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hle\?\= \=\?utf-8\?Q\?r\=22's\?\= message of "Wed, 25 May 2016 08:11:13 +0200") Message-ID: <86bn3umahs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Andreas R=C3=B6hler writes: > May reproduce this with current pretest > > GNU Emacs 25.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-05-= 18 Are you saying that it can be reproduced or that I should try to reproduce it? This seems like a big issue before release because it breaks many python workflows, it was not an issue in 24.x because global-eldoc mode was not on by default. Until this bug is worked out I believe that global-eldoc mode should not be on by default at the very least it should not be on in python. -- message originally, accidentally, sent only to Andreas From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2016 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14641902304665 (code B ref -1); Wed, 25 May 2016 15:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2016 15:30:30 +0000 Received: from localhost ([127.0.0.1]:38439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5alR-0001DB-S7 for submit@debbugs.gnu.org; Wed, 25 May 2016 11:30:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5alQ-0001Cz-GS for submit@debbugs.gnu.org; Wed, 25 May 2016 11:30:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5alH-0006tJ-4D for submit@debbugs.gnu.org; Wed, 25 May 2016 11:30:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5alH-0006t3-0u for submit@debbugs.gnu.org; Wed, 25 May 2016 11:30:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5alE-0004Km-T8 for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 11:30:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5al8-0006pY-4r for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 11:30:15 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:62451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5al7-0006oD-RT for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 11:30:10 -0400 Received: from [192.168.178.35] ([77.3.30.140]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0MWOFC-1b3w661wyI-00Xf8M for ; Wed, 25 May 2016 17:30:08 +0200 References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: <5745C5D9.50701@easy-emacs.de> Date: Wed, 25 May 2016 17:33:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <86bn3umahs.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:m4rDnjtaUh+XIlZimi7xqHG81ofKBDV1wZYLTsM2bRm4Q9jwdTb Igg76Ce2cp2YCMNUiYgQMF2+2GeUt1mEw6HjTyB5+jVZoqvmZm6kNRKO0zB2pMBxrBln06S XGPeuZewbcbWLdxvTqgHSJ8W77WqBUJ1kGISww3PG9I8PckSOQk/40JvZ+fwKGwaIRppL6D WsDuDqgEVG34JaJUxGU9A== X-UI-Out-Filterresults: notjunk:1;V01:K0:h8kSYNm1BFk=:FsxLQmdxqDR/TdaGwuZ9V7 ARSuzEeKEt73H3rlMILCbsQLbRpjs7d9mdpIuMXMliSuRjl1Lgl6jpNJ9xJinm6jVN0Yg9qjQ LJoW4+LFiZYFKAWu5BCaiGX3Fvo/ggmeY0CILuKEQdz1eirdQdB1jyOGKOzqrDk7rUYH/Wb6h MMllvY1zyDxC8o5sOjPA63qlev5VNeTo1/pNLHV4qjCGOdhk4cgb+jANhg7YlpGurqkLpL67Q H5TS/fSbY6PXeFW9tnUx4sFXyiwlNKb956K1SWZgyXP09/05xCYgqzuabDQnV3d6yixdVxwXT 2Jv5sOeBYqBoJFQniaGa6yyIKewJD5g4mNdy7OJsI0IR6zDujCBhqljmbwdYfgPGm/kx1+D8s AnB9Ay6nLq/dZC0cTpx/K1WAhc12U6rVpLe9Qf0HfnWhz9cwR3B05Cdu78OCHL2IEowIK+pVp L/y6sjF+d6oOaQVbWNC8zJEkPhB/BtesUqcjIqySsiCrBE0mllEcZLhCuTKn8TnN7zB7ncqif 00ufpKgFG3X1gc2/98T8U76PxOw7/8UwxNsTXI6nHzmBp6F6UPCNZ2OT8hSoltZxog0zdLTG8 uxlyd4Ob0/aVh0hHzNq6uBROKjDP6jBOTMWs3+Ym9nHYHpco+Ka9z/ADrr7m2znCOVVyi0CeE h6fPVE3o0X4ymBzJD/qn5KJXiBGG5UC2+45NvYviiCOStP9qwgo2C1XHn8LGii4+X/ZOC/XRj jYMjHfj6w90OLqH7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 25.05.2016 17:18, Jules Tamagnan wrote: > Andreas Röhler writes: >> May reproduce this with current pretest >> >> GNU Emacs 25.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-05-18 > Are you saying that it can be reproduced Yes. Confirmed your report. > or that I should try to > reproduce it? > > This seems like a big issue before release because it breaks many python > workflows, it was not an issue in 24.x because global-eldoc mode was not > on by default. Until this bug is worked out I believe that global-eldoc > mode should not be on by default at the very least it should not be on > in python. > > -- message originally, accidentally, sent only to Andreas > > > From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2016 15:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146427797922869 (code B ref 23609); Thu, 26 May 2016 15:53:01 +0000 Received: (at 23609) by debbugs.gnu.org; 26 May 2016 15:52:59 +0000 Received: from localhost ([127.0.0.1]:40712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5xal-0005wn-Ky for submit@debbugs.gnu.org; Thu, 26 May 2016 11:52:59 -0400 Received: from mail-qg0-f52.google.com ([209.85.192.52]:33170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5xaj-0005wX-L3 for 23609@debbugs.gnu.org; Thu, 26 May 2016 11:52:57 -0400 Received: by mail-qg0-f52.google.com with SMTP id f92so39101144qgf.0 for <23609@debbugs.gnu.org>; Thu, 26 May 2016 08:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=wGU0N/YFpalMg90BuAypqITDqUCM93lJUkpO1s/rpns=; b=Fd+slFTcd4rRewOZ9ZAiaSWDed2OwBgBSZyGbeM4ODMJFanbSzVcaRQOxdLP7KxADc JBzQ9ONMhvNCQMNJad2Rz/AnUYJWw1TJDnriNj575i67PqYj0PQi4q6vUyFNgqkohoHw yI+F4iz5GuegE7FVLx3lTTidNpk/GaAIP+j/zAwmwVQBp6WjTJ+jb2KydG0Q7u9YRwjD Sau7YyA11uxgVzENn8+m7sMpGQDu0mtzfSGgtJBzCHBh8xSxuLCeki/I9rD5Wq/6xJa2 GQVfoxQgYQ5rhR5CPxMaSLOumyWjIp14UoNXiaA9Ogyvueno9/hYDn6NTyzTzzDlhsWQ odeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wGU0N/YFpalMg90BuAypqITDqUCM93lJUkpO1s/rpns=; b=Wq2zhDBof27Hc5L4hMGhSGtyXDe8XGG25T/5RFdIArRDOyqAGUQX98Syuh4geemIq2 mpTDFG7loXWB6ptifCIhRbcydhxWDNae8rZ2kzy2dhDAG1iaEdyrd2GjaHml0ULBm8tY vCBuKH9py7X9m2WrcztE9IqMGU8HHj+n6bIsf86IkA7VSKFVCdYq/QIhm0YQhibTnzWk fWKLSDIQRCybl+B8fwUAB7pdh/NpEbK5F0+07MmIZfu5yim/Htup6X48XlQcv25C9QzQ PrISj08h72lWZd8BKOu5Cb4UmE10xydsYHJYvdmTBP5RZbsuNtehHJnRcp8rlNLx9goe zoEQ== X-Gm-Message-State: ALyK8tKyY65BccFuIXIYgnhv4RFy/Yn3sn2/l4mhmACUEoV6IXjHREio2pvRmHY1EmD5dg== X-Received: by 10.140.236.83 with SMTP id h80mr9719795qhc.74.1464277972147; Thu, 26 May 2016 08:52:52 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id e7sm1285830qgd.45.2016.05.26.08.52.51 for <23609@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 08:52:51 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> Date: Thu, 26 May 2016 11:52:50 -0400 In-Reply-To: <5745C5D9.50701@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hle\?\= \=\?utf-8\?Q\?r\=22's\?\= message of "Wed, 25 May 2016 17:33:45 +0200") Message-ID: <861t4orf3h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Should this issue be fixed before the release, if so should the urgency of this issue be increased. It seems like a pretty large regression from emacs 24. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2016 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146428031326648 (code B ref 23609); Thu, 26 May 2016 16:32:02 +0000 Received: (at 23609) by debbugs.gnu.org; 26 May 2016 16:31:53 +0000 Received: from localhost ([127.0.0.1]:40748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yCP-0006vk-9M for submit@debbugs.gnu.org; Thu, 26 May 2016 12:31:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yCN-0006vY-EU for 23609@debbugs.gnu.org; Thu, 26 May 2016 12:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5yCF-0001wB-4b for 23609@debbugs.gnu.org; Thu, 26 May 2016 12:31:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5yCF-0001vt-25; Thu, 26 May 2016 12:31:43 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2449 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b5yCD-00035h-Be; Thu, 26 May 2016 12:31:41 -0400 Date: Thu, 26 May 2016 19:31:48 +0300 Message-Id: <834m9k3hmz.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <861t4orf3h.fsf@gmail.com> (message from Jules Tamagnan on Thu, 26 May 2016 11:52:50 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Date: Thu, 26 May 2016 11:52:50 -0400 > > Should this issue be fixed before the release, if so should the urgency > of this issue be increased. It seems like a pretty large regression from > emacs 24. Not IMO, since an easy workaround is available. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2016 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Jules Tamagnan Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146428068727259 (code B ref 23609); Thu, 26 May 2016 16:39:01 +0000 Received: (at 23609) by debbugs.gnu.org; 26 May 2016 16:38:07 +0000 Received: from localhost ([127.0.0.1]:40761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yIR-00075b-Fy for submit@debbugs.gnu.org; Thu, 26 May 2016 12:38:07 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yIP-00074s-Vy for 23609@debbugs.gnu.org; Thu, 26 May 2016 12:38:06 -0400 Received: by mail-wm0-f47.google.com with SMTP id a136so35674003wme.0 for <23609@debbugs.gnu.org>; Thu, 26 May 2016 09:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Ja+0UrO/KGHpMIvhBs0nrs9y+dkIiGK/6vRI2JyhGmY=; b=D39RpHVf8Xou9x7MFTUUfH+gj1L3lI4EnCqkmUUFVFNOAwuSEUYzkr3CndwRR00Hgr ite2LvYHyyPbJSTpQBMsWMLhhBkbTlTNDNy48+xc2sYSx6tyOLVyalavAxSmC6QDps0h JpKj+O999rY3CqLEpiA2hzSbstEcxRSYhpShP8vS02IgNF5aLrPTHRGHl7BpvGmh3s5W +ZVQgQNy1WWWF9JCQKHylVKmgwZr+QGN4UGHpQ4nRV3NuxJJieZ9ArkAje1lfL2z76nd 8ADqc7X3ztdziJeKrjphotyY0ZJ5+Inaf1GngfxwCeSEzY4a7TZy9qf+eMkBzMuE1iNF b8yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Ja+0UrO/KGHpMIvhBs0nrs9y+dkIiGK/6vRI2JyhGmY=; b=cHjFt086MEJoeN8SYfQ6YNGpxsNJs2AXS6aF+nip516AnCk7rkw5Zx2l5004iZGQGv 7lizD3bYb2d56SdN+xpOg9XP1LfjrtQUblq9n+YWBIP0f6mBufzNoGtOMp57SDkOobFw OKKeKA0raIZZPA0v8WhBX/PktEurAX88cPMwxgejaRnfpqdlQAL2wZFaqrhSC/XGCOCt o70HJah3ygeEOoq1TrqbPowQPxgLZcM4VAeYw1cAzvDgQHTtQ6/uIeWCV46VqYtXv6Vf c66blJaH5AIFnmsywhMp09huoWsHEgvzzRWZlKoKfPpbzHYwvQ3dAYZLHBqA3N4TNr5u rklg== X-Gm-Message-State: ALyK8tKkX+VPJU7oEvZsbXCtpJmjcxOv7Wya52GkgLGMaWMCmrfng3sd89oHWJp3EVreNg== X-Received: by 10.28.212.8 with SMTP id l8mr4426306wmg.11.1464280680055; Thu, 26 May 2016 09:38:00 -0700 (PDT) Received: from [192.168.0.185] ([212.50.99.193]) by smtp.googlemail.com with ESMTPSA id r123sm4338423wmg.20.2016.05.26.09.37.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 09:37:58 -0700 (PDT) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> From: Dmitry Gutov Message-ID: Date: Thu, 26 May 2016 19:37:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <834m9k3hmz.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 05/26/2016 07:31 PM, Eli Zaretskii wrote: > Not IMO, since an easy workaround is available. Disabling eldoc-mode? It's cutting off a very handy feature. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2016 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 23609@debbugs.gnu.org, jtamagnan@gmail.com Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146428134728366 (code B ref 23609); Thu, 26 May 2016 16:50:02 +0000 Received: (at 23609) by debbugs.gnu.org; 26 May 2016 16:49:07 +0000 Received: from localhost ([127.0.0.1]:40771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yT4-0007NR-QC for submit@debbugs.gnu.org; Thu, 26 May 2016 12:49:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yT2-0007My-PI for 23609@debbugs.gnu.org; Thu, 26 May 2016 12:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ySs-0007Iy-N5 for 23609@debbugs.gnu.org; Thu, 26 May 2016 12:48:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ySs-0007It-KH; Thu, 26 May 2016 12:48:54 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2506 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b5ySq-0001lG-NC; Thu, 26 May 2016 12:48:53 -0400 Date: Thu, 26 May 2016 19:48:59 +0300 Message-Id: <83wpmg229w.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Dmitry Gutov on Thu, 26 May 2016 19:37:57 +0300) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Cc: 23609@debbugs.gnu.org > From: Dmitry Gutov > Date: Thu, 26 May 2016 19:37:57 +0300 > > On 05/26/2016 07:31 PM, Eli Zaretskii wrote: > > > Not IMO, since an easy workaround is available. > > Disabling eldoc-mode? It's cutting off a very handy feature. A feature that wasn't turned on in 24.5, and whose turning on exposed this bug. At least that's my understanding. If I'm right, then either this isn't a regression, or a regression with an easy workaround. Which doesn't mean we shouldn't try fixing this bug, just that it is not critical enough to delay the release if not fixed. Motivated volunteers are very much encouraged to work on a fix; if that fix is safe, I see no reason not to accept it on the release branch. Thanks. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2016 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 23609@debbugs.gnu.org, Dmitry Gutov Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146428281630620 (code B ref 23609); Thu, 26 May 2016 17:14:02 +0000 Received: (at 23609) by debbugs.gnu.org; 26 May 2016 17:13:36 +0000 Received: from localhost ([127.0.0.1]:40792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yqm-0007xo-67 for submit@debbugs.gnu.org; Thu, 26 May 2016 13:13:36 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:34397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5yqk-0007xb-65 for 23609@debbugs.gnu.org; Thu, 26 May 2016 13:13:34 -0400 Received: by mail-qg0-f46.google.com with SMTP id 90so40012132qgz.1 for <23609@debbugs.gnu.org>; Thu, 26 May 2016 10:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yfVfrw9TU19BoyJyrNExasNQDeCAmvxqp8qqN1brG1k=; b=WzEsDAS6InFCyMl3TDYffE/HEnmEu3t6MWH8Sq6zer90ems8DmU93jckpZcxCphJMX PKNvE7Zr0B8XYYHrWNHjQq4bFUIu3hh4l1gZMvpIlY90dccWWLSRHdzIpTVa4MAm3w+I rF6pLqRW94kRoGR6BeXI+KypxZo6H/MU5lc+aniAozTdL+IBcg+LN2a960tDQXvKlG/S NeS46j5QTz0IfHmn6/vl6eDvZYiPjgKcX+tYs0yHZaegmgT63cvOYCekR3FeZfITZynf ufcN6AXo6OycDjlFzGTlPzRpv94yKfeINJSJD6iZOd+vLzyKkwHlc4RSMeogwEIjDavx miZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yfVfrw9TU19BoyJyrNExasNQDeCAmvxqp8qqN1brG1k=; b=Nr8PHrzsnefE9sxNwuNG8LxU2MJUWcRb98BTeAwHiTzNNIf0+9FJYJdzKN6vAgrCTt 4sYjdkLhwEA4L68dTJbQ83+l8fJy7MRI/DsvLjd3J0MyzDb88gat5kGBJNGA3Bxk85CG 3QaRHdupspC3hGJ8b7oPSbEIl2n9lqqRy7SJA3mwwzDoJ2cszqpggotsWNK6tV75k8QJ 4rzQ6anK807UG6qAlq5d+Uf1ya7J21s5Y/hbsxTk1z5YwLr0QWx1qeJxquMDCn0gtc+0 jktLDRT/dsahdLMY/zTtfxTz2RlCCJs6u1l5wcNLG1KB/52DwU0zhCx5cSccPvcJ5LHS BE7w== X-Gm-Message-State: ALyK8tIUOxZfK4d4T6k1xZCA3mSiOaH4CMuzwHGFSFQXg/6hJ+pkkDarcfU3YVfNl3oc7A== X-Received: by 10.140.152.16 with SMTP id 16mr9948849qhy.77.1464282808670; Thu, 26 May 2016 10:13:28 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id k61sm4093527qtd.5.2016.05.26.10.13.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 10:13:28 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> Date: Thu, 26 May 2016 13:13:27 -0400 In-Reply-To: <83wpmg229w.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 May 2016 19:48:59 +0300") Message-ID: <86mvncpwso.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> Cc: 23609@debbugs.gnu.org >> From: Dmitry Gutov >> Date: Thu, 26 May 2016 19:37:57 +0300 >> >> On 05/26/2016 07:31 PM, Eli Zaretskii wrote: >> >> > Not IMO, since an easy workaround is available. >> >> Disabling eldoc-mode? It's cutting off a very handy feature. > > A feature that wasn't turned on in 24.5, and whose turning on exposed > this bug. At least that's my understanding. > > If I'm right, then either this isn't a regression, or a regression > with an easy workaround. > > Which doesn't mean we shouldn't try fixing this bug, just that it is > not critical enough to delay the release if not fixed. Motivated > volunteers are very much encouraged to work on a fix; if that fix is > safe, I see no reason not to accept it on the release branch. > > Thanks. I've already filled out the proper paperwork and wouldn't mind doing it. Would a timeout, of one second seem acceptable? If getting the documentation takes longer than 1 second then it should timeout and we should then locally set global-eldoc and eldoc mode to -1. Thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 26 20:50:49 2016 Received: (at control) by debbugs.gnu.org; 27 May 2016 00:50:49 +0000 Received: from localhost ([127.0.0.1]:41047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b65zE-0001ok-Vb for submit@debbugs.gnu.org; Thu, 26 May 2016 20:50:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b65zD-0001oY-Pt for control@debbugs.gnu.org; Thu, 26 May 2016 20:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b65z7-0002E9-JS for control@debbugs.gnu.org; Thu, 26 May 2016 20:50:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b65z7-0002E0-7f for control@debbugs.gnu.org; Thu, 26 May 2016 20:50:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1b65z5-0007dm-PQ for control@debbugs.gnu.org; Thu, 26 May 2016 20:50:39 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 26 May 2016 20:50:39 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) block 19759 by 23609 From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 06:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23609@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14643291909727 (code B ref -1); Fri, 27 May 2016 06:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2016 06:06:30 +0000 Received: from localhost ([127.0.0.1]:41111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Auj-0002Wo-Q5 for submit@debbugs.gnu.org; Fri, 27 May 2016 02:06:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Auh-0002WZ-QE for submit@debbugs.gnu.org; Fri, 27 May 2016 02:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Aub-0002qH-Kj for submit@debbugs.gnu.org; Fri, 27 May 2016 02:06:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Aub-0002px-IG for submit@debbugs.gnu.org; Fri, 27 May 2016 02:06:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6AuZ-0004ZB-FG for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 02:06:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6AuU-0002or-DQ for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 02:06:19 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:59000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6AuU-0002oc-2s for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 02:06:14 -0400 Received: from [192.168.178.35] ([77.12.61.73]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MQcnt-1ay6pC2q2n-00U2Pc for ; Fri, 27 May 2016 08:06:11 +0200 References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: <5747E4AD.7060300@easy-emacs.de> Date: Fri, 27 May 2016 08:09:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:kd736aNDNa2CAJBRrBL/143zuCZzXuCu2+Y0spGfnKyi32Xgetc IRTILFrXfPlzvFddeEd6whujLMBFddXXzXOYzeNralYRMHECUeqzg7j87mBDbqch3hj3ZAL tPeZOcW2bEdQBk8v3uC2VfrEbaoJrZ6rPQ0gxXlgaYgAmqXXuwHiF0XvF3c2w1k19qnUF7c cduPRXqYDmYeIs745ipmg== X-UI-Out-Filterresults: notjunk:1;V01:K0:KycdeK2tVNY=:YIJ/maDIWfRq0p0sTpmMDn rY3c4Re/lVVPdl5SEvBIax7GNeWGxFFMuihvzpuQMXmsXxNd8GdKN3vP/ikJumg1iHb3e3VOu 62qZ8lS4J7pQ1fmqfbkz405hJZXHYAm1T/IRdl+Fz1/Mib86SZk3B+E3T+zsqNe7gFHZPx5gQ RFa+p8pq0WB/iRXbS5R6J9YwnK/WBuBLku+tTViwOxH141S5+EycNX5ydby8IaPnu0sBmXVlr E2c8HmU9YxstrhLEjXpnSc7pBgEtHPfI6BZmZlpNc2VrvFgKVToM4gkGM5Hq8T8nHisc8efxF DS9BVCDktXaXeonJgWo9OE+N6iIyOANdc9vvbSPvSjfDiOjardezP5FCRmE0GwJktsiyJtb2B fySID8MhXt0pSGDNsFLgisQ7YCRu3Oi8fhkQwwmC63MkmJoRS6rCJoOw43rK2adZaCVQFdI3W U/vcQnKn1jo1Jf7bYsM8M61ULkdphEZ1zwZdQ5Ec5ODu4aw7sWmRfGoPI//nuL/heEx0PKlNp cTFUh0dLdLQtai1sk8snHnpUE/RMpywKutmRxz6CbOJZuMGObdnR9OIycolIbgxzWQzW/PVgy EzIFqpCfhw2ELTsNNFg2pRBYIpXiHmTSTjDbsEsn9Ww1ZIvRduJThTB3hXdQPRyRYwA+GWw1d gL7YLu7kGxeukDbAdH0N7dlJr8A+0oBWIMskQM+4MY70W//Z8yxbTaM2W+oBdlQtpX73KQITs nPt3w8pyQouDPHMh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 26.05.2016 18:37, Dmitry Gutov wrote: > On 05/26/2016 07:31 PM, Eli Zaretskii wrote: > >> Not IMO, since an easy workaround is available. > > Disabling eldoc-mode? It's cutting off a very handy feature. > > > Not enabling by default doesn't mean cutting it off. For several reasons eldoc-mode is brittle. Don't assume python.el being the only one with such a bug. When keeping on by default, there is a risk users of the release will face a fair number of so far unknown bugs. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146434102428355 (code B ref 23609); Fri, 27 May 2016 09:24:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 09:23:44 +0000 Received: from localhost ([127.0.0.1]:41191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Dzc-0007NH-EV for submit@debbugs.gnu.org; Fri, 27 May 2016 05:23:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Dza-0007N1-LW for 23609@debbugs.gnu.org; Fri, 27 May 2016 05:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6DzS-0004Fl-GI for 23609@debbugs.gnu.org; Fri, 27 May 2016 05:23:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6DzS-0004FV-CN; Fri, 27 May 2016 05:23:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3147 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6DzQ-0005N0-GY; Fri, 27 May 2016 05:23:32 -0400 Date: Fri, 27 May 2016 12:23:41 +0300 Message-Id: <83d1o726si.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86mvncpwso.fsf@gmail.com> (message from Jules Tamagnan on Thu, 26 May 2016 13:13:27 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: Dmitry Gutov , 23609@debbugs.gnu.org > Date: Thu, 26 May 2016 13:13:27 -0400 > > I've already filled out the proper paperwork and wouldn't mind doing > it. Would a timeout, of one second seem acceptable? If getting the > documentation takes longer than 1 second then it should timeout and we > should then locally set global-eldoc and eldoc mode to -1. Sorry, I'm not sure I'm following: what timeout are you talking about? (I've re-read the bug discussion, and there's no reference to any timeouts there, either.) Perhaps show a patch you had in mind, then your intent will be clear? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 10:39:56 2016 Received: (at control) by debbugs.gnu.org; 27 May 2016 14:39:56 +0000 Received: from localhost ([127.0.0.1]:42731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Ivb-0008UX-UQ for submit@debbugs.gnu.org; Fri, 27 May 2016 10:39:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Iva-0008UI-4h for control@debbugs.gnu.org; Fri, 27 May 2016 10:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6IvR-0001QS-NG for control@debbugs.gnu.org; Fri, 27 May 2016 10:39:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6IvR-0001QO-K9 for control@debbugs.gnu.org; Fri, 27 May 2016 10:39:45 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6IvO-00067I-Lh for control@debbugs.gnu.org; Fri, 27 May 2016 10:39:45 -0400 Date: Fri, 27 May 2016 17:39:41 +0300 Message-Id: <83vb1zzhsi.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org Subject: Unblock X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) unblock 19759 by 23609 thanks From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru, jtamagnan@gmail.com Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.1464360131440 (code B ref 23609); Fri, 27 May 2016 14:43:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 14:42:11 +0000 Received: from localhost ([127.0.0.1]:42735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Ixn-000072-Aq for submit@debbugs.gnu.org; Fri, 27 May 2016 10:42:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Ixl-00006n-7x for 23609@debbugs.gnu.org; Fri, 27 May 2016 10:42:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Ixc-0002Gn-WB for 23609@debbugs.gnu.org; Fri, 27 May 2016 10:42:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Ixc-0002Gb-Ss; Fri, 27 May 2016 10:42:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3505 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6IxX-0006Oc-Pf; Fri, 27 May 2016 10:41:58 -0400 Date: Fri, 27 May 2016 17:41:51 +0300 Message-Id: <83twhjzhow.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83d1o726si.fsf@gnu.org> (message from Eli Zaretskii on Fri, 27 May 2016 12:23:41 +0300) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Please don't add this bug to the list of those which block 25.1 without discussing that here first. I explained why I think it shouldn't block the release; if you have counter-arguments, let's talk. Thanks. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Glenn Morris , dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14643607717689 (code B ref 23609); Fri, 27 May 2016 14:53:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 14:52:51 +0000 Received: from localhost ([127.0.0.1]:42739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6J87-0001zx-Ay for submit@debbugs.gnu.org; Fri, 27 May 2016 10:52:51 -0400 Received: from mail-qg0-f43.google.com ([209.85.192.43]:33936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6J86-0001zl-9N for 23609@debbugs.gnu.org; Fri, 27 May 2016 10:52:50 -0400 Received: by mail-qg0-f43.google.com with SMTP id 90so51796570qgz.1 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 07:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=sYH20kFYinmIVuXggGv9u9ikYpIo7mwWigz0xj5ixqM=; b=mXOcTy2UTuDEFV4FdKmpyEMmpjMp7CLiho1IO357dPu/X9u70wCffLXpd8wgFzX6Gl uhxRpqv3s5QdyRWroPP7p5MtBQV+KHm3EV77CrGxGPfI3qaadOu32pLnGOVg821q5zhf bNhwyorHqigK19yqxp9D+ZsQv6WeB4fkZE/IwNUVvLihkKINoPbUspyBStJZ0gEzcVuy W7xctQe9JJT2fYRQWIW/C/y3XBBNrL2vACW9QXZ7XCKccRsS2Rsn93xxYUcR//Ebigyu ltjGugHdnQ/Kltc/ps/WUV5Dr4PpzMjOAIdIdjxRKUI7Ujn/plyUo2cZ2qLDvmUUy2s8 Do9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=sYH20kFYinmIVuXggGv9u9ikYpIo7mwWigz0xj5ixqM=; b=igwGDLPC/WJy+p2fA0xxi4JP87zqD4I011cx3YudGxNJjbit4ANJ7XJ4PfEPxTe2ns bmk8Ty/Zhs4ZMhoNgNMrl4pI0YSVIPDF23upwi6pKV7ptLUEpL+vxqk+KHrxTOQ5/4Wd /IlInQZ3ZhPb42Ecmpk4Sl+zYOtEmXftU5+6gqpmSNH7Z1q6sGk5BHCL2wlVuoJt+Z+q +01qkyeZUtO8TBIes+vSpQbnzhR9E2COLf/w3bhQTMyBqWsYYX1HWSBHAowN7qjiVIOk ErDLX9TwQGMpLp0oTHEPBhx/kWiVakUzNJ0YeS8mN2Ak8yhX0vcPScBcMXHEp6ZFU/IP m8Jw== X-Gm-Message-State: ALyK8tKi+NZBUDDuNDAZtkgugI93e8BXlehMjt1WF7Bu5lQrz6vA7oXWiorlR+PhRfmVPg== X-Received: by 10.140.250.194 with SMTP id v185mr14095274qhc.15.1464360764767; Fri, 27 May 2016 07:52:44 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id d2sm1227150qtc.42.2016.05.27.07.52.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 07:52:43 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <83twhjzhow.fsf@gnu.org> Date: Fri, 27 May 2016 10:52:43 -0400 In-Reply-To: <83twhjzhow.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 17:41:51 +0300") Message-ID: <86pos7o8n8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Please don't add this bug to the list of those which block 25.1 > without discussing that here first. I explained why I think it > shouldn't block the release; if you have counter-arguments, let's > talk. > > Thanks. I didn't, but I do think that something should be done before the release. If somebody opens up emacs for the first time in 25.1 and decides to try using python and then it doesn't work and keeps freezing, I don't think many people would be willing to debug their issue in a completely different environment than what they're used to when they could simply use a different editor that works out of the box. Emacs is already seen as not very user friendly compared to other (inferior) editors such as atom and sublime and If we have such a glaring bug in one of the most popular language modes then that reflects badly on emacs as a whole. I'll try and fix this bug suitably beforehand because I do think that it should be blocking. Why was global-eldoc mode turned on by default anyways? thanks From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru, jtamagnan@gmail.com Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146436376712140 (code B ref 23609); Fri, 27 May 2016 15:43:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 15:42:47 +0000 Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6JuR-00039k-2F for submit@debbugs.gnu.org; Fri, 27 May 2016 11:42:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6JuP-00039W-KH for 23609@debbugs.gnu.org; Fri, 27 May 2016 11:42:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6JuJ-0003to-BW for 23609@debbugs.gnu.org; Fri, 27 May 2016 11:42:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Ju6-0003o5-DE; Fri, 27 May 2016 11:42:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1b6Ju3-0006kS-4L; Fri, 27 May 2016 11:42:23 -0400 From: Glenn Morris References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <83twhjzhow.fsf@gnu.org> X-Spook: Palestine Liberation Front Shelter-in-place Drill Putin X-Ran: }u1iXGOUg'xz{B%<6~]&X[^NH5,-!\c`wXr|8EXr|bL2o+; (Eli Zaretskii's message of "Fri, 27 May 2016 17:41:51 +0300") Message-ID: <174m9jzew1.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Eli Zaretskii wrote: > Please don't add this bug to the list of those which block 25.1 > without discussing that here first. That's a new rule. It's a bad regression that could easily be worked around by defaulting eldoc mode to off in python mode. That could be done very easily. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146436555521087 (code B ref 23609); Fri, 27 May 2016 16:13:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 16:12:35 +0000 Received: from localhost ([127.0.0.1]:42781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6KNH-0005U3-45 for submit@debbugs.gnu.org; Fri, 27 May 2016 12:12:35 -0400 Received: from mail-qg0-f44.google.com ([209.85.192.44]:34442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6KNF-0005Tq-Ag for 23609@debbugs.gnu.org; Fri, 27 May 2016 12:12:33 -0400 Received: by mail-qg0-f44.google.com with SMTP id 90so52872360qgz.1 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 09:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7OmeALhrMkntzvjn/mt7FJSmHgzO4U4qsU/6QBTr7BA=; b=yql6I/Ln4Sz4sbC6Zgtpg4ZqlxJQt9j5Hdb253sO/5VlBzd0PQvuZJhheWPehS+y/D hov9IHuP0NAykycRK0Ao0CSchu5V5h2av8j5pj/5hKgl1fojD6SyPnBns8x9CNopT9Sz y8ibW+R3veeFQZMuYSxH3bNDBrlwudSRKLOXrGjCMaAr+PZ2IHdyXv6+Qanz1lBbm7HP sB6ItgimvBIz31eeMN4peNl+UUIoV6qezN7hoiwfjs2PNo/RXXsjvl0G1x0KRt8xKzkk JUwcyLaGIbCa7GC6kwZ+oI1COx78gLRh9KqH2/CFQ7LJp7RYWNa8qI+nBV5RyLXD3/xZ tXaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7OmeALhrMkntzvjn/mt7FJSmHgzO4U4qsU/6QBTr7BA=; b=f1fZUpGDw95mQ8LY+C3+vxIq2wcPDvt6wQrMm6rzeVh+jQgV4T1TiuDBwcMGQCuZVr Ja72NQEjjvwcWPJ8RpLGuK14B3Qu/UKFXmYwjsgMdnri77QnPvBS3bh12cqA1GV6zByH XNl3Mxhy0WVAlny804l8zYI/x1YX5o7EquJ7C4cKelj7wSVvH9NjJQowk5sXC05DLs7X HugFfZ8/gRei/0imaDmfVpbAgVLSZlGc605GCkCYaZ6UdTUalGyGBjHY8Es2/SXBPX+H rFzwYztz8DRIzuafc/ZVWsRGoppzXB4I3v6EDt72VDQxaI0Ep2Ks9GE+vaifCb6rPZ5o 1Rog== X-Gm-Message-State: ALyK8tJJ/QrCP6OryYjWTb8m064FCCD/i9ZI71+9DKwuMM1aOhvSc6hkiuoUQPIErr3BAA== X-Received: by 10.140.95.68 with SMTP id h62mr14059656qge.33.1464365547679; Fri, 27 May 2016 09:12:27 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id s3sm4221669qtd.19.2016.05.27.09.12.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 09:12:26 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> Date: Fri, 27 May 2016 12:12:26 -0400 In-Reply-To: <83d1o726si.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 12:23:41 +0300") Message-ID: <86lh2vo4yd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: Jules Tamagnan >> Cc: Dmitry Gutov , 23609@debbugs.gnu.org >> Date: Thu, 26 May 2016 13:13:27 -0400 >> >> I've already filled out the proper paperwork and wouldn't mind doing >> it. Would a timeout, of one second seem acceptable? If getting the >> documentation takes longer than 1 second then it should timeout and we >> should then locally set global-eldoc and eldoc mode to -1. > > Sorry, I'm not sure I'm following: what timeout are you talking about? > (I've re-read the bug discussion, and there's no reference to any > timeouts there, either.) > > Perhaps show a patch you had in mind, then your intent will be clear? > > Thanks. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5aeefe4..8f01ac9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4293,12 +4293,18 @@ python-eldoc--get-doc-at-point (unless (zerop (length docstring)) docstring))))) +(defvar-local python-eldoc-get-doc t + "If eldoc should be used to get the documentation automatically") + (defun python-eldoc-function () "`eldoc-documentation-function' for Python. For this to work as best as possible you should call `python-shell-send-buffer' from time to time so context in inferior Python process is updated properly." - (python-eldoc--get-doc-at-point)) + (when python-eldoc-get-doc + (with-timeout (1 + (setq python-eldoc-get-doc nil)) + (python-eldoc--get-doc-at-point)))) (defun python-eldoc-at-point (symbol) "Get help on SYMBOL using `help'. This patch adds the buffer local variable 'python-eldoc-get-doc which is intially set to t but if eldoc takes longer than one second to fetch the documentation then it will be set to nil. With the variable being nil, eldoc will no longer try to automatically fetch the documentation. The documentation can still be fetched with "C-cC-f". This avoids removing global-eldoc mode and allows the user to manually fetch the documentation while disabling the automatic fetching which causes the unexpected freezing. If the user calls eldoc themselves then it can still freeze but then thats their fault and they can press "C-g" to send a keyboard interupt to their process. At least it won't freeze spontaneously. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan , Eli Zaretskii Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146436591221635 (code B ref 23609); Fri, 27 May 2016 16:19:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 16:18:32 +0000 Received: from localhost ([127.0.0.1]:42785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6KT1-0005ct-QF for submit@debbugs.gnu.org; Fri, 27 May 2016 12:18:31 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6KSz-0005cf-SK for 23609@debbugs.gnu.org; Fri, 27 May 2016 12:18:30 -0400 Received: by mail-wm0-f43.google.com with SMTP id a136so80164952wme.0 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 09:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=gQ4pYZ8x/MI+qOD0aQcYaH0XObu8G23vHapPVuxEqqI=; b=T94Cd3UkmWPSoqfMDuK7EYUWUVDqxqBwNodbrOq9Zdg9kKvk2H9MUYmVaejv6XNueF 21rn6TcFEuIl+VrcI6clYGGTeVug8dogTYi5Zfq3aqCjxK1rKVBIGKbp9275mjPhbc6N /ehjTvE68k2cM+P3E/vr4EycSTf/V2Zvq85x1R+PoBGs+ugfizfiHd0UAf4m6EFWs+oA 7koi1b3tex8aHkJYBAKrt3ypJM+HzuvmM7iM2kim4dNxr6QjrRvBrTy2YOHlZfbqakpk ep13oXAX7EoyVdmAG2UbMpfumbspzdg2QuhopCQdhpVA2BqUQGl+vn41ljwps38BpDeo ZC4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gQ4pYZ8x/MI+qOD0aQcYaH0XObu8G23vHapPVuxEqqI=; b=L+3di+kV2B3tFOuTpH7JTSC0zNmeZLQeTcwI9MaJObOpIB1Bjg5MOI6iGr5fPba71r gY0fxYVn9x8j8+lt424KqM3E/9KHSk7XXXVo98vX9MBpHx/Vxe449xTEI/vXyfY5oLND Tf7ieYafFINgISBj0sfzvZERexe35ctgnckQEPbmryLCpyir4aM8d8FOEuXCuhMaxnu8 00LBxn0sVE1A6Gt0imdFI01yqMDW2HgxJVX3ybLI9PvIm47hGukDwNzHADsMvwXvbH4U CMsWNUFQm3Gn+vGRqHf0N+29hPBmtwQI3BfEFyLEoJDX1IQn01cHxPUVoW0f+m2gfSzt 9FJA== X-Gm-Message-State: ALyK8tIslEWYzOdoF7XeFWyh+BpjPN8tU7uxR5PkW/ISR8vbb9WtdWvpnySUK8gigMgmEw== X-Received: by 10.28.127.6 with SMTP id a6mr10267552wmd.95.1464365904065; Fri, 27 May 2016 09:18:24 -0700 (PDT) Received: from [192.168.0.185] ([212.50.99.193]) by smtp.googlemail.com with ESMTPSA id a140sm3344086wme.18.2016.05.27.09.18.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2016 09:18:23 -0700 (PDT) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> From: Dmitry Gutov Message-ID: <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> Date: Fri, 27 May 2016 19:18:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <86lh2vo4yd.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 05/27/2016 07:12 PM, Jules Tamagnan wrote: > +(defvar-local python-eldoc-get-doc t > + "If eldoc should be used to get the documentation automatically") Why not unset/un-advise eldoc-documentation-function instead? A new variable doesn't seem necessary. Having python-eldoc-function do nothing in certain cases, on the other hand, might look puzzling. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: Eli Zaretskii , 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146436918526814 (code B ref 23609); Fri, 27 May 2016 17:14:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 17:13:05 +0000 Received: from localhost ([127.0.0.1]:42796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6LJp-0006yQ-BW for submit@debbugs.gnu.org; Fri, 27 May 2016 13:13:05 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:34715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6LJn-0006xv-DT for 23609@debbugs.gnu.org; Fri, 27 May 2016 13:13:03 -0400 Received: by mail-qk0-f182.google.com with SMTP id y126so83889659qke.1 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 10:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DQ0sq4m5tlo1kqjAA30bV4KV2mJi5tBUW73xKqP06hk=; b=o9+DB9/2lUmcmw4Cq1lFZOMcsn23p8h7dDQgnTMHdiDRd2ERBRRGwRXO+zKOdm28Hr JwyRUO/GSMQ1lwi7ieLaXpIPSwdgteIkHtrAzPtjDmljRFOWFwS4q0vLSJuWQ/bbFH7e PaPEkO+YQl/PV1aq9rl4lrtRDhNIzQSxL1A5P4aXCh78Tib5edjUkVxwVfxB0XiGtTfU q830SHcQ8eIT7N2hirnc+sSkgAp/mx9z0Yukjnuv5uC7tJDo9O0ciOfmAuqsJ0kBtt4q mBsUOwaGxwGslIHeS7W1caXdvBEqe8nMDPoXxOOWnyTK+76GfF4wcRXyWOG6TF6DeHlW fvPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DQ0sq4m5tlo1kqjAA30bV4KV2mJi5tBUW73xKqP06hk=; b=a3zFayzKk4gVXQZmiShYDWWe0leL9szP2YOq+Lq31AmXfyO1DzYoZz253bvhpNPdc8 hRwyF4PloXCEXRn9aObBlpXp3sOjZ0cP9D40lJRhWHpbHUDRIkZXd/CyeSmNoVsm3jFb 0uM45yvh6uTGN65u+0r2qpaymaLZ+tfeyfJA/bqJ75ol7+TJx6Rz5ueniQ80FgT356KT CMFOSHyoKADsUfKNcIZlB0CwhO7ekxzJdeSRMxBXTXZUHZUeaPCObDJxNeBfH1vy5S8m FqWmlDjGu7kCy9WbdA2pUUi45qSYPx4LZXKWSlKYUyEshLNU2mioy3rm3JvmgdprXTZ8 qqlw== X-Gm-Message-State: ALyK8tLFCb9SsiBOAybtAKl/2t9LpTTVEMGNj7g8bwB8wMpj8W2ppHyExicN4RjKOjSB4g== X-Received: by 10.55.90.130 with SMTP id o124mr15198206qkb.178.1464369176004; Fri, 27 May 2016 10:12:56 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id y67sm5461389qhb.43.2016.05.27.10.12.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 10:12:55 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> Date: Fri, 27 May 2016 13:12:54 -0400 In-Reply-To: <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> (Dmitry Gutov's message of "Fri, 27 May 2016 19:18:21 +0300") Message-ID: <86h9djo25l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov writes: > On 05/27/2016 07:12 PM, Jules Tamagnan wrote: > >> +(defvar-local python-eldoc-get-doc t >> + "If eldoc should be used to get the documentation automatically") > > Why not unset/un-advise eldoc-documentation-function instead? > > A new variable doesn't seem necessary. Having python-eldoc-function do > nothing in certain cases, on the other hand, might look puzzling. I thought that this would make it clearer and easier to check if the automatic eldoc check was disabled. Also easier to reset if somebody wanted to. Python-eldoc-function isn't interactive and is not used anywhere else so I didn't think it would be a big issue if it were simply disabled From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14643735807223 (code B ref 23609); Fri, 27 May 2016 18:27:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 18:26:20 +0000 Received: from localhost ([127.0.0.1]:42833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MSi-0001sQ-C4 for submit@debbugs.gnu.org; Fri, 27 May 2016 14:26:20 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MSg-0001s9-At for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:26:18 -0400 Received: by mail-wm0-f46.google.com with SMTP id n129so3196684wmn.1 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 11:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=lHH1Obnu3qVHHSAC9ZwNIzxXleUXRF9Msbq6QXgxTE4=; b=Xd0lp4Fqc3KHtYl+Lcb2nkUFXylEDNxd88YqitFD0x5hN2nqXpCrOoVx9BN/jcwMX1 5miyPTawvFsQvIUZDosrTFViwXp0PM7n9ygpjLL6n0boAhjbn0mzfqPYBUsKkDAx4dGe d8HXQCEfyliU4cIXccLslLhIeDytlXJY2eCdBAcVMCLRXtn0wadfYDxWaCf1FVuZSt/f pjiI3fSW1JOIKad8QqyNKscR2bcneQnx96VbhZPQ9rH/IU4t/tJW3ZRe5wySYyocs3xc bfALGkAEkchxoj8UGZb/fS+h0Lcb8iwZBWVF8a/dMnxx58s3KBj4+lnYCFmVZRBAAjWw cEyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=lHH1Obnu3qVHHSAC9ZwNIzxXleUXRF9Msbq6QXgxTE4=; b=T/10ASfTjd+oGZcl7saM/3cgAW5rGhIC4zTdLVkN8/mX98dkJznc7dN91L4nq42Awo KipxoGa8Q5TDCmmGzXliLm0MC2fQO4mgPLSNiEV2DiedXKhbR9VCSrtnsVlvE/aPVIXI 5rz+f3LwP7myeZHfcDxHBfPus3CKU5qSPj6VbzbWimlrSf5WPdOFX31tF5bl0wt++Lu+ 6szD8ONq4cfUhNE+iQ2qMCej9HKKZBk9abLH/E+84VUEuh1siUs566aH0LLeDYYfnUE9 ypInzStfpARUqfLWdmx7YaTJTRvNjoPty2Loo0hpfCDm9M2rMZyNqUvwE2zQQ8hz6h0A qduA== X-Gm-Message-State: ALyK8tIMlbQ0UDNnAT9BkWcOHOopgeHmPMGdTySaD6DVhilQi9NakxtX/o9W0iRSkFD5uw== X-Received: by 10.28.173.66 with SMTP id w63mr56006wme.14.1464373572752; Fri, 27 May 2016 11:26:12 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id kd7sm20580905wjc.33.2016.05.27.11.26.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2016 11:26:11 -0700 (PDT) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> <86h9djo25l.fsf@gmail.com> From: Dmitry Gutov Message-ID: <42b81dc0-01be-57c9-4457-ad27c31b2df2@yandex.ru> Date: Fri, 27 May 2016 21:26:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <86h9djo25l.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 05/27/2016 08:12 PM, Jules Tamagnan wrote: > I thought that this would make it clearer and easier to check if the > automatic eldoc check was disabled. Also easier to reset if somebody > wanted to. Python-eldoc-function isn't interactive and is not used > anywhere else so I didn't think it would be a big issue if it were > simply disabled OK, that makes sense. I think it'd be better to make that variable private, though. So we don't have to carry it on after the bug is fixed properly. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14643743528392 (code B ref 23609); Fri, 27 May 2016 18:40:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 18:39:12 +0000 Received: from localhost ([127.0.0.1]:42837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MfA-0002BI-Hk for submit@debbugs.gnu.org; Fri, 27 May 2016 14:39:12 -0400 Received: from mail-qk0-f169.google.com ([209.85.220.169]:36504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Mf8-0002B2-CI for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:39:10 -0400 Received: by mail-qk0-f169.google.com with SMTP id x7so85455302qkd.3 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 11:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YhpJgHy7dKEwfj/RHi18jNhr5zZSFhobbYsBI1IW10o=; b=p1cS2ERJFaFa3t2SH17kut6/+jC9hLfRUcDYoz5OYoHBS+rreq1Ib1eAMCdqwGsbGW eiSMj015CnJubVTe5/roIIBi4FjEtGDMVcn5ARN0AvlUYZmapr423FUN0E9SSJNSStao Oa5EvXMFBv6j7CLCuNGI1leFLGxWiLN+8YbKh+xF05+DXn3iFYesypP2ZMahiuHRdTn/ qShB6VvWL1ZC1+xXe338VHgDkEkW3LhE8yAOhnShvg3Z0Mx/dbLQmwcE0RKDuBaUOkTf gakrUE/GNeJF6wQSrC2HQER+nx5MprtEEYXNTvFysctE9R0IYwQ9EWmmBcjQQjD71JBQ RQXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YhpJgHy7dKEwfj/RHi18jNhr5zZSFhobbYsBI1IW10o=; b=ieNmBr9Ge1MILjcJnZUZGBxE6rF0gtmfxQrbEWiUmoLhAAsVf1sXfIuZabRlyNw4vR 5jgj11IS64nGlbZCpjkDBSNUNj27k894Afp4mAiIH2yUYeBe/wB6RTpydAANh3PlB2OC H1ZuYXZsVTq6DL4Bhfrb6aBdLdq0YpDklSVDfgt7y7agBmokUBvZoS1xXUQKNjl2BHV6 DcXGB3mRxNv0HO55pRU6OkFsD9ZGlq+ZuvMoN/H7WKllrG6+1mzLmZDworP8/YsOp0E9 ssS22ZM5a06R4USACEqqDJ6Ufz5dpaxT4uQ4niKpd3XNLBqDSVqZaUhwkXA1VsXuWPyU T/tA== X-Gm-Message-State: ALyK8tK4ibUzAcKa44fUATnfLzeiTQqrOAQSShveOCv3zykprZ4+heNGrroSQc7gyozn2w== X-Received: by 10.200.49.119 with SMTP id h52mr15311394qtb.80.1464374344772; Fri, 27 May 2016 11:39:04 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id y129sm5598542qka.33.2016.05.27.11.39.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 11:39:03 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> <86h9djo25l.fsf@gmail.com> <42b81dc0-01be-57c9-4457-ad27c31b2df2@yandex.ru> Date: Fri, 27 May 2016 14:39:03 -0400 In-Reply-To: <42b81dc0-01be-57c9-4457-ad27c31b2df2@yandex.ru> (Dmitry Gutov's message of "Fri, 27 May 2016 21:26:09 +0300") Message-ID: <86inxzxs54.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov writes: > On 05/27/2016 08:12 PM, Jules Tamagnan wrote: > >> I thought that this would make it clearer and easier to check if the >> automatic eldoc check was disabled. Also easier to reset if somebody >> wanted to. Python-eldoc-function isn't interactive and is not used >> anywhere else so I didn't think it would be a big issue if it were >> simply disabled > > OK, that makes sense. I think it'd be better to make that variable > private, though. So we don't have to carry it on after the bug is > fixed properly. What do you mean by private? Thanks From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru, jtamagnan@gmail.com Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14643744978631 (code B ref 23609); Fri, 27 May 2016 18:42:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 18:41:37 +0000 Received: from localhost ([127.0.0.1]:42841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MhU-0002F9-VH for submit@debbugs.gnu.org; Fri, 27 May 2016 14:41:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MhT-0002Ew-Kd for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6MhL-0003T7-G5 for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:41:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6MhL-0003T3-Cu; Fri, 27 May 2016 14:41:27 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3584 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6MhJ-00068y-5a; Fri, 27 May 2016 14:41:25 -0400 Date: Fri, 27 May 2016 21:41:35 +0300 Message-Id: <83shx3z6lc.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <174m9jzew1.fsf@fencepost.gnu.org> (message from Glenn Morris on Fri, 27 May 2016 11:42:22 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <83twhjzhow.fsf@gnu.org> <174m9jzew1.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Glenn Morris > Cc: jtamagnan@gmail.com, dgutov@yandex.ru, 23609@debbugs.gnu.org > Date: Fri, 27 May 2016 11:42:22 -0400 > > Eli Zaretskii wrote: > > > Please don't add this bug to the list of those which block 25.1 > > without discussing that here first. > > That's a new rule. No, it isn't. I was asked whether the bug should block, and answered that it shouldn't, providing my rationale. Given that answer, common sense would have it that adding the bug to the list without discussion is not TRT. > It's a bad regression that could easily be worked around by defaulting > eldoc mode to off in python mode. That could be done very easily. That a bug doesn't block the release doesn't mean it cannot be easily fixed, or that a fix won't be accepted on the release branch. I said that as well back when I was asked. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14643750269475 (code B ref 23609); Fri, 27 May 2016 18:51:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 18:50:26 +0000 Received: from localhost ([127.0.0.1]:42845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Mq1-0002Sl-RQ for submit@debbugs.gnu.org; Fri, 27 May 2016 14:50:26 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Mq0-0002SZ-Op for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:50:25 -0400 Received: by mail-wm0-f44.google.com with SMTP id a136so3982882wme.0 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 11:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=mckZQxu/GxDrTZZ38vWsXn9Tvn2nj38U3pPNZ/gbIFg=; b=H6NgYFUnejw3pzTuqoPlkuC7J2w6k+CpsHxgvEkKkRd7nPtvNKQmV/JslkImEQknA4 4XUh8l9ADQSGkIHit8PTVxH9yGY9kE0d5a4cfnP2xIFRn9ymcjT4Xc5/nIFEdT5ehuxO iCVCdX49y3K+g8f6wQZeQS4SmFvA9JRAbPtdI+xoaVaDjgLTHyEUO3naxzF0Eia+6vuI I1jM6iCd+uQdlsPIL4idm4DbVRg6cS/euK3cvsD9XgtNCs48+tnUjqDrGEMHmSGGlHV7 LXO1UJjt3IUcqQe99COCKQTz4GSBqrPdtMSVpkac1KLUuYzIG943PuHkdF/S1DsnT625 4tMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=mckZQxu/GxDrTZZ38vWsXn9Tvn2nj38U3pPNZ/gbIFg=; b=QWjDKrSgDILX2+2xgdietvDzjcECh3Bl8FyVyJAEe1Q5lNcxmvAt4KFVtmRVVon6v1 eu6YuR0AWaiQVDFdL/k5162URrrv+A8lNyc2DgouYFIpu7k4HK6L2XBY9D46bS63+7Gg YfDw2Ues88KAv2Cd6QH7DpsK9C5Q1EGjhha9q6gsL7EcjpT5yF8uMrpJcbFsFCuemVjp 6eTTBINVX3kZwecDZyI/85IXzAu3+VuxGHHM+9OUFBcNaxt21tKeMcSdqNb9UsjhHuT6 9MMaS9AwXZT/9WdTAqYCbZC2/4TwFdVlvC34DW3doiZPiL9oeAtmpXVa+YDZCPjxQm8I 3ZGw== X-Gm-Message-State: ALyK8tIr14UISyT1dOX7T7jxKhskSILLiofuEFVZ9LVPRrff0d0ZcJGJDwwwVHmSZpwjzg== X-Received: by 10.194.120.69 with SMTP id la5mr17493432wjb.152.1464375019063; Fri, 27 May 2016 11:50:19 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id wb10sm20684543wjc.8.2016.05.27.11.50.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2016 11:50:18 -0700 (PDT) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> <86h9djo25l.fsf@gmail.com> <42b81dc0-01be-57c9-4457-ad27c31b2df2@yandex.ru> <86inxzxs54.fsf@gmail.com> From: Dmitry Gutov Message-ID: <3236e533-2631-2d2c-f622-c68ac8b9c472@yandex.ru> Date: Fri, 27 May 2016 21:50:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <86inxzxs54.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 05/27/2016 09:39 PM, Jules Tamagnan wrote: > What do you mean by private? It's when a variable or a function has "--" in its name. This functions purely as a documentation that external code should not rely on it (or refer to it, really). E.g. python-eldoc--get-doc. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437546210148 (code B ref 23609); Fri, 27 May 2016 18:58:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 18:57:42 +0000 Received: from localhost ([127.0.0.1]:42854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Mx3-0002dc-U2 for submit@debbugs.gnu.org; Fri, 27 May 2016 14:57:42 -0400 Received: from mail-qk0-f174.google.com ([209.85.220.174]:35351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Mx2-0002dQ-MT for 23609@debbugs.gnu.org; Fri, 27 May 2016 14:57:40 -0400 Received: by mail-qk0-f174.google.com with SMTP id h185so52111314qke.2 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 11:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Zy6CKQvM4CN976K1JXKF9vIVSAEXfWztsAkgrEU4lRw=; b=daQeIWNmgQT1dub5DiwrEUkGkFEUdt8706gHJqLFKlGZF43pu2HrKtiFyeH6QCcuTk ETlpSx7011KrLjzCc+bE35QurIOK+HXxtqTw6zsjpBc2ay+OqQz7Mf1ojbrec/6cl/ec AJvwkEpisAbRSzDrAGRY1nnmDn7hbkVOVYrr+uxavErC5TUDIStAQhgc2DCskruu4L8z GWdtC6N5WEaOFgBZ/yppiPrHwQTWkJs0gSjavymKvhU+gntm7Q2wynSyEDeOiIUTC5uf 8AUbBkJTbvj//iYKNfFjNpAa9EonxwrG3v2Fvo7jsqhI9rvsnCmN1CsKP0eD5/KB5rGi 7zKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Zy6CKQvM4CN976K1JXKF9vIVSAEXfWztsAkgrEU4lRw=; b=Uoaxg6eYS5tGb1V39IMH3QyHc35U+j6W22bVIszTHmIGIuyIcaezcfetPe+1XXs0zP lKsmILX74ccr1bVu+EAsI/cVVrGiiqzB9DAEzKIYce2fGprMYplh83anjzPIIa98XhZM NjUrZIH9ZzIMoF0IL7aJk7Ec4KoQMZCOgGQFDTVfQ6rtTRTDGhVamIVsijZ5cflyX6/k OtFl6MHnDpOmzTVaNIskPYXSeZ+5xXWVkCYzyh0uqgpse3Jkc+XrTxYPL4wzXeohhbhU q9XFdiZIDE5ZVXu99B/VIYPOED1XjqNYEO7i26M9SmHObf68gnCzLCIYEi4zb8Mo3dUo Eilg== X-Gm-Message-State: ALyK8tJ8o+19/N5dGjCniLAdky5cmyH/OiY05iuZWa25BvuKqBaiGORQMMR0fUCnMIpuaQ== X-Received: by 10.55.124.193 with SMTP id x184mr9514524qkc.45.1464375455173; Fri, 27 May 2016 11:57:35 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id u18sm5684362qtc.15.2016.05.27.11.57.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 11:57:34 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <727af3c6-091a-6f06-b2c0-6777532c1728@yandex.ru> <86h9djo25l.fsf@gmail.com> <42b81dc0-01be-57c9-4457-ad27c31b2df2@yandex.ru> <86inxzxs54.fsf@gmail.com> <3236e533-2631-2d2c-f622-c68ac8b9c472@yandex.ru> Date: Fri, 27 May 2016 14:57:33 -0400 In-Reply-To: <3236e533-2631-2d2c-f622-c68ac8b9c472@yandex.ru> (Dmitry Gutov's message of "Fri, 27 May 2016 21:50:16 +0300") Message-ID: <86eg8nxraa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov writes: > On 05/27/2016 09:39 PM, Jules Tamagnan wrote: > >> What do you mean by private? > > It's when a variable or a function has "--" in its name. This > functions purely as a documentation that external code should not rely > on it (or refer to it, really). > > E.g. python-eldoc--get-doc. Oh yes, well here it is with the different naming convention: diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5aeefe4..2da72fd 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4293,12 +4293,18 @@ python-eldoc--get-doc-at-point (unless (zerop (length docstring)) docstring))))) +(defvar-local python-eldoc--get-doc t + "If eldoc should be used to get the documentation automatically") + (defun python-eldoc-function () "`eldoc-documentation-function' for Python. For this to work as best as possible you should call `python-shell-send-buffer' from time to time so context in inferior Python process is updated properly." - (python-eldoc--get-doc-at-point)) + (when python-eldoc--get-doc + (with-timeout (1 + (setq python-eldoc--get-doc nil)) + (python-eldoc--get-doc-at-point)))) (defun python-eldoc-at-point (symbol) "Get help on SYMBOL using `help'. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437595410948 (code B ref 23609); Fri, 27 May 2016 19:06:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:05:54 +0000 Received: from localhost ([127.0.0.1]:42859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6N4z-0002qW-OH for submit@debbugs.gnu.org; Fri, 27 May 2016 15:05:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6N4x-0002qI-MF for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:05:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6N4p-00019d-2h for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:05:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6N4d-00017D-Ej; Fri, 27 May 2016 15:05:31 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3615 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6N4Z-0005CF-TA; Fri, 27 May 2016 15:05:28 -0400 Date: Fri, 27 May 2016 22:05:37 +0300 Message-Id: <83inxzz5ha.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86lh2vo4yd.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 12:12:26 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 12:12:26 -0400 > > diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el > index 5aeefe4..8f01ac9 100644 > --- a/lisp/progmodes/python.el > +++ b/lisp/progmodes/python.el > @@ -4293,12 +4293,18 @@ python-eldoc--get-doc-at-point > (unless (zerop (length docstring)) > docstring))))) > > +(defvar-local python-eldoc-get-doc t > + "If eldoc should be used to get the documentation automatically") > + > (defun python-eldoc-function () > "`eldoc-documentation-function' for Python. > For this to work as best as possible you should call > `python-shell-send-buffer' from time to time so context in > inferior Python process is updated properly." > - (python-eldoc--get-doc-at-point)) > + (when python-eldoc-get-doc > + (with-timeout (1 > + (setq python-eldoc-get-doc nil)) > + (python-eldoc--get-doc-at-point)))) > > (defun python-eldoc-at-point (symbol) > "Get help on SYMBOL using `help'. > > This patch adds the buffer local variable 'python-eldoc-get-doc which is > intially set to t but if eldoc takes longer than one second to fetch the > documentation then it will be set to nil. With the variable being nil, > eldoc will no longer try to automatically fetch the documentation. The > documentation can still be fetched with "C-cC-f". This avoids removing > global-eldoc mode and allows the user to manually fetch the > documentation while disabling the automatic fetching which causes the > unexpected freezing. If the user calls eldoc themselves then it can > still freeze but then thats their fault and they can press "C-g" to send > a keyboard interupt to their process. At least it won't freeze > spontaneously. Thanks, this is now clear. A coupe of comments: . Should 1 be a defcustom? IOW, could it be that different users have different annoyance thresholds, and are willing to wait longer before turning eldoc-mode off? . The problem happens only when the interpreter is busy doing something, is that right? If so, perhaps we shouldn't turn eldoc-mode off, but instead simply return? . If we do turn eldoc-mode off, then I think a message to that effect is in order, to let the user know. Thanks for working on this. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: rgm@gnu.org, dgutov@yandex.ru, 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437600711039 (code B ref 23609); Fri, 27 May 2016 19:07:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:06:47 +0000 Received: from localhost ([127.0.0.1]:42863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6N5r-0002rz-1z for submit@debbugs.gnu.org; Fri, 27 May 2016 15:06:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6N5p-0002rm-H3 for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6N5j-0001Y2-LN for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:06:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6N5a-0001WC-Rb; Fri, 27 May 2016 15:06:30 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3616 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6N5Y-0005ei-LO; Fri, 27 May 2016 15:06:29 -0400 Date: Fri, 27 May 2016 22:06:38 +0300 Message-Id: <83h9djz5fl.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86pos7o8n8.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 10:52:43 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <83twhjzhow.fsf@gnu.org> <86pos7o8n8.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: Glenn Morris , 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 10:52:43 -0400 > > Why was global-eldoc mode turned on by default anyways? It was deemed a very useful feature. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437643111675 (code B ref 23609); Fri, 27 May 2016 19:14:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:13:51 +0000 Received: from localhost ([127.0.0.1]:42873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NCh-00032E-2e for submit@debbugs.gnu.org; Fri, 27 May 2016 15:13:51 -0400 Received: from mail-qg0-f49.google.com ([209.85.192.49]:36460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NCf-000321-A7 for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:13:49 -0400 Received: by mail-qg0-f49.google.com with SMTP id q32so55207678qgq.3 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 12:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=G1i56RXUif+lrK504Eju7qN+ilLmvAZWDkH5wHsaiiM=; b=zF3tgW5m2jucKsmcNK2Ps7WLfwoaWKqGxD/06bsk7R/oYFbG81NQcksmhZVG8Rmz/N zsYwqHCDlG4/OgorZvulOasWvXMy9+1Qs5CD0YseKbo61x4+ZlB8w46+hoPol198DgGO 4D8xm9K1hF2Hnx25V02Bi/zH2tTxbfeqRE/4LY4mnlEI3lXdM/Flh5xOc0P2Vp6xKTCk hLwCef9PhAiX18Yem8bR69K0Wq7LiDjcxZivBv3y3ebG5GoWl2HNlYWu6a6PyqWm7NrK 3PBo5WxrxTVfJfc0LCzrdSJnqb6iUA7BZ6INWMoCwGWQ+3qAXEyz6ojT+SCWcEzQBgbe ysRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=G1i56RXUif+lrK504Eju7qN+ilLmvAZWDkH5wHsaiiM=; b=C467MNEXQ+k24I9fHx5USbFiJluybzIVe5ShHqINryRnrXIwsuC+QNtesT/ZJfV05D DlhgBn7t32aiHF+hl7OTl5sefYCYf7CIk42OLnQGHYHJXJpF5WG9iPyK9cLV7FQAu9SA 86rV4ZKKuZV4aERJxmV7KQ4rpz/BbkG202vsBQ9CeCR5UZkYas8TqiGdDwI08NA50QQe iCbJnUxN76tWRfGp9j+OIkT8xXJi0vWoYIe7Ti7s17H4fl0+qQhGarkgvDb9yf6nFuSL dIeIfvazlRx9K+46wjeDzDiS/5oV7UhjUwpxPxmh1p78Kj09ATw2D9x/kuMD8c9+7+ft QEBg== X-Gm-Message-State: ALyK8tJNeE0JqF9vaJ6k+mlSLBYiq8i+nrKIEiRQg3C1GtrjEEFLJQhw/QJS0Aw3kiLViA== X-Received: by 10.140.204.212 with SMTP id z203mr15184847qha.41.1464376423914; Fri, 27 May 2016 12:13:43 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id m184sm5620078qhm.3.2016.05.27.12.13.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 12:13:43 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> Date: Fri, 27 May 2016 15:13:42 -0400 In-Reply-To: <83inxzz5ha.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 22:05:37 +0300") Message-ID: <86a8jbxqjd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Thanks, this is now clear. A coupe of comments: > > . Should 1 be a defcustom? IOW, could it be that different users > have different annoyance thresholds, and are willing to wait > longer before turning eldoc-mode off? Well eldoc mode remains on it simply won't do the automatic check anymore when hovering over a function, you can still request the documenation though the keybinding. And yes the threshhold can be different for different people if that is an option that you think would be good to add its pretty simple to add. > . The problem happens only when the interpreter is busy doing > something, is that right? If so, perhaps we shouldn't turn > eldoc-mode off, but instead simply return? The problem with simply returning instead of canceling the behavior for the buffer is that a second (or so) later eldoc will once again try to fetch the documentation and will be frozen until the timeout. This means that you will be repeatidly be getting frozen as you type. It won't be a complete freeze that crashes emacs but it won't be pleasant. > . If we do turn eldoc-mode off, then I think a message to that > effect is in order, to let the user know. We're not turning it off but yes a warning would definitely be nice. Thanks for hearing me out From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437747617271 (code B ref 23609); Fri, 27 May 2016 19:32:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:31:16 +0000 Received: from localhost ([127.0.0.1]:42891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NTY-0004UF-BA for submit@debbugs.gnu.org; Fri, 27 May 2016 15:31:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NTW-0004Ga-Hu for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6NTE-0007PO-0I for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:30:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NT4-0007NT-5Q; Fri, 27 May 2016 15:30:46 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3629 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6NT2-0006RL-Oh; Fri, 27 May 2016 15:30:45 -0400 Date: Fri, 27 May 2016 22:30:33 +0300 Message-Id: <83fut3z4bq.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86a8jbxqjd.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 15:13:42 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 15:13:42 -0400 > > > . The problem happens only when the interpreter is busy doing > > something, is that right? If so, perhaps we shouldn't turn > > eldoc-mode off, but instead simply return? > > The problem with simply returning instead of canceling the behavior for > the buffer is that a second (or so) later eldoc will once again try to > fetch the documentation and will be frozen until the timeout. This means > that you will be repeatidly be getting frozen as you type. It won't be > a complete freeze that crashes emacs but it won't be pleasant. Once again, perhaps I misunderstand the nature of the problem, but doesn't it happen only when the Python interpreter is busy doing something when the eldoc function is invoked? If so, then the next time eldoc is invoked, the Python interpreter might not be busy, and the feature will work without hanging, right? Or am I missing something? > > > . If we do turn eldoc-mode off, then I think a message to that > > effect is in order, to let the user know. > > We're not turning it off but yes a warning would definitely be nice. Well, we turn off the automatic display of the documentation in the echo area, right? Thanks. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437820620693 (code B ref 23609); Fri, 27 May 2016 19:44:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:43:26 +0000 Received: from localhost ([127.0.0.1]:42895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NfK-0005Nh-Kl for submit@debbugs.gnu.org; Fri, 27 May 2016 15:43:26 -0400 Received: from mail-qk0-f176.google.com ([209.85.220.176]:36682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NfJ-0005NV-PT for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:43:26 -0400 Received: by mail-qk0-f176.google.com with SMTP id x7so86608074qkd.3 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 12:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vLNVweTbpiUlQ7glpqKEbb8A6fdJnMtK3Yq8py85KhQ=; b=ge4ViHFPwjPTRCWkKr29f3G7bGZHjfA1yre8PjWe7NyKq2cQrafKvMlMZ0dbUiXDaI fjm/wZ1ZHxR/dJWXWfX2ZHl/RXtlfVXtg8CAqo1rapOsd7QsXKkhImdDqkVH41eXYMP7 VM6vyVgPZdLQ2QIjmwlf/5jxFmZ8IQ8MbD//MavVdHnA2zpBtLDby+aMSKW1kFzEn7Ux /VdQWIPZLMstACd8qQyUtODISQMpJcKjDSZK9A/L1Qf3XNeRwsVrHPtzaySEK4lHomWa BSBkYmzmJ4BFUWX3rN3gkk2WGSxg3yrBeSh94EJ78RDaWsRAbrJorDySxypOpGCzS0y+ nAyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vLNVweTbpiUlQ7glpqKEbb8A6fdJnMtK3Yq8py85KhQ=; b=Fr8uyH4SZMspEG1gMA1GcIo4mB7uxd4VJwbAGepfrqJl/t2KEbPoBP8sQd02kb3e03 V13TKUgpUFoPdeUea+ciMiurqX7Wq9m0vJzSDRfpHzwFwylaCefAE5m20yNVUDqu3/yj ssS4EzDbMd7qpkEvE3a7uGs1rR8/s771zRM4+loUzutbOGLTQHi5QXkQ8FkphI68IfGt JEZsbJUkkYUyB+q2emJVyphTVfk9a86KxWCGjWc94xUf9O7LHFjYM85bNXFzZI7yMkao kf6Ql8Bt4/9W87eWhdjqbyuGZ+IUgSOgl8hbr8HDEEnILrGpEwb+vM/d2Sp0GtWhmF5J dzgg== X-Gm-Message-State: ALyK8tK50912P21/1c6mL3V4CijPt0QEa4XljoUv6/wn5YAJSikmbXXmEoQZFzuuDVb5/g== X-Received: by 10.55.166.139 with SMTP id p133mr15244996qke.161.1464378200220; Fri, 27 May 2016 12:43:20 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id 13sm4209546qhr.9.2016.05.27.12.43.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 12:43:19 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> Date: Fri, 27 May 2016 15:43:18 -0400 In-Reply-To: <83fut3z4bq.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 22:30:33 +0300") Message-ID: <861t4nxp61.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: Jules Tamagnan >> Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru >> Date: Fri, 27 May 2016 15:13:42 -0400 >> >> > . The problem happens only when the interpreter is busy doing >> > something, is that right? If so, perhaps we shouldn't turn >> > eldoc-mode off, but instead simply return? >> >> The problem with simply returning instead of canceling the behavior for >> the buffer is that a second (or so) later eldoc will once again try to >> fetch the documentation and will be frozen until the timeout. This means >> that you will be repeatidly be getting frozen as you type. It won't be >> a complete freeze that crashes emacs but it won't be pleasant. > > Once again, perhaps I misunderstand the nature of the problem, but > doesn't it happen only when the Python interpreter is busy doing > something when the eldoc function is invoked? If so, then the next > time eldoc is invoked, the Python interpreter might not be busy, and > the feature will work without hanging, right? Or am I missing > something? No that's exactly correct. I'm just thinking of it from the point of view that perhaps somebody is plotting a graph from the interpreter which causes the interpreter to be busy. Then while having that graph open they would still like to be able to edit their code (I have been in this situation dozens of times). Or if the code they are running takes a a minute or two there is a good chance that they would want to edit some of the code while it is running. In those scenarios I feel like it makes sense to stop eldoc from doing the automatic checking permanently for that buffer because otherwise my work would be constantly interrupted. If we plan on the process only being busy for a few seconds at a time then I understand where you are coming from. I have also found for python at least that there are very good tools out there that work better than eldoc and which use a separate process so they never hang up. >> > . If we do turn eldoc-mode off, then I think a message to that >> > effect is in order, to let the user know. >> >> We're not turning it off but yes a warning would definitely be nice. > > Well, we turn off the automatic display of the documentation in the > echo area, right? Yep but eldoc mode is still on Thanks. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437857121251 (code B ref 23609); Fri, 27 May 2016 19:50:02 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:49:31 +0000 Received: from localhost ([127.0.0.1]:42900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NlD-0005Wh-BQ for submit@debbugs.gnu.org; Fri, 27 May 2016 15:49:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NlB-0005WV-Qp for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:49:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Nl3-0003px-KU for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:49:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nkt-0003p0-HJ; Fri, 27 May 2016 15:49:11 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3678 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6Nkr-0007T6-14; Fri, 27 May 2016 15:49:10 -0400 Date: Fri, 27 May 2016 22:49:13 +0300 Message-Id: <83d1o7z3gm.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <861t4nxp61.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 15:43:18 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 15:43:18 -0400 > > > Once again, perhaps I misunderstand the nature of the problem, but > > doesn't it happen only when the Python interpreter is busy doing > > something when the eldoc function is invoked? If so, then the next > > time eldoc is invoked, the Python interpreter might not be busy, and > > the feature will work without hanging, right? Or am I missing > > something? > > No that's exactly correct. I'm just thinking of it from the point of > view that perhaps somebody is plotting a graph from the interpreter > which causes the interpreter to be busy. Then while having that graph > open they would still like to be able to edit their code (I have been in > this situation dozens of times). Or if the code they are running takes a > a minute or two there is a good chance that they would want to edit some > of the code while it is running. In those scenarios I feel like it makes > sense to stop eldoc from doing the automatic checking permanently for > that buffer because otherwise my work would be constantly interrupted. OK, so let's go with your suggestion, but make that message we agreed should be added say something like ElDoc mode echo-area display turned off; type .... to turn on where "..." stands for whatever needs to be done to turn it back on again. Also, I do think a defcustom is due instead of a hardwired constant of 1 sec. Could you please augment your patch along these lines? Thanks. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146438040624399 (code B ref 23609); Fri, 27 May 2016 20:21:01 +0000 Received: (at 23609) by debbugs.gnu.org; 27 May 2016 20:20:06 +0000 Received: from localhost ([127.0.0.1]:42909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6OEo-0006LS-49 for submit@debbugs.gnu.org; Fri, 27 May 2016 16:20:06 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:36703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6OEm-0006Kt-M0 for 23609@debbugs.gnu.org; Fri, 27 May 2016 16:20:04 -0400 Received: by mail-qk0-f175.google.com with SMTP id x7so87244155qkd.3 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 13:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=z3YOqwyxalJPBb6e5VjO08jIKqvOqhbJB8pg5+7bNPQ=; b=eH57HiMrWzj4GgeV1jrly+aEC7WadCUCw2QdvoBufckfS++cUSfG/W99hM8YFdqGQl jmxYIKmXURuLHOigTnMwkVoY9vxA+bc7PF313458HHPunbRlS/j8ctfPya1wzmEHpgvS Zu51AdKKK+yYdBxbNEk6jhrSqqElI9dpQteiH+WZVJCnFoDLocotwLP+V7ZrFDLThID3 adLOi7YsFHP/eWpPd8LLnPbnzN3XFAo1a6Rw0jWzjclz2mfJLQuyyj8Jg5c9SrMQF4tr T4KHzDy+OpRuGjXkRH+BX+EEGnnycuESfGKrjby4T0A2nCpYQYxrsidE/4mkKvYd7+g+ jXYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=z3YOqwyxalJPBb6e5VjO08jIKqvOqhbJB8pg5+7bNPQ=; b=lT9ez1fMhLNwIB+O1kafJHwmKnc+ZFJTr5d8I+i08hKiw7SmJLYpRlRRaCkcpFG0ar JD7yvi1wFoxVxogVmUheKWJcOs5y96/5iUDscjWQSG5BO0Xc1s74TeIwfOFkhK2XdP4o l6PZ2zqVkQuCeEu2qO9b5j/Qa9pvunMTTw73+tnibCuqHhNkXaFyDYCVsrqiIvihj0kF Y9nZxhV3VXqMW3gWO3zSBmvEMP46mcpLWStd1mDvsJ2VMVLsZ0ZzCatMoqHhyRGRIepP a93iitmEEbDlcfo47oWzSX3XGh3hfy6PLUKZVuuWUKK9rSdpNPyg8nRIWyu2Nebn1Uxi JBRw== X-Gm-Message-State: ALyK8tLmnSUkUPnWoN28TvFTV5/n2LTsaOVWmKu5Z/KX18THHRTeL9D1SWZrc/evVHZutw== X-Received: by 10.200.47.6 with SMTP id j6mr15566996qta.85.1464380399314; Fri, 27 May 2016 13:19:59 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id j5sm3053301qge.0.2016.05.27.13.19.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 13:19:58 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> Date: Fri, 27 May 2016 16:19:57 -0400 In-Reply-To: <83d1o7z3gm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 22:49:13 +0300") Message-ID: <86shx3w8wi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: Jules Tamagnan >> Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru >> Date: Fri, 27 May 2016 15:43:18 -0400 >> >> > Once again, perhaps I misunderstand the nature of the problem, but >> > doesn't it happen only when the Python interpreter is busy doing >> > something when the eldoc function is invoked? If so, then the next >> > time eldoc is invoked, the Python interpreter might not be busy, and >> > the feature will work without hanging, right? Or am I missing >> > something? >> >> No that's exactly correct. I'm just thinking of it from the point of >> view that perhaps somebody is plotting a graph from the interpreter >> which causes the interpreter to be busy. Then while having that graph >> open they would still like to be able to edit their code (I have been in >> this situation dozens of times). Or if the code they are running takes a >> a minute or two there is a good chance that they would want to edit some >> of the code while it is running. In those scenarios I feel like it makes >> sense to stop eldoc from doing the automatic checking permanently for >> that buffer because otherwise my work would be constantly interrupted. > > OK, so let's go with your suggestion, but make that message we agreed > should be added say something like > > ElDoc mode echo-area display turned off; type .... to turn on > > where "..." stands for whatever needs to be done to turn it back on > again. > > Also, I do think a defcustom is due instead of a hardwired constant of > 1 sec. > > Could you please augment your patch along these lines? > > Thanks. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5aeefe4..46c3bd9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4293,12 +4293,29 @@ python-eldoc--get-doc-at-point (unless (zerop (length docstring)) docstring))))) +(defvar-local python-eldoc--get-doc t + "If eldoc should be used to get the documentation automatically") + +(defcustom python-eldoc-function-timeout 1 + "Timeout for python-eldoc-function in seconds." + :group 'python + :type 'integer) + (defun python-eldoc-function () "`eldoc-documentation-function' for Python. For this to work as best as possible you should call `python-shell-send-buffer' from time to time so context in -inferior Python process is updated properly." - (python-eldoc--get-doc-at-point)) +inferior Python process is updated properly. + +If `python-eldoc-function-timeout' seconds elapse before this +function returns then `python-eldoc--get-doc' will be set to nil +and eldoc will no longer return the documentation at the point +automatically." + (when python-eldoc--get-doc + (with-timeout (python-eldoc-function-timeout + (message "Eldoc mode echo-area display turned off in current buffer; eval (setq python-eldoc--get-doc t) to turn on") + (setq python-eldoc--get-doc nil)) + (python-eldoc--get-doc-at-point)))) (defun python-eldoc-at-point (symbol) "Get help on SYMBOL using `help'. Here was my rendition of the task at hand. We could also perhaps make it such that if the timeout variable were negative then instead of permanently stopping eldoc it would only return, like you had suggested. A boolean defcustom could also be used for that if we want. Also 'python-eldoc--get-doc' could be renamed to not be private if we expect somebody to want to change it Thanks From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 May 2016 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146442202929412 (code B ref 23609); Sat, 28 May 2016 07:54:02 +0000 Received: (at 23609) by debbugs.gnu.org; 28 May 2016 07:53:49 +0000 Received: from localhost ([127.0.0.1]:43153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Z48-0007eK-NG for submit@debbugs.gnu.org; Sat, 28 May 2016 03:53:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Z46-0007e1-TS for 23609@debbugs.gnu.org; Sat, 28 May 2016 03:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Z3y-0006e7-Fz for 23609@debbugs.gnu.org; Sat, 28 May 2016 03:53:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Z3p-0006ci-7L; Sat, 28 May 2016 03:53:29 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4000 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6Z3n-0006n3-Bg; Sat, 28 May 2016 03:53:27 -0400 Date: Sat, 28 May 2016 10:53:38 +0300 Message-Id: <838tyuzkhp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86shx3w8wi.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 16:19:57 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> <86shx3w8wi.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 16:19:57 -0400 > > diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el > index 5aeefe4..46c3bd9 100644 > --- a/lisp/progmodes/python.el > +++ b/lisp/progmodes/python.el > @@ -4293,12 +4293,29 @@ python-eldoc--get-doc-at-point > (unless (zerop (length docstring)) > docstring))))) > > +(defvar-local python-eldoc--get-doc t > + "If eldoc should be used to get the documentation automatically") > + > +(defcustom python-eldoc-function-timeout 1 > + "Timeout for python-eldoc-function in seconds." > + :group 'python > + :type 'integer) > + > (defun python-eldoc-function () > "`eldoc-documentation-function' for Python. > For this to work as best as possible you should call > `python-shell-send-buffer' from time to time so context in > -inferior Python process is updated properly." > - (python-eldoc--get-doc-at-point)) > +inferior Python process is updated properly. > + > +If `python-eldoc-function-timeout' seconds elapse before this > +function returns then `python-eldoc--get-doc' will be set to nil > +and eldoc will no longer return the documentation at the point > +automatically." > + (when python-eldoc--get-doc > + (with-timeout (python-eldoc-function-timeout > + (message "Eldoc mode echo-area display turned off in current buffer; eval (setq python-eldoc--get-doc t) to turn on") > + (setq python-eldoc--get-doc nil)) > + (python-eldoc--get-doc-at-point)))) > > (defun python-eldoc-at-point (symbol) > "Get help on SYMBOL using `help'. > > Here was my rendition of the task at hand. Thanks. We should try making the message text shorter, so it fits on a single line. > We could also perhaps make it such that if the timeout variable were > negative then instead of permanently stopping eldoc it would only > return, like you had suggested. A boolean defcustom could also be > used for that if we want. I don't see any significant advantage either way. > Also 'python-eldoc--get-doc' could be renamed to not be private if we > expect somebody to want to change it Yes, that variable should not be private if users are expected to set it. Alternatively, we could add a simple command to set the variable non-nil, which might also help making the message text shorter. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 May 2016 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dgutov@yandex.ru, 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146471613830413 (code B ref 23609); Tue, 31 May 2016 17:36:02 +0000 Received: (at 23609) by debbugs.gnu.org; 31 May 2016 17:35:38 +0000 Received: from localhost ([127.0.0.1]:48578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7nZp-0007uS-Op for submit@debbugs.gnu.org; Tue, 31 May 2016 13:35:37 -0400 Received: from mail-qk0-f181.google.com ([209.85.220.181]:36839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7nZn-0007uF-5P for 23609@debbugs.gnu.org; Tue, 31 May 2016 13:35:37 -0400 Received: by mail-qk0-f181.google.com with SMTP id i187so8969171qkd.3 for <23609@debbugs.gnu.org>; Tue, 31 May 2016 10:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=M4JQZ2KERhtX7GdoJIGGecgkHHyoVMx3YrnZgjz0Exw=; b=FflJPd3Ohq5KLtfJTeOPzgqpSvuVT7s9f6R8RxvluMPVnnhd5bf08E2pbdsOoh421O zradNNDm/E0hRlerjXRjljDtNB+NNCQMmhp23GWaNmtuxXf+dE5eB7aO+C00YYtj31zC bvCh71Cb5l7Gsgg/etZ+IFzJiMRFa+AS7BMQxjE7mWjTS4znCTlAm/QnGZiuBfi2EHvP jzYDZgLv57eo6V1wpP6CACkcQ5gD2fpo0pRnwW+pKk3pQKZOM2Vah7+CqJ1CjS5AxSA/ m+5h8M8lgWx0stjZ+CTBR539Fhv1XrFh0b0lNQHib4gUjLMXTZktIp0vj15ubqjCy2Ce kDEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=M4JQZ2KERhtX7GdoJIGGecgkHHyoVMx3YrnZgjz0Exw=; b=I7gZ0KBvr9c4nwai2CAfTshRktvj2bIdL8SSm+u9ZkncrR7FfPmpogBS4lSmtiKwDz st4X7R6HJSU7+SblqJa7298yapeqZ6SyIRDQ89TLEjRnqXOtPMyBP2GyKc+zFw667Q5f PeD4jpLcuwAjsZfgWdDH/oFFbOrr+2hNO+6H1K47w8gYKHV55QachyZrfI8qDiH3Ze8F QqDFQCyhCEcfX05rb7uPORid5pRZASQDZ25qs3+amHiJ7H6Pf0CcjlglygKJO9FRr8g2 L1wr7WSysIJ/+ERq+XsiT5eCr8utA+Tsu6ji68H1VYhAKLAQDPJytRoV1io8UwZMfc2W YGJg== X-Gm-Message-State: ALyK8tJ9wYyFH77Cmt2IjQ5JlWeyonARyiDz3JOpeRekYjRx8VSr9dFUeO2Qdc6P3+SgtQ== X-Received: by 10.55.26.219 with SMTP id l88mr29580286qkh.14.1464716129412; Tue, 31 May 2016 10:35:29 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id 127sm11174361qhg.49.2016.05.31.10.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 May 2016 10:35:28 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> <86shx3w8wi.fsf@gmail.com> <838tyuzkhp.fsf@gnu.org> Date: Tue, 31 May 2016 13:35:27 -0400 In-Reply-To: <838tyuzkhp.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 May 2016 10:53:38 +0300") Message-ID: <86shwyqgf4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Thanks. We should try making the message text shorter, so it fits on > a single line. > >> We could also perhaps make it such that if the timeout variable were >> negative then instead of permanently stopping eldoc it would only >> return, like you had suggested. A boolean defcustom could also be >> used for that if we want. > > I don't see any significant advantage either way. > >> Also 'python-eldoc--get-doc' could be renamed to not be private if we >> expect somebody to want to change it > > Yes, that variable should not be private if users are expected to set > it. Alternatively, we could add a simple command to set the variable > non-nil, which might also help making the message text shorter. I've improved the documentation, added the boolean to make the timeout permanent and shortened the messages index 5aeefe4..d555e21 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4293,12 +4293,45 @@ python-eldoc--get-doc-at-point (unless (zerop (length docstring)) docstring))))) +(defvar-local python-eldoc-get-doc t + "Non-nil means eldoc should fetch the documentation + automatically. Set to nil by `python-eldoc-function' if + `python-eldoc-function-timeout-permanent' is non-nil and + `python-eldoc-function' times out.") + +(defcustom python-eldoc-function-timeout 1 + "Timeout for `python-eldoc-function' in seconds." + :group 'python + :type 'integer) + +(defcustom python-eldoc-function-timeout-permanent t + "Non-nil means that when `python-eldoc-function' times out +`python-eldoc-get-doc' will be set to nil" + :group 'python + :type 'boolean) + (defun python-eldoc-function () "`eldoc-documentation-function' for Python. For this to work as best as possible you should call `python-shell-send-buffer' from time to time so context in -inferior Python process is updated properly." - (python-eldoc--get-doc-at-point)) +inferior Python process is updated properly. + +If `python-eldoc-function-timeout' seconds elapse before this +function returns then if +`python-eldoc-function-timeout-permanent' is non-nil +`python-eldoc-get-doc' will be set to nil and eldoc will no +longer return the documentation at the point automatically. + +Set `python-eldoc-get-doc' to t to reenable eldoc documentation +fetching" + (when python-eldoc-get-doc + (with-timeout (python-eldoc-function-timeout + (if python-eldoc-function-timeout-permanent + (progn + (message "Eldoc echo-area display muted in current buffer, see `python-eldoc-function'") + (setq python-eldoc-get-doc nil)) + (message "`python-eldoc-function' timed out, see `python-eldoc-function-timeout'"))) + (python-eldoc--get-doc-at-point)))) (defun python-eldoc-at-point (symbol) "Get help on SYMBOL using `help'. From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2016 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 23609@debbugs.gnu.org Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146522213927683 (code B ref 23609); Mon, 06 Jun 2016 14:09:01 +0000 Received: (at 23609) by debbugs.gnu.org; 6 Jun 2016 14:08:59 +0000 Received: from localhost ([127.0.0.1]:56866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9vD9-0007CR-L0 for submit@debbugs.gnu.org; Mon, 06 Jun 2016 10:08:59 -0400 Received: from mail-qk0-f177.google.com ([209.85.220.177]:35958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9vD8-0007CF-KA for 23609@debbugs.gnu.org; Mon, 06 Jun 2016 10:08:58 -0400 Received: by mail-qk0-f177.google.com with SMTP id i187so78941940qkd.3 for <23609@debbugs.gnu.org>; Mon, 06 Jun 2016 07:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yRORA+gZ65sznmxO9i6Y76ZXNK517b8wdhzeqa7lQE4=; b=TJes35r1HhThrvC4Jm4HieJmcN5DRyu9kZ/idXXjN7EHkY+/TuNMNILHtTv0Pzje6/ FGg9RQGKNEfnRhV+Fu83C8ElN0PGh4Npqx9PDOr/NUkLrMiqb+BR81FLzz4ala6aL2IE wnOFIfDLjYD74F1736uN1R/9Fu6JxtlYSiUoWKsGzKnHKQ/+CgDPGekzSNZer0/1Q5u8 X6JlEDaYP+qY0WoGNGS4fpvXdPFio4rB/H6DpP5drRrLmyIhKQBJg2cFFp1NCWDdDjN7 UxmnEsL7QUGrhO46oYQ9amUIHBEfI2q83cSq2RWePWyESZksQ+IkPqFSMdFcTrSGm/2D RbAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yRORA+gZ65sznmxO9i6Y76ZXNK517b8wdhzeqa7lQE4=; b=X9x0yGmRiZM5Nsw6oRN1sAx50dG7K1SlLpfQY7WgfAJ1D2pyBvq5H3zQ8dgIkF2GWO XFPVmk4pHrkWe+E39yjxnKoCF5Z2HDI5ZjlAYGD1mXvcAmyLkjDS2v9Z2If5zAWcsnXv X9Xl9aTZCIPVCKG+PZI+idst9NDizQtxJmj23K//xQud+Y9StyoXl4mpMWeqvvSN+Kn1 mh3HGm68ZxLxGSG1MCCLuu/cAEQFXwFLC//eYJdGjni1Neg6SMovREjeStYLpUUv+Zde xRg+vEbwtrTRBJY1fne4SOzk7SxUyt68ioNcW5PjbilBtHg+75muISLrwft+FCt04Fg7 Yd9g== X-Gm-Message-State: ALyK8tKMzBCa37pB07SBWcoGdEWq9VgbQ8Cv2cXZY6YNW3mynnW4PRoLqujUXbsyMKIfcg== X-Received: by 10.55.144.68 with SMTP id s65mr15797414qkd.209.1465222133075; Mon, 06 Jun 2016 07:08:53 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id t17sm5716782qtc.6.2016.06.06.07.08.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jun 2016 07:08:52 -0700 (PDT) From: Jules Tamagnan References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> <86shx3w8wi.fsf@gmail.com> <838tyuzkhp.fsf@gnu.org> <86shwyqgf4.fsf@gmail.com> Date: Mon, 06 Jun 2016 10:08:51 -0400 In-Reply-To: <86shwyqgf4.fsf@gmail.com> (Jules Tamagnan's message of "Tue, 31 May 2016 13:35:27 -0400") Message-ID: <86a8iyjtos.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I'd like to bump this thread to try to finish fix this issue once and for all. Especially since there is already a patch From unknown Sun Jun 22 17:15:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23609: 25.0.92; Python eldoc freeze Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2016 15:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jules Tamagnan Cc: 23609@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.14652261081291 (code B ref 23609); Mon, 06 Jun 2016 15:16:01 +0000 Received: (at 23609) by debbugs.gnu.org; 6 Jun 2016 15:15:08 +0000 Received: from localhost ([127.0.0.1]:56912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9wFA-0000Kl-72 for submit@debbugs.gnu.org; Mon, 06 Jun 2016 11:15:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9wF8-0000Jz-D5 for 23609@debbugs.gnu.org; Mon, 06 Jun 2016 11:15:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9wF0-0006bl-He for 23609@debbugs.gnu.org; Mon, 06 Jun 2016 11:15:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9wF0-0006bf-FG; Mon, 06 Jun 2016 11:14:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4053 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b9wEz-0006V4-O8; Mon, 06 Jun 2016 11:14:58 -0400 Date: Mon, 06 Jun 2016 18:15:32 +0300 Message-Id: <83bn3etkkr.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86a8iyjtos.fsf@gmail.com> (message from Jules Tamagnan on Mon, 06 Jun 2016 10:08:51 -0400) References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> <86shx3w8wi.fsf@gmail.com> <838tyuzkhp.fsf@gnu.org> <86shwyqgf4.fsf@gmail.com> <86a8iyjtos.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org > Date: Mon, 06 Jun 2016 10:08:51 -0400 > > I'd like to bump this thread to try to finish fix this issue once and > for all. Especially since there is already a patch It's near the top of my todo, so I haven't forgotten. But if someone else can push it, no need to wait for me. Thanks. From unknown Sun Jun 22 17:15:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jules Tamagnan Subject: bug#23609: closed (Re: bug#23609: 25.0.92; Python eldoc freeze) Message-ID: References: <83mvmtpfxh.fsf@gnu.org> <867fejo4g2.fsf@gmail.com> X-Gnu-PR-Message: they-closed 23609 X-Gnu-PR-Package: emacs Reply-To: 23609@debbugs.gnu.org Date: Fri, 10 Jun 2016 09:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1465549862-23433-1" This is a multi-part message in MIME format... ------------=_1465549862-23433-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23609: 25.0.92; Python eldoc freeze which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23609@debbugs.gnu.org. --=20 23609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23609 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1465549862-23433-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23609-done) by debbugs.gnu.org; 10 Jun 2016 09:10:21 +0000 Received: from localhost ([127.0.0.1]:35128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBISL-000652-1b for submit@debbugs.gnu.org; Fri, 10 Jun 2016 05:10:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBISK-00064r-0L for 23609-done@debbugs.gnu.org; Fri, 10 Jun 2016 05:10:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBIS9-0003iU-Tt for 23609-done@debbugs.gnu.org; Fri, 10 Jun 2016 05:10:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBIS9-0003hw-Q7; Fri, 10 Jun 2016 05:10:09 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4371 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bBIS7-00010k-1U; Fri, 10 Jun 2016 05:10:07 -0400 Date: Fri, 10 Jun 2016 12:10:50 +0300 Message-Id: <83mvmtpfxh.fsf@gnu.org> From: Eli Zaretskii To: Jules Tamagnan In-reply-to: <86a8iyjtos.fsf@gmail.com> (message from Jules Tamagnan on Mon, 06 Jun 2016 10:08:51 -0400) Subject: Re: bug#23609: 25.0.92; Python eldoc freeze References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> <86a8jbxqjd.fsf@gmail.com> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> <83d1o7z3gm.fsf@gnu.org> <86shx3w8wi.fsf@gmail.com> <838tyuzkhp.fsf@gnu.org> <86shwyqgf4.fsf@gmail.com> <86a8iyjtos.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23609-done Cc: 23609-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org > Date: Mon, 06 Jun 2016 10:08:51 -0400 > > I'd like to bump this thread to try to finish fix this issue once and > for all. Especially since there is already a patch I've committed your patch to the release branch. Sorry for the long delay, and thank you for your efforts and patience. ------------=_1465549862-23433-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 May 2016 15:35:26 +0000 Received: from localhost ([127.0.0.1]:36565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5EMg-0005ZG-Ey for submit@debbugs.gnu.org; Tue, 24 May 2016 11:35:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5ELs-0005XU-GY for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ELm-000760-4P for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELm-00075s-20 for submit@debbugs.gnu.org; Tue, 24 May 2016 11:34:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELj-0000UK-Cu for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ELg-00074i-5I for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:27 -0400 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:36461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ELf-000743-WF for bug-gnu-emacs@gnu.org; Tue, 24 May 2016 11:34:24 -0400 Received: by mail-qk0-x236.google.com with SMTP id x7so13883586qkd.3 for ; Tue, 24 May 2016 08:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=ccBKEbkukMhfqxdceD9T7UuzJLoBf1tJyfLbVCDnLmA=; b=jPsKL1ZKLxW3JFe4isErqmi7Aq/vCJarIvlZHucfiT4453fQfRFpOO2iJO+OaQws2U VK4sIKAnw3TTPqJ0W7X8V/gOGSxb+71r2FAq98U3NdfoytmeFDsS9TwhdpOukOLqezVJ V+lrk1z1HNbzygghc9WgQ8BvYt1Ax1Vppc8UvAc518AWB5OiKT74D7PTCja1XOyp8DuS E5M2F9xlyjdzfASHVxH1hp11mqwa74uQ76dWqQb0iDDAFUQsoS6wZcAp2Md2KXP3E21k GJw+CQlZHoorllhtsI/Mvl8OSJuKIKXpg6XspuMHwpwBgovPVTYsgRvQPeADT12+Cce2 XOCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=ccBKEbkukMhfqxdceD9T7UuzJLoBf1tJyfLbVCDnLmA=; b=WV8qUD4ZtpetjbmbdRXFg74kMKNLoxlEYwMZad7cWXN6P6mf9sNZbGLsr3v/yDhAKh r1yi55fR8qSOo9hJToIzBSsPGhQNK3qnujguzdU/FgHJ7uNhWtw3hI+10DYju2QpayUn PmpVq1EgwdWMYjYiGm0SBJ+UDsJdbErpT6c8B6Fug07PU9i1fxNOT9rER898AsLxIZpV d2gSi8EXshiOHdY/09yRZUZvsUmK4Nu2L/MhHrNBj6/abilEDJ8bu6gfswtXsIzf3D6E Sgb5vPZI4COrCtfr6vJsmpZUsQHSBODcpfMgxcdm5F62V+nVL6Rf2Qs72NzslSfsPrdB Bllg== X-Gm-Message-State: ALyK8tJ9e/wy57ZvJcj1xcnbKxDCiua8DOgfNs1GAMO8snVz7ZYbXq/rawCZrpYgPvSFzQ== X-Received: by 10.55.192.209 with SMTP id v78mr4043544qkv.122.1464104063197; Tue, 24 May 2016 08:34:23 -0700 (PDT) Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id u78sm970033qku.31.2016.05.24.08.34.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 May 2016 08:34:22 -0700 (PDT) From: Jules Tamagnan To: bug-gnu-emacs@gnu.org Subject: 25.0.92; Python eldoc freeze Date: Tue, 24 May 2016 11:34:21 -0400 Message-ID: <867fejo4g2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 24 May 2016 11:35:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is an issue in relation to python and the interpetter shell. If the python shell is running something and it is not done then when the user goes back the the document that was being editted emacs will freeze. If the user hits C-g then a keyboard interupt is sent to the interpeter and the action that was being run is canceled. If the user has the misfortune of using the mouse to click into another window then emacs will not be able to be recovered (haven't tested that last part entirely but the easiest way is to get back to working is to 'sudo killall emacs') The issue seems to be with eldoc mode. If eldoc mode (or global-eldoc-mode) is on then python.el tries to send something to the interepter to get the definition of the symbol at the point and then since something is running in the interpetter emacs will hang while waiting for the interpetter to repond. This issue is most obvious in emacs 25 because global-eldoc-mode is on by default. This causes loss of data. This bug is easily reproducable from emacs -Q. - run emacs -Q - Open a file /tmp/test.py (or any other python file) - C-c C-p to start the interpetter (it does not matter if the interpetter is dedicated or not) - in the interpetter write an expression that will not terminate e.g. while True: 2+2 e.g. (anything that plots in matplotlib) - go back to /tmp/test.py and type anything. - you will now be frozen - type C-g to send a keyboard interupt to the interpetter repeating these steps without global-eldoc-mode does not cause any issues The most obvious fix that I have found and use is to set global-eldoc-mode to -1 on init. In GNU Emacs 25.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-07 built on bandersnatch Repository revision: 6287381da495ac5cc2a2a4acb7f49825677a44c8 System Description: Debian GNU/Linux testing (stretch) Configured using: 'configure --with-x-toolkit=gtk3 --with-xwidgets CC=gcc' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Python Minor modes in effect: shell-dirtrack-mode: t gpm-mouse-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: Shell native completion is disabled, using fallback p is undefined y is undefined t is undefined Type "q" in help window to restore its previous buffer, C-M-v to scroll help. user-error: No cross-reference here Quit eldoc error: (wrong-type-argument arrayp nil) Quit Making completion list... [4 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils thingatpt warnings compile tramp-cache python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode easymenu comint ring cl-loaddefs pcase cl-lib ansi-color t-mouse time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: conses 16 237883 7352) (symbols 48 23012 0) (miscs 40 116 165) (strings 32 25679 7181) (string-bytes 1 1156766) (vectors 16 35555) (vector-slots 8 664891 2342) (floats 8 238 254) (intervals 56 1567 1139) (buffers 976 19) (heap 1024 23963 1702)) ------------=_1465549862-23433-1--