Package: emacs Version: 23.1+1-5 Severity: normal *** Please type your report below this line ***
Hello, when adding a custom directory to emacs load-path, the files present in that directory are not loaded. How to reproduce the bug: 1. create a directory and put a valid emacs package (.el file) into it: $ mkdir ~/emacs $ cp myfile.el ~/emacs 2. add the directory to the load-path, see e.g. http://www.gnu.org/software/emacs/emacs-faq.html#Changing-load_002dpath To do so, add the line (add-to-list 'load-path "~/emacs/") to ~/.emacs 3. launch emacs What happens: the load-path variable is updated, but the file is not loaded. To see your load-path variable, type C-h v load-path here is my output: ---- load-path is a variable defined in `C source code'. Its value is ("~/emacs" "/usr/share/emacs23/site-lisp/dictionaries-common" "/usr/share/emacs/site-lisp/autoconf" "/etc/emacs23" "/etc/emacs" "/usr/local/share/emacs/23.1/site-lisp" "/usr/local/share/emacs/site-lisp" "/usr/share/emacs/23.1/site-lisp" "/usr/share/emacs/23.1/site-lisp/cmake-data" "/usr/share/emacs/23.1/site-lisp/dictionaries-common" "/usr/share/emacs/23.1/site-lisp/global" "/usr/share/emacs/23.1/site-lisp/gnuserv" "/usr/share/emacs/site-lisp" "/usr/share/emacs/23.1/leim" "/usr/share/emacs/23.1/lisp" "/usr/share/emacs/23.1/lisp/url" "/usr/share/emacs/23.1/lisp/textmodes" "/usr/share/emacs/23.1/lisp/progmodes" "/usr/share/emacs/23.1/lisp/play" "/usr/share/emacs/23.1/lisp/org" "/usr/share/emacs/23.1/lisp/nxml" "/usr/share/emacs/23.1/lisp/net" "/usr/share/emacs/23.1/lisp/mh-e" "/usr/share/emacs/23.1/lisp/mail" "/usr/share/emacs/23.1/lisp/language" "/usr/share/emacs/23.1/lisp/international" "/usr/share/emacs/23.1/lisp/gnus" "/usr/share/emacs/23.1/lisp/eshell" "/usr/share/emacs/23.1/lisp/erc" "/usr/share/emacs/23.1/lisp/emulation" "/usr/share/emacs/23.1/lisp/emacs-lisp" "/usr/share/emacs/23.1/lisp/calendar" "/usr/share/emacs/23.1/lisp/calc" "/usr/share/emacs/23.1/lisp/obsolete" "/usr/share/emacs/23.1/leim") Documentation: *List of directories to search for files to load. Each element is a string (directory name) or nil (try default directory). Initialized based on EMACSLOADPATH environment variable, if any, otherwise to default specified by file `epaths.h' when Emacs was built. ---- However, the file has not been loaded as the *Messages* buffer also confirms: ---- Loading 00debian-vars...done Loading /etc/emacs/site-start.d/50autoconf.el (source)...done Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50festival.el (source)...done Loading /etc/emacs/site-start.d/50global.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done ---- I can load the file either by doing it by hand with the command M-x load-file or by putting it in /etc/emacs/site-start.d/ Thank you. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (200, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-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 emacs depends on: ii emacs23 23.1+1-5 The GNU Emacs editor (with GTK+ us emacs recommends no packages. emacs suggests no packages. -- no debconf information -- Stefano Fortune of the day: "Don't look now, but there is a multi-legged creature on your shoulder." -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org