From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74590: 31.0.50 [scratch/igc branch]; key input sometimes skip fcitx input method preedit box Date: Sun, 01 Dec 2024 12:30:49 +0100 Message-ID: References: <87iks5xayc.fsf@gmail.com> <87h67nn2bs.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20814"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Yikai Zhao , Helmut Eller , 74590@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 01 12:32:27 2024 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 1tHiBd-0005Et-C4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Dec 2024 12:32:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHiBI-0004V6-Dx; Sun, 01 Dec 2024 06:32:04 -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 1tHiBG-0004Um-Vy for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 06:32:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHiBG-00025E-MY for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 06:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=wI39GqPUNQC5XaeqBnvjWwdDEeiNJMSnSvMsxDCSmB4=; b=UDRaQOD3OijjxyavriQg1Kt5rUMLlqwnyQdcmjrM8bhvJv+BdamrbbMvqt/TEvUAdbJMhvU67TVJpWAn/xnmmY2CLjBzt/E5IvQ91U0T36lrMFTkNW5PmUY0FSNj7S1CCl7uUCeKng6I8IhemwD2ZbaDyMastxI04ZmxFL4nlmMGI9AWvdfE+G/kT3rKE0c93WAcJLSbNVdc5NSRfcOMnbIHljA6KHNnmHabg5mSQYYOLrQnOOmpyZAsakOtv4E4pguQVnOsvK1wqjR32e/wFKJHTeh3DMTJkmNJO21RpBmk3kSaFSJNUelsCtdEA00qftag/vrgLA/ANTObYTWx3w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHiBG-0003WX-Go for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 06:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Dec 2024 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74590 X-GNU-PR-Package: emacs Original-Received: via spool by 74590-submit@debbugs.gnu.org id=B74590.173305272013534 (code B ref 74590); Sun, 01 Dec 2024 11:32:02 +0000 Original-Received: (at 74590) by debbugs.gnu.org; 1 Dec 2024 11:32:00 +0000 Original-Received: from localhost ([127.0.0.1]:50540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHiBD-0003WD-Tk for submit@debbugs.gnu.org; Sun, 01 Dec 2024 06:32:00 -0500 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:44076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHiBB-0003Vw-PH for 74590@debbugs.gnu.org; Sun, 01 Dec 2024 06:31:59 -0500 Original-Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-434ab938e37so20232485e9.0 for <74590@debbugs.gnu.org>; Sun, 01 Dec 2024 03:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733052652; x=1733657452; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wI39GqPUNQC5XaeqBnvjWwdDEeiNJMSnSvMsxDCSmB4=; b=NJRhavBYT0TzQvv10Uf6g/+SmacA42GFQHSIqkgdIwm+oaP/I3bvsX3sXR9aNxgUI+ u2iHY3/ibiaY2LnceUqdkxeUQ2H/sAu20q1phelFlnfAPcH2718N+Ei5QxgMKM3DAS1+ dwtS0EzaN1bR92ZwEGDBt0qnRQ4JcsMUKiItVMwlxeQ4nddUN5YjcsPwjhF+kYBP8bQl FX2gygKzMwWzDlbY766qHf2ixD+BIELDJZ8R9QdikXbkWLkKfcYECAKTi4ZyqvDvU7xH tTBqSCyfcNFYLnEIeFKF7iVIFfuzIg/FssvkOd+bhC1wkLEp1i0I7oZ8cv+oPdNKRnoq +cIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733052652; x=1733657452; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wI39GqPUNQC5XaeqBnvjWwdDEeiNJMSnSvMsxDCSmB4=; b=ao1HshJtkeN/SBcL06mz5LaUOW309vD5Rdahv1E1OY8jhqQJpjQWmHY9P3GgyMfsKL GPi6q3fOUn8iRF02fuXd7KmXEIJD5v00oyS1lfWZlnHL08vL6eiZP2pR4Isob7G3XXs2 sIUoilOfqR77nvLuBX3JhGkDE/h/wiJpOAwCGMld+rCUK0D9GZ6EzzhDDn2R2GN6tD+I 483pe2rtJ1Qk5XisqweJqJaEHvFiGGVCuRwaKc5CWrP5JbOOjD6nxRemJxoMsKDW57P0 StEMCHMqSTgPb/HHpAFFwbHVWlDZvi/knV0M1ckJ8rJg6BGV9OlUgVGhxpEa9HfxOiNg avTg== X-Forwarded-Encrypted: i=1; AJvYcCW19mqn1vcRXAdVBmoLPrk3qW7ey8ZineuNidonULuOwC+tDI1vB3YgFscq6ApzgNFGXkFtag==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyIL08lAZwBTpGPQf6JJCMnRtKKcR4OSUiERW+BnFB9PmrUXLC9 ak+uh3LVdQ9K20V7ALaoa3t9egtYBY1RZzw9gyfx3SWPnDReVTsk9WDWsA== X-Gm-Gg: ASbGncv1DcSyQ70g1pw4Ur/vNSpI/TiHoSTjr0EybFyLc2/8sUZ04PcrmaHr9Isc84E g+Of1BALkJZNzY51rnPrjIVHyqeRMkGKrzQ+LUEf7vbrTXD83xnoU7h1fDoCNaHFCaYP/i7L8KE qQ+DdqURP7Z0PNBr7Qqz9icTavhoCFRTphWGVR6CFhmT7DHHNnpTMaG1jVsLb64fCmKdg2wRaoc 6kNk21eTBAnDhNnVxOrNtZOemdPE1cgEN1SeisYvNbBI6uNSX1blSJN1A67IVZmq4wX9T8yFHnA lleiNb3gAP2H9x8b6eEDTjDJCGs6iU304uwfgTyhvA84RtOB/Oabf4pEaA== X-Google-Smtp-Source: AGHT+IH6l7Ubn/i/ws42YEPzwe0l1r+kQve7Uf2YKBLDoOIk9vIFLVknFaBa3mbzI86xbEn37scvkQ== X-Received: by 2002:a05:6000:4024:b0:385:e1e5:fff3 with SMTP id ffacd0b85a97d-385e1e60199mr5577680f8f.57.1733052651407; Sun, 01 Dec 2024 03:30:51 -0800 (PST) Original-Received: from pro2 (p200300e0b73e1e0079ddbf8403284f30.dip0.t-ipconnect.de. [2003:e0:b73e:1e00:79dd:bf84:328:4f30]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385e9c075e8sm2898111f8f.7.2024.12.01.03.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 03:30:50 -0800 (PST) In-Reply-To: <87h67nn2bs.fsf@protonmail.com> (Pip Cet's message of "Sun, 01 Dec 2024 10:08:04 +0000") 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:296239 Archived-At: Pip Cet writes: > Gerd M=C3=B6llmann writes: > >> It probably isn't relevant because of this >> >> #ifdef HAVE_MPS >> void free_glib_user_data (gpointer data, GClosure *closure) >> { >> igc_xfree (data); >> } >> #else >> void free_glib_user_data (gpointer data, GClosure *closure) >> { >> return; >> } >> #endif >> >> Don't know where the allocation takes place. > > It's this code in gtkutil.h: > > #ifdef HAVE_MPS > INLINE gpointer > glib_user_data (void *o) > { > gpointer p =3D igc_xzalloc_ambig (sizeof (o)); > memcpy (p, &o, sizeof (o)); > return p; > } > > INLINE void * > get_glib_user_data (gpointer p) > { > return *(void **)p; > } > #else > INLINE gpointer > glib_user_data (void *o) > { > return (gpointer)o; > } > > INLINE void * > get_glib_user_data (gpointer p) > { > return (void *)p; > } > #endif > > Does that look correct to you? Yes, kt does.