From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#44118: 28.0.50; Unwanted switch of foreground colour in *shell* buffer Date: Wed, 21 Oct 2020 20:10:28 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26887"; mail-complaints-to="usenet@ciao.gmane.io" To: 44118@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 21 20:24:05 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVImL-0006sa-HY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 20:24:05 +0200 Original-Received: from localhost ([::1]:46930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVImK-0006UH-K5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 14:24:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVIZj-0005b1-20 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVIZi-0002mP-OZ for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVIZi-0004r3-J2 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2020 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44118 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160330384818637 (code B ref -1); Wed, 21 Oct 2020 18:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2020 18:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:50527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVIZU-0004qX-7G for submit@debbugs.gnu.org; Wed, 21 Oct 2020 14:10:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVIZS-0004qP-Tg for submit@debbugs.gnu.org; Wed, 21 Oct 2020 14:10:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVIZS-0005TU-NR for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:10:46 -0400 Original-Received: from mout.web.de ([212.227.15.3]:55391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVIZJ-0002k6-QC for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:10:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1603303829; bh=3PZLwp9CPnhhSP6SHybwX96Lxg2owhSITGglCOsIB/I=; h=X-UI-Sender-Class:From:Subject:Date:To; b=AJMCuznZVWR/4QuU28NMBCNwJvEu8gyzVSj0hHjnj6jExJV1GZ/+V+3Ex7mJaMIU+ jUAv07F7QZaRK6hZMALps20+YE6hzwUBQRrz7E+xRyMnDt9GPpsknz9+o+d6QdNVuP f8pYlqx1pVI8gmuOJx0jvwYO7F2wLKAteTMCgYSI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from [192.168.178.15] ([176.199.136.97]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LoHfd-1juHmu2TTl-00gKFn for ; Wed, 21 Oct 2020 20:10:29 +0200 X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Provags-ID: V03:K1:JhpUo3/ZLey/Otf7V6KjTUAueiTPXX/DMDUu2Zp7WUJ1Q0B5g8D fu59lSpCnOoa5tj0QqVodlIfjr0GyPgUvT38PA3GdjNUWQSAuielR0Ti1BHI4xT/bVjfx2R tCPZOzKwVlFfhsi/pEbh8XSvN3QLQ7Pklak+2lkPTt2v6uZTG09dyMJGjCuIDxKDWC64tk4 Fcf3nZXsB3jAAH+nIEB9g== X-UI-Out-Filterresults: notjunk:1;V03:K0:Bn9qvQJgvLo=:OEsoht1p33Yn2srl7M9Zbw cvI6OYXNAJ63cytHW0bSzYFm8BWFwWPN06/K+pNhnCqhI4vKLemMCOrgCbgc2uzs8kEXTLrmA jxXFPQK5T7qCpwNq8AMx6twxQ/CsNfe0edzbIFKgdG3RV/NsSx+5INmNVk+M529Gn/rpDFMZr yJZhCHa4AR1sWpG3JBumrGILIa/aSxbuu5/J08ue44rD4M+1e8DtAmJovOieXgP6zhFLUCnzy +CU8FvnVF6i8nz7PhzPIUDENrL0183w7S/fpqLZjx1UkhTqBbrdd9ZLVIK1OYAqfuRKhJjg9g MOz42C6tJatweLzoX6C+55Ug2CQyY2ScuwFG/my3oR97rvEwp0KXZchXBb2X1+zdaj50AGy8S yxNSlcp31WD/F2X6AbRDPVGidUtKFNtKXUiNk4RAqwt7zIzKMVhBSZZpNKIDbBFY+JE8A8CQm xLu5gSQOjsvOOYezPL8XgwY05sxxvwl0N1k4MDZ0kh2SK5OFf976hGOcAfFCEc18BOw8XDGAq VvGjMtZsPY9I5rMB9Eht0PSgX8y9zpBlxF37s6egguPYCKDPOGyMPjme6TeCq5Bvv5IP1O1cs sWHpn+rblx8LaX8E4dz89ypn5+l+YyXPdImQXFa+SjOeU63QEkNw46e/7sGeP0cZ5q9y0qB+t 3+YpRudSe+pHfZbXQdeK0/qvVOys0IDy4OEPp8Y8zmhR00wtmQYhhEmgxeLri39vK8FrBe6uk XMn2VaBnBQm+q1O7hlyxl3P0N4QfAth4dj1yg4kA9tqOGZZclSsRpyLtEwoU/+J096Hr7BJ6 Received-SPF: pass client-ip=212.227.15.3; envelope-from=Peter_Dyballa@Web.DE; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/21 14:03:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191204 Archived-At: Hello! Recently *compilation* buffer was reserved by some other process so I = decided to install some Python packages in *shell* buffer (with tcsh = 6.21.00 (Astron) 2019-05-08 (x86_64-apple-darwin) options = wide,nls,dl,bye,al,kan,sm,rh,color,filec) as root. The installation = manager is https://www.macports.org/index.php. It produced this output = in the end: ---> Installing py38-jsonschema @3.2.0_0 ---> Activating py38-jsonschema @3.2.0_0 ---> Cleaning py38-jsonschema ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. root 252 /\ Starting with the first '---> No broken files found.' line the = foreground colour was switched to red. The MacPorts folks claim that = their 'port' binary does not emit any ANSI codes to change the colour. I let this foreground colour =E2=80=93 and by chance it happened that it = was switched back during another installation: ---> Installing libomp @10.0.0_0 ---> Activating libomp @10.0.0_0 ---> Cleaning libomp ---> Fetching archive for clang-9.0 ---> Attempting to fetch = clang-9.0-9.0.1_1+analyzer+libstdcxx.darwin_19.x86_64.tbz2 from = https://packages.macports.org/clang-9.0 ---> Attempting to fetch = clang-9.0-9.0.1_1+analyzer+libstdcxx.darwin_19.x86_64.tbz2.rmd160 from = https://packages.macports.org/clang-9.0 The last line was in the usual colour again. Right now I have to run GNU Emacs in Apple's Terminal application = (Version 2.10 (433)) because X11 wants to create cache files of font = files and is not allowed to do so for some font directories in read-only = areas of the file system (clearing fontpath would be an option). The = colour switches do not happen in *compilation* buffer. And I've seen = similar behaviour four years ago =E2=80=93 could be a version of 25.0.x. https://trac.macports.org/ticket/53404 https://trac.macports.org/ticket/61357 (with a picture of colour = changes happening in the Attachments section) One idea of the cause for this is that the word "No" is triggering the = colour change =E2=80=93 similarly to configure output in *compilation* = buffer, not being restricted for the single word. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0) of 2020-09-15 built on catalina.internal.macports.net Repository revision: 2a47ef86e95fad1dcc14a02e7471ba5d9cad4b9b Repository branch: HEAD System Description: Mac OS X 10.15.7 Configured using: 'configure --prefix=3D/opt/local --without-ns --without-x = --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-gmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs 'CFLAGS=3D-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64' 'CPPFLAGS=3D-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' 'LDFLAGS=3D-L/opt/local/lib -Wl,-headerpad_max_install_names = -Wl,-no_pie = -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB MODULES THREADS JSON PDUMPER 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 show-paren-mode: t midnight-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /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/git hides = /opt/local/share/emacs/site-lisp/git /Library/Application Support/Emacs/cmake-mode hides = /opt/local/share/emacs/site-lisp/cmake-mode /Library/Application Support/Emacs/calendar28/cal-move hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-move /Library/Application Support/Emacs/calendar28/lunar hides = /opt/local/share/emacs/28.0.50/lisp/calendar/lunar /Library/Application Support/Emacs/calendar28/solar hides = /opt/local/share/emacs/28.0.50/lisp/calendar/solar /Library/Application Support/Emacs/calendar28/icalendar hides = /opt/local/share/emacs/28.0.50/lisp/calendar/icalendar /Library/Application Support/Emacs/calendar28/calendar hides = /opt/local/share/emacs/28.0.50/lisp/calendar/calendar /Library/Application Support/Emacs/calendar28/cal-html hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-html /Library/Application Support/Emacs/calendar28/cal-iso hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-iso /Library/Application Support/Emacs/calendar28/cal-tex hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-tex /Library/Application Support/Emacs/calendar28/parse-time hides = /opt/local/share/emacs/28.0.50/lisp/calendar/parse-time /Library/Application Support/Emacs/calendar28/holidays hides = /opt/local/share/emacs/28.0.50/lisp/calendar/holidays /Library/Application Support/Emacs/calendar28/cal-menu hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-menu /Library/Application Support/Emacs/calendar28/cal-x hides = /opt/local/share/emacs/28.0.50/lisp/calendar/cal-x /Library/Application Support/Emacs/calendar28/diary-lib hides = /opt/local/share/emacs/28.0.50/lisp/calendar/diary-lib Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils smerge-mode diff diff-mode easy-mmode rect python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp format-spec ffap thingatpt url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs view time-stamp pcmpl-unix pcmpl-gnu compile tool-bar cal-julian holidays hol-loaddefs mule-util cal-move derived cal-menu calendar cal-loaddefs cl-seq cl-extra seq help-fns radix-tree cl-print debug backtrace help-mode find-func misearch multi-isearch dired-aux term/xterm xterm byte-opt bytecomp byte-compile cconv autorevert filenotify dired dired-loaddefs time-date subr-x easymenu shell pcomplete comint regexp-opt ansi-color ring fringe jka-compr paren midnight time image cus-start cus-load iso-transl edmacro kmacro cl-macs cl gv session desktop frameset cl-loaddefs cl-lib advice tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue multi-tty make-network-process emacs) Memory information: ((conses 16 302871 10754) (symbols 48 15543 1) (strings 32 47165 1784) (string-bytes 1 1964514) (vectors 16 20200) (vector-slots 8 225743 11443) (floats 8 89 792) (intervals 56 16600 1270) (buffers 992 26)) -- Greetings Pete When you meet a master swordsman, show him your sword. When you meet a man who is not a poet, do not show him your poem. =E2=80=93 Rinzai, ninth century Zen master