From unknown Tue Jun 17 22:08:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21646: 25.0.50; python-nav-end-of-statement sometimes gets stuck Resent-From: immerrr again Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21646@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144430580615402 (code B ref -1); Thu, 08 Oct 2015 12:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2015 12:03:26 +0000 Received: from localhost ([127.0.0.1]:59801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zk9uu-00040L-Se for submit@debbugs.gnu.org; Thu, 08 Oct 2015 08:03:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41530) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zk9us-00040D-HE for submit@debbugs.gnu.org; Thu, 08 Oct 2015 08:03:23 -0400 Received: from lists.gnu.org ([208.118.235.17]:54514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk9us-0001Br-9h for submit@debbugs.gnu.org; Thu, 08 Oct 2015 08:03:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk9um-0003n3-VN for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 08:03: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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk9ul-0001At-6v for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 08:03:16 -0400 Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:35964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk9ul-0001Ah-26 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 08:03:15 -0400 Received: by ykba192 with SMTP id a192so42150844ykb.3 for ; Thu, 08 Oct 2015 05:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=adWSLmkanq53xybXb35U2+KUIUwFibMfV0jyydeQuqU=; b=ujEu5GKLHw3hHVJ9zk2dDht5P8ByNTPfYFsh/wuhzsja4yr+wgb1BTwpeZU/cKVlfq UCUHbRfalgVpUC7Pi6Rdz2NNPUSApL9okePIuduSGzo0eN65TTWITrH5N0Jhib/Tcv6S 4TOOVw7f7V0y9iD0AbY5SSosLrowVkYBBEmoD9shdXjMk4y7t8dRCAn85hcdJwOJqQ+9 dhpGpq7m85sPnoefrnUBaJKw6pBu7eymKWQhWI0qx+l6a2C9x19/vIb1WJx4Ukx6kB1I mJZ+t4iK6LUNbcRPAfbOjKFhoLYqCxcD8fQMPzsh7VNJl4JOg6gn6/Ne02SJoJX8cDlX telA== MIME-Version: 1.0 X-Received: by 10.129.50.16 with SMTP id y16mr4709920ywy.3.1444305794208; Thu, 08 Oct 2015 05:03:14 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Thu, 8 Oct 2015 05:03:14 -0700 (PDT) Date: Thu, 8 Oct 2015 15:03:14 +0300 Message-ID: From: immerrr again Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (----) I have recently re-populated configuring my .emacs.d removing all the cruft that had accumulated over several years and after that reset I started encountering weird issues with python-mode. Sometimes (quite rare, couple times a day, when I try to open a file the window freezes and stops responding even to ESC ESC ESC). When I gdb into the process, I see the code looping indefinitely in python-nav-end-of-statement hopping around a triple-quote string on a statement that looked like this (with "|" being point): my_var = ""|" .. some .. string .. here """ my_other_var = """ .. some .. string .. here """ Here's the full backtrace: "python-nav-end-of-statement" (0x906566b8) "python-info-end-of-statement-p" (0x90656830) "python-info-end-of-block-p" (0x906569c8) "python-nav--forward-sexp" (0x90656b88) "python-nav-forward-sexp" (0x90656d48) "python-nav-backward-sexp" (0x90656f00) "python-info-docstring-p" (0x90657088) "python-font-lock-syntactic-face-function" (0x90657200) "font-lock-fontify-syntactically-region" (0x90657400) "font-lock-default-fontify-region" (0x906575f0) "font-lock-fontify-region" (0x906577e8) 0x3bb9920 PVEC_COMPILED "run-hook-wrapped" (0x90657af0) "jit-lock--run-functions" (0x90657cf0) "jit-lock-fontify-now" (0x90657f08) "jit-lock-function" (0x90658108) "window-end" (0x90659718) "linum-update-window" (0x90659918) "mapc" (0x90659a60) "linum-update" (0x90659c60) 0x3012080 PVEC_COMPILED "walk-windows" (0x9065a030) "linum-after-config" (0x9065a220) "set-window-buffer" (0x9065a3e0) "switch-to-buffer" (0x9065a5e8) "find-file" (0x9065a770) "find-file-at-point" (0x9065a9a8) "helm-find-file-or-marked" (0x9065ab50) "helm-execute-selection-action-1" (0x9065ace0) "helm-execute-selection-action" (0x9065aec0) "helm-internal" (0x9065b068) "apply" (0x9065b210) "helm" (0x9065b3b8) "apply" (0x9065b560) "helm" (0x9065b730) "helm-find-files-1" (0x9065b948) "helm-find-files" (0x9065bbc0) "funcall-interactively" (0x9065bbb8) "call-interactively" (0x9065be10) "command-execute" (0x9065bfa8) In python-nav-end-of-statement it seems to be stuck in (python-syntax-context 'string) branch, as sometimes I would see re-search-forward in the backtrace, too. Unfortunately, this issue does not manifest itself reliably and I don't have much time to spare debugging this issue further. Any ideas on what to do next? In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2015-10-06 Repository revision: 3248a9b6b2dff2e3c8fa41afc159efa3d594aff0 Windowing system distributor 'The X.Org Foundation', version 11.0.11103000 System Description: Ubuntu 12.04.5 LTS Configured using: 'configure --prefix=/home/immerrr/.local' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Python Minor modes in effect: diff-auto-refine-mode: t jedi-mode: t guide-key-mode: t whitespace-mode: t flycheck-mode: t global-company-mode: t company-mode: t pyvenv-mode: t auto-compile-on-save-mode: t recentf-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t projectile-global-mode: t projectile-mode: t yas-global-mode: t yas-minor-mode: t save-place-mode: t show-paren-mode: t override-global-mode: t global-linum-mode: t linum-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Checker definition probably flawed. Mark set [2 times] Buffer apiexamples.py modified; kill anyway? (y or n) y is undefined Mark set Mark saved where search started [2 times] Ag finished user-error: No window up from selected window Mark saved where search started Load-path shadows: /home/immerrr/.emacs.d/elpa/helm-20150921.1209/helm-multi-match hides /home/immerrr/.emacs.d/elpa/helm-core-20150921.1209/helm-multi-match Features: (shadow sort mail-extr align tabify two-column iso-transl face-remap emacsbug message rfc822 mml mml-sec mailabbrev gmm-utils mailheader sendmail descr-text cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ag vc-svn find-dired pulse gud vc vc-dispatcher vc-git diff-mode ido seq misearch multi-isearch company-elisp jka-compr eieio-opt speedbar sb-image ezimage dframe network-stream nsm starttls warnings company-jedi jedi-core epc ctable concurrent guide-key s ucs-normalize popwin disp-table whitespace flycheck find-func subr-x python image-file winner traad request-deferred request url-http tls url-auth url-gw mail-utils popup python-environment deferred company-files company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company pyvenv paredit auto-compile packed tramp-cache tramp-sh recentf tree-widget wid-edit helm-projectile helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util password-cache url-vars mailcap helm-buffers helm-grep helm-regexp helm-plugin helm-elscreen helm-utils helm-locate helm-help helm-types helm-config helm-easymenu async-bytecomp async helm-aliases helm helm-source eieio-compat eieio eieio-core cl-macs helm-multi-match helm-lib dired projectile grep compile comint ansi-color ibuf-ext ibuffer thingatpt yasnippet cl gv saveplace hydra ring lv paren solarized-dark-theme solarized-theme solarized dash byte-opt edmacro kmacro mmr-bootstrap quelpa-use-package cl-seq quelpa package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt use-package bytecomp byte-compile cl-extra help-mode cconv bind-key easy-mmode cl-loaddefs pcase cl-lib diminish linum-ex bar-cursor advice mmr-minimal mmr-ediff windmove finder-inf info package easymenu epg-config 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 move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 527033 59339) (symbols 48 55696 0) (miscs 40 2434 1240) (strings 32 108846 8675) (string-bytes 1 3332812) (vectors 16 74239) (vector-slots 8 1837822 121059) (floats 8 963 1171) (intervals 56 10860 382) (buffers 976 36) (heap 1024 59761 5376)) From unknown Tue Jun 17 22:08:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21646: 25.0.50; python-nav-end-of-statement sometimes gets stuck Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: immerrr again Cc: 21646@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 21646-submit@debbugs.gnu.org id=B21646.144431494830119 (code B ref 21646); Thu, 08 Oct 2015 14:36:02 +0000 Received: (at 21646) by debbugs.gnu.org; 8 Oct 2015 14:35:48 +0000 Received: from localhost ([127.0.0.1]:60968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkCIO-0007pj-EG for submit@debbugs.gnu.org; Thu, 08 Oct 2015 10:35:48 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:55545) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkCIM-0007pa-7w for 21646@debbugs.gnu.org; Thu, 08 Oct 2015 10:35:47 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NVW00L00OC4JK00@a-mtaout20.012.net.il> for 21646@debbugs.gnu.org; Thu, 08 Oct 2015 17:35:14 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVW00LS7OIQ7LA0@a-mtaout20.012.net.il>; Thu, 08 Oct 2015 17:35:14 +0300 (IDT) Date: Thu, 08 Oct 2015 17:35:16 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <831td5e8d7.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 1.0 (+) > Date: Thu, 8 Oct 2015 15:03:14 +0300 > From: immerrr again > > I have recently re-populated configuring my .emacs.d removing all the > cruft that had accumulated over several years and after that reset I > started encountering weird issues with python-mode. Sometimes (quite > rare, couple times a day, when I try to open a file the window freezes > and stops responding even to ESC ESC ESC). > > When I gdb into the process, I see the code looping indefinitely in > python-nav-end-of-statement hopping around a triple-quote string on a > statement that looked like this (with "|" being point): I think this is the same bug as 21629. From unknown Tue Jun 17 22:08:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21646: 25.0.50; python-nav-end-of-statement sometimes gets stuck Resent-From: immerrr again Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21646@debbugs.gnu.org Received: via spool by 21646-submit@debbugs.gnu.org id=B21646.144431526730591 (code B ref 21646); Thu, 08 Oct 2015 14:42:02 +0000 Received: (at 21646) by debbugs.gnu.org; 8 Oct 2015 14:41:07 +0000 Received: from localhost ([127.0.0.1]:60972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkCNX-0007xL-46 for submit@debbugs.gnu.org; Thu, 08 Oct 2015 10:41:07 -0400 Received: from mail-yk0-f182.google.com ([209.85.160.182]:33892) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkCNU-0007xC-Ea for 21646@debbugs.gnu.org; Thu, 08 Oct 2015 10:41:04 -0400 Received: by ykdg206 with SMTP id g206so50454583ykd.1 for <21646@debbugs.gnu.org>; Thu, 08 Oct 2015 07:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=otS0wH9w45mKigmi+iaBzpBbi7dtcVq7woW0jJ/ViVE=; b=J5DytEmf4QkrFiFHnWxNH2c4chmsyVu8dCk5qA7sD727kbnSD4YaPyWYb3TO/0YzEd 1RVM4h+D1Vwnv+fQYkFQ0noAsQG1VK7/lW9jbp4qByp5PmlH8m5t3Le2gubLHbI08cOw LTZ08/rsOGB5D6FYgXJVnV9hIH7BkNardXCvPZmTjtYObZAYksdgHzLyorler6Y8JUY7 RxpO1Eo/Gf9uN8hQmkKoujfNMs8D3ZWL6vi3q4/5cOB9GcOEDkA8ckkSypwItXk1IKAG oOd4QpgN8uygorN/DjBhzE6zdZw7pcm9O7FigN8kbrYV/ru934InWS3tPnf2wmDL/Ljv Mt/w== MIME-Version: 1.0 X-Received: by 10.129.79.129 with SMTP id d123mr5414134ywb.159.1444315263753; Thu, 08 Oct 2015 07:41:03 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Thu, 8 Oct 2015 07:41:03 -0700 (PDT) In-Reply-To: <831td5e8d7.fsf@gnu.org> References: <831td5e8d7.fsf@gnu.org> Date: Thu, 8 Oct 2015 17:41:03 +0300 Message-ID: From: immerrr again Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) Looks so indeed. On Thu, Oct 8, 2015 at 5:35 PM, Eli Zaretskii wrote: >> Date: Thu, 8 Oct 2015 15:03:14 +0300 >> From: immerrr again >> >> I have recently re-populated configuring my .emacs.d removing all the >> cruft that had accumulated over several years and after that reset I >> started encountering weird issues with python-mode. Sometimes (quite >> rare, couple times a day, when I try to open a file the window freezes >> and stops responding even to ESC ESC ESC). >> >> When I gdb into the process, I see the code looping indefinitely in >> python-nav-end-of-statement hopping around a triple-quote string on a >> statement that looked like this (with "|" being point): > > I think this is the same bug as 21629. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 08 12:31:11 2015 Received: (at control) by debbugs.gnu.org; 8 Oct 2015 16:31:11 +0000 Received: from localhost ([127.0.0.1]:32857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkE62-0002Dn-Oe for submit@debbugs.gnu.org; Thu, 08 Oct 2015 12:31:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35660) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkE60-0002DZ-7Q for control@debbugs.gnu.org; Thu, 08 Oct 2015 12:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkE4t-0006sr-D0 for control@debbugs.gnu.org; Thu, 08 Oct 2015 12:31:07 -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_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkE4s-0006r0-RQ for control@debbugs.gnu.org; Thu, 08 Oct 2015 12:29:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZkE4s-0005ID-CP for control@debbugs.gnu.org; Thu, 08 Oct 2015 12:29:58 -0400 Subject: control message for bug 21629 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 08 Oct 2015 12:29:58 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (-----) merge 21646 21629 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 18:27:36 2015 Received: (at control) by debbugs.gnu.org; 9 Oct 2015 22:27:36 +0000 Received: from localhost ([127.0.0.1]:34670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg8V-0000Fn-SB for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39313) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg8T-0000Fe-J2 for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkg8S-0001hs-Jf for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:33 -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_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkg8S-0001hn-HS for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Zkg8S-0002Z7-96 for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:32 -0400 Subject: control message for bug 21657 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 09 Oct 2015 18:27:32 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (-----) merge 21628 21629 21657 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 16:38:10 2015 Received: (at control) by debbugs.gnu.org; 12 Oct 2015 20:38:11 +0000 Received: from localhost ([127.0.0.1]:37547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZljrG-0004he-K3 for submit@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55140) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZljrE-0004hW-54 for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZljrD-0004uj-2t for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:07 -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_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZljrC-0004uf-Vw for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:07 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZljrC-0005MH-Q3 for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:06 -0400 Subject: control message for bug 21671 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 12 Oct 2015 16:38:06 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (-----) merge 21657 21671 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 04:06:46 2016 Received: (at control) by debbugs.gnu.org; 23 Feb 2016 09:06:46 +0000 Received: from localhost ([127.0.0.1]:39003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vd-0001uB-RW for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:06:45 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41608) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vc-0001u2-2r for control@debbugs.gnu.org; Tue, 23 Feb 2016 04:06:44 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY8vB-0008QC-97 for control@debbugs.gnu.org; Tue, 23 Feb 2016 10:06:17 +0100 Date: Tue, 23 Feb 2016 20:06:13 +1100 Message-Id: <87ziurx0ca.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21628 X-MailScanner-ID: 1aY8vB-0008QC-97 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456823178.14717@x4LOAGNv7yhn2h1kUyFbUg X-Spam-Status: No X-Spam-Score: 0.0 (/) 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: 0.0 (/) tags 21628 fixed close 21628 25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 20:05:18 2017 Received: (at control) by debbugs.gnu.org; 1 Mar 2017 01:05:18 +0000 Received: from localhost ([127.0.0.1]:60734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cishe-0007V5-Qv for submit@debbugs.gnu.org; Tue, 28 Feb 2017 20:05:18 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:36022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cishY-0007Uk-Eu; Tue, 28 Feb 2017 20:05:12 -0500 Received: by mail-io0-f194.google.com with SMTP id w10so3234293iod.3; Tue, 28 Feb 2017 17:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VkteYwO3fpMskzsuu0/vXxA6DM33UT4W0qNf+WBL0y4=; b=gIAMKH1/2T1QzY6PDTMfT13RZOVrB639Bjg+lDqecJUk8FzIkRwUpcoImlXN5DNVjX SBq36Xhge7xvzXj+EiHNT+nLUQ900dFTO6oA1XccO9McKxzt5qrt/Waik6Zevj5Dst8D YSjsfoel0gshuD9lbAom+aaUg018EdV8vL6DivECNvrHP7HzWCJJ4+t4uGpGr8r+ONCS pAK4mEu9Svg+JYYrO8uWpXhRc9/Kyl3HHDhdDaoZFPCs9xg/S/erhRki0UYc2lCyaKpQ ATHQgY6uILtHPxkr28Fo6pg2EeLrNvtY2AcB+akrpxVhtekn4X6S5jrNKUNRuadHAE8G T2jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=VkteYwO3fpMskzsuu0/vXxA6DM33UT4W0qNf+WBL0y4=; b=ecRx8ZmcdJviQwIG+xK5lN5jQcHf+uArpJav2NiGeFab6yGMe5evgOy97fRoXRM5Ld lEKjkH+VNgoLcyQV1Tf4wiE1rZVh2VsVoIubYMb70gm7DPWooODPn8YWeWfplrX76Lzx hBF7jFKEHZmMnp4GSKNDEQwJj1G++Jd+X1DA0H0Okl812zUpkdGUpPLcrLNlwmAFO2iY JzuatJMOPZPXtVqByakCqxH576/F3wBbIakHeh6jhvB3vEccl1meIUDd/rozf/zlaM6j 3vrN6spLpKJBBGIDJS7XW3EyYXZBSDZ3Vl+Wdm2ycDSTOeXOIZk/Xa/eect7XZuxPIjL DoiQ== X-Gm-Message-State: AMke39khLGmO1SMOp+OkLAb0HrUlL4AakGMeEgckaH7+70X+c3sFfgscR6nJKnV+eeceag== X-Received: by 10.107.145.214 with SMTP id t205mr6450311iod.64.1488330302967; Tue, 28 Feb 2017 17:05:02 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 62sm7363841itl.1.2017.02.28.17.05.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2017 17:05:02 -0800 (PST) From: npostavs@users.sourceforge.net To: Lars Ingebrigtsen Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> <87a8mrvjrs.fsf@gnus.org> <87oab7u4i5.fsf@gnus.org> Date: Tue, 28 Feb 2017 20:06:15 -0500 In-Reply-To: <87oab7u4i5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 23 Feb 2016 21:04:34 +1100") Message-ID: <87lgspdcvs.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control Cc: 21671@debbugs.gnu.org, immerrr again 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 (/) unarchive 24905 forcemerge 24905 21671 quit Lars Ingebrigtsen writes: > immerrr again writes: > >> @@ -1712,7 +1712,11 @@ expressions when looking at them in either direction." >> (python-nav-beginning-of-block)) >> ((memq context '(statement-start block-start)) >> (goto-char next-sexp-pos) >> - (python-nav-beginning-of-statement)) >> + (unless (bobp) >> + ;; If backward-sexp brought the point to >> + ;; beginning-of-buffer, beginning-of-statement >> + ;; will only bring it back. >> + (python-nav-beginning-of-statement))) >> (t (goto-char next-sexp-pos)))))))))) > > I'm not a Python mode user, so I can't really review this patch. I've > reopened the bug -- could somebody else have a peek at this? AFAICT, the problem is solved in #24905, so there is no need for this patch. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 09 18:13:33 2017 Received: (at control) by debbugs.gnu.org; 9 Mar 2017 23:13:34 +0000 Received: from localhost ([127.0.0.1]:48182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm7FV-0004II-NE for submit@debbugs.gnu.org; Thu, 09 Mar 2017 18:13:33 -0500 Received: from mail-io0-f173.google.com ([209.85.223.173]:34684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm7FT-0004I3-Tf; Thu, 09 Mar 2017 18:13:32 -0500 Received: by mail-io0-f173.google.com with SMTP id g6so38543222ioj.1; Thu, 09 Mar 2017 15:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=byptwOOMYwvsN3ZAat5F6elOZdzNsVK/WngHVbO1NZA=; b=cBmvMr4AlecIrLgM/0cmNimbEzbwZV+vOt7A/hIyev6iTnXt4dCFPiDfmq8xnP/86K 3bDK3DlLVXvWwRcEEj7j9aFBryMpAwBCyDa9n6nOM+FSsrczsi6f1eYQLOtHP4oB+c3R tkdNNspc14ncr9985Sz8Jd5o9Te6n6h3J01RO0mPccTd1UJGSLDHIlYDoHGhNuwFA7MX YHDCxwxiea5eVl0sdY6vMEgkftFD5mTb4/Xzumxw1RKMbSRqYrgH08QMcBRsCmmK+hSF gKznmAmX0h8Mg8Qai4fNdPbi4raQ5wLlR/IBNKz2AWBcxJc4UwBbRTisPsKiOhkjRrfU JDxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=byptwOOMYwvsN3ZAat5F6elOZdzNsVK/WngHVbO1NZA=; b=s2Eg+N+Hr19wt9vOLdPPc1cDNJwh8ZKVR2BxZDY6OyIt7/ShZSoSsT7NS0yxAO5XVF H9j+/U2KeFunZKy6ANLmZm0bu4F011wesGcPQlQoPZsaj7uKtCdEsjB1kmUuz1A5yLMQ 3o/hTMQHRPXLIohQ6MpRDsXJ4vcLGYpLebi0rlJkI3s4BqTglsC5Zm69NmfHqWmraxH4 sM1Tsz431aaOvsnRqSSi3MeIM2PgSRyqxB5wA9Gn/jxiCVTcmhsu1d/iHgpfu6NRppa/ km8pFMVMZdUvCPK/vGn6dCuyiCI+DP2KFRK+tHEy02wCxfh/9O8nQNc3lI1gBLjv3Bji eu+g== X-Gm-Message-State: AMke39moO6IpySuQP4UDfLz4WC+hkiDkVgDjO88rvISDoKKJoajNLzx5eax3CPpF8Uaapg== X-Received: by 10.107.25.73 with SMTP id 70mr13132247ioz.231.1489101206205; Thu, 09 Mar 2017 15:13:26 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id r10sm3586090iod.33.2017.03.09.15.13.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2017 15:13:25 -0800 (PST) From: npostavs@users.sourceforge.net To: Mark Diekhans Subject: Re: bug#26041: 25.1; python mode locks up emacs References: <22721.49620.623653.568365@eduroam-169-233-192-142.ucsc.edu> Date: Thu, 09 Mar 2017 18:14:43 -0500 In-Reply-To: <22721.49620.623653.568365@eduroam-169-233-192-142.ucsc.edu> (Mark Diekhans's message of "Thu, 9 Mar 2017 12:57:56 -0800") Message-ID: <87vari82l8.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: control Cc: 26041@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) merge 24905 26041 quit Mark Diekhans writes: > > emacs -Q locksup_python_mode.__init__.py > > In a curses window causes emacs to lock up at near 100% CPU > utilization. ^G does interrupt in some manner, however emacs > mini-buffer doesn't take commands and it continues to consume > CPU. Unable to get lisp stack trace. kill -9 is the only way out Glenn Morris writes: > > Thanks for the report. By experiment, this is already fixed for the next > release, 25.2. Pretty sure this #24905. Fixed in [1]. By the way, kill -SIGUSR2 should also interrupt. [1]: 2016-11-08 15:28:49 -0800 3ef4ee84fa3f658c2df802569dc89023d98e9947 Avoid infloop in python http://git.savannah.gnu.org/cgit/emacs.git/patch/?id=3ef4ee84fa3f658c2df802569dc89023d98e9947