From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#33975: [PATCH] inhibit read-only text properties in comint-interrupt-subjob Date: Fri, 22 Feb 2019 15:26:00 -0600 Message-ID: <87mumncy6v.fsf@gmail.com> References: <87d0pcfkjq.fsf@gmail.com> <87mumpgl0v.fsf@gmail.com> <83bm34fccz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="202180"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: 33975@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 22:27:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxILh-000qT7-5I for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 22:27:13 +0100 Original-Received: from localhost ([127.0.0.1]:57115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxILg-0004Pb-3p for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 16:27:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxILY-0004PI-QL for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:27:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxILY-0007lX-3V for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:27:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35063) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxILV-0007kU-Tv for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxILV-0007UM-Mn for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2019 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 33975-submit@debbugs.gnu.org id=B33975.155087077128723 (code B ref 33975); Fri, 22 Feb 2019 21:27:01 +0000 Original-Received: (at 33975) by debbugs.gnu.org; 22 Feb 2019 21:26:11 +0000 Original-Received: from localhost ([127.0.0.1]:48607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxIKh-0007TB-AO for submit@debbugs.gnu.org; Fri, 22 Feb 2019 16:26:11 -0500 Original-Received: from mail-oi1-f176.google.com ([209.85.167.176]:38397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxIKf-0007Sz-4r for 33975@debbugs.gnu.org; Fri, 22 Feb 2019 16:26:09 -0500 Original-Received: by mail-oi1-f176.google.com with SMTP id q81so2865165oic.5 for <33975@debbugs.gnu.org>; Fri, 22 Feb 2019 13:26:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=niJHwQDLtoSsxZT9idLA7gSjfMqal4BwdcQBYGrpyfQ=; b=tumzNqPpRZUv3WVoWsRoGO5ofEbu41UNH/BBdZfp77C9GGcQnVZQ2FR82t3Urt6IvV VNFhl728etoSLKJKmjKkN/L1utyxbhi1vhyrrQunxyuRC7HXgwR/bc+wMnO/O293p3PU cl3BcSn7DSEvE4fCCRb13Lu8AVxOl5H2m18ioRBLMLM0xiQxRLr2EJImIu6hMpdyqz+o aJPGZZOaSwkrQdQimd8SWjEza+/KAsRf57+r3yKaoZOl4pzY/Hf2n6y8zm6GA8IC30v8 wjhpLx+/uUWSMikvt5WunwUvRvZTUks/yKaka6bzMqVVJ4qc7mLvSIZRCWdr4I4/C4mC X0uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=niJHwQDLtoSsxZT9idLA7gSjfMqal4BwdcQBYGrpyfQ=; b=intkXuFwjHY1V/61OHn8xb0nGa7pK2epc3Pzabo8qh5PIk0PfIP/bPQ4KHILvRGwdn jof4Fqpcyjl4PP6zhUt9X4jqQ1deHWB0YKFTqZtxV/xOE42sml0TH4THtE2QSFfdldye Z+GsmPsH1clFuSvDZ1SLRRXyWqIuXNn7ZUQOXFD5vNz76G/j4OdBvkAaQBKcB0Dtgeu+ zCmEJYHwb/DshOl7/wylUQtFX1fBPQaZf3ybFN1mF3Zz9dgKOhWNeRRbYcg3C+Xduzsr uR8KoPOsXTfkH+4Y9f1qE1Sza9vTWWb4d5sPv9XqOuCQjkR895HGCIYXOupq/RpHzCHn wI3A== X-Gm-Message-State: AHQUAua4drkMvyIkI37cpUfP/Cd49X7RamRwMUOxK9Yzz9amgA2T4ylM hpRnsp3gJy3Gqrz3umHEBViF4T5Z X-Google-Smtp-Source: AHgI3Ia+p5NbUuEZY63qmjlfkPidXwYa30HyDp/RTEtDm1SuTZ0mcOHvPbsLLaeq7zZXeFeLTTXrXg== X-Received: by 2002:aca:5114:: with SMTP id f20mr3818750oib.152.1550870762916; Fri, 22 Feb 2019 13:26:02 -0800 (PST) Original-Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id j21sm1008310otr.28.2019.02.22.13.26.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Feb 2019 13:26:01 -0800 (PST) In-reply-to: <83bm34fccz.fsf@gnu.org> 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: 209.51.188.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:155658 Archived-At: --=-=-= Content-Type: text/plain On Fri 22 Feb 2019 at 02:37, Eli Zaretskii wrote: >> From: Alex Branham >> Date: Thu, 21 Feb 2019 10:32:16 -0600 >> >> Is this patch OK for Emacs? Or should we figure it out downstream? > > Can you explain how having comint-prompt-read-only interferes with > interrupt-process in this case? I don't think I understand the > connection, and neither this bug report nor the ESS issue do, AFAICT. Sure thing. `comint-interrupt-subjob' calls `comint-skip-input', which tries to do this: (insert " " (key-description (this-command-keys))) Which fails if the text at point is read only. Thanks, Alex --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEeEJ4XAMgliXNXicpHkInolPpmscFAlxwaOgACgkQHkInolPp msfUgAf/VP7BUaMD9u/5VDz4IuMPJeAAQK8Ib/tn3nAA0AXIVHulG40BrnK9tSNt wVgivJfp6DkXbYmr+11SU5uEVzTa0FCFlYpCpH8XcfKKgUSEXLoDhEBY9RlRTIdR xIlQ2HLc1lnuMD0M1nrZxV9jAkgrI/vhj3dmeGDUEksn5RBPJkHuxZGov6U7GIKl zx98T6tXqU3EcefUA5eCKNJG9ssJRklzuaiSnOGlLqCVCcmVLJM37wSBOdPVdNOf H7WSWqk3FuUmgW/ewD/r27EBEMBmJbO/xz+lS8aIj0HTOvX4Rx2n51S8iru8grqX GcU/R+jc/4ePt4xFyF/AI81lsNYmiw== =/7YM -----END PGP SIGNATURE----- --=-=-=--