GNU bug report logs - #17563
24.3; Can't kill EShell buffer, "Text is read-only"

Previous Next

Package: emacs;

Reported by: felix d <felix.descoteaux <at> hotmail.com>

Date: Fri, 23 May 2014 17:11:02 UTC

Severity: important

Merged with 13963

Found in version 24.3

Fixed in version 24.4

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17563 in the body.
You can then email your comments to 17563 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17563; Package emacs. (Fri, 23 May 2014 17:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to felix d <felix.descoteaux <at> hotmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 May 2014 17:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: felix d <felix.descoteaux <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 24.3; Can't kill EShell buffer, "Text is read-only"
Date: Fri, 23 May 2014 12:42:00 -0400
[Message part 1 (text/plain, inline)]
1. Type something passed the prompt sign in EShell, to the left. (which ispermitted by evil-mode I guess...).
Screenshot: http://i59.tinypic.com/33vitnd.png
2. Switch buffer, do something else.
3. Then try to kill EShell buffer (through ibuffer or anything else) andget warning: Text is read-only.
4. Then try to quit Emacs, and unable to do so. I had kill the processmanually through a terminal

In GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.orgWindowing system distributor `Apple', version 10.3.1265Configured using: `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.7 -isystem /Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/ -F/Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks''
Important settings:  locale-coding-system: nil  default enable-multibyte-characters: t
Major mode: Ibuffer
Minor modes in effect:  shell-dirtrack-mode: t  yas-global-mode: t  yas-minor-mode: t  global-undo-tree-mode: t  undo-tree-mode: t  evil-mode: t  evil-local-mode: t  autopair-global-mode: t  tooltip-mode: t  mouse-wheel-mode: t  file-name-shadow-mode: t  global-font-lock-mode: t  font-lock-mode: t  blink-cursor-mode: t  auto-composition-mode: t  auto-encryption-mode: t  auto-compression-mode: t  buffer-read-only: t  line-number-mode: t  transient-mark-mode: t
Recent input:j k l C-h i C-h i j j j j j j j j j j j j <return> C-x 2 C-j C-k C-j C-k C-j C-k <C-right> <C-right> i C-j C-j C-k C-k <backspace> <C-backspace> <backspace> <return> <return> j k C-j C-k C-j C-k C-j C-k <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> <mouse-1> <C-right> <C-right> <C-left> SPC l s <return> j k h h i a s d s a d a s d a s d <return> j k h h h i a s d a s d <C-right> <C-right> <C-left> <C-left> <C-left> <C-left> <C-right> <C-right> <C-left> i t e s s s t <return> y o l o o o o j k : w <return> : q ! <backspace> <backspace> <backspace> : q ! <backspace> <backspace> <backspace> : l s <return> : C-x C-b n n n n p p p p p n n C-z j j p p p p j j j j j p p p p j j m D y k <return> <return> C-x k j m D D C-x C-b D y p D y <help-echo> s-x M-x <help-echo> <help-echo> r e p o t <backspace> r t <tab> <return>
Recent messages:run-hooks: Text is read-onlyevil-ex: Command attempted to use minibuffer while in minibufferUpdating buffer list...doneCommands: m, u, t, RET, g, k, S, D, Q; q to quit; h for helpReally kill buffer *eshell*? (y or n)  yrun-hooks: Text is read-onlyReally kill buffer *eshell*? (y or n)  yrun-hooks: Text is read-onlykill-region: The mark is not set now, so there is no regionself-insert-command: Wrong type argument: stringp, nil
Load-path shadows:None found.
Features:(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mmlmml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrevgmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-utilmail-prsvr mail-utils ibuf-ext ibuffer shell em-unix pcomplete comintansi-color em-term term disp-table ehelp electric em-script em-promptem-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-bannerem-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldocesh-groups eshell esh-module esh-mode esh-util yasnippet help-mode clevil evil-integration undo-tree diff evil-maps evil-commands evil-typesevil-search evil-ex evil-macros evil-repeat evil-states evil-coreevil-common windmove rect evil-digraphs evil-vars ring autopair cl-macsgv easy-mmode key-chord better-defaults paren edmacro kmacro saveplaceuniquify advice help-fns cl-lib advice-preload ido monokai-themeevil-autoloads info easymenu goto-chg-autoloads monokai-theme-autoloadsnav-autoloads tree-mode-autoloads undo-tree-autoloads windata-autoloadsyasnippet-autoloads package time-date tooltip ediff-hook vc-hookslisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-optfringe tabulated-list newcomment lisp-mode register page menu-barrfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntaxfacemenu font-core frame cham georgian utf-8-lang misc-lang vietnamesetibetan thai tai-viet lao korean japanese hebrew greek romanian slovakczech european ethiopic indian cyrillic chinese case-table epa-hookjka-cmpr-hook help simple abbrev minibuffer loaddefs button facescus-face macroexp files text-properties overlay sha1 md5 base64 formatenv code-pages mule custom widget hashtable-print-readable backquotemake-network-process ns multi-tty emacs)
 		 	   		  
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17563; Package emacs. (Fri, 23 May 2014 17:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 17563 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: felix d <felix.descoteaux <at> hotmail.com>
Cc: 17563 <at> debbugs.gnu.org
Subject: Re: bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
Date: Fri, 23 May 2014 13:31:34 -0400
felix d wrote:

> 1. Type something passed the prompt sign in EShell, to the left. (which ispermitted by evil-mode I guess...).
> Screenshot: http://i59.tinypic.com/33vitnd.png
> 2. Switch buffer, do something else.
> 3. Then try to kill EShell buffer (through ibuffer or anything else) andget warning: Text is read-only.

I could not reproduce this, but it sounds like fixed bug

http://debbugs.gnu.org/13963

Please either try the Emacs 24.3.91 pretest, or apply the patch from
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13963#23

and recompile em-prompt.el.





bug Marked as fixed in versions 24.4. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 23 May 2014 17:33:03 GMT) Full text and rfc822 format available.

Forcibly Merged 13963 17563. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 23 May 2014 17:33:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17563; Package emacs. (Fri, 23 May 2014 21:26:01 GMT) Full text and rfc822 format available.

Message #15 received at 17563 <at> debbugs.gnu.org (full text, mbox):

From: felix d <felix.descoteaux <at> hotmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Subject: RE: bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
Date: Fri, 23 May 2014 16:58:50 -0400
[Message part 1 (text/plain, inline)]
This is weird, I am not able to reproduce the bug all the time and therefore I'm not sure what causes it. 
I'll apply the patch and if I can finger point exactly what causes the bug if it happens again, I'll tell you.
Thanks a lot!

> From: rgm <at> gnu.org
> To: felix.descoteaux <at> hotmail.com
> CC: 17563 <at> debbugs.gnu.org
> Subject: Re: bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
> Date: Fri, 23 May 2014 13:31:34 -0400
> 
> felix d wrote:
> 
> > 1. Type something passed the prompt sign in EShell, to the left. (which ispermitted by evil-mode I guess...).
> > Screenshot: http://i59.tinypic.com/33vitnd.png
> > 2. Switch buffer, do something else.
> > 3. Then try to kill EShell buffer (through ibuffer or anything else) andget warning: Text is read-only.
> 
> I could not reproduce this, but it sounds like fixed bug
> 
> http://debbugs.gnu.org/13963
> 
> Please either try the Emacs 24.3.91 pretest, or apply the patch from
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13963#23
> 
> and recompile em-prompt.el.
> 
 		 	   		  
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17563; Package emacs. (Sun, 25 May 2014 16:43:02 GMT) Full text and rfc822 format available.

Message #18 received at 17563 <at> debbugs.gnu.org (full text, mbox):

From: felix d <felix.descoteaux <at> hotmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Subject: RE: bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
Date: Sun, 25 May 2014 09:52:05 -0400
[Message part 1 (text/plain, inline)]
Bug wasn't fixed with the patch provided. However, Emacs 24.3.91 contained the solution to my issue
em-prompt.el--------------------- (add-text-properties 0 (length prompt)				'(read-only t				  font-lock-face eshell-prompt				  front-sticky (font-lock-face read-only)				  rear-nonsticky (font-lock-face read-only))---------------------
Thanks!

> From: rgm <at> gnu.org
> To: felix.descoteaux <at> hotmail.com
> CC: 17563 <at> debbugs.gnu.org
> Subject: Re: bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
> Date: Fri, 23 May 2014 13:31:34 -0400
> 
> felix d wrote:
> 
> > 1. Type something passed the prompt sign in EShell, to the left. (which ispermitted by evil-mode I guess...).
> > Screenshot: http://i59.tinypic.com/33vitnd.png
> > 2. Switch buffer, do something else.
> > 3. Then try to kill EShell buffer (through ibuffer or anything else) andget warning: Text is read-only.
> 
> I could not reproduce this, but it sounds like fixed bug
> 
> http://debbugs.gnu.org/13963
> 
> Please either try the Emacs 24.3.91 pretest, or apply the patch from
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13963#23
> 
> and recompile em-prompt.el.
> 
 		 	   		  
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Jun 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.