From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60711: Compose fails to generate =?UTF-8?Q?=E2=89=A4?= and =?UTF-8?Q?=E2=89=A5?= (only those two! and only in emacs!) Date: Thu, 12 Jan 2023 09:25:04 +0800 Message-ID: <87k01see8f.fsf@yahoo.com> References: <56368889cbdc3988c852@heytings.org> <87r0w1fs1q.fsf@yahoo.com> <502d6ee86a5af0665e1e@heytings.org> <875yddfk2v.fsf@yahoo.com> <502d6ee86aeda9813a72@heytings.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28882"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60711@debbugs.gnu.org, Marcin Kasperski To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 12 02:26:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pFmME-0007Em-EK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Jan 2023 02:26:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFmLz-0004UG-OJ; Wed, 11 Jan 2023 20:26:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFmLy-0004U8-FC for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 20:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFmLy-00020g-3f for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 20:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFmLx-0008T8-Po for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 20:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 01:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60711 X-GNU-PR-Package: emacs Original-Received: via spool by 60711-submit@debbugs.gnu.org id=B60711.167348672532505 (code B ref 60711); Thu, 12 Jan 2023 01:26:01 +0000 Original-Received: (at 60711) by debbugs.gnu.org; 12 Jan 2023 01:25:25 +0000 Original-Received: from localhost ([127.0.0.1]:44246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFmLM-0008SC-Va for submit@debbugs.gnu.org; Wed, 11 Jan 2023 20:25:25 -0500 Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:40530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFmLK-0008Rv-2V for 60711@debbugs.gnu.org; Wed, 11 Jan 2023 20:25:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673486716; bh=T6GB9SeVqGpOVtIA49CwOp8rhkO2FxPcrfezwZeFfNw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=BQy7GU+PcNP6GGv9nhT///QjWlGSk8KNxYHR9FnjedC452/iB/rXFuGX2ovbYMOB5t4YUafB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WvP_ Ez_kf_SeTXA3q1EvNUVsBUvxMmc6aZidbQaP4us98YHntepzdC7_BSbsDvf3cH4r8nWNLrdyhQHy Cm7VM4novMscqM8M7NyitZ5enhZ8PpTrW2QlxZKsyMLbGoOTHglGQS..hhWatEddWKDndiVe8eSq SkMWRWATyRYvKRaloQEZ1yw04UzdDGavwpps571Ko8yh4LdQLxTOhDX0.Ti.EMtbPx0qdJ2LqFqk 1z_tQI9pBWiPd6FWMw6eU9EQQ4pUPFRsJd5duzWKBlCicABSIgg8DGpRi6fCXVsPexTV3TzIJ7JU BBXq7X0aPugdtJl6AEH1aT_dDMOAUBbETjW5rTb6GKs8V99_7Re9ZtK0SEUtnEc46jpw0cnIEgEa V61rOyWXgdPxZvgDlFjt6VfDo.BGxEYnkbo5rFKh8v_0g6JLtzYq0THvUiKMEnfgI3VZ9KXTP8DL .IgfQuepoRegsV2iWyScNjkLEh0e4YKjCkS16ym9KBJOrdGkfFajajD1E4oOrNgFu87RzXGIumoz QRyAjAR_UChJjDnRp_1fIm79ZiDJRWWSB99HImok2m X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Thu, 12 Jan 2023 01:25:16 +0000 Original-Received: by hermes--production-sg3-5ff5bbd69d-mpzp7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 52c4deb5f68ee6d18de3737c1fda10bc; Thu, 12 Jan 2023 01:25:10 +0000 (UTC) In-Reply-To: <502d6ee86aeda9813a72@heytings.org> (Gregory Heytings's message of "Wed, 11 Jan 2023 21:02:07 +0000") X-Mailer: WebService/1.1.21062 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253175 Archived-At: Gregory Heytings writes: >> >> The compose key requires either compose state to be kept by the >> program in cooperation with XLookupString, or is implemented by the >> input method. >> > > You're right. I thought this was happening entirely inside Xlib, and > indeed it requires some cooperation of the program. It seems that > this cooperation is minimal, though: IIUC, the client should just > immediately discard the events when XFilterEvent returns True, that > is, until the composed character is delivered. How do you think ``the composed character is delivered''? Marcin, would you please put a breakpoint under the "KeyPress:" label in handle_one_xevent, and set it to run (upon being hit): p event->xkey What do you see when you finish typing the compose sequence that does not work?