unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
@ 2014-05-23 16:42 felix d
  2014-05-23 17:31 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: felix d @ 2014-05-23 16:42 UTC (permalink / raw)
  To: 17563

[-- Attachment #1: Type: text/plain, Size: 4743 bytes --]

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)
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 6776 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
  2014-05-23 16:42 bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only" felix d
@ 2014-05-23 17:31 ` Glenn Morris
  2014-05-23 20:58   ` felix d
  2014-05-25 13:52   ` felix d
  0 siblings, 2 replies; 4+ messages in thread
From: Glenn Morris @ 2014-05-23 17:31 UTC (permalink / raw)
  To: felix d; +Cc: 17563

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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
  2014-05-23 17:31 ` Glenn Morris
@ 2014-05-23 20:58   ` felix d
  2014-05-25 13:52   ` felix d
  1 sibling, 0 replies; 4+ messages in thread
From: felix d @ 2014-05-23 20:58 UTC (permalink / raw)
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

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@gnu.org
> To: felix.descoteaux@hotmail.com
> CC: 17563@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.
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1478 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only"
  2014-05-23 17:31 ` Glenn Morris
  2014-05-23 20:58   ` felix d
@ 2014-05-25 13:52   ` felix d
  1 sibling, 0 replies; 4+ messages in thread
From: felix d @ 2014-05-25 13:52 UTC (permalink / raw)
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

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@gnu.org
> To: felix.descoteaux@hotmail.com
> CC: 17563@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.
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1960 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-25 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 16:42 bug#17563: 24.3; Can't kill EShell buffer, "Text is read-only" felix d
2014-05-23 17:31 ` Glenn Morris
2014-05-23 20:58   ` felix d
2014-05-25 13:52   ` felix d

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).