From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: tsuucat via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method Date: Thu, 19 Dec 2019 09:31:29 +0900 Message-ID: References: <20191217202837.GA18094@breton.holly.idiocy.org> <20191218204422.GA22550@breton.holly.idiocy.org> Reply-To: tsuucat Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="106023"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 23412@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 01:32:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ihjjh-000RSD-Uk for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2019 01:32:14 +0100 Original-Received: from localhost ([::1]:34404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihjjg-00066Z-4E for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Dec 2019 19:32:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53859) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihjjY-00066F-1o for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:32:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihjjW-0007VY-G0 for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:32:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihjjW-0007VH-9u for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihjjW-0007qB-2V for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tsuucat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2019 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23412 X-GNU-PR-Package: emacs Original-Received: via spool by 23412-submit@debbugs.gnu.org id=B23412.157671550030112 (code B ref 23412); Thu, 19 Dec 2019 00:32:02 +0000 Original-Received: (at 23412) by debbugs.gnu.org; 19 Dec 2019 00:31:40 +0000 Original-Received: from localhost ([127.0.0.1]:44134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihjjA-0007pc-1K for submit@debbugs.gnu.org; Wed, 18 Dec 2019 19:31:40 -0500 Original-Received: from pv50p00im-ztdg10021901.me.com ([17.58.6.55]:50153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihjj8-0007pO-56 for 23412@debbugs.gnu.org; Wed, 18 Dec 2019 19:31:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1576715492; bh=uVKMTC5GdomVQxm5UKz+4KupvSfE9hjAZKRTxL2qUno=; h=Content-Type:Subject:From:Date:Message-Id:To; b=BsnnvTOtUyT1d7O1xb8Omcy1gUwDcCuxEcMvKu10Q/Bhl4Cy+dXvEiuewAF2ClffE mC3gax5i6D3e5Up7QyxrBtkbFKsZs3rXQA4ufvAjyPo4zUtWLXGl7COR+1ekY31EkZ QbqQvO3sTBK+dIm/6t4ZlOLmTVVBwJW4swBhlEQ3vSRgkaEw+2U+9u0vtiqGATtmf6 uHU3B8txtcypd6S2FnWRI3tzbhayuYeDjVB7KvEXX+pP4WKrboZMd8RkuePgg7/0yP Uj+ahelZiJcILmlVvB+XpxUkwgwhhKcGaBHWOZcpVrGm2saf9QvASbwFvw0a3h5e5s 6r+P4GhMaQAcA== Original-Received: from [192.168.96.166] (hlla-gw.hlla.is.tsukuba.ac.jp [130.158.83.243]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id D4276880218; Thu, 19 Dec 2019 00:31:31 +0000 (UTC) In-Reply-To: <20191218204422.GA22550@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-12-18_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=865 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1912190003 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173538 Archived-At: > Can I ask what this change does? >=20 > - (overlay-put (setq ns-working-overlay (make-overlay start (point) > - (current-buffer) = nil t)) > + (overlay-put (setq ns-working-overlay (make-overlay start = (point))) At first I thought it would be fixed just by moving [self = deleteWorkingText] in nsterm.m. However as a result insertText (ex: pressing RET to input selected = candidates) left nothing. That=E2=80=99s because ns-delete-working-text (by [self = deleteWorkingText]) delete all inserted=20 chars including chars inserted by insertText-emited normal input events. = This patch prevent=20 ns-working-overlay expanding its size in insertText. Unfortunately I found the patch change behavior of undo worse. So = NS-spesific patch should=20 have further modification. -- tsuucat