Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94138 - subversion line in site-gentoo.el breaks emacs
Summary: subversion line in site-gentoo.el breaks emacs
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
: 94167 (view as bug list)
Depends on:
Reported: 2005-05-26 21:57 UTC by Rouslan Solomakhin
Modified: 2005-07-08 08:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rouslan Solomakhin 2005-05-26 21:57:41 UTC
Line "(add-to-list 'vc-handled-backends 'SVN)" in
/usr/share/emacs/site-lisp/site-gentoo.el causes emacs to fail opening files
with error:

 is the new canonical location of vc-svn.el, in the FSF Emacs tree."

... in mini-buffer. This line is added to site-gentoo.el from
/usr/share/emacs/site-lisp/70svn-gentoo.el, which is owned by
dev-util/subversion-1.2.0, because it was compiled with "emacs" flag in USE. The
file /usr/share/emacs/site-lisp/subversion/vc-svn.el contains these lines: 

;; This file no longer lives here, it lives in FSF Emacs.
  is the new canonical location of vc-svn.el, in the FSF Emacs tree.")

Reproducible: Always
Steps to Reproduce:
1. Enable "emacs" flag in USE
2. Emerge subversion
3. Make sure that site-start.el has line (load
4. Run emacs
5. Try opening any file

Actual Results:  
Received the error message mentioned above and the file was not opened.

Expected Results:  
Open the file without error messages.

# emerge --info
Portage (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.5
System uname: 2.6.5 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r6, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
CFLAGS="-mcpu=pentium3 -O3 -pipe"
CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/applications /usr/share/config /usr/share/gnome /usr/share/gnome/apps
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/mwm /etc/X11/proxymngr
/etc/X11/rstart /etc/X11/xdm /etc/afs/afsws /etc/dev.d /etc/gconf /etc/ggi
/etc/gimp /etc/gnome-vfs-2.0 /etc/mono /etc/openldap /etc/sound /etc/ssl
/etc/terminfo /etc/texmf/web2c /etc/udev /etc/vim /usr/lib/X11/xkb
/usr/share/texmf /usr/share/texmf/dvips/config /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe"
FEATURES="autoconfig buildpkg candy ccache clean collision-protect distlocks moo
sandbox sfperms strict"
USE="x86 X X509 aalib acl afs alsa avi bash-completion berkdb bitmap-fonts
bonobo bzip2 cdr crypt cscope cups curl dbus dga directfb divx4linux djvu doc
dvd dvdr dvi eds emacs emboss esd evo fam fbcon flac flash font-server
foomaticdb fortran gb gcj gd gdbm ggi gif gimpprint gnome gpm graphviz gstreamer
gtk gtk2 gtkhtml guile hal hardened howl icu imagemagick imap imlib java
javacomm javascript jpeg junit kerberos lcms ldap lesstif libg++ libgda libwww
logrotate mad mailwrapper mbox mmx mng mono motif moznoirc mp3 mpeg ncurses nls
nntp nocardbus nptl nsplugin nvidia objc odbc ogg oggvorbis opengl oss pam pda
pdflib perl plotutils png python quicktime readline real ruby samba sdl slang
slp spell sqlite sse ssl svg svga symlink t1lib tcltk tcpd tetex threads tiff
truetype truetype-fonts type1-fonts vidix vorbis win32codecs wmf xine xml xml2
xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Comment 1 Olaf Walkowiak 2005-05-27 02:57:51 UTC
Same here.

Additional Note: In fact, the file is opened, but you have to switch to its buffer. 

Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-27 03:02:44 UTC
I've committed a fixed version. Please check whether it works.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-27 05:09:51 UTC
*** Bug 94167 has been marked as a duplicate of this bug. ***
Comment 4 Rouslan Solomakhin 2005-05-27 05:52:48 UTC
Emacs now fails to open files with error:

Wrong number of arguments: #<subr defalias>, 3

Again, commenting out the line (add-to-list 'vc-handled-backends 'SVN) in
site-gentoo.el gets rid of the error.
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-27 06:17:28 UTC
Ok, I copied the 1.1.4 version and changed the ebuild accordingly. Please try again
Comment 6 Olaf Walkowiak 2005-05-27 07:50:40 UTC
Works for me, thanks
Comment 7 Rouslan Solomakhin 2005-05-27 10:25:57 UTC
Works here too.
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-29 03:43:53 UTC
Ok, closing this up then.
Comment 9 Rouslan Solomakhin 2005-07-08 08:16:02 UTC
This was solved, but never closed. Closing this now.