GNU bug report logs -
#33975
[PATCH] inhibit read-only text properties in comint-interrupt-subjob
Previous Next
Reported by: Alex Branham <alex.branham <at> gmail.com>
Date: Fri, 4 Jan 2019 16:36:02 UTC
Severity: normal
Tags: patch
Done: Alex Branham <alex.branham <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Alex Branham <alex.branham <at> gmail.com>
> Cc: 33975 <at> debbugs.gnu.org
> Date: Fri, 22 Feb 2019 15:26:00 -0600
>
> > Can you explain how having comint-prompt-read-only interferes with
> > interrupt-process in this case? I don't think I understand the
> > connection, and neither this bug report nor the ESS issue do, AFAICT.
>
> Sure thing. `comint-interrupt-subjob' calls `comint-skip-input', which
> tries to do this:
>
> (insert " " (key-description (this-command-keys)))
>
> Which fails if the text at point is read only.
Then shouldn't the change be inside comint-skip-input instead? I
mean, the same problem will happen also in all other callers of
comint-skip-input, no?
(I'm not sure I understand why that function inserts the description
of this-command-keys -- is that to insert "C-c C-c" into the buffer?
This is not in the doc string, perhaps we should add that.)
Thanks.
This bug report was last modified 6 years and 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.