Re: [dev] [st] Emojis

From: ACE <a.mad.coder_AT_gmail.com>
Date: Sun, 17 Sep 2017 19:41:06 +0200

On 09/17, Janne Heß wrote:
> Thank you for your prompt response.
> I tried testing that by running `st bash` (my default shell
> automatically starts tmux).
> However, when pasting the first line of getemoji.com, st crashes (and
> this is an actual bug IMO).
> The output of st is:
>
> X Error of failed request: BadLength (poly request too large or
> internal Xlib length error)
> Major opcode of failed request: 139 (RENDER)
> Minor opcode of failed request: 20 (RenderAddGlyphs)
> Serial number of failed request: 825
> Current serial number in output stream: 865
>
> Do you need any more information for reproducing the bug?
>
> On 09/17/2017 06:35 PM, ACE wrote:
> > On 09/17, Janne Heß wrote:
> >> Hello everyone,
> >>
> >> I just wanted to ask if anyone has managed to properly display emojis in st.
> >> I know this is potentially sucky feature, but I read my mail in mutt and
> >> some companies think it's a good idea to put emojis into their subjects.
> >> Currently, it looks like the emojis consisting of 2 characters escape
> >> the character grid. I'm not sure if this is a bug or just a
> >> not-implemented feature.
> >>
> >> Is there anybody here who has experience with displaying such characters
> >> in st?
> >>
> >> Regards
> >> Janne
> >>
> >
> >
> > My experience of this is that it happens when I'm viewing mutt within
> > GNU screen.
> >
>


None of the content on getemoji.com makes st crash for me, nor does it
my make my st misbehave after a quick observation.

Again, all I have noticed is that, as you said, some companies use
emojis in their subject field. For me it has resulted in: When I use
st+screen+mutt, everything that is appearing after a emoji (possibly
those 2 character emojis) will be offset by at least one character. This
means that it will essentially break text on all lines after the emoji,
resulting in a diverge from the intended/expected rendering.

I had the intention of looking into it, but I figured my temporary
solution was OK for my needs: Mark those emails as spam, and never open
the spam folder. So far my friends has not had the idea of using emojis
in the subject field of a email...

Another vicious thought I had was to start a thread with a emoji that
will cause the same issue for more people here and thus attracting more
attention. But I figured maliciousness is not in my nature.

I believe more people are affected by this, but currently unaware of the
problem.
Received on Sun Sep 17 2017 - 19:41:06 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 17 2017 - 19:48:18 CEST