unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 751789471c: Display pre-edit information from X input methods
@ 2022-01-07  8:17 Eli Zaretskii
  2022-01-07  9:19 ` Po Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-01-07  8:17 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> branch: master
> commit 751789471cf04916bcfad358472625f382e596d8
> Author: Po Lu <luangruo@yahoo.com>
> Commit: Po Lu <luangruo@yahoo.com>
> 
>     Display pre-edit information from X input methods
>     
>     This also repurposes the `pgtk-preedit-text' event to be
>     meaningful on X, renames it `preedit-text', and documents it.
>     
>     * doc/lispref/commands.texi (Misc Events): Document
>     `preedit-text'.
>     * lisp/term/pgtk-win.el (pgtk-preedit-text): Bind to
>     `preedit-text' instead.
>     * lisp/term/x-win.el (x-preedit-overlay): New variable.
>     (x-preedit-text): New command, bound as a special event to
>     `preedit-text'.

Does this mean we will now display the preedit text from XIM in our
own windows?  And this is on by default, and the user cannot go back
to the old behavior (where AFAIU the preedit text was displayed by the
IM itself)?  Those are all user-visible features, and should be
documented as such.  Currently, there doesn't seem to be any
user-level documentation, and moreover, the lispref documentation
stops short of saying how these new events are used by Emacs.

Also, I believe we should let users go back to previous behavior, and
I'm not yet sure we should make this behavior change by default.

Or what am I missing?



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

* Re: master 751789471c: Display pre-edit information from X input methods
  2022-01-07  8:17 master 751789471c: Display pre-edit information from X input methods Eli Zaretskii
@ 2022-01-07  9:19 ` Po Lu
  2022-01-07  9:40   ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2022-01-07  9:19 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Does this mean we will now display the preedit text from XIM in our
> own windows?  And this is on by default, and the user cannot go back
> to the old behavior (where AFAIU the preedit text was displayed by the
> IM itself)?  Those are all user-visible features, and should be
> documented as such.

Thanks.

> Currently, there doesn't seem to be any user-level documentation, and
> moreover, the lispref documentation stops short of saying how these
> new events are used by Emacs.

Thanks, I'll fix that.

> Also, I believe we should let users go back to previous behavior, and
> I'm not yet sure we should make this behavior change by default.

That was introduced in the commit immediately following this one: the
new X resource `inputStyle' can be used to toggle between the old
behaviour and the new one.

I did document the new resource in both NEWS and the user manual.

I'll turn it off by default.



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

* Re: master 751789471c: Display pre-edit information from X input methods
  2022-01-07  9:19 ` Po Lu
@ 2022-01-07  9:40   ` Stefan Kangas
  2022-01-07 10:46     ` Po Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2022-01-07  9:40 UTC (permalink / raw)
  To: Po Lu, Eli Zaretskii; +Cc: emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> That was introduced in the commit immediately following this one: the
> new X resource `inputStyle' can be used to toggle between the old
> behaviour and the new one.

Could this be a user-option as well?



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

* Re: master 751789471c: Display pre-edit information from X input methods
  2022-01-07  9:40   ` Stefan Kangas
@ 2022-01-07 10:46     ` Po Lu
  0 siblings, 0 replies; 4+ messages in thread
From: Po Lu @ 2022-01-07 10:46 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Eli Zaretskii, emacs-devel

Stefan Kangas <stefankangas@gmail.com> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> That was introduced in the commit immediately following this one: the
>> new X resource `inputStyle' can be used to toggle between the old
>> behaviour and the new one.

> Could this be a user-option as well?

It would be a little difficult to implement that way, but if it's
required I can do it.

Thanks.



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

end of thread, other threads:[~2022-01-07 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07  8:17 master 751789471c: Display pre-edit information from X input methods Eli Zaretskii
2022-01-07  9:19 ` Po Lu
2022-01-07  9:40   ` Stefan Kangas
2022-01-07 10:46     ` Po Lu

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).