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: Clearing the minibuffer/echo-area for global indicators Date: Tue, 24 Apr 2012 08:36:48 -0400 Message-ID: References: <4F966FD9.1010102@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335271032 32444 80.91.229.3 (24 Apr 2012 12:37:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 12:37:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 14:37:11 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMezW-0003SA-OW for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2012 14:37:10 +0200 Original-Received: from localhost ([::1]:57688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMezV-0006Qb-F1 for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2012 08:37:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMezN-0006QR-4E for emacs-devel@gnu.org; Tue, 24 Apr 2012 08:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMezD-0002rE-9j for emacs-devel@gnu.org; Tue, 24 Apr 2012 08:37:00 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:27938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMezD-0002rA-4q for emacs-devel@gnu.org; Tue, 24 Apr 2012 08:36:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYIACxOgk/O+LN8/2dsb2JhbABDuCMDgQyBCIIJAQEEAVYjBQsLNBIUGA0kiBwFtjKLYYR5BKRFgV2DA4FA X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="176410718" Original-Received: from 206-248-179-124.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.124]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 Apr 2012 08:36:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C765358F68; Tue, 24 Apr 2012 08:36:48 -0400 (EDT) In-Reply-To: <4F966FD9.1010102@gmx.at> (martin rudalics's message of "Tue, 24 Apr 2012 11:18:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.143.162 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:149970 Archived-At: >> Someone posted a patch last year that removes a few spurious/redundant >> clearing of the minibuffer/echo-area, which were making the use of the >> minibuffer as a global-indicator-area more difficult than needed. >> I can't seem to find the corresponding email any more, so... >> ... whoever it was, could you send the patch again, so we can >> install it? > How about providing a function `clear-echo-area' which does precisely > that but calls `clear-echo-area-hook' thus giving maintainers a chance > to resurrect and possibly update their indicators? Or, as I suggested > earlier, have `message' with a nil or empty string argument run such a > `clear-echo-area-hook'. IIRC with the patch (which is a low-level C code patch), no such tweaks are needed. Stefan