From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#114: Shell-mode: File completion breaks editing previous commands Date: Mon, 03 Oct 2011 22:21:31 -0400 Message-ID: <55hb3ph4yc.fsf@fencepost.gnu.org> References: <87tzig9es5.fsf@stupidchicken.com> <18424.40053.181304.491320@lusitania.rswheeldon.com> <878wzq2qtv.fsf@stupidchicken.com> <18428.43150.358991.358580@rgrjr.rgrjr.dyndns.org> <20096.38009.370949.709474@maryrose.rswheeldon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1317694968 11927 80.91.229.12 (4 Oct 2011 02:22:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 02:22:48 +0000 (UTC) Cc: 114@debbugs.gnu.org, Miles Bader To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 04:22:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAueW-0004V6-V2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 04:22:41 +0200 Original-Received: from localhost ([::1]:58882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAueV-0001kl-W5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 22:22:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAueS-0001kU-Vr for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:22:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAueR-00087B-MW for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:22:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAueR-000877-Jj for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:22:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAufp-0006xd-Ob for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2011 02:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 114 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 114-submit@debbugs.gnu.org id=B114.131769498326686 (code B ref 114); Tue, 04 Oct 2011 02:24:01 +0000 Original-Received: (at 114) by debbugs.gnu.org; 4 Oct 2011 02:23:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAues-0006wM-RK for submit@debbugs.gnu.org; Mon, 03 Oct 2011 22:23:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAueo-0006vv-VT for 114@debbugs.gnu.org; Mon, 03 Oct 2011 22:23:00 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RAudP-0007gU-AF; Mon, 03 Oct 2011 22:21:31 -0400 X-Spook: halcon Uzbekistan strategic Osama Tony Blair Taiwan kilo X-Ran: :G)'9*#P3"0pU,7fDB~!j/+SP"'rl]QUSD@lNx[v$ljf_[j()qoT[w{Dg*q+6bw@5IqDLd X-Hue: yellow X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Mon, 03 Oct 2011 22:14:18 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 Oct 2011 22:24:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52141 Archived-At: Stefan Monnier wrote: > Maybe the best fix is to get rid of this `input' field value (the rest > of the text already gets an `output' field value, so a nil value would > still work as a field). > > E.g. the patch below seemed to fix the problem, but I'm not sure what > other consequences it might have. For one, it leaves the help echo ("mouse-2: insert after prompt as new input") and mouse highlight properties broken in two on either side of the portion inserted by completion.