From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 15:31:46 2018 Received: (at submit) by debbugs.gnu.org; 11 Jan 2018 20:31:46 +0000 Received: from localhost ([127.0.0.1]:52498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZjVq-0007i7-5I for submit@debbugs.gnu.org; Thu, 11 Jan 2018 15:31:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZjVo-0007hu-2P for submit@debbugs.gnu.org; Thu, 11 Jan 2018 15:31:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZjVi-0002lN-21 for submit@debbugs.gnu.org; Thu, 11 Jan 2018 15:31:38 -0500 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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZjVh-0002lG-Ur for submit@debbugs.gnu.org; Thu, 11 Jan 2018 15:31:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZjVg-0001Ew-Qm for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 15:31:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZjVb-0002j4-RM for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 15:31:36 -0500 Received: from [2a03:2040:2:1b::1] (port=33566 helo=sinyavsky.aurox.ch) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZjVb-0002eN-J0 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 15:31:31 -0500 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 74FE12263C for ; Thu, 11 Jan 2018 20:23:17 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= subject:subject:to:from:from:message-id:date:date; s=dkim; t= 1515702196; x=1516566197; bh=RBguJAmk+P72f9JmAji+2rinZOalTBR40h/ ocDUdN6k=; b=M7XYMk4BLhnP2nAmHK+SXq5Md+YZePQ2RIy+HMOfgINycxf1fP6 wYRH4U0OlmcMj4N3jhi0Q9SZZJsq9IncVtK/167O8xW/R60zkpFASTLbLxsqVLbz /5XLLlx/JkbuEVmK14JocPXWgrBmbv2+s5aPdKVyLP3MrbcFjRr/tN1Q= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OTi_-7TpLgzS for ; Thu, 11 Jan 2018 20:23:16 +0000 (UTC) Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 5809722639 for ; Thu, 11 Jan 2018 20:23:16 +0000 (UTC) Date: Thu, 11 Jan 2018 21:37:07 +0100 Message-Id: From: charles@aurox.ch (Charles A. Roelli) To: bug-gnu-emacs@gnu.org Subject: 26.0.90; comint commands killing pending input 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.1 (----) X-Debbugs-Envelope-To: submit 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.1 (----) The following four commands all claim to "kill the pending input", which they don't actually seem to do. Should the documentation or implementation be changed? (defun comint-interrupt-subjob () "Interrupt the current subjob. This command also kills the pending input between the process mark and point." (interactive) (comint-skip-input) (interrupt-process nil comint-ptyp) ;; (process-send-string nil "\n") ) (defun comint-kill-subjob () "Send kill signal to the current subjob. This command also kills the pending input between the process mark and point." (interactive) (comint-skip-input) (kill-process nil comint-ptyp)) (defun comint-quit-subjob () "Send quit signal to the current subjob. This command also kills the pending input between the process mark and point." (interactive) (comint-skip-input) (quit-process nil comint-ptyp)) (defun comint-stop-subjob () "Stop the current subjob. This command also kills the pending input between the process mark and point. WARNING: if there is no current subjob, you can end up suspending the top-level process running in the buffer. If you accidentally do this, use \\[comint-continue-subjob] to resume the process. (This is not a problem with most shells, since they ignore this signal.)" (interactive) (comint-skip-input) (stop-process nil comint-ptyp)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 15 15:15:21 2018 Received: (at 30079-done) by debbugs.gnu.org; 15 Jan 2018 20:15:21 +0000 Received: from localhost ([127.0.0.1]:57789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebBA9-0007LB-F7 for submit@debbugs.gnu.org; Mon, 15 Jan 2018 15:15:21 -0500 Received: from sinyavsky.aurox.ch ([37.35.109.145]:48113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebBA7-0007Kw-I4 for 30079-done@debbugs.gnu.org; Mon, 15 Jan 2018 15:15:20 -0500 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 9698322645 for <30079-done@debbugs.gnu.org>; Mon, 15 Jan 2018 20:07:06 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1516046824; x=1516910825; bh=Y8WdKoL0Bmd5k jjwZV7ceR+VstedgINYKNw2I1xjNs8=; b=CJ58oYjp7cQqCd6SmTIiqSa5OHjwV YPoKL2cDFRE11H96T0OKo95Mv0l5cRlQ4un19RKaO5rvYaYT+a0BbU5vPdgdF9ql zRyAlUrL5vut1/QOirkjS/NIP8E3TSgF64vVNsb0LFLptWvwVNDCUJtkwD35TyGj Sjm4lrlHgOdyW8= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vKehR35fzTfq for <30079-done@debbugs.gnu.org>; Mon, 15 Jan 2018 20:07:04 +0000 (UTC) Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id C2A9122624 for <30079-done@debbugs.gnu.org>; Mon, 15 Jan 2018 20:07:04 +0000 (UTC) Date: Mon, 15 Jan 2018 21:21:37 +0100 Message-Id: From: charles@aurox.ch (Charles A. Roelli) To: 30079-done@debbugs.gnu.org In-reply-to: (charles@aurox.ch) Subject: Re: bug#30079: 26.0.90; comint commands killing pending input References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 30079-done 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: -2.3 (--) > Date: Thu, 11 Jan 2018 21:37:07 +0100 > From: charles@aurox.ch (Charles A. Roelli) > > The following four commands all claim to "kill the pending input", > which they don't actually seem to do. Should the documentation or > implementation be changed? > > > (defun comint-interrupt-subjob () > "Interrupt the current subjob. > This command also kills the pending input > between the process mark and point." > (interactive) > (comint-skip-input) > (interrupt-process nil comint-ptyp) > ;; (process-send-string nil "\n") > ) > > (defun comint-kill-subjob () > "Send kill signal to the current subjob. > This command also kills the pending input > between the process mark and point." > (interactive) > (comint-skip-input) > (kill-process nil comint-ptyp)) > > (defun comint-quit-subjob () > "Send quit signal to the current subjob. > This command also kills the pending input > between the process mark and point." > (interactive) > (comint-skip-input) > (quit-process nil comint-ptyp)) > > (defun comint-stop-subjob () > "Stop the current subjob. > This command also kills the pending input > between the process mark and point. > > WARNING: if there is no current subjob, you can end up suspending > the top-level process running in the buffer. If you accidentally do > this, use \\[comint-continue-subjob] to resume the process. (This > is not a problem with most shells, since they ignore this signal.)" > (interactive) > (comint-skip-input) > (stop-process nil comint-ptyp)) I pushed a documentation fix to emacs-26: commit 98e5fb9bf3b49bea82a4d3e38be20415bd7f7684 Author: Charles A. Roelli Date: Mon Jan 15 21:14:05 2018 +0100 Remove incorrect documentation in comint.el * lisp/comint.el (comint-interrupt-subjob, comint-kill-subjob) (comint-quit-subjob, comint-stop-subjob): Remove incorrect documentation. (Bug#30079) If there's any interest in reinstating the old, documented (but unimplemented) behavior in the master branch, please reopen. From unknown Sat Aug 09 09:37:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Feb 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator