From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#13963: 24.3; eshell: "Text is read-only" and unresponsive eshell to kill-buffer, C-x C-c and C-x C-q Date: Sat, 23 Mar 2013 17:27:25 +0100 Organization: Emacs Helm Message-ID: <87zjxut72q.fsf@gmail.com> References: <87a9q5qfou.fsf@gmail.com> <87ehfe6q2p.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364056087 14779 80.91.229.3 (23 Mar 2013 16:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2013 16:28:07 +0000 (UTC) Cc: 13963@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 23 17:28:33 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UJRIz-0007zb-2O for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Mar 2013 17:28:29 +0100 Original-Received: from localhost ([::1]:34573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJRIb-000057-GI for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Mar 2013 12:28:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJRIX-00004z-Ew for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 12:28:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJRIW-00026p-Fv for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 12:28:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJRIW-00026j-Co for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 12:28:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UJRKU-0007fH-MM for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 12:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Mar 2013 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13963-submit@debbugs.gnu.org id=B13963.136405617629398 (code B ref 13963); Sat, 23 Mar 2013 16:30:02 +0000 Original-Received: (at 13963) by debbugs.gnu.org; 23 Mar 2013 16:29:36 +0000 Original-Received: from localhost ([127.0.0.1]:42413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJRK2-0007e4-Iv for submit@debbugs.gnu.org; Sat, 23 Mar 2013 12:29:35 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:49347) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJRK0-0007dw-6t for 13963@debbugs.gnu.org; Sat, 23 Mar 2013 12:29:33 -0400 Original-Received: by mail-wg0-f49.google.com with SMTP id gg9so3478196wgb.28 for <13963@debbugs.gnu.org>; Sat, 23 Mar 2013 09:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=20MfqVot/W/8uSjOqLtEey9yB0xiIYiWBVzBauKEnm0=; b=c30fw44fKd5+gPgWzZ5W2v+GZU+sPwAwMuMSk7PCeMAa2VSqGSMivbDVXkyqdcBMKe jWW/T6ZcaYJQimliPv9V9d3hvs6+Dw6MlswsTstl8CbqR3BZ8JkEPZfQrBOZrjxa8mFH Xc3lXM3vYroP4vY3RrUurbXlJlxKrT9i2EtMFK9Gi15l71hfiorfCnTM1l63XAm12E7T H2hv9m/OtLjleu5xzaApVwWZi1tLQfvjnmaJIaiL63gvdB2ZR64tX0FA2uBforDtE2GJ ElCAedM8cQ+75FdS2sOjN1EcWpuawW0Ud3I/qNILveVUWJr143UofK9cojBr1RXF+Oa9 iQ0w== X-Received: by 10.194.143.50 with SMTP id sb18mr9208181wjb.44.1364056048381; Sat, 23 Mar 2013 09:27:28 -0700 (PDT) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id du2sm17606951wib.0.2013.03.23.09.27.26 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 23 Mar 2013 09:27:27 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sat, 23 Mar 2013 11:58:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:72838 Archived-At: Stefan Monnier writes: >>> The problem I think is that the eshell prompt is read-only but this >>> doesn't forbid user to write in this zone and because the prompt have >>> also rear-nonsticky property, the new character entered are made >>> read-only and eshell when it try to delete this characters return "text >>> read only". >>> Didn't look deeper where this happen though. > > The problem is that the last char of the prompt (the space) should be > rear-nonsticky, but if the others are rear-nonsticky and are not > front-sticky, then indeed you can't erase them but you can insert > anything inside them. So I think the better fix is to make the prompt > (including the trailing space) both rear-nonsticky and front-sticky. > > Does the patch below fix the problem? Yes, very good, same behavior than the last patch I sended but much simpler. Thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997