From: Live System User <nyc4bos@aol.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: 28700@debbugs.gnu.org
Subject: bug#28700: 25.2; Cannot kill Eshell buffer
Date: Sun, 15 Oct 2017 18:02:54 -0400 [thread overview]
Message-ID: <87d15ooyr5.fsf@aol.com> (raw)
In-Reply-To: <87bml88a55.fsf@users.sourceforge.net> (Noam Postavsky's message of "Sun, 15 Oct 2017 15:48:54 -0400")
Noam Postavsky <npostavs@users.sourceforge.net> writes:
> Live System User <nyc4bos@aol.com> writes:
>
>> Here is some GDB info.
>
>> (gdb) bt
>> #0 text_read_only (propval=propval@entry=XIL(0xb010))
>> at ../../src/textprop.c:71
>
>> Lisp Backtrace:
>> "eshell-write-history" (0x5642bf38)
>> "run-hooks" (0x5642c020)
>> "eshell-kill-buffer-function" (0x5642c200)
>> "kill-buffer" (0x5642c400)
>> "funcall-interactively" (0x5642c3f8)
>> "call-interactively" (0x5642c660)
>> "command-execute" (0x5642c808)
>
> Thanks, my guess is you have some string with a read-only property in
> eshell history (probably introduced by copying from another buffer), and
> this is tripping up eshell-write-history.
>
> Can you post the result of
>
> M-x pp-eval-expression RET eshell-history-ring RET
>
> If my guess is correct there should be some strings of the form
>
> #("some command" 0 11 (read-only t))
Yes. So how do I deal wi'th?
Thanks.
(6 128 .
[#("ssh localhost ps -efw | grep ssh" 0 1
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
3 4
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
4 5
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
13 14
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
14 15
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
16 17
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
17 18
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
21 22
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
22 23
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
23 24
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
24 25
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
28 29
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
29 30
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
31 32
(rear-nonsticky
(arg-end arg-begin)
arg-end t))
#("ssh localhost ps -efw | grep ssh" 0 1
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
3 4
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
4 5
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
13 14
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
14 15
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
16 17
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
17 18
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
21 22
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
22 23
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
23 24
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
24 25
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
28 29
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
29 30
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
31 32
(rear-nonsticky
(arg-end arg-begin)
arg-end t))
#("ssh localhost ps" 0 1
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
3 4
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
4 5
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
13 14
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
14 15
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
15 16
(rear-nonsticky
(arg-end arg-begin)
arg-end t))
#("ssh localhost " 0 1
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
3 4
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
4 5
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
13 14
(rear-nonsticky
(arg-end arg-begin)
arg-end t))
#("~/" 0 1
(rear-nonsticky
(arg-begin arg-end)
read-only t arg-begin t)
1 2
(rear-nonsticky
(arg-end arg-begin)
read-only t arg-end t))
#(" env | grep TERM" 2 3
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
5 6
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
6 7
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
7 8
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
8 9
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
12 13
(rear-nonsticky
(arg-end arg-begin)
arg-end t)
13 14
(rear-nonsticky
(arg-begin arg-end)
arg-begin t)
16 17
(rear-nonsticky
(arg-end arg-begin)
arg-end t))
"ssh locallhost" "Error: Failed to execute child process \"$SHELL\"
(No such file or directory)" "ssh locallhost" "ssh locallhost"
[...]
next prev parent reply other threads:[~2017-10-15 22:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 9:57 bug#28700: 25.2; Cannot kill Eshell buffer Live System User
2017-10-04 11:56 ` Noam Postavsky
2017-10-04 14:13 ` Live System User
2017-10-04 14:19 ` Noam Postavsky
2017-10-04 15:21 ` Live System User
2017-10-04 16:42 ` Noam Postavsky
2017-10-04 18:27 ` Live System User
2017-10-04 18:32 ` Noam Postavsky
2017-10-04 19:50 ` Live System User
2017-10-04 19:56 ` Noam Postavsky
2017-10-04 22:12 ` Live System User
2017-10-04 23:48 ` Noam Postavsky
2017-10-15 19:09 ` Live System User
2017-10-15 19:48 ` Noam Postavsky
2017-10-15 22:02 ` Live System User [this message]
2017-10-16 2:20 ` Noam Postavsky
2017-10-21 19:51 ` Noam Postavsky
2017-10-15 19:29 ` Live System User
2017-10-05 8:09 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d15ooyr5.fsf@aol.com \
--to=nyc4bos@aol.com \
--cc=28700@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.