* bug#7796: ^M in vc-dir @ 2011-01-06 17:49 Sam Steingold 2011-01-06 18:35 ` Eli Zaretskii 0 siblings, 1 reply; 4+ messages in thread From: Sam Steingold @ 2011-01-06 17:49 UTC (permalink / raw) To: 7796 I am running bzr tip emacs on winxp64. C-x v d emacs/trunk RET produces a buffer: ================================= VC backend : Bzr Working dir: ~/src/emacs/trunk/ Parent branch : bzr+ssh://sds@bzr.savannah.gnu.org/emacs/trunk/^M Shelves : No shelved changes ./ lisp/ edited lisp/w32-fns.el^M ================================= where ^M are the actual \r characters. this breaks things, e.g., I cannot hit RET on the file name, I get the non-existent file with a ^M in the name. this does not happen with hg and svn. (executable-find "bzr") "c:/Program Files (x86)/Bazaar/bzr.exe" (executable-find "hg") "c:/Program Files (x86)/TortoiseHg/hg.exe" (executable-find "svn") "c:/gnu/cygwin/bin/svn.exe" -- Sam Steingold <http://sds.podval.org> ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7796: ^M in vc-dir 2011-01-06 17:49 bug#7796: ^M in vc-dir Sam Steingold @ 2011-01-06 18:35 ` Eli Zaretskii 2011-01-06 19:19 ` Sam Steingold 0 siblings, 1 reply; 4+ messages in thread From: Eli Zaretskii @ 2011-01-06 18:35 UTC (permalink / raw) To: Sam Steingold; +Cc: 7796 > Date: Thu, 6 Jan 2011 12:49:11 -0500 > From: Sam Steingold <sds@gnu.org> > Cc: > > I am running bzr tip emacs on winxp64. > C-x v d emacs/trunk RET > produces a buffer: > > ================================= > VC backend : Bzr > Working dir: ~/src/emacs/trunk/ > Parent branch : bzr+ssh://sds@bzr.savannah.gnu.org/emacs/trunk/^M > > Shelves : No shelved changes > > ./ > lisp/ > edited lisp/w32-fns.el^M > ================================= > > where ^M are the actual \r characters. > this breaks things, e.g., I cannot hit RET on the file name, I get the > non-existent file with a ^M in the name. > this does not happen with hg and svn. It doesn't happen for me with bzr, either. What is buffer-file-coding-system of this buffer? It should be something-dos, I guess it isn't in your case. Also, can you see in your .bzr.log what commands is vc-dir invoking, exactly, when you type "C-x v d"? ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7796: ^M in vc-dir 2011-01-06 18:35 ` Eli Zaretskii @ 2011-01-06 19:19 ` Sam Steingold 2011-01-06 19:39 ` Eli Zaretskii 0 siblings, 1 reply; 4+ messages in thread From: Sam Steingold @ 2011-01-06 19:19 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 7796 On Thu, Jan 6, 2011 at 1:35 PM, Eli Zaretskii <eliz@gnu.org> wrote: >> Date: Thu, 6 Jan 2011 12:49:11 -0500 >> From: Sam Steingold <sds@gnu.org> >> >> I am running bzr tip emacs on winxp64. >> C-x v d emacs/trunk RET >> produces a buffer: >> >> ================================= >> VC backend : Bzr >> Working dir: ~/src/emacs/trunk/ >> Parent branch : bzr+ssh://sds@bzr.savannah.gnu.org/emacs/trunk/^M >> >> Shelves : No shelved changes >> >> ./ >> lisp/ >> edited lisp/w32-fns.el^M >> ================================= >> >> where ^M are the actual \r characters. >> this breaks things, e.g., I cannot hit RET on the file name, I get the >> non-existent file with a ^M in the name. >> this does not happen with hg and svn. > > It doesn't happen for me with bzr, either. What is > buffer-file-coding-system of this buffer? It should be something-dos, > I guess it isn't in your case. utf-8 I fixed this by reverting the effects of (modify-coding-system-alist 'process "" 'unix) which lived in my .emacs since I last used it on windows 4 years ago... > Also, can you see in your .bzr.log what commands is vc-dir invoking, > exactly, when you type "C-x v d"? Thu 2011-01-06 14:05:51 -0500 0.078 bazaar version: 2.3b3 0.078 bzr arguments: [u'status', u'-v', u'-S', u'./'] 0.078 bazaar version: 2.3b3 0.078 bzr arguments: [u'info', u'./'] 0.093 looking for plugins in C:/Documents and Settings/sds/Application Data/bazaar/2.0/plugins 0.093 looking for plugins in C:/Program Files (x86)/Bazaar/plugins 0.093 looking for plugins in C:/Documents and Settings/sds/Application Data/bazaar/2.0/plugins 0.093 looking for plugins in C:/Program Files (x86)/Bazaar/plugins 0.156 encoding stdout as osutils.get_user_encoding() 'cp1252' 0.171 encoding stdout as sys.stdin encoding 'cp437' 0.187 opening working tree 'C:/sds/src/emacs/trunk' 0.187 check paths: None 0.187 opening working tree 'C:/sds/src/emacs/trunk' 0.203 return code 0 0.250 encoding stdout as osutils.get_user_encoding() 'cp1252' 0.250 return code 0 Thu 2011-01-06 14:05:51 -0500 0.047 bazaar version: 2.3b3 0.047 bzr arguments: [u'shelve', u'--list', u'-q'] 0.063 looking for plugins in C:/Documents and Settings/sds/Application Data/bazaar/2.0/plugins 0.063 looking for plugins in C:/Program Files (x86)/Bazaar/plugins 0.110 encoding stdout as sys.stdin encoding 'cp437' 0.125 opening working tree 'C:/sds/src/emacs/trunk' 0.125 return code 0 thanks a lot for your help, I am learning more and more... -- Sam Steingold <http://sds.podval.org> ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7796: ^M in vc-dir 2011-01-06 19:19 ` Sam Steingold @ 2011-01-06 19:39 ` Eli Zaretskii 0 siblings, 0 replies; 4+ messages in thread From: Eli Zaretskii @ 2011-01-06 19:39 UTC (permalink / raw) To: Sam Steingold; +Cc: 7796-done > Date: Thu, 6 Jan 2011 14:19:56 -0500 > From: Sam Steingold <sds@gnu.org> > Cc: 7796@debbugs.gnu.org > > >> where ^M are the actual \r characters. > >> this breaks things, e.g., I cannot hit RET on the file name, I get the > >> non-existent file with a ^M in the name. > >> this does not happen with hg and svn. > > > > It doesn't happen for me with bzr, either. What is > > buffer-file-coding-system of this buffer? It should be something-dos, > > I guess it isn't in your case. > > utf-8 > I fixed this by reverting the effects of > (modify-coding-system-alist 'process "" 'unix) > which lived in my .emacs since I last used it on windows 4 years ago... Great! Closing the bug, then. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-06 19:39 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-06 17:49 bug#7796: ^M in vc-dir Sam Steingold 2011-01-06 18:35 ` Eli Zaretskii 2011-01-06 19:19 ` Sam Steingold 2011-01-06 19:39 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).