From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Delayed warnings Date: Wed, 27 Apr 2011 21:40:44 -0300 Message-ID: References: <4D8705CA.1020300@gmx.at> <4D874FF3.9010606@gmx.at> <4D8793B1.2040701@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1303951267 7245 80.91.229.12 (28 Apr 2011 00:41:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2011 00:41:07 +0000 (UTC) Cc: martin rudalics , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 02:41:03 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QFFHr-00073o-Lp for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2011 02:40:55 +0200 Original-Received: from localhost ([::1]:41525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFFHq-00076C-Qv for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2011 20:40:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFFHm-00072N-Ph for emacs-devel@gnu.org; Wed, 27 Apr 2011 20:40:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFFHl-0003bp-9e for emacs-devel@gnu.org; Wed, 27 Apr 2011 20:40:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFFHl-0003bf-83 for emacs-devel@gnu.org; Wed, 27 Apr 2011 20:40:49 -0400 Original-Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:2337 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QFFHj-00082C-TH; Wed, 27 Apr 2011 20:40:48 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 324BC660D8; Wed, 27 Apr 2011 21:40:44 -0300 (ART) In-Reply-To: (Juanma Barranquero's message of "Thu, 28 Apr 2011 00:11:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138862 Archived-At: >> You might want to add some code to avoid/detect repetitions. > (delete-dups '(A A B A B B C B C C D)) => A B C D > or > (uniqify '(A A B A B B C B C C D)) => A B A B C B C D > ? Neither. I'm thinking about messages which would be displayed once after almost every command (because redisplay will bump into the same error after each command). This can't be applied generally to all messages (it would be incorrect to silence the 2nd/3rd occurrences of a message if the message is really linked to the particular command executed which happens to be the same several times), so the squashable messages would need to be flagged. Stefan