patchGNU TeXmacs - Patches: patch #10152, Silence verbose warnings from...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10152: Silence verbose warnings from `which`

Submitter:  Jeroen Wouters <jeronim>
Submitted:  Mon 29 Nov 2021 05:34:41 PM UTC
Category:  Plugins Action:  None
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Open Release:  2.1
Fixed Release:  Stable: 

Thu 09 Dec 2021 02:46:37 PM UTC, comment #4: 

OK, I solved the problem in a different way in revision 13824.  Please confirm whether it works for you.

I don't remember why I wanted to report messages from 'which'.  With the new solution, we will still see the output if something strange happens.

Joris van der Hoeven <vdhoeven>
Group administrator
Thu 09 Dec 2021 02:19:03 PM UTC, comment #3: 

I notice now that my message starts with `/usr/bin/which` and not `which`, otherwise it would have been filtered out by the existing check in the code: `!starts (which, "which: ")`

Jeroen Wouters <jeronim>
Group Member
Thu 09 Dec 2021 02:13:29 PM UTC, comment #2: 

Certainly. It looks like the below, but then many more of them (I guess one for every plugin that is not installed).

TeXmacs] /usr/bin/which: no M2 in (/usr/lib/texmacs/TeXmacs/bin:/home/jeroen/.local/bin:/home/jeroen/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jeroen/.TeXmacs/plugins/jupyter/bin:/usr/share/TeXmacs/plugins/axiom/bin:/usr/share/TeXmacs/plugins/coq/bin:/usr/share/TeXmacs/plugins/feynmf/bin:/usr/share/TeXmacs/plugins/lisp/bin:/usr/share/TeXmacs/plugins/lush/bin:/usr/share/TeXmacs/plugins/maple/bin:/usr/share/TeXmacs/plugins/mathematica/bin:/usr/share/TeXmacs/plugins/matlab/bin:/usr/share/TeXmacs/plugins/maxima/bin:/usr/share/TeXmacs/plugins/mupad/bin:/usr/share/TeXmacs/plugins/r/bin:/usr/share/TeXmacs/plugins/reduce/bin:/usr/share/TeXmacs/plugins/scilab/bin:/usr/share/TeXmacs/plugins/shell/bin:/usr/share/TeXmacs/plugins/texgraph/bin)
TeXmacs] /usr/bin/which: no mmail in (/usr/lib/texmacs/TeXmacs/bin:/home/jeroen/.local/bin:/home/jeroen/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jeroen/.TeXmacs/plugins/jupyter/bin:/usr/share/TeXmacs/plugins/axiom/bin:/usr/share/TeXmacs/plugins/coq/bin:/usr/share/TeXmacs/plugins/feynmf/bin:/usr/share/TeXmacs/plugins/lisp/bin:/usr/share/TeXmacs/plugins/lush/bin:/usr/share/TeXmacs/plugins/maple/bin:/usr/share/TeXmacs/plugins/mathematica/bin:/usr/share/TeXmacs/plugins/matlab/bin:/usr/share/TeXmacs/plugins/maxima/bin:/usr/share/TeXmacs/plugins/mupad/bin:/usr/share/TeXmacs/plugins/r/bin:/usr/share/TeXmacs/plugins/reduce/bin:/usr/share/TeXmacs/plugins/scilab/bin:/usr/share/TeXmacs/plugins/shell/bin:/usr/share/TeXmacs/plugins/texgraph/bin)


Jeroen Wouters <jeronim>
Group Member
Thu 09 Dec 2021 02:10:22 PM UTC, comment #1: 

Hmm, could you attach what you get as output on your terminal?  I never experienced this problem myself...

Joris van der Hoeven <vdhoeven>
Group administrator
Mon 29 Nov 2021 05:34:41 PM UTC, original submission:  

The output of the `which` command on the terminal is very verbose at the moment, drowning other information. I would suggest silencing it by default (see attached patch).

Jeroen Wouters <jeronim>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #52384:  silence-which.diff added by jeronim (626B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by jeronim (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-09 vdhoeven Assigned toNone vdhoeven
    2021-11-29 jeronim Attached File- Added silence-which.diff, #52384

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code