[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abortion when doing i x twice
From: |
Gavin Smith |
Subject: |
Re: abortion when doing i x twice |
Date: |
Sat, 20 May 2017 14:02:09 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, May 15, 2017 at 09:39:13PM +0100, Gavin Smith wrote:
> You are right. The message locale is irrelevant here. The problem is
> that the string "M-x next-index-match" is being substituted in place
> of "\[next-index-match]", (as "," is not available, being bound to
> something else), and it is one byte too long.
I found I could get similar errors in the help window, for example by
binding 'H' to something else in .infokey and running "M-x
get-help-window". The replace_in_documentation didn't check for
buffer overflow everywhere it should have. (It did in one place,
but it wasn't enough.) I've made changes to keep track of the size
of the buffer size properly.