all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using ibus input methods in Emacs GTK+
@ 2023-08-06 15:32 Luis Felipe
  2023-08-07 10:12 ` 宋文武
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Felipe @ 2023-08-06 15:32 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 767 bytes --]

Hello,

I upgraded my Guix system (currently on 17fadbb) and now I can type 
Japanese again (thanks, 宋文武). However, ibus input methods are working 
everywhere (GTK, GTK+, Qt) except in Emacs GTK+, which is unexpected 
because typing Japanese in Emacs used to just work before.  My current 
workaround is to start "emacs -nw" in a GNOME Console and then I can use 
ibus in it.

I thought that maybe something in Emacs 28.x had changed, but trying on 
a Debian 12 machine, I can use ibus normally in Emacs GTK+ without 
configuring anything.

If you're able to type Japanese (or use ibus input methods in general) 
in Emacs GTK+, did you have to do anything special?

Thanks,

-- 
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using ibus input methods in Emacs GTK+
  2023-08-06 15:32 Using ibus input methods in Emacs GTK+ Luis Felipe
@ 2023-08-07 10:12 ` 宋文武
  2023-08-07 14:04   ` Luis Felipe
  0 siblings, 1 reply; 3+ messages in thread
From: 宋文武 @ 2023-08-07 10:12 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help-guix

Luis Felipe <sirgazil@zoho.com> writes:

> Hello,
>
> I upgraded my Guix system (currently on 17fadbb) and now I can type
> Japanese again (thanks, 宋文武). However, ibus input methods are
> working everywhere (GTK, GTK+, Qt) except in Emacs GTK+, which is
> unexpected because typing Japanese in Emacs used to just work before. 
> My current workaround is to start "emacs -nw" in a GNOME Console and
> then I can use ibus in it.
>
> I thought that maybe something in Emacs 28.x had changed, but trying
> on a Debian 12 machine, I can use ibus normally in Emacs GTK+ without
> configuring anything.
>
> If you're able to type Japanese (or use ibus input methods in general)
> in Emacs GTK+, did you have to do anything special?
>

Well, Emacs use XIM, so you need set 'XMODIFIERS=@im=ibus' and run
ibus-daemon with the "--xim" / "-x" argument.

Hope this helps!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using ibus input methods in Emacs GTK+
  2023-08-07 10:12 ` 宋文武
@ 2023-08-07 14:04   ` Luis Felipe
  0 siblings, 0 replies; 3+ messages in thread
From: Luis Felipe @ 2023-08-07 14:04 UTC (permalink / raw)
  To: 宋文武; +Cc: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 1091 bytes --]

Hi 宋文武,

El 7/08/23 a las 10:12, 宋文武 escribió:
> Luis Felipe <sirgazil@zoho.com> writes:
>
>> Hello,
>>
>> I upgraded my Guix system (currently on 17fadbb) and now I can type
>> Japanese again (thanks, 宋文武). However, ibus input methods are
>> working everywhere (GTK, GTK+, Qt) except in Emacs GTK+, which is
>> unexpected because typing Japanese in Emacs used to just work before.
>> My current workaround is to start "emacs -nw" in a GNOME Console and
>> then I can use ibus in it.
>>
>> I thought that maybe something in Emacs 28.x had changed, but trying
>> on a Debian 12 machine, I can use ibus normally in Emacs GTK+ without
>> configuring anything.
>>
>> If you're able to type Japanese (or use ibus input methods in general)
>> in Emacs GTK+, did you have to do anything special?
>>
> Well, Emacs use XIM, so you need set 'XMODIFIERS=@im=ibus' and run
> ibus-daemon with the "--xim" / "-x" argument.
>
> Hope this helps!

Yep, I had the variable set already but was running the daemon without 
-x. Problem solved.

Thanks again :)


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-07 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-06 15:32 Using ibus input methods in Emacs GTK+ Luis Felipe
2023-08-07 10:12 ` 宋文武
2023-08-07 14:04   ` Luis Felipe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.