From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Mode to display information in the topmost line of a window Date: Sat, 1 Aug 2009 01:51:00 +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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249084297 25554 80.91.229.12 (31 Jul 2009 23:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 23:51:37 +0000 (UTC) Cc: Tassilo Horn , kevin.d.rodgers@gmail.com, help-gnu-emacs@gnu.org To: Geralt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 01:51:30 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 1MX1sn-0006jC-SG for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 01:51:30 +0200 Original-Received: from localhost ([127.0.0.1]:47080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX1sn-0003n9-6u for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 19:51:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MX1sQ-0003mc-AG for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 19:51:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MX1sL-0003lG-KZ for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 19:51:05 -0400 Original-Received: from [199.232.76.173] (port=44499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX1sL-0003lD-Er for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 19:51:01 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.240]:44019) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MX1sK-0002Ic-UB for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 19:51:01 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so2020785ana.21 for ; Fri, 31 Jul 2009 16:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=NArba1KBJXgnQNAfqCDYNxuaJOpTtxSd2t56YDEONeQ=; b=Hz8aov9VT6yAUWAAjnQjLWdmZ5ds4gi+Z2wqwa+bVlgcA7IT0lFOSLP+1K8z1FZ2bt YnBzt6SMLIeSuQ7xSavWOVXrqT3CzwuCRGPJdQIVBEm7uwii8m1XpgDFX7qV6j+9B2hc oDy9RPtpz3zsIbJlKeVPlGNx7okfPZyGKnQw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AdYxM//fOlOEJ3jYRJJs22Pz0pi3iT/iCG1AthOhm9Tfb06ALSAV593R61rfeNT+u/ 7sgr7zRlt9A/rBqXG8+i8AKxMMSXjWVTttVqHA1p8147sBjxyEw3DEFaiNId8WqxE6Vf aCyRLH4K7RCG/PL2EpSIOBisAyJIVuFySoCZg= Original-Received: by 10.100.216.3 with SMTP id o3mr4230864ang.30.1249084260386; Fri, 31 Jul 2009 16:51:00 -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:66600 Archived-At: On Sat, Aug 1, 2009 at 1:46 AM, Geralt wrote: > =C2=A0 =C2=A0 (let ((message-log-max nil)) > - =C2=A0 =C2=A0 =C2=A0(cond (eldoc-last-message (message "%s" eldoc-last-= message)) > + =C2=A0 =C2=A0 =C2=A0(cond (eldoc-last-message (if eldoc-display-in-head= er-line > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq header-line-format e= ldoc-last-message) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (message "%s" eldoc-last-message)= )) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(omessage (message nil))))) > =C2=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.