[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t)
From: |
Max Mikhanosha |
Subject: |
Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t) |
Date: |
Tue, 01 Jun 2021 17:36:41 +0000 |
On Tuesday, June 1st, 2021 at 1:04 PM, Andreas Schwab <schwab@linux-m68k.org>
wrote:
> On Jun 01 2021, Max Mikhanosha wrote:
>
> > +bool utf_8_input_coding_system_p(struct coding_system *coding)
> >
> > +{
> >
> > - return (coding->decoder == decode_coding_utf_8) ? true : false;
>
> The == operator already produces a bool value.
Its a cut-n-paste of existing function below, where you can make same
argument, I figured it was written in that more verbose way for clarity, so did
not change it to follow the style.
bool
raw_text_coding_system_p (struct coding_system *coding)
{
return (coding->decoder == decode_coding_raw_text
&& coding->encoder == encode_coding_raw_text) ? true : false;
}
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), (continued)
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Eli Zaretskii, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Max Mikhanosha, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Eli Zaretskii, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Max Mikhanosha, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Eli Zaretskii, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Max Mikhanosha, 2021/06/02
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Andreas Schwab, 2021/06/02
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Max Mikhanosha, 2021/06/03
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Eli Zaretskii, 2021/06/05
Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Andreas Schwab, 2021/06/01
- Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t),
Max Mikhanosha <=
Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t), Stefan Monnier, 2021/06/01