From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#32555: 26.1; Async command buffer navigation bug Date: Tue, 28 Aug 2018 16:25:10 -0400 Message-ID: <87r2iiz1ax.fsf@aol.com> References: <87bm9myjys.fsf@aol.com> <87lg8qu129.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535488617 6981 195.159.176.226 (28 Aug 2018 20:36:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Aug 2018 20:36:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32555@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 28 22:36:53 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 1fukjK-0001eG-2l for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Aug 2018 22:36:50 +0200 Original-Received: from localhost ([::1]:39941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuklQ-0002OT-7k for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Aug 2018 16:39:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fukhq-0006Xo-Rn for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:35:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fukYt-0002fB-DS for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fukYs-0002eZ-V7 for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fukYs-0001Na-Pq for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Aug 2018 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 32555-submit@debbugs.gnu.org id=B32555.15354879385263 (code B ref 32555); Tue, 28 Aug 2018 20:26:02 +0000 Original-Received: (at 32555) by debbugs.gnu.org; 28 Aug 2018 20:25:38 +0000 Original-Received: from localhost ([127.0.0.1]:35972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukYU-0001Mp-EB for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:25:38 -0400 Original-Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:44694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukYQ-0001MZ-9h for 32555@debbugs.gnu.org; Tue, 28 Aug 2018 16:25:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1535487928; bh=vvJnTGMyfQwDJLdrWlEHaGCx1p89xvi0z0Ac+uIUvPk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=J+RI5nI2Uii/dI2SR3FM0kPdtWedL6GVQw6GK9SGtm6rXgNe4+xrN2qzplVqEdnx+VPdwHZ5zZD8puhzxCrGQug+bR8cHGBfQO4s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UK kGu.I5KM0fm7pmR9WQ9rgdD_M_GMMf4TwFl1MmFKmr Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 28 Aug 2018 20:25:28 +0000 Original-Received: from c-73-16-70-190.hsd1.ma.comcast.net (EHLO localhost.localdomain) ([73.16.70.190]) by smtp404.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4c0be79094bdb255b2d2e953f1014aec; Tue, 28 Aug 2018 20:25:26 +0000 (UTC) In-Reply-To: <87lg8qu129.fsf@gmail.com> (Noam Postavsky's message of "Tue, 28 Aug 2018 08:29:18 -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:149809 Archived-At: Noam Postavsky writes: > tags 32555 + unreproducible > quit > > Live System User writes: > >> After an `async-shell-command' finished, I tried to >> navigate its buffer with the arrow-keys and got the >> following: >> >> Debugger entered--Lisp error: (wrong-type-argument processp nil) > [...] >> command-execute((lambda nil (interactive) (if (comint-after-pmark-p) (comint-previous-input 1) (previous-line 1)))) > > It looks like you've bound the arrow-keys to some command which causes > this error. I don't see any similar command in Emacs sources (and I > don't get such an error in 'emacs -Q' with the normal arrow-key > commands). Sorry, there was a shell-mode-hook: (add-hook 'shell-mode-hook '(lambda () (local-set-key [home] ; move to beginning of line, after pro mpt 'comint-bol) (local-set-key [up] ; cycle backward through command histo ry '(lambda () (interactive) (if (comint-after-pmark-p) (comint-previous-input 1) (previous-line 1)))) (local-set-key [down] ; cycle forward through command histor y '(lambda () (interactive) (if (comint-after-pmark-p) (comint-next-input 1) (forward-line 1)))) )) Is tnere a way to acnieve the navigation I seek? I've never had issues with this code before. Thanks.