GNU bug report logs - #21404
25.0.50; vc git mode-line 'font property cut off

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Thu, 3 Sep 2015 05:19:01 UTC

Severity: normal

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21404 in the body.
You can then email your comments to 21404 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21404; Package emacs. (Thu, 03 Sep 2015 05:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Oteiza <mvoteiza <at> udel.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 03 Sep 2015 05:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Oteiza <mvoteiza <at> udel.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; vc git mode-line 'font property cut off
Date: Thu, 03 Sep 2015 01:18:22 -0400
Hi,

The following commit

http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=21d6414a4

breaks fontification of the vc git mode line string.

  (vc-default-mode-line-string 'Git "~/foo/bar")
  => #("Git-a071fefe36be6069f5b66467767b9e88c73a5bf6" 0 44 (help-echo "Up to date file under the Git version control system" face vc-up-to-date-state))

  (replace-regexp-in-string
   (concat "a071fefe36be6069f5b66467767b9e88c73a5bf6" "\\'")
   "master"
   (vc-default-mode-line-string 'Git "~/.zshenv")
   t t)
  => #("Git-master" 0 4 (help-echo "Up to date file under the Git version control system" face vc-up-to-date-state))

So, only "Git-" is given the face, instead of the whole "Git-master"




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Thu, 03 Sep 2015 12:38:02 GMT) Full text and rfc822 format available.

Notification sent to Mark Oteiza <mvoteiza <at> udel.edu>:
bug acknowledged by developer. (Thu, 03 Sep 2015 12:38:02 GMT) Full text and rfc822 format available.

Message #10 received at 21404-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Mark Oteiza <mvoteiza <at> udel.edu>, 21404-done <at> debbugs.gnu.org
Subject: Re: bug#21404: 25.0.50; vc git mode-line 'font property cut off
Date: Thu, 3 Sep 2015 15:37:35 +0300
On 09/03/2015 08:18 AM, Mark Oteiza wrote:

> So, only "Git-" is given the face, instead of the whole "Git-master"

Sorry about that, I didn't test it in vanilla Emacs.

Should be fixed now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.