Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Is there a way to hide deprecated lemmas in Search?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Is there a way to hide deprecated lemmas in Search?


Chronological Thread 
  • From: Théo Zimmermann <theo.zimmi AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Is there a way to hide deprecated lemmas in Search?
  • Date: Sun, 3 Jun 2018 18:47:19 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f49.google.com
  • Ironport-phdr: 9a23:4BJvXxXTngrEUv8yNugaSoKvvD3V8LGtZVwlr6E/grcLSJyIuqrYYxeBt8tkgFKBZ4jH8fUM07OQ7/i9HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9yIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W7YhMx/jqJVrhyiqRJi3YDbfJqYO+Bicq7HZ94WWXZNU8RXWidcAo28dYwPD+8ZMOhGr4n6vVwOogO9CgmtAePvzyFHhmXz3aIg1eQhFxzN0Qs8H9IOrnvUq8/5NaYTUeCwyanIzC7Ob/xT2Tjn6YjIdgotru2LXbJ1aMfcz1QkGQ3CjlWVs4PlPjWV2/wMs2id9epgVPigh3QpqwFrpDWk28QiipHRi44L1lzJ8T91zYU1KNGiVkJ3fNCpHIFfuiyeMYZ9X9ksTHtyuCkgz70LoZ67czYOyJQg3xPfbuaIc4mM4h76SuaRIit0iGtreL+wgxu+60egyur7Vsm71FZFsDBJncXLtnAIzxDT686HReVh/kq5xzqDywTe5vtHLE00j6bXNYMtz7AqmpcctUnPBir2l1/3jK+SeEUk4O+o6+H/b7X6pp+TKYh0hhv/M6Qvn8y/BOU4PxMBX2ie4+u81bnj8VflT7VNi/06irPZv4zCJcQHuq65BBdY3Zok6xamFjupzNAYnWQcI19eYxKGj43pO0nUL/ziDPe/hU6skDZxyPzcML3hGMaFEn+Wm7D4OL159kR0yQwpzNkZ6YgHJKsGJafPWs72g+7ZCxo0KQm9xeCvXMl924RYS2OKB66xP6bbsFvO7eUqdbrfLLQJsSrwfqB2r8XlimU0zAdELPuZmKAPYXX9JcxIZkCQYH7imNAESD5YsQ83Teisg1qHA2cKOySCGpkk7zR+M7qISJ/ZT9n00rOE1Sa/WJZRYzIeUw3eITLTb4yBHsw0RmeSL8tmyGFWULGgT8o/1knrulOrjbVgKeXQ92sTspexjNU=

Pierre, this command is actually documented (in a note at the bottom of the search section https://coq.inria.fr/refman/proof-engine/vernacular-commands.html#coq:cmd.search). It is missing an index entry though. In general, you shouldn't wonder why something isn't documented. There are never good reasons for missing documentation. So always open an issue (or even better a pull request) when you notice such shortcomings.

Michael, since 8.8 the use of deprecated notations will generate a deprecation warning. However, to be able to do this, many compatibility notations where undeprecated because their replacement was not consensual.

Théo

Le lun. 28 mai 2018 à 19:56, Pierre Courtieu <pierre.courtieu AT gmail.com> a écrit :
Hi Michael,

Apart from exclusion mechanism coming with the Search command itslef:

Search foo -bar -"string" ... outside Bar.

There is a blacklisting mechanism (undocumented, I don't know why). But it
only supports string exclusion AFAIK:

Add Search Blacklist "foo".

Will exclude any ident containing "foo" in its name from the results of
Search (in PG: M-x coq-search-blacklist-stringset or menu
"coq/setting/search Blacklist" in PG).

All this does not really answer your question but you may be able to remove
the most annoying answers from Search using these.

P.


  • Re: [Coq-Club] Is there a way to hide deprecated lemmas in Search?, Théo Zimmermann, 06/03/2018

Archive powered by MHonArc 2.6.18.

Top of Page