From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Propertize mode-line contents only for mode-line of selected window? Date: Sat, 28 Feb 2015 21:49:16 +1100 Message-ID: <87385q8g5v.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1425120590 5569 80.91.229.3 (28 Feb 2015 10:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2015 10:49:50 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 11:49:42 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YRexp-0001rr-Ga for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 11:49:41 +0100 Original-Received: from localhost ([::1]:40736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRexo-0002g9-R4 for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 05:49:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRexd-0002dr-S8 for help-gnu-emacs@gnu.org; Sat, 28 Feb 2015 05:49:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRexY-0003xc-VA for help-gnu-emacs@gnu.org; Sat, 28 Feb 2015 05:49:29 -0500 Original-Received: from mail-pd0-x22a.google.com ([2607:f8b0:400e:c02::22a]:46594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRexY-0003ww-NY for help-gnu-emacs@gnu.org; Sat, 28 Feb 2015 05:49:24 -0500 Original-Received: by pdjy10 with SMTP id y10so27061301pdj.13 for ; Sat, 28 Feb 2015 02:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=+ygKLPIyHNVy7zFC8NIIewv3B2hDtASKX8YfSlNnBvY=; b=f7NcuyiFLIt4u9aK0ztnd/uG75dxI4GZQWNJoJY85vQyM4n7trynt7n8H83p8UHxRg I8ep5nCpk1w9w5jWwr5WWEPrAd4Lf5W8zCtXae2ImLlAU3DFBx499XpaBVrIkkeqY+mC e+NsAOOvWOck+JfstX6Wq+IPfO5Quyvc4vpyz6UHbc/vQYP3NElJRDxgErTcxYpCJCvR WuEJ1Fug9PLUU84DD+0sry8n5CpaZMQ0gEuLbDlrWN4SLBk+J1vLn1sN+blNKRegKQmh v6Xp3GXlKNrhi4vs4VkUZdh3peK0zw6gEeCqkkRJHJrpDMCYmDAwyfN7lKSoLb5oe5xQ 8X2A== X-Received: by 10.66.161.161 with SMTP id xt1mr31396157pab.35.1425120563008; Sat, 28 Feb 2015 02:49:23 -0800 (PST) Original-Received: from localhost (ppp118-209-174-156.lns20.mel8.internode.on.net. [118.209.174.156]) by mx.google.com with ESMTPSA id z6sm6383236pbt.89.2015.02.28.02.49.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 28 Feb 2015 02:49:21 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102944 Archived-At: Hi all, i'd like to modify the value of `mode-line-format` such that one specific part of it is propertized in a specific way only for the mode-line of the currently selected window. Is there some way of achieving this via ELisp? i've not been able to make any progress on this with various permutations of `frame-selected-window`, `window-buffer`, `current-buffer` etc. .... Alexis.