From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geralt Newsgroups: gmane.emacs.help Subject: Re: Mode to display information in the topmost line of a window Date: Sat, 1 Aug 2009 11:30:24 +0200 Message-ID: References: <87r5vyw653.fsf@thinkpad.tsdh.de> <87tz0tl40h.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249119078 23770 80.91.229.12 (1 Aug 2009 09:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 09:31:18 +0000 (UTC) Cc: Tassilo Horn , kevin.d.rodgers@gmail.com, help-gnu-emacs@gnu.org To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 11:31:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MXAvm-0008OP-Ns for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 11:31:11 +0200 Original-Received: from localhost ([127.0.0.1]:45908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXAvm-0003ci-2f for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 05:31:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXAv9-0003cd-Uq for help-gnu-emacs@gnu.org; Sat, 01 Aug 2009 05:30:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXAv3-0003aE-Vq for help-gnu-emacs@gnu.org; Sat, 01 Aug 2009 05:30:30 -0400 Original-Received: from [199.232.76.173] (port=34123 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXAv3-0003Zz-LP for help-gnu-emacs@gnu.org; Sat, 01 Aug 2009 05:30:25 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:61704) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXAv3-0001bK-AP for help-gnu-emacs@gnu.org; Sat, 01 Aug 2009 05:30:25 -0400 Original-Received: by ewy7 with SMTP id 7so67138ewy.42 for ; Sat, 01 Aug 2009 02:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bfCQP+IhCBaS136Kp/8GzemohreZ06qvsNdNLRPyn/I=; b=OVcw1G0TYHzdNrPW+DN2At013MgXon3kTfumTtZFzc014IycIc3eR6kpyByjsc73Nj fb6+XmWIoHurtZys2b7M65tIieQ6oiQ8LTnWNboEeHAcoNsYcuK8r3ovYZQeHratvmwg sPfi27WNJp+NbdtgVPA79jpLGkyQWM9qG44A0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LNQrpJbfBG+ebKqvvNGMkK/ACUkMvFF2DF76lzbdblk03Z14iRCr3V6/AOFJiuUNIi dIz1C9Edreo582ZELas/YDKy+Weda2MaQILEplOuzZmdvh9qLsrBdBEPqhUuvc/AePKs Vp/PZI7TjGbUUBy6eI1+sxvach5U5Ffih9yBg= Original-Received: by 10.216.87.67 with SMTP id x45mr750813wee.18.1249119024279; Sat, 01 Aug 2009 02:30:24 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66615 Archived-At: On Sat, Aug 1, 2009 at 1:51 AM, Lennart Borgman wrote: > On Sat, Aug 1, 2009 at 1:46 AM, Geralt wrote: >> =A0 =A0 (let ((message-log-max nil)) >> - =A0 =A0 =A0(cond (eldoc-last-message (message "%s" eldoc-last-message)= ) >> + =A0 =A0 =A0(cond (eldoc-last-message (if eldoc-display-in-header-line >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (s= etq header-line-format eldoc-last-message) >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (messa= ge "%s" eldoc-last-message))) >> =A0 =A0 =A0 =A0 =A0 =A0(omessage (message nil))))) >> =A0 eldoc-last-message) > > Isn't the line (omessage (message nil)) clearing old messages in the > message area? If the head-line is used that should not be needed. > Yes, you're right, I'll put that one into the ELSE clause and then I'll submit it to emacs-devel@gnu.org Geralt.