From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: s shaw Newsgroups: gmane.emacs.bugs Subject: bug#18164: 24.3.92; appt-mode-line is missing a white-space (in conjunction with display-time-and-date) Date: Sat, 7 Jan 2017 19:16:14 -0500 Message-ID: References: <87ppgkss3c.fsf@vsl28t2g.ww011> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c05b4d8bedf7a05458a28df X-Trace: blaine.gmane.org 1483835534 23060 195.159.176.226 (8 Jan 2017 00:32:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2017 00:32:14 +0000 (UTC) To: 18164@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 08 01:32:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQ1P3-0004oi-Ap for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jan 2017 01:32:05 +0100 Original-Received: from localhost ([::1]:59741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQ1P7-0006kT-I0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2017 19:32:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQ1P1-0006kK-5M for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:32:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQ1Oz-0000Au-VW for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:32:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQ1Oz-0000Aq-RZ for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:32:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cQ1Oz-0002FB-K6 for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:32:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87ppgkss3c.fsf@vsl28t2g.ww011> Resent-From: s shaw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jan 2017 00:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18164 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14838355018593 (code B ref -1); Sun, 08 Jan 2017 00:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jan 2017 00:31:41 +0000 Original-Received: from localhost ([127.0.0.1]:46352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQ1Oe-0002ES-RO for submit@debbugs.gnu.org; Sat, 07 Jan 2017 19:31:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQ19v-0001qk-6z for submit@debbugs.gnu.org; Sat, 07 Jan 2017 19:16:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQ19o-0003Ng-Iq for submit@debbugs.gnu.org; Sat, 07 Jan 2017 19:16:21 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQ19o-0003Na-FQ for submit@debbugs.gnu.org; Sat, 07 Jan 2017 19:16:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQ19n-00045A-2N for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:16:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQ19l-0003NC-Rk for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:16:19 -0500 Original-Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:35608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQ19l-0003Mi-Lf for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2017 19:16:17 -0500 Original-Received: by mail-it0-x22a.google.com with SMTP id c20so34932718itb.0 for ; Sat, 07 Jan 2017 16:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QNbqgjWUnq+XL6TlSRTGNM6wjhDvi1dTwSE7rfm3uOo=; b=F1Dr0Jtt4jFtsUPYyPaFBgaA538Z6qH6g8YoLjfqZzBzG8aworD27MScoZsjdNi22h STdE+CEsAJcdsixUCKWFuQyO8o7mpGNKHCUjyBnY2C6xMjel/2Y9UAXxtYgEoMoOCsQk EaImIcIcXHlAxpT+fnEwssqMYtzXe0Rj9OhNaDgi0oYuXsqX/2hH5IYIHafXb/0QtACn t5+VdLl4Ba4Uas0yHV++2P8tcDrm4XNfkL3SZFavzX8i14BC9T62BpAPsXZzNDopCrtl EGEdyKcBsa7oWqC/BNwB4MJSmHS7sjC6G9PtXMgDs7cLWcO2H+Qg11VQPY6dz1PRU2/g StsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QNbqgjWUnq+XL6TlSRTGNM6wjhDvi1dTwSE7rfm3uOo=; b=bR8E1iLvk3oCTKrRypOsv88xrj2TlF4FZNAhYFq15+6pGb2+eXz7xieW788LL6aK0j uJDhfY2lugBRMI4adOd6Cj76h5c5SWzp+Gupl8J/KUoUTz6+1d8tDZuFxApqZHMTL3Zd R7YXA4CN+4l5+Km1FLqY7wDKsD4dJXH1QbEJR+0KEGJ6/sPGZud9GAylgRIJK7gLWUMY MTIPGiThtVnaPlpZkWGf03hVIw9mHMlamcrVZnOEEAwDwSYvGaPwIIPROoIi8LWucXcm VP3/yazWk/MlVYyjTOMooWO5TjzkpkSmAwcX270Cp7FhHS/k2vTIjz/+h7yuRcf0k+s7 Ye/Q== X-Gm-Message-State: AIkVDXIuiyJnXVTveB1BiCUwwQDsbYF/XqALY/RDSzgRs6nPVkox+M1RMK4o0es0uuO7uTHy91buwr+QCqxbHA== X-Received: by 10.36.210.11 with SMTP id z11mr4454270itf.84.1483834574943; Sat, 07 Jan 2017 16:16:14 -0800 (PST) Original-Received: by 10.79.144.17 with HTTP; Sat, 7 Jan 2017 16:16:14 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 07 Jan 2017 19:31:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127889 Archived-At: --94eb2c05b4d8bedf7a05458a28df Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >> Glenn Morris wrote: >> ... I could equally well say that display-time-mode-string does not have >> space at either end. >> It seems to be a general issue. Eg display-time-mode + display-battery-mode >> has the same issue. > H. Dieter Wilhelm wrote: > Then this is calling for a general mode-line guide-line ;-). Everything > textual must be followed by a whitespace. =E2=80=8BWhile not explicitly stated it is implied[1] that a minor mode's l= ighter should begin with a space to prevent these issues. > H. Dieter Wilhelm wrote: > for the time being, I'll activate then display-time before app-activate... :-) Requiring one to load in a particular order or having to reformat global-mode-string is in some ways contrary to idea behind mode line control: don't modify mode-line-format, let it delegate the work to its contents. Why not just start each of these modes' string with a space? [1] https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Minor-Mo= des.html --94eb2c05b4d8bedf7a05458a28df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>> Glenn Morris wrote:
>> .= ..=C2=A0I could equally = well say=C2=A0that display-time-mode-string does not have
>> = space at either end.
>> It seems to be a gener= al issue. Eg display-time-mode + display-battery-mode
>>= ; has the same issue.

> H. Dieter Wilh= elm wrote:
> Then this is calling for = a general mode-line guide-line ;-).=C2=A0 Everything
> textual must be followed by a whitespace.

=E2=80=8BWhile not explicitly stated it is implied[1] tha= t a minor mode's lighter should begin with a space to prevent these iss= ues.=C2=A0

> H. Dieter= Wilhelm wrote:
> for the time being, = I'll activate then display-time before app-activate... :-)
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ">
Requiring one to load in a particular order or having to ref= ormat global-mode-string is in some ways contrary to idea behind mode line = control: don't modify mode-line-format, let it delegate the work to its= contents.=C2=A0

Why not just start each of thes= e modes' string with a space?


--94eb2c05b4d8bedf7a05458a28df--