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 file in a version-controlled directory, it
breaks with the following backtrace:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  logand(nil 128)
  vc-mode-line("/root/test.txt")
  vc-find-file-hook()
  run-hooks(find-file-hook)
  after-find-file(t t)
  find-file-noselect-1(#<buffer test.txt> "~/test.txt" nil nil "~/test.txt" nil)
  find-file-noselect("~/test.txt" nil nil t)
  find-file("~/test.txt" t)
  call-interactively(find-file)

I checked the environment variables between the two to see if I could
find something interesting, and didn't.  I diffed the *Messages* buffer
on both to see if one was loading something that the other wasn't, and
nothing.  Neither home directory has a .hgrc file.  The mercurial
version on this system is 1.2.  I can't replicate the error on a Lenny
box with Mercurial 1.0.1 and Emacs 22.2, even with the same .emacs
file.

I hope you have some idea of what's going on here.


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (650, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-common depends on:
ii  dpkg                          1.14.25    Debian package management system
ii  emacsen-common                1.4.17     Common facilities for all emacsen

emacs22-common recommends no packages.

Versions of packages emacs22-common suggests:
ii  emacs22-common-non-dfsg       22.3+1-1   GNU Emacs shared, architecture ind
pn  emacs22-el                    <none>     (no description available)

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to