GNU bug report logs - #67155
30.0.50; (x-synchronize t) garbels display

Previous Next

Package: emacs;

Reported by: Gregor Zattler <grfz <at> gmx.de>

Date: Tue, 14 Nov 2023 00:00:02 UTC

Severity: normal

Found in version 30.0.50

To reply to this bug, email your comments to 67155 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67155; Package emacs. (Tue, 14 Nov 2023 00:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gregor Zattler <grfz <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Nov 2023 00:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <grfz <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; (x-synchronize t) garbels display
Date: Tue, 14 Nov 2023 00:58:21 +0100
[Message part 1 (text/plain, inline)]
I cannot reproduce with -Q, but evaluating
`(x-synchronize t)' sometimes garbles display.  See
attached screenshot.  Note: When copying the region
shown in the screenshot and pasting into nano, the text
is correct, not garbled.

Evaluation of `(x-synchronize t)' is part of the
attempt to capture a usable backtrace for bug#66978.

Now this display bug is another one.  If you have any
ideas how to investigate these I would be happy to help
following instructions.

Thanks, Gregor

[2023-11-13-x-synchronize-t-mangels-display.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu,
 cairo version 1.16.0) of 2023-11-02 built on no
Repository revision: 078cfe807295038fa321c9297e24de5145065622
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --infodir=/usr/share/info/emacs --with-json
 --with-file-notification=yes --with-libsystemd
 --with-cairo --with-x=yes --with-x-toolkit=no
 --without-toolkit-scroll-bars --without-gsettings
 --enable-checking=yes,glyphs
 --enable-check-lisp-object-type
 --with-native-compilation 'CFLAGS=-g3 -O3
 -ffile-prefix-map=/home/grfz/src/emacs-master--078cfe807295038fa321c9297e24de5145065622--2023-11-02T00-38+01-00=. -fstack-protector-strong
 -Wformat -Werror=format-security ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM
HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD
LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS
TIFF WEBP X11 XDBE XIM XINPUT2 XPM ZLIB

Important settings:
  value of $LC_ALL:
  value of $LC_COLLATE: de_DE.utf8
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix

Major mode: notmuch-show

Minor modes in effect:
  server-mode: t
  winner-mode: t
  gcmh-mode: t
  mail-abbrevs-mode: t
  savehist-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  delete-selection-mode: t
  which-function-mode: t
  windmove-mode: t
  xterm-mouse-mode: t
  emacs-gc-stats-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/grfz/src/notmuch/emacs/notmuch-lib hides /usr/local/share/emacs/site-lisp/notmuch-lib
/home/grfz/src/notmuch/emacs/coolj hides /usr/local/share/emacs/site-lisp/coolj
/home/grfz/src/notmuch/emacs/notmuch-address hides /usr/local/share/emacs/site-lisp/notmuch-address
/home/grfz/src/notmuch/emacs/notmuch-hello hides /usr/local/share/emacs/site-lisp/notmuch-hello
/home/grfz/src/notmuch/emacs/notmuch-parser hides /usr/local/share/emacs/site-lisp/notmuch-parser
/home/grfz/src/notmuch/emacs/notmuch-show hides /usr/local/share/emacs/site-lisp/notmuch-show
/home/grfz/src/notmuch/emacs/notmuch-wash hides /usr/local/share/emacs/site-lisp/notmuch-wash
/home/grfz/src/notmuch/emacs/notmuch-draft hides /usr/local/share/emacs/site-lisp/notmuch-draft
/home/grfz/src/notmuch/emacs/notmuch-tree hides /usr/local/share/emacs/site-lisp/notmuch-tree
/home/grfz/src/notmuch/emacs/notmuch-version hides /usr/local/share/emacs/site-lisp/notmuch-version
/home/grfz/src/notmuch/emacs/notmuch-jump hides /usr/local/share/emacs/site-lisp/notmuch-jump
/home/grfz/src/notmuch/emacs/notmuch-company hides /usr/local/share/emacs/site-lisp/notmuch-company
/home/grfz/src/notmuch/emacs/notmuch hides /usr/local/share/emacs/site-lisp/notmuch
/home/grfz/src/notmuch/emacs/notmuch-crypto hides /usr/local/share/emacs/site-lisp/notmuch-crypto
/home/grfz/src/notmuch/emacs/notmuch-compat hides /usr/local/share/emacs/site-lisp/notmuch-compat
/home/grfz/src/notmuch/emacs/notmuch-maildir-fcc hides /usr/local/share/emacs/site-lisp/notmuch-maildir-fcc
/home/grfz/src/notmuch/emacs/notmuch-tag hides /usr/local/share/emacs/site-lisp/notmuch-tag
/home/grfz/src/notmuch/emacs/notmuch-message hides /usr/local/share/emacs/site-lisp/notmuch-message
/home/grfz/src/notmuch/emacs/notmuch-print hides /usr/local/share/emacs/site-lisp/notmuch-print
/home/grfz/src/notmuch/emacs/notmuch-mua hides /usr/local/share/emacs/site-lisp/notmuch-mua
/home/grfz/src/notmuch/emacs/notmuch-query hides /usr/local/share/emacs/site-lisp/notmuch-query
/home/grfz/src/notmuch/emacs/notmuch-address hides /home/grfz/.config/emacs/elisp/notmuch-address
/home/grfz/src/ol-notmuch/ol-notmuch hides /home/grfz/.config/emacs/elisp/ol-notmuch
/home/grfz/.config/emacs/elpa-30.0/transient-0.4.3/transient hides /home/grfz/src/emacs-master--078cfe807295038fa321c9297e24de5145065622--2023-11-02T00-38+01-00/lisp/transient

Features:
(shadow emacsbug sort mail-extr orgalist ecomplete
misearch multi-isearch face-remap autorevert org-eldoc
wcheck-mode oc-basic org-element org-persist org-id
org-refile org-element-ast inline avl-tree generator
ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-art mm-uu mml2015
gnus-sum shr pixel-fill kinsoku url-file svg dom
gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud
nnimap nnmail mail-source utf7 nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader
range ol-docview doc-view filenotify jka-compr
image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m
ol-doi org-link-doi mule-util add-log server
rainbow-delimiters notifications time winner gcmh
ol-notmuch notmuch notmuch-tree notmuch-jump
notmuch-hello notmuch-show notmuch-print notmuch-crypto
notmuch-mua notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address notmuch-company
notmuch-parser notmuch-wash diff-mode coolj goto-addr
thingatpt icalendar diary-lib diary-loaddefs
notmuch-tag crm notmuch-lib notmuch-version
notmuch-compat pcase hl-line message yank-media rfc822
mml gmm-utils mailheader mm-view mml-smime mml-sec epa
derived epg rfc6068 epg-config gnus-util
text-property-search smime gnutls puny dig mm-decode
mm-bodies mm-encode mail-parse rfc2231 compat org-crypt
org-protocol org-clock dbus xml ob-plantuml sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils finder-inf mailabbrev savehist
auth-source-pass holidays holiday-loaddefs ws-butler
delsel modus-operandi-theme modus-themes which-func
imenu windmove xt-mouse edmacro kmacro key-chord comp
comp-cstr warnings advice emacs-gc-stats dired-aux
dired dired-loaddefs cl-extra help-mode org ob ob-ref
ob-lob ob-table ob-exp org-macro org-pcomplete
pcomplete org-list org-footnote org-faces org-entities
time-date noutline outline ob-emacs-lisp org-table
org-loaddefs find-func cal-menu calendar cal-loaddefs
ob-tangle ol org-src sh-script rx smie treesit
executable org-keys oc ob-comint comint ansi-osc
ansi-color ring ob-core org-cycle org-fold
org-fold-core org-compat ob-eval org-version org-macs
format-spec use-package use-package-ensure
use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode
use-package-core async-autoloads csv-mode-autoloads
debbugs-autoloads dired-git-info-autoloads
emacs-gc-stats-autoloads gcmh-autoloads
hyperbole-autoloads key-chord-autoloads magit-autoloads
git-commit-autoloads magit-section-autoloads
dash-autoloads org-contrib-autoloads orgalist-autoloads
paredit-autoloads rainbow-delimiters-autoloads
rainbow-mode-autoloads transient-autoloads
wcheck-mode-autoloads which-key-autoloads
with-editor-autoloads info compat-autoloads
ws-butler-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map
byte-opt gv bytecomp byte-compile url-vars cus-edit pp
cus-load icons wid-edit cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen
tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame
minibuffer nadvice seq simple cl-generic indonesian
philippine cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese
eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite
emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded
button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64
format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting font-render-setting cairo
xinput2 x multi-tty move-toolbar make-network-process
native-compile emacs)

Memory information:
((conses 16 806919 373347) (symbols 48 35475 1)
 (strings 32 132310 44204) (string-bytes 1 5971227) (vectors 16 74471)
 (vector-slots 8 2009376 487581) (floats 8 618 10423)
 (intervals 56 53803 18551) (buffers 984 22))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67155; Package emacs. (Wed, 15 Nov 2023 15:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 67155 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Gregor Zattler <grfz <at> gmx.de>, 67155 <at> debbugs.gnu.org
Subject: Re: bug#67155: 30.0.50; (x-synchronize t) garbels display
Date: Wed, 15 Nov 2023 21:10:26 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Gregor Zattler <grfz <at> gmx.de>
>> Date: Tue, 14 Nov 2023 00:58:21 +0100
>> 
>> I cannot reproduce with -Q, but evaluating
>> `(x-synchronize t)' sometimes garbles display.  See
>> attached screenshot.  Note: When copying the region
>> shown in the screenshot and pasting into nano, the text
>> is correct, not garbled.
>> 
>> Evaluation of `(x-synchronize t)' is part of the
>> attempt to capture a usable backtrace for bug#66978.
>> 
>> Now this display bug is another one.  If you have any
>> ideas how to investigate these I would be happy to help
>> following instructions.
>
> Po Lu, any ideas or suggestions?

Not really, unless you (Gregor) try running Emacs with the X font
backend for a while, and tell me whether the problem abates then:

  (set-frame-parameter nil 'font-backend 'x)

TIA.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67155; Package emacs. (Wed, 15 Nov 2023 16:29:04 GMT) Full text and rfc822 format available.

Message #11 received at 67155 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregor Zattler <grfz <at> gmx.de>, Po Lu <luangruo <at> yahoo.com>
Cc: 67155 <at> debbugs.gnu.org
Subject: Re: bug#67155: 30.0.50; (x-synchronize t) garbels display
Date: Wed, 15 Nov 2023 15:04:48 +0200
> From: Gregor Zattler <grfz <at> gmx.de>
> Date: Tue, 14 Nov 2023 00:58:21 +0100
> 
> I cannot reproduce with -Q, but evaluating
> `(x-synchronize t)' sometimes garbles display.  See
> attached screenshot.  Note: When copying the region
> shown in the screenshot and pasting into nano, the text
> is correct, not garbled.
> 
> Evaluation of `(x-synchronize t)' is part of the
> attempt to capture a usable backtrace for bug#66978.
> 
> Now this display bug is another one.  If you have any
> ideas how to investigate these I would be happy to help
> following instructions.

Po Lu, any ideas or suggestions?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67155; Package emacs. (Thu, 16 Nov 2023 12:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 67155 <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <grfz <at> gmx.de>
To: Po Lu <luangruo <at> yahoo.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 67155 <at> debbugs.gnu.org
Subject: Re: bug#67155: 30.0.50; (x-synchronize t) garbels display
Date: Thu, 16 Nov 2023 13:10:44 +0100
* Po Lu <luangruo <at> yahoo.com> [2023-11-15; 21:10 +08]:
> Eli Zaretskii <eliz <at> gnu.org> writes:
>>> From: Gregor Zattler <grfz <at> gmx.de>
>>> Date: Tue, 14 Nov 2023 00:58:21 +0100
>>>
>>> I cannot reproduce with -Q, but evaluating
>>> `(x-synchronize t)' sometimes garbles display.  See
>>> attached screenshot.  Note: When copying the region
>>> shown in the screenshot and pasting into nano, the text
>>> is correct, not garbled.
>>>
>>> Evaluation of `(x-synchronize t)' is part of the
>>> attempt to capture a usable backtrace for bug#66978.
>>>
>>> Now this display bug is another one.  If you have any
>>> ideas how to investigate these I would be happy to help
>>> following instructions.
>>
>> Po Lu, any ideas or suggestions?
>
> Not really, unless you (Gregor) try running Emacs with the X font
> backend for a while, and tell me whether the problem abates then:
>
>   (set-frame-parameter nil 'font-backend 'x)

With this setting the display should not be garbled,
although using `(x-synchronize t)'?


This only worked with

(set-frame-parameter nil 'font-backend "x")

so with string instead of symbol.

This display bug showed up a few times till I reported
it -- but not since I made `(x-synchronize t)' part of
my standard setup.

I now enabled `(set-frame-parameter nil 'font-backend
"x")' as part of my setup, but the available fonts are
really not nice.  I will see how long I can bear with
them for the sake of catching a backtrace of for
bug#66978, which also did not show up again.

Thanks, Gregor




This bug report was last modified 1 year and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.