From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 22 09:09:51 2014 Received: (at submit) by debbugs.gnu.org; 22 Jul 2014 13:09:51 +0000 Received: from localhost ([127.0.0.1]:34426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9ZpC-0005e4-DP for submit@debbugs.gnu.org; Tue, 22 Jul 2014 09:09:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48738) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9Zp4-0005dh-TL for submit@debbugs.gnu.org; Tue, 22 Jul 2014 09:09:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9Zoy-00055q-Pg for submit@debbugs.gnu.org; Tue, 22 Jul 2014 09:09:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Zoy-00055m-Mz for submit@debbugs.gnu.org; Tue, 22 Jul 2014 09:09:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Zox-0007EX-NE for bug-gnu-emacs@gnu.org; Tue, 22 Jul 2014 09:09:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9Zow-00055T-Mh for bug-gnu-emacs@gnu.org; Tue, 22 Jul 2014 09:09:31 -0400 Received: from mail-vc0-x236.google.com ([2607:f8b0:400c:c03::236]:51377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Zow-00055K-Ho for bug-gnu-emacs@gnu.org; Tue, 22 Jul 2014 09:09:30 -0400 Received: by mail-vc0-f182.google.com with SMTP id hy4so15247469vcb.27 for ; Tue, 22 Jul 2014 06:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yS5vjFKrLjjkPm9OiYo2UB6961CbEpcyMg21o9M3IL8=; b=Xb9A907RxiOe8K2ko9YZW6wLf/Lpd+af7T2lBdH7JMhqVWQ7CNP8Bfr6PdyKs5p+tm rQ2BppJJ9Pg7mN9ZzCsNpVALCKY4PLbn2tKmVmUltcui+zKiPFL6vIUEwI0O6VK0CTZR NdwAS2iOaz3Jqom00cJOsQX2fEV/xhM4ySuqA327p2rG/plGcX+1bu1NoBpsFT9OyxHE Jc3ZU0x4vBmMecz3vUesMZyZq/o0dnVS6SaPjm/2AsGvTiqmdlOxAfcLIUUNE+Qh8wO7 3Vn/AInbiFq9UtTg2l3d7sJKo8OF/Z1o4ld3Oo0jK+zy+bQj+s9lBypyCiiReJHRUyc6 +psg== MIME-Version: 1.0 X-Received: by 10.52.186.103 with SMTP id fj7mr24114531vdc.53.1406034567274; Tue, 22 Jul 2014 06:09:27 -0700 (PDT) Received: by 10.221.11.73 with HTTP; Tue, 22 Jul 2014 06:09:26 -0700 (PDT) Date: Tue, 22 Jul 2014 15:09:26 +0200 Message-ID: Subject: Remove redundant spaces in `mode-line-buffer-identification' for `calc-mode' From: Oleh To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=bcaec5489d67ece37f04fec7ee63 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --bcaec5489d67ece37f04fec7ee63 Content-Type: text/plain; charset=UTF-8 Hi, For some reason there are 14 extra spaces added to `mode-line-buffer-identification' for `calc-mode'. Which makes it look weird compared to other buffers, such as *scratch*. This is especially apparent with a custom mode-line, e.g. powerline package. I attach a patch. regards, Oleh --bcaec5489d67ece37f04fec7ee63 Content-Type: text/x-patch; charset=US-ASCII; name="0001-lisp-calc-calc.el-calc-set-mode-line-remove-redundan.patch" Content-Disposition: attachment; filename="0001-lisp-calc-calc.el-calc-set-mode-line-remove-redundan.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hxx8j3ca0 RnJvbSBkYTUwZTRiMTllZTgyNjVjMTY0ZWY3OTg2NmE4YWY3ZjhkYzE1NzgxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBPbGVoIEtyZWhlbCA8b2h3b2Vvd2hvQGdtYWlsLmNvbT4KRGF0 ZTogVHVlLCAyMiBKdWwgMjAxNCAxNDo1ODowNiArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGxpc3Av Y2FsYy9jYWxjLmVsIChjYWxjLXNldC1tb2RlLWxpbmUpOiByZW1vdmUgcmVkdW5kYW50CiBzcGFj ZXMKCi0tLQogbGlzcC9jYWxjL2NhbGMuZWwgfCAyICstCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNl cnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9saXNwL2NhbGMvY2FsYy5lbCBi L2xpc3AvY2FsYy9jYWxjLmVsCmluZGV4IDA0ZDg1MmUuLmFhMjY0NmUgMTAwNjQ0Ci0tLSBhL2xp c3AvY2FsYy9jYWxjLmVsCisrKyBiL2xpc3AvY2FsYy9jYWxjLmVsCkBAIC0xNzAxLDcgKzE3MDEs NyBAQCBTZWUgY2FsYy1rZXlwYWQgZm9yIGRldGFpbHMuIgogICAgIChsZXQqICgoZm10IChjYXIg Y2FsYy1mbG9hdC1mb3JtYXQpKQogCSAgIChmaWdzIChudGggMSBjYWxjLWZsb2F0LWZvcm1hdCkp CiAJICAgKG5ldy1tb2RlLXN0cmluZwotCSAgICAoZm9ybWF0ICJDYWxjJXMlczogJWQgJXMgJS0x NHMiCisJICAgIChmb3JtYXQgIkNhbGMlcyVzOiAlZCAlcyAlcyIKIAkJICAgIChpZiAoYW5kIGNh bGMtZW1iZWRkZWQtaW5mbwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZXEgKGFyZWYg Y2FsYy1lbWJlZGRlZC1pbmZvIDEpIChjdXJyZW50LWJ1ZmZlcikpKQogICAgICAgICAgICAgICAg ICAgICAgICAgIkVtYmVkIiAiIikKLS0gCjEuOC40Cgo= --bcaec5489d67ece37f04fec7ee63-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 15:59:08 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 19:59:08 +0000 Received: from localhost ([127.0.0.1]:59989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0BI-0003dz-5E for submit@debbugs.gnu.org; Sat, 03 Aug 2019 15:59:08 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0BG-0003di-B5 for control@debbugs.gnu.org; Sat, 03 Aug 2019 15:59:06 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu0BD-0007Z7-9t for control@debbugs.gnu.org; Sat, 03 Aug 2019 21:59:05 +0200 Date: Sat, 03 Aug 2019 21:59:02 +0200 Message-Id: <874l2ydnqx.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18079 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18079 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18079 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 16:03:06 2019 Received: (at 18079) by debbugs.gnu.org; 3 Aug 2019 20:03:06 +0000 Received: from localhost ([127.0.0.1]:59999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0F8-0005tT-3I for submit@debbugs.gnu.org; Sat, 03 Aug 2019 16:03:06 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0F6-0005tL-FV for 18079@debbugs.gnu.org; Sat, 03 Aug 2019 16:03:05 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu0F3-0007c1-8S; Sat, 03 Aug 2019 22:03:03 +0200 From: Lars Ingebrigtsen To: Oleh Subject: Re: bug#18079: Remove redundant spaces in `mode-line-buffer-identification' for `calc-mode' References: Date: Sat, 03 Aug 2019 22:03:00 +0200 In-Reply-To: (Oleh's message of "Tue, 22 Jul 2014 15:09:26 +0200") Message-ID: <87zhkqc8zv.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Oleh writes: > For some reason there are 14 extra spaces added to > `mode-line-buffer-identification' for `calc-mode'. > Which makes it look weird compared to other buffers, such as *scratch*. > This is especially [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18079 Cc: 18079@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Oleh writes: > For some reason there are 14 extra spaces added to > `mode-line-buffer-identification' for `calc-mode'. > Which makes it look weird compared to other buffers, such as *scratch*. > This is especially apparent with a custom mode-line, e.g. powerline package. > I attach a patch. [...] > - (format "Calc%s%s: %d %s %-14s" > + (format "Calc%s%s: %d %s %s" That is indeed pretty odd. Perhaps they wanted to have it equally wide no matter what settings that are enabled? Anyway, I think it's a positive change to make this more regular, so I've applied your patch to Emacs 27. If there's calc users that somehow found that space useful, then reverting the commit would be fine, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 16:03:16 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 20:03:16 +0000 Received: from localhost ([127.0.0.1]:60005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0FI-0005u5-Lr for submit@debbugs.gnu.org; Sat, 03 Aug 2019 16:03:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:52912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu0FG-0005tv-T0 for control@debbugs.gnu.org; Sat, 03 Aug 2019 16:03:15 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu0FE-0007cV-AD for control@debbugs.gnu.org; Sat, 03 Aug 2019 22:03:14 +0200 Date: Sat, 03 Aug 2019 22:03:11 +0200 Message-Id: <87wofuc8zk.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18079 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18079 fixed close 18079 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18079 fixed close 18079 27.1 quit From unknown Fri Jun 20 07:25:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Sep 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator