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: Wed, 12 Oct 2011 01:27:33 -0400 Message-ID: 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> <55hb3ph4yc.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1318397271 8356 80.91.229.12 (12 Oct 2011 05:27:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 05:27:51 +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 Wed Oct 12 07:27:46 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 1RDrM2-0005Uz-1t for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 07:27:46 +0200 Original-Received: from localhost ([::1]:38980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDrM1-0005ph-7T for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 01:27:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDrLy-0005pb-Ju for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 01:27:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDrLx-0005HW-OZ for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 01:27:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDrLx-0005HS-Ki for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 01:27:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDrMH-0005Zv-Vb for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 01:28:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <18422.5001.19000.358870@lusitania.rswheeldon.com> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2011 05:28: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.131839727821434 (code B ref 114); Wed, 12 Oct 2011 05:28:01 +0000 Original-Received: (at 114) by debbugs.gnu.org; 12 Oct 2011 05:27:58 +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 1RDrME-0005Zf-GU for submit@debbugs.gnu.org; Wed, 12 Oct 2011 01:27:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDrMC-0005ZY-CE for 114@debbugs.gnu.org; Wed, 12 Oct 2011 01:27:57 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RDrLq-0005Ql-19; Wed, 12 Oct 2011 01:27:34 -0400 X-Spook: Janet Reno arrangements Belknap fundamentalist covert X-Ran: "TNbSouJec24X(#1Us+=NP;j6&s}iA/p6f<}30JOJ(lk,D^}z6j$bK/mNw{rqCNF(anpw` X-Hue: black X-Attribution: GM 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: Wed, 12 Oct 2011 01:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52563 Archived-At: Stefan Monnier wrote: > But that's also the case before my patch, right? So it's not > a consequence of my patch. OK then, pretend I said: I'm also not sure what consequences simply removing this field property will have. However, I noticed that your patch leaves the help-echo and mouse-face properties missing on the completed text, which is a little unaesthetic. An alternative solution that avoids this issue would be if callers of completion could optionally request that it insert-and-inherit the completed text rather than just insert it. I could imagine that other callers of completion might need such a feature. But I have no idea if this is feasible.