From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#28668: comint-previous-input could put the cursor where it was Date: Mon, 02 Oct 2017 18:33:52 +0800 Message-ID: <87h8vhg7ov.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506944290 2615 195.159.176.226 (2 Oct 2017 11:38:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 11:38:10 +0000 (UTC) To: 28668@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 02 13:38:05 2017 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 1dyz2x-0008LN-2X for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 13:38:03 +0200 Original-Received: from localhost ([::1]:51738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyz34-0005XF-Hn for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 07:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyz2z-0005XA-GJ for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyz2w-0002dL-Eq for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyz2w-0002dC-BQ for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyz2w-0002xI-2o for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Oct 2017 11:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28668 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.150694427811350 (code B ref -1); Mon, 02 Oct 2017 11:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2017 11:37:58 +0000 Original-Received: from localhost ([127.0.0.1]:43469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyz2s-0002wz-ML for submit@debbugs.gnu.org; Mon, 02 Oct 2017 07:37:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyz2q-0002wn-Ad for submit@debbugs.gnu.org; Mon, 02 Oct 2017 07:37:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyz2k-0002Tz-Ew for submit@debbugs.gnu.org; Mon, 02 Oct 2017 07:37:51 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyz2k-0002Tj-Cg for submit@debbugs.gnu.org; Mon, 02 Oct 2017 07:37:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyz2f-0005TP-5A for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:37:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyz2d-0002Px-Aw for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:37:45 -0400 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:53607 helo=homiemail-a61.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyz2d-0002Pb-5W for bug-gnu-emacs@gnu.org; Mon, 02 Oct 2017 07:37:43 -0400 Original-Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 3F72B578071 for ; Mon, 2 Oct 2017 04:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=NLrHdbjuExIM2k1tNgXJyAA0Xr0=; b=oqpHu2V4TONsGHmM a3x1a1BvULoUYr1KGI6+YC8D6LAZdZhy9+S3RXAIT/zYYXYdix51Gzta/tIyLZ6R v4s1PUQDE7VAZn6z0mbXGmL8p0vMcyuLJTu0hogAjZYXHXwVrbTw51CxLjnkiBYl 5JNkTgY5fKf7sKyTM0dRHrba+MM= Original-Received: from jidanni.org (1-170-84-137.dynamic-ip.hinet.net [1.170.84.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id EDE6C57806C for ; Mon, 2 Oct 2017 04:37:41 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:137773 Archived-At: In bash, ^P puts the cursor at the same spot where it was (when we hit RET) last command. In emacs shell mode, M-p (comint-previous-input) always puts the cursor at the end of the line, no matter what. Perhaps it could be made to be like bash... at least for the latest previous command.