[From nobody Fri Aug 21 15:53:06 2026
Received: (at submit) by bugs.debian.org; 13 Dec 2013 06:56:31 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
 (2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.1 required=4.0 tests=BAYES_00, DATE_IN_PAST_24_48,
 DKIM_ADSP_CUSTOM_MED,FOURLA,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,
 HAS_PACKAGE,NML_ADSP_CUSTOM_MED,RDNS_NONE,SPF_SOFTFAIL,XMAILER_REPORTBUG,
 X_DEBBUGS_CC autolearn=ham version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 56; spammy,
 1. spammytokens:0.959-+--H*r:bugs.debian.org hammytokens:0.000-+--H*x:6.4.4,
 0.000-+--H*UA:6.4.4, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
 0.000-+--H*x:reportbug
Return-path: &lt;hhkbp2@gmail.com&gt;
Received: from [183.60.177.227] (helo=[127.0.1.1])
 by buxtehude.debian.org with esmtp (Exim 4.80)
 (envelope-from &lt;hhkbp2@gmail.com&gt;) id 1VrMfm-0002cp-HO
 for submit@bugs.debian.org; Fri, 13 Dec 2013 06:56:31 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: &quot;Dylan.Wen&quot; &lt;hhkbp2@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: erlang-mode: site-start.d script doesn't get load-path right
Message-ID: &lt;20131212014537.3623.74020.reportbug@vm-debian&gt;
X-Mailer: reportbug 6.4.4
Date: Thu, 12 Dec 2013 01:45:37 +0000
X-Debbugs-Cc: hhkbp2@gmail.com
Delivered-To: submit@bugs.debian.org

Package: erlang-mode
Version: 1:14.a-dfsg-3squeeze1
Severity: important
Tags: d-i

Dear Maintainer,

After the package`erlang-mode' was updated to version 15 or 16, Emacs failed to run

(require 'erlang-start)

and reported error saying '&quot;Cannot open load file &quot; &quot;erlang-start&quot;'.

I compare these versions. In version 14, after installation, those 
elisp source files with suffix .el would be compiled and the binary-compiled 
files with suffix .elc would be put into directory 
'/usr/share/emacs24/site-lisp/erlang'.

But in version 15 or 16, no .elc files would be compiled or put into this directory. 
So when Emacs start and load 'site-start.d/50erlang-mode.el'(which will add
'/usr/share/emacs24/site-lisp/erlang' to load-path), it could not locate
'erlang-start' and that causes a error.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages erlang-mode depends on:
ii  emacsen-common  2.0.5

erlang-mode recommends no packages.

Versions of packages erlang-mode suggests:
pn  erlang           &lt;none&gt;
pn  erlang-doc       &lt;none&gt;
pn  erlang-manpages  &lt;none&gt;

-- no debconf information
]