Package: emacs24
Version: 24.4+1-5
Severity: important

Hi!

Since the Jessie upgrade, I've been having some occasional very long
startup delays with emacs. Using strace, I can see that emacs is
looking in /share/info at startup, and /share on my machine is an
auto-mounted network share on my home network. On that network, things
work OK but when elsewhere it's been taking quite a long time for the
autmount to timeout and fail. This is the cause of the delay.

However, in looking this up I can see that there's been quite a I've
tracked it down to quite a major change in info path handling from
emacs23 to emacs24 in lisp/info.el and it seems quite broken, in 3
different ways.

1. In Info-default-directory-list, the code builds a large set of
   possible info dirs to scan, combining ths set of prefixes
   ("/usr/local/" "/usr/" "/opt/" "/") and suffixes ("share/" ""
   "gnu/" "gnu/lib/" "gnu/lib/emacs/" "emacs/" "lib/"
   "lib/emacs/")). This includes a whole slew of directory
   combinations that I think make no sense for an info path on a
   Debian system, including things under /share, /gnu etc.

2. Why on earth is emacs checking the info path at all on startup?
   Shouldn't it wait until info functions are actually called for?

3. The documentation talks about setting INFOPATH in the environment
   to over-ride the use of this default directory list, but again
   using strace I can see no change to behaviour here at all if I set
   INFOPATH

I've trivially patched my own local emacs to at least remove the "/"
from the list of prefixes - patch available if you'd like to see it...

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs24 depends on:
ii  emacs24-bin-common     24.4+1-5
ii  gconf-service          3.2.6-3
ii  libacl1                2.2.52-2
ii  libasound2             1.0.28-1
ii  libatk1.0-0            2.14.0-1
ii  libc6                  2.19-18
ii  libcairo-gobject2      1.14.0-2.1
ii  libcairo2              1.14.0-2.1
ii  libdbus-1-3            1.8.16-1
ii  libfontconfig1         2.11.0-6.3
ii  libfreetype6           2.5.2-3
ii  libgconf-2-4           3.2.6-3
ii  libgdk-pixbuf2.0-0     2.31.1-2+b1
ii  libgif4                4.1.6-11
ii  libglib2.0-0           2.42.1-1
ii  libgnutls-deb0-28      3.3.8-6
ii  libgomp1               4.9.2-10
ii  libgpm2                1.20.4-6.1+b2
ii  libgtk-3-0             3.14.5-1
ii  libice6                2:1.0.9-1+b1
ii  libjpeg62-turbo        1:1.3.1-12
ii  libm17n-0              1.6.4-3
ii  libmagickcore-6.q16-2  8:6.8.9.9-5
ii  libmagickwand-6.q16-2  8:6.8.9.9-5
ii  libotf0                0.9.13-2
ii  libpango-1.0-0         1.36.8-3
ii  libpangocairo-1.0-0    1.36.8-3
ii  libpng12-0             1.2.50-2+b2
ii  librsvg2-2             2.40.5-1
ii  libselinux1            2.3-2
ii  libsm6                 2:1.2.2-1+b1
ii  libtiff5               4.0.3-12.3
ii  libtinfo5              5.9+20140913-1+b1
ii  libx11-6               2:1.6.2-3
ii  libxft2                2.3.2-1
ii  libxinerama1           2:1.1.3-1+b1
ii  libxml2                2.9.1+dfsg1-5
ii  libxpm4                1:3.5.11-1+b1
ii  libxrandr2             2:1.4.2-1+b1
ii  libxrender1            1:0.9.8-1+b1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

emacs24 recommends no packages.

Versions of packages emacs24 suggests:
pn  emacs24-common-non-dfsg  <none>

-- no debconf information


-- 
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