zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

Percent signs in replying message are modified in the prompt #476

Closed y0sik closed 3 months ago

y0sik commented 3 months ago

Telega Setup

OS: Guix System Emacs: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) Features: svg ffmpeg Telega: telega v0.8.240 (TDLib v1.8.24-GITDIR-) (telega-server v0.8.2) MELPA: 0.8.240

Current Behavior

When replying to a message with percent signs in it, it is displayed in the prompt in a weird way.

Steps to Reproduce

  1. Post a message containing percent signs, "% %% %b" should work
  2. Start replying to this message (e.g. just press r)
  3. In the prompt, percent signs are transformed as described in mode-line-format docstring