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: help needed with gnus mode-line Date: Mon, 04 Jul 2011 11:58:13 -0400 Message-ID: References: <87r56b5yf5.fsf@gmail.com> <87y60ixy1u.fsf@gmail.com> <87mxgxn6tz.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309800069 10527 80.91.229.12 (4 Jul 2011 17:21:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 17:21:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 19:21:05 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 1QdmpV-0005K1-3w for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2011 19:21:05 +0200 Original-Received: from localhost ([::1]:34828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdmpT-0007Px-Nd for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2011 13:21:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdlXN-0003Dc-0h for emacs-devel@gnu.org; Mon, 04 Jul 2011 11:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdlXL-00058l-C1 for emacs-devel@gnu.org; Mon, 04 Jul 2011 11:58:16 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2249 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdlXL-000588-0Q for emacs-devel@gnu.org; Mon, 04 Jul 2011 11:58:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOTiEU5FxIxr/2dsb2JhbABTp3t4iHrBBoY2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,473,1304308800"; d="scan'208";a="120378907" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Jul 2011 11:58:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 49C5D59173; Mon, 4 Jul 2011 11:58:13 -0400 (EDT) In-Reply-To: <87mxgxn6tz.fsf@gmail.com> (Thierry Volpiatto's message of "Fri, 01 Jul 2011 21:23:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:141543 Archived-At: >> Of course, minibuffer-selected-window is not quite right either: you >> don't want to modify the mode-line of the buffer from where the M-: was >> typed, but the mode-line that's right above the minibuffer (which >> doesn't even exist in minibuffer-only frames). > Right, i didn't find how to get safely the window right above > minibuffer. If the frame is split, there might be several windows directly above the minibuffer. But if "the leftmost" or "the rightmost" is good enough, then maybe windmove.el will give you some working code. Stefan "Yes, using the mode-line is messy"