unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Akib Azmain Turja <akib@disroot.org>
Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
Subject: Re: "bengali-probhat" input method don't work as expected (by me)
Date: Wed, 10 Aug 2022 17:42:33 +0530	[thread overview]
Message-ID: <87y1vwthzi.fsf@gmail.com> (raw)
In-Reply-To: <87fsi4sd63.fsf@disroot.org> (Akib Azmain Turja's message of "Wed, 10 Aug 2022 14:41:56 +0600")

[புதன் ஆகஸ்ட் 10, 2022] Akib Azmain Turja wrote:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Akib Azmain Turja <akib@disroot.org>
>>> Date: Tue, 09 Aug 2022 20:44:07 +0600
>>> 
>>> I use Dvorak keyboard layout (actually the OS is converting QWERTY keys
>>> to Dvorak).  All input methods were broken for me.
>>
>> I don't think our input methods automatically support Dvorak keyboard
>> layouts, except the one(s) that is/are explicitly written to support
>> it.
>
> Why?  Why customizing quail-keyboard-layout isn't enough?

It isn't enough because the KBD-TRANSLATE for the bengali-probhat input
method was set to nil so Quail does not care about
quail-keyboard-layout.
[ KBD-TRANSLATE=nil is good for bengali-itrans which is phonetic but not
  so for bengali-probhat which is a keyboard layout akin to QWERTY.  ]

>>
>>> And by the way, why M-x describe-input-method RET english-dvorak shows
>>> nice keyboard while M-x describe-input-method RET bengali-probhat shows
>>> just a (translation?) table?
>>
>> Because no one wrote the code to produce the nice display for
>> bengali-probhat.  It isn't automatic.  Patches welcome.
>>
>
> What files needs to be changed?

There is no need for that.  Quail takes care of it when we give it the
right argument when defining the input method.

TL;DR: We simply need to change two arguments to quail-define-package to
get the desired behaviour.  There's nothing more to do (other than
perhaps having pixel perfect alignment of the keyboard layout in the
*Help* buffer).



      reply	other threads:[~2022-08-10 12:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 14:44 "bengali-probhat" input method don't work as expected (by me) Akib Azmain Turja
2022-08-09 15:42 ` Visuwesh
2022-08-09 17:49   ` Akib Azmain Turja
2022-08-10  7:35     ` Visuwesh
2022-08-10 12:26       ` Eli Zaretskii
2022-08-10 12:36         ` Visuwesh
2022-08-12 15:40         ` Akib Azmain Turja
2022-08-12 17:52           ` Eli Zaretskii
2022-08-09 16:15 ` Eli Zaretskii
2022-08-10  8:41   ` Akib Azmain Turja
2022-08-10 12:12     ` Visuwesh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1vwthzi.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=akib@disroot.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).