From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: raynewang(=?UTF-8?Q?=E7=8E=8B=E7=A3=8A?=) Newsgroups: gmane.emacs.bugs Subject: bug#24856: 25.1.50; Emacs stucks when using C-k to kill lines in python-mode if the next line is a beginning of a docstring Date: Wed, 2 Nov 2016 02:39:52 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1478068782 7991 195.159.176.226 (2 Nov 2016 06:39:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2016 06:39:42 +0000 (UTC) To: 24856@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 07:39:37 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1pCc-0007D0-23 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 07:39:14 +0100 Original-Received: from localhost ([::1]:52885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1pCe-0001MM-Po for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 02:39:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1p6i-0004nM-2G for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2016 02:33:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1p6c-0005F5-Vn for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2016 02:33:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1p6c-0005F1-S9 for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2016 02:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c1p6c-000099-Lc for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2016 02:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: raynewang(=?UTF-8?Q?=E7=8E=8B=E7=A3=8A?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Nov 2016 06:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.1478068348504 (code B ref -1); Wed, 02 Nov 2016 06:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Nov 2016 06:32:28 +0000 Original-Received: from localhost ([127.0.0.1]:39701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1p63-000080-67 for submit@debbugs.gnu.org; Wed, 02 Nov 2016 02:32:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1lTR-0001NK-PQ for submit@debbugs.gnu.org; Tue, 01 Nov 2016 22:40:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1lTL-0003lI-G6 for submit@debbugs.gnu.org; Tue, 01 Nov 2016 22:40:16 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1lTL-0003lC-Co for submit@debbugs.gnu.org; Tue, 01 Nov 2016 22:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1lTJ-0002hq-PT for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 22:40:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1lTG-0003iz-G8 for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 22:40:13 -0400 Original-Received: from mail2.tencent.com ([163.177.67.149]:43410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1lTF-0003cr-QM for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 22:40:10 -0400 Original-Received: from EXHUB-SZMail01.tencent.com (unknown [10.14.6.21]) by mail2.tencent.com (Postfix) with ESMTP id D414D8E5DF for ; Wed, 2 Nov 2016 10:39:53 +0800 (CST) Original-Received: from EXHUB-TJ04.tencent.com (10.14.134.32) by EXHUB-SZMail01.tencent.com (10.14.6.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 2 Nov 2016 10:39:53 +0800 Original-Received: from EXMBX-TJ002.tencent.com ([fe80::9962:ad53:1b35:7b8e]) by EXHUB-TJ04.tencent.com ([::1]) with mapi id 14.03.0123.003; Wed, 2 Nov 2016 10:39:52 +0800 Thread-Topic: 25.1.50; Emacs stucks when using C-k to kill lines in python-mode if the next line is a beginning of a docstring Thread-Index: AQHSNLJjmJRxwRwzF0aPqdS8GIi6xQ== Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.14.6.27] Content-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 02 Nov 2016 02:32:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125258 Archived-At: Please look at the following python snippet: class Test(object): def func(self): """ This is a test. """ I was trying to kill lines (C-k) from line 1. Emacs stucked everytime after I killed line 2 and was going to kill line 3 (just before the docstring delimiters). Most time C-g would not work or just brought Emacs back for no more than 1 sec only. When it occurred, the only thing I could do was to kill Emacs process. I tried to disable all of my Emacs configurations, nothing changed. May it be a problem of built-in python-mode? Wish you guys could help me. I love your works! Sincerely Lei =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Versio= n 10.11.6 (Build 15G31)) of 2016-09-20 built on raynewang-rmbp.local Repository revision: 83fbb3a6dd75e01a768cb6b3348b7c947711ee46 Windowing system distributor 'Apple', version 10.3.1504 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. is undefined [2 times] funcall-interactively: Wrong type argument: char-or-string-p, nil Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/HEAD-83fbb3a/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/HEAD-83fbb3a --without-x --with-xml2 --without-dbus --without-gnutls --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win 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 term/tty-colors 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 obarray 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 206717 18560) (symbols 48 20249 0) (miscs 40 75 177) (strings 32 18166 5363) (string-bytes 1 584409) (vectors 16 35204) (vector-slots 8 670777 6763) (floats 8 179 123) (intervals 56 206 0) (buffers 976 12))