Bug#529541: emacs22-common: Emacs in vc-hg breaks when run as root with 'wrong-type-argument number-or-marker-p nil'

2009-05-21 Thread Sven Joachim
On 2009-05-21 00:21 +0200, Zed Pobre wrote: On Wed, May 20, 2009 at 05:42:34PM +0200, Sven Joachim wrote: Here (file-modes buffer-file-name) returns nil, which means Emacs could not stat(2) the file, e.g. because it does not exist. This would explain the error (and also that you only get it

Bug#529541: emacs22-common: Emacs in vc-hg breaks when run as root with 'wrong-type-argument number-or-marker-p nil'

2009-05-20 Thread Sven Joachim
On 2009-05-20 00:41 +0200, Zed Pobre wrote: I'm scratching my head over this one. On the same system, with identical .emacs files in /root and in /home/zed, if I edit a file in a mercurial directory as user zed, I'm fine. If I become root and then run, or even sudo, emacs on a file in a

Bug#529541: emacs22-common: Emacs in vc-hg breaks when run as root with 'wrong-type-argument number-or-marker-p nil'

2009-05-19 Thread Zed Pobre
Package: emacs22-common Version: 22.3+1-1 Severity: normal I'm scratching my head over this one. On the same system, with identical .emacs files in /root and in /home/zed, if I edit a file in a mercurial directory as user zed, I'm fine. If I become root and then run, or even sudo, emacs on a