all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21404: 25.0.50; vc git mode-line 'font property cut off
@ 2015-09-03  5:18 Mark Oteiza
  2015-09-03 12:37 ` Dmitry Gutov
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Oteiza @ 2015-09-03  5:18 UTC (permalink / raw)
  To: 21404


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"





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#21404: 25.0.50; vc git mode-line 'font property cut off
  2015-09-03  5:18 bug#21404: 25.0.50; vc git mode-line 'font property cut off Mark Oteiza
@ 2015-09-03 12:37 ` Dmitry Gutov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Gutov @ 2015-09-03 12:37 UTC (permalink / raw)
  To: Mark Oteiza, 21404-done

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-03 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03  5:18 bug#21404: 25.0.50; vc git mode-line 'font property cut off Mark Oteiza
2015-09-03 12:37 ` Dmitry Gutov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.