From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#43092: 26.3;
 mode-line-frame-identification mode-line-buffer-identification " "
 mode-line-position (vc-mode vc-mode) " " mode-line-modes mode-line-misc-info
 mode-line-end-spaces
Date: Fri, 28 Aug 2020 12:57:32 -0700 (PDT)
Message-ID: <3e96dab2-dc75-4a5e-b6a5-8a46dd40f549@default>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="10013"; mail-complaints-to="usenet@ciao.gmane.io"
To: 43092@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 28 21:58:09 2020
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kBkVk-0002VH-PN
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Aug 2020 21:58:08 +0200
Original-Received: from localhost ([::1]:39638 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kBkVj-00022N-Ro
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Aug 2020 15:58:07 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49638)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1kBkVe-00022H-7y
 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2020 15:58:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:35909)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1kBkVd-0008PA-U9
 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2020 15:58:01 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1kBkVd-0007M0-Rz
 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2020 15:58:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Drew Adams <drew.adams@oracle.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 28 Aug 2020 19:58:01 +0000
Resent-Message-ID: <handler.43092.B.159864466428242@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 43092
X-GNU-PR-Package: emacs
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.159864466428242
 (code B ref -1); Fri, 28 Aug 2020 19:58:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 28 Aug 2020 19:57:44 +0000
Original-Received: from localhost ([127.0.0.1]:47455 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1kBkVL-0007LR-VG
 for submit@debbugs.gnu.org; Fri, 28 Aug 2020 15:57:44 -0400
Original-Received: from lists.gnu.org ([209.51.188.17]:47538)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@oracle.com>) id 1kBkVI-0007LG-5i
 for submit@debbugs.gnu.org; Fri, 28 Aug 2020 15:57:42 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49594)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@oracle.com>)
 id 1kBkVH-00020d-S2
 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2020 15:57:39 -0400
Original-Received: from userp2120.oracle.com ([156.151.31.85]:50068)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@oracle.com>)
 id 1kBkVF-0008NE-U9
 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2020 15:57:39 -0400
Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07SJthR4055417
 for <bug-gnu-emacs@gnu.org>; Fri, 28 Aug 2020 19:57:36 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2020-01-29;
 bh=+ctBWcsjMjFSLRYYGnM5zy4EVy9wPg1Bo0FCNUrvt7M=;
 b=dUmHaVIEfIqokNOefe/DHTCzVwUjUMn4qLvboYVxMTwg1fiyjn84UVlPm3vbCCKPt8h2
 GfZ8942usuzbuZgQUH/4Wenu+DKwzWAtRSZ+rQNILPNF6RFmvonV0XINNJU+ZYw5HHjG
 X55HtkXB8+5LGY3RO9y9O0OVHuPbh67jNmkogW6mgKd82F8ohCNLgy3N115pJ5RYKQeE
 yx1OjF+K41UltGjNZgSnTEODcCMvXPzyqJq1G4V+fld0Xc7tBbfrWwfkPsvrCLkPotp9
 B8NK1+H4gu/yorVFmCTKUSMqhqKIv5toJ9dHxRrWRZ26ZxiMdJVIH8DEwPpEfXFFYk0n bQ== 
Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70])
 by userp2120.oracle.com with ESMTP id 333w6uccpg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <bug-gnu-emacs@gnu.org>; Fri, 28 Aug 2020 19:57:36 +0000
Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1])
 by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07SJoOPY154540
 for <bug-gnu-emacs@gnu.org>; Fri, 28 Aug 2020 19:57:35 GMT
Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserp3020.oracle.com with ESMTP id 333rugke4y-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@gnu.org>; Fri, 28 Aug 2020 19:57:35 +0000
Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 07SJvXXe008111
 for <bug-gnu-emacs@gnu.org>; Fri, 28 Aug 2020 19:57:34 GMT
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5044.0 (x86)]
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9727
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999
 phishscore=0
 bulkscore=0 suspectscore=1 spamscore=0 mlxscore=0 adultscore=0
 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2006250000 definitions=main-2008280144
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9727
 signatures=668679
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
 impostorscore=0
 mlxlogscore=999 suspectscore=1 phishscore=0 malwarescore=0 spamscore=0
 priorityscore=1501 clxscore=1015 mlxscore=0 lowpriorityscore=0 bulkscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000
 definitions=main-2008280144
Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com;
 helo=userp2120.oracle.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/28 15:57:36
X-ACL-Warn: Detected OS   = Linux 3.1-3.10 [fuzzy]
X-Spam_score_int: -53
X-Spam_score: -5.4
X-Spam_bar: -----
X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.959,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:186623
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/186623>

I may be missing something - please close if so (but hopefully let me
know what I'm missing).

The default value of `mode-line-remote' is this:

(#("%1@" 0 3
   (mouse-face mode-line-highlight
               help-echo
               #f(compiled-function
                   (window _object _point) #<bytecode 0x1093abb>))))

(FWIW, it's too bad that users see that #<bytecode...> thingy, but maybe
there's no good alternative.)

I don't see the %-construct "%@" described anywhere.  Presumably "%1@"
means show what "%@" shows, but padded if needed so the field width is
at least one char.  But what does @ itself do?

A guess is that it does nothing, and its only purpose here is to enable
the mouse-face and help-echo on the single pad char.

If so, than a second guess might be that any "%X" construct, where X is
not one of the chars documented, adds nothing other than perhaps padding
chars and properties such as `help-echo' (and allows for `eval' etc.).
If so, that should be documented, no?

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install 'CFLAGS=3D-O2 -static -g3''