[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No commit in vc?
From: |
Juri Linkov |
Subject: |
Re: No commit in vc? |
Date: |
Sun, 31 Jan 2010 00:54:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (x86_64-pc-linux-gnu) |
> (when pending-merge
> (concat
> (propertize "Warning : " 'face 'font-lock-warning-face
> 'help-echo shelve-help-echo)
> (propertize "Pending merges, commit recommended before any other
> action"
> 'help-echo (format "A merge has been performed.\nA
> commit from the top-level directory (%s)\nis required before being able to
> check in anything else" root-dir)
> 'face 'font-lock-warning-face)
> "\n"))
> (if shelve
> (concat
> (propertize "Shelves :\n" 'face 'font-lock-type-face
> 'help-echo shelve-help-echo)
> (mapconcat
> (lambda (x)
> (propertize x
> 'face 'font-lock-variable-name-face
> 'mouse-face 'highlight
> 'help-echo "mouse-3: Show shelve menu\nA: Apply and
> keep shelf\nP: Apply and remove shelf (pop)\nS: Snapshot to a shelf\nC-k:
> Delete shelf"
> 'keymap vc-bzr-shelve-map))
> shelve "\n"))
> (concat
> (propertize "Shelves : " 'face 'font-lock-type-face
> 'help-echo shelve-help-echo)
> (propertize "No shelved changes"
> 'help-echo shelve-help-echo
> 'face 'font-lock-variable-name-face))))))
I recommend to not display inactive features because "No shelved changes"
adds more noise as there will be no "No pending merges".
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: No commit in vc?, (continued)
- Re: No commit in vc?, Stefan Monnier, 2010/01/31
- Re: No commit in vc?, Thien-Thi Nguyen, 2010/01/31
- Re: No commit in vc?, David De La Harpe Golden, 2010/01/31
- Re: No commit in vc?, Stefan Monnier, 2010/01/31
- Re: No commit in vc?, Dan Nicolaescu, 2010/01/31
- Re: No commit in vc?, Dan Nicolaescu, 2010/01/30
- Re: No commit in vc?, Eli Zaretskii, 2010/01/30
- Re: No commit in vc?,
Juri Linkov <=
- Re: No commit in vc?, Dan Nicolaescu, 2010/01/31
- Re: No commit in vc?, Eli Zaretskii, 2010/01/29
- Re: No commit in vc?, Juri Linkov, 2010/01/30
- Re: No commit in vc?, Eli Zaretskii, 2010/01/30