FS#72426 - [emacs] ibus input not working

Attached to Project: Arch Linux
Opened by Raman Mohan (mohan43u) - Friday, 15 October 2021, 12:54 GMT
Last edited by Toolybird (Toolybird) - Monday, 04 September 2023, 08:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Under gnome, emacs is suppose to communicate with ibus when I select Tamil(tamil99(m17n)) input in gnome. All the other gtk applications working except emacs. If I select same xkb based input Tamil(TamilNet'99) in gnome, emacs works fine.


Additional info:

* package version(s)
local/emacs 27.2-1
local/ibus 1.5.25-3
local/ibus-m17n 1.4.7-1
local/libibus 1.5.25-3
local/m17n-db 1.8.0-3
local/m17n-lib 1.8.0-10

Steps to reproduce:

1. Install above packages in gnome desktop environment
2. goto settings->keyboard->input sources->add Tamil(tamil99(m17n))
3. start emacs (gui)
4. switch the input source to Tamil(tamil99(m17n)) and type something, emacs should show Tamil Text, but it shows english text
5. goto settings->keyboard->input sources->remove Tamil(tamil99(m17n))->add Tamil(TamilNet'99)
6. start emacs (gui)
7. switch the input source to Tamil(TamilNet'99) and type something, emacs properly shows tamil text

emacs not at all communicating with ibus when we switch the input source to ibus based Tamil(tamil99(m17n)), but works properly when using xkb based Tamil(TamilNet'99).
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 04 September 2023, 08:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by Raman Mohan (mohan43u) - Saturday, 16 October 2021, 05:51 GMT
I just compared PKGBUILD compile flags with compile flags from Fedora (https://src.fedoraproject.org/rpms/emacs/blob/rawhide/f/emacs.spec#_92), they have a dependency to dejavu-sans-mono-fonts pointing to this 10 year old bug https://bugzilla.redhat.com/show_bug.cgi?id=732422.

Once I installed ttf-dejavu, everything started working again.

In the bug report, they are talking about bitmap font dependency in emacs, when I looked into ttf-dejavu, I only see ttf files, there is no bitmap files. Something happend when I installed ttf-dejavu (may be font cache broken and ttf-dejavu fixed it? some other thing?) which fixed my issue.

Loading...