emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#23344: closed (25.0.93; (vc-call-backend 'Git 'mod


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23344: closed (25.0.93; (vc-call-backend 'Git 'mode-line-string default-directory))
Date: Sat, 23 Apr 2016 19:23:01 +0000

Your message dated Sat, 23 Apr 2016 22:22:19 +0300
with message-id <address@hidden>
and subject line Re: bug#23344: 25.0.93; (vc-call-backend 'Git 
'mode-line-string default-directory)
has caused the debbugs.gnu.org bug report #23344,
regarding 25.0.93; (vc-call-backend 'Git 'mode-line-string default-directory)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23344: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23344
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.93; (vc-call-backend 'Git 'mode-line-string default-directory) Date: Sat, 23 Apr 2016 22:32:31 +0800
1. Open a directory under git in dired and eval
2. (progn (vc-file-clearprops default-directory)
          (vc-call-backend 'Git 'mode-line-string default-directory))
3. observe the odd string: "Git-04030c40afcef0b9b41fd79ad094c4a7d2c2cc27master"

Leo



--- End Message ---
--- Begin Message --- Subject: Re: bug#23344: 25.0.93; (vc-call-backend 'Git 'mode-line-string default-directory) Date: Sat, 23 Apr 2016 22:22:19 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0
Hi Leo,

On 04/23/2016 05:32 PM, Leo Liu wrote:

1. Open a directory under git in dired and eval
2. (progn (vc-file-clearprops default-directory)
          (vc-call-backend 'Git 'mode-line-string default-directory))
3. observe the odd string: "Git-04030c40afcef0b9b41fd79ad094c4a7d2c2cc27master"

Thanks for the report. I've fixed it in 87ee542.

Is there a particular place where you're calling `mode-line-string' on a directory, though?

The return value in this case is poorly defined, because the string includes a character indicator of the current VC state of FILE, and the VC API doesn't define VC states for directories.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]