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: echo area feedback for minor modes [define-minor-mode patch] Date: Sun, 23 Apr 2006 10:14:52 -0400 Message-ID: <87r73owf9t.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145801711 14749 80.91.229.2 (23 Apr 2006 14:15:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2006 14:15:11 +0000 (UTC) Cc: Emacs-Devel ' Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 23 16:15:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXfMi-0006vd-AG for ged-emacs-devel@m.gmane.org; Sun, 23 Apr 2006 16:15:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXfMh-0006fi-MJ for ged-emacs-devel@m.gmane.org; Sun, 23 Apr 2006 10:15:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXfMU-0006fa-UW for emacs-devel@gnu.org; Sun, 23 Apr 2006 10:14:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXfMT-0006fH-G8 for emacs-devel@gnu.org; Sun, 23 Apr 2006 10:14:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXfMT-0006fE-A2 for emacs-devel@gnu.org; Sun, 23 Apr 2006 10:14:53 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FXfOU-0004fh-P3 for emacs-devel@gnu.org; Sun, 23 Apr 2006 10:16:58 -0400 Original-Received: from alfajor ([70.53.192.213]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060423141452.OEWG18394.tomts5-srv.bellnexxia.net@alfajor>; Sun, 23 Apr 2006 10:14:52 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 4E4A5D7BAE; Sun, 23 Apr 2006 10:14:52 -0400 (EDT) Original-To: David Reitter In-Reply-To: (David Reitter's message of "Sat, 22 Apr 2006 16:58:18 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53258 Archived-At: > The bug is due to the fact that this macro doesn't show a message unless > the echo area is empty - it is not, however, due to the (needless) previous > output of the path to the menu item (" > menu-bar options transient-mark-mode"). > I'm not sure, but I assume this behavior could be in order to allow any > minor mode body to display its own message. That was the original motivation indeed. > If that's so, the below patch will allow minor modes to display the > default message whenever the body doesn't show a new echo area message. Sounds good to me, Stefan