[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38851: 27.0.50; Recent my patch breaks isearch with macOS native inp
bug#38851: 27.0.50; Recent my patch breaks isearch with macOS native input method
Fri, 3 Jan 2020 20:29:43 +0000
On Thu, Jan 02, 2020 at 03:25:13AM +0900, tsuucat via Bug reports for GNU
Emacs, the Swiss army knife of text editors wrote:
> I sent a patch for Bug#23412 and the patch was already merged.
> Unfortunately, the patch breaks isearch with macOS native input method.
> I tried to modify ns-echo-working-text function and ns-delete-working-text
> function, but I cannot do it.
> This is because input-pending-p now returns t after pressing RET to confirm
> the conversion. (isearch-update function uses input-pending-p)
> The following patch treats ns-unput-working-text event by deleteWorkingText
> specially in read_char(). This solve the problem.
Thanks. I have no better ideas, so this will have to do. Does anyone
else have any opinions?