Subject: bug#58647: 29.0.50; Unwanted switch of foreground colour in *shell* buffer

From: Peter Dyballa <[email-masked]>
Date: Wed, 19 Oct 2022 23:11:25 +0200

Hello!

This bug is probably the same as reported in bug#44118:

In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.4.0, X toolkit, cairo version 1.17.4, Xaw3d scroll bars)
 of 2022-05-13 built on Kleines.fritz.box
Repository revision: 6815db492ff899e77b45be98414567ad96a8177c
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12099001
System Description:  macOS 12.6

Configured using:
 'configure --prefix=/opt/local --disable-silent-rules --without-ns
 --without-dbus --without-gconf --without-libotf --without-m17n-flt
 --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules
 '--enable-locallisppath=/Library/Application
 Support/Emacs/calendar29:/Library/Application Support/Emacs' --infodir
 /opt/local/share/info/emacs --with-sqlite3 --with-webp
 --with-x-toolkit=lucid --with-xaw3d --without-imagemagick --with-xpm
 --with-jpeg --with-tiff --with-gif --with-png --with-lcms2
 --without-rsvg --with-xft 'CFLAGS=-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64' 'CPPFLAGS=-I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lfreetype
 -lfontconfig -Wl,-no_pie
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -arch x86_64''

Configured features:
ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 MODULES NOTIFY KQUEUE PDUMPER PNG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  save-place-mode: t
  midnight-mode: t
  display-time-mode: t
  desktop-save-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/Library/Application Support/Emacs/htmlfontify hides /opt/local/share/emacs/29.0.50/lisp/htmlfontify
/Library/Application Support/Emacs/calendar29/cal-move hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-move
/Library/Application Support/Emacs/calendar29/lunar hides /opt/local/share/emacs/29.0.50/lisp/calendar/lunar
/Library/Application Support/Emacs/calendar29/solar hides /opt/local/share/emacs/29.0.50/lisp/calendar/solar
/Library/Application Support/Emacs/calendar29/icalendar hides /opt/local/share/emacs/29.0.50/lisp/calendar/icalendar
/Library/Application Support/Emacs/calendar29/calendar hides /opt/local/share/emacs/29.0.50/lisp/calendar/calendar
/Library/Application Support/Emacs/calendar29/cal-html hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-html
/Library/Application Support/Emacs/calendar29/cal-iso hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-iso
/Library/Application Support/Emacs/calendar29/cal-tex hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-tex
/Library/Application Support/Emacs/calendar29/parse-time hides /opt/local/share/emacs/29.0.50/lisp/calendar/parse-time
/Library/Application Support/Emacs/calendar29/holidays hides /opt/local/share/emacs/29.0.50/lisp/calendar/holidays
/Library/Application Support/Emacs/calendar29/cal-menu hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-menu
/Library/Application Support/Emacs/calendar29/hol-loaddefs hides /opt/local/share/emacs/29.0.50/lisp/calendar/hol-loaddefs
/Library/Application Support/Emacs/calendar29/cal-x hides /opt/local/share/emacs/29.0.50/lisp/calendar/cal-x
/Library/Application Support/Emacs/calendar29/diary-lib hides /opt/local/share/emacs/29.0.50/lisp/calendar/diary-lib
/Library/Application Support/Emacs/calendar29/diary-loaddefs hides /opt/local/share/emacs/29.0.50/lisp/calendar/diary-loaddefs
/Library/Application Support/Emacs/preview-latex hides /opt/local/share/emacs/site-lisp/preview-latex
/Library/Application Support/Emacs/tex-site hides /opt/local/share/emacs/site-lisp/tex-site
/Library/Application Support/Emacs/auctex hides /opt/local/share/emacs/site-lisp/auctex
/Library/Application Support/Emacs/punycode hides /opt/local/share/emacs/site-lisp/punycode
/Library/Application Support/Emacs/idna hides /opt/local/share/emacs/site-lisp/idna
/Library/Application Support/Emacs/cmake-mode hides /opt/local/share/emacs/site-lisp/cmake-mode

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
rfc822 mml mml-sec password-cache epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils cl-print help-fns radix-tree executable misearch
multi-isearch compile text-property-search thingatpt cl-seq cl-extra
help-mode seq byte-opt dired-aux autorevert filenotify dired
dired-loaddefs time-date lunar view cal-julian shell pcomplete comint
ansi-color ring jka-compr diary-lib diary-loaddefs solar cal-dst
holidays hol-loaddefs saveplace midnight time cus-load ucs-normalize
bytecomp byte-compile cconv cl session desktop frameset delsel mule-util
cal-move cl-macs gv cl-loaddefs cl-lib derived cal-menu calendar
cal-loaddefs subr-x time-stamp advice iso-transl tooltip eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd 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 simple cl-generic 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 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 kqueue
lcms2 dynamic-setting system-font-setting font-render-setting cairo
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 332433 9354)
 (symbols 48 10441 1)
 (strings 32 36448 2085)
 (string-bytes 1 1277462)
 (vectors 16 40274)
 (vector-slots 8 499890 14771)
 (floats 8 573 485)
 (intervals 56 17071 0)
 (buffers 992 25))

--
Greetings

  Pete

Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we.
				– Georges W. Bush