Your message dated Tue, 02 Jun 2015 11:19:02 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient emacs versions
has caused the Debian Bug report #529541,
regarding emacs22-common: Emacs in vc-hg breaks when run as root with 
'wrong-type-argument number-or-marker-p nil'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
529541: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of emacs (emacs21,
emacs22) that is no longer supported. It is assumed to be fixed (or no
longer relevant) in newer releases and therefore I'm closing this report
now. If the problem is still reproducible in the current version
(emacs24), feel free to provide more information and reopen this bug report.

Andreas

--- End Message ---

Reply via email to