From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#30079: 26.0.90; comint commands killing pending input Date: Mon, 15 Jan 2018 21:21:37 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1516047261 3956 195.159.176.226 (15 Jan 2018 20:14:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 20:14:21 +0000 (UTC) To: 30079-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 21:14:16 2018 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 1ebB93-0000R9-AG for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jan 2018 21:14:13 +0100 Original-Received: from localhost ([::1]:59985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebBB3-0006bk-4e for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jan 2018 15:16:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebBAt-0006aK-I6 for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 15:16:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebBAo-0004Oh-Fr for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 15:16:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebBAo-0004OT-8N for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 15:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebBAo-0007MF-0i for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 15:16:02 -0500 Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jan 2018 20:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 30079 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 30079@debbugs.gnu.org, charles@aurox.ch, charles@aurox.ch Original-Received: via spool by 30079-done@debbugs.gnu.org id=D30079.151604732128225 (code D ref 30079); Mon, 15 Jan 2018 20:16:01 +0000 Original-Received: (at 30079-done) by debbugs.gnu.org; 15 Jan 2018 20:15:21 +0000 Original-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 Original-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 Original-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 Original-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) Original-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) In-reply-to: (charles@aurox.ch) 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:142185 Archived-At: > 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.