Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Get rid of "suggest Proof using" warning in new Proof General

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Get rid of "suggest Proof using" warning in new Proof General


Chronological Thread 
  • From: Pierre Courtieu <pierre.courtieu AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Get rid of "suggest Proof using" warning in new Proof General
  • Date: Sun, 24 May 2020 02:06:11 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-il1-f174.google.com
  • Ironport-phdr: 9a23:5xdSEBdYVECdKrFxv692FqF1lGMj4u6mDksu8pMizoh2WeGdxcW4YR7h7PlgxGXEQZ/co6odzbaP7ua5ADJLu8fJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRW7oR/MusULgIZuJbg9xx/UqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU063/chNBug61HoRKhvx1/zJDSYIGJL/p1Y6fRccoHSWZdQspdUipMCZ6+YYQSFeoMJelXr4f/qFUOoxWwBhSiCv3zxTFHnXL2wbQ63v49HQ3awAAtHdQDu2nUotXvM6cSVPi4wrPJzTrddfNWwyny45XWfxAmvPGMR65wccvPxkkyCgjIiU2QqY37MDOPzOQCrXKX4PZnVeKykW4ntwBxrSayxso3hYnJg5gaylHA9Slj3Ik1Iti4RVd9bNW5H5ReqzuUOJFqQsM+XW5ooiA6x6UYtJO/ciUH1IgqywPfZvCZboSF4RHuWPqPLTplmn5ofL2xihiu/UWvxODyWde53EpXoiRKjtTBqnMA2h3R58aJTPZ240mv2TGK1w/J6+FEJ1g5laXaK549wr4wi4EcvV7fES/xnUX7irKdeEY8+uWw9ejrfrHrqoWfOoJ0kA3yL6Ujl82lDeglMAUDUG6W8vmm2rL55032WrBKg+U2kqbHtJDaItwWpqujDA9U1oYv8he/DzO73NgBk3kLMVBIdR2dg4jmPFHOJ//4DfOhjFi2jDhrwPXGMqXgApXLMHfDjK/scahh50NY0gY+ztBS64hJBrwAIf//QFL9ud7XAxMhNgy72efnCNFz1oMEXmKPB7eUMLvTsVCW/OIvOfeDaJUJtzb6Nvgl/eLujX4nll8AZqSp0p4XZ2q5HvRiOUmWfX3sgtIZHWcQogU+VPDqiEGFUTNLe3myWLs86ignB4KiEIfMXZuggKeB3Se+Bp1ZfHpKClGKEXfydoWLQe0AaCyIIpwprjtRfr+4A6QlyBvm4AT90v9sKvfe0iwer5PqktZvsb79jxY3oAR1At6H3immSHxugmIFWndixKFyu1ZwjFyEzLJkgvFFPdNW7vJNFAw9MMiPnKRBF9nuV1eZLZ+yQ1G8T4DjWGlpF4Nj85o1e094Xu6aoFXG1iuuDaUSkuXSVpMx+6PYmXP2IpQkkiqU5Owal1AjB/B3Gyi+nKcmrlrcAofIlwOSkKP4Lf1Bjh6Iz3+KyC+1hG8dUAN0Vv+bD3UWZ0+TrNCgo02bEOPoBrMgPQ9Mj8WFL/kSZw==

Hi,

If proofgeneral gives this message outside of a section this is a bug:
it is supposed to be triggered by coq warning, which only happens
inside sections. Please report it here:
https://github.com/ProofGeneral/PG/issues.

To answer your question: you can either go to the menu: Coq / proof
using / never". Or do what is described in the CHANGES file and copied
below.

That said you are right the message is too noisy.

Best
Pierre
----------------8X--------------------------
PG now supports the "Suggest Proof Using" by inserting
(automatically or by contextual menu or by a command) the "Proof
using" annotation suggested by Coq. This suggestion happens at
"Qed" command. By default PG will only highlight the corresponding
"Proof" keyword and let the user actively ask for insertion.

You can customize this behaviour by setting the
coq-accept-proof-using-suggestion to one of these values: 'always,
'highlight, 'ask, 'never. This is also settable from Coq menu. See
documentation of this variable for an explanation of the different
possible values and some more information.


Le jeu. 21 mai 2020 à 09:15, Xuanrui Qi <xuanrui AT nagoya-u.jp> a écrit :
>
> Hi Coq-Clubbers,
>
> A quick question for Proof General users: the latest versions of PG
> gives me a warning if I use `Proof` instead of `Proof using`:
>
> "Proof using" not set. M-x coq-insert-suggested-dependency or right
> click to add it. See also ‘coq-accept-proof-using-suggestion
>
> Since I don't have any section variables, there's no point in doing
> `Proof using`. Is there any way to disable this persistent warning,
> which can be quite annoying?
>
> Best,
> Xuanrui
>



Archive powered by MHonArc 2.6.19+.

Top of Page