From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: trentbuck@gmail.com (Trent W. Buck) Newsgroups: gmane.emacs.bugs Subject: bug#18980: 24.4; gnus in 24.4 breaks load-path? Date: Fri, 07 Nov 2014 10:31:16 +1100 Message-ID: <87ppcznby3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415316804 3325 80.91.229.3 (6 Nov 2014 23:33:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 23:33:24 +0000 (UTC) To: 18980@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 07 00:33:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmWYH-0000o7-Mx for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Nov 2014 00:33:17 +0100 Original-Received: from localhost ([::1]:57135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWYH-00060X-9g for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 18:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWY7-0005oZ-6D for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:33:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmWY2-0001mP-1F for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:33:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWY1-0001mL-V8 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmWY1-0007zO-QR for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: trentbuck@gmail.com (Trent W. Buck) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Nov 2014 23:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141531677430679 (code B ref -1); Thu, 06 Nov 2014 23:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Nov 2014 23:32:54 +0000 Original-Received: from localhost ([127.0.0.1]:52240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmWXt-0007yj-A1 for submit@debbugs.gnu.org; Thu, 06 Nov 2014 18:32:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57930) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmWXq-0007yU-JG for submit@debbugs.gnu.org; Thu, 06 Nov 2014 18:32:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmWXd-0001Yz-6m for submit@debbugs.gnu.org; Thu, 06 Nov 2014 18:32:50 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWXd-0001Yt-4P for submit@debbugs.gnu.org; Thu, 06 Nov 2014 18:32:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWXA-0004lE-8H for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:32:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmWWT-0000iI-28 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:32:08 -0500 Original-Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:56899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWWS-0000hs-Ma for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 18:31:24 -0500 Original-Received: by mail-pd0-f177.google.com with SMTP id v10so2069602pde.22 for ; Thu, 06 Nov 2014 15:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=rT227KhnRv6YotcXvAH9EKI1jzkRCi3fRC8wKp7XUh0=; b=ybAhVSQlZUufPTiIhZWx+nTu9CbznFSz+QnNUSGeZj4USXNL8pkwpS83FMaL4jBnYD EW2EQFthg2vyDlDxlszCWyeq0TlglToJtWkgDf8d/xAYghXFauHP74nxxoy6AQEYf46v 0HQAQNe8tU1Eue0Jr4Ey7ijQnh+48DvKpoKAR444LiBuATlIT+NQZNgLaorH/uRWUIEp VHFLTPdNjpxwmp6/VJz/OHIe0V8Zhh3WdBXvyH5AR1sdHyYWinCI44IMGTABVn4m+TeE ptRla/4K6o/3jiabk7ccLhf/ff1d432+YyyD59LoOU0c6z7O60AhGsfxdaVarZPCDdC3 oCYg== X-Received: by 10.68.65.10 with SMTP id t10mr7179408pbs.156.1415316683330; Thu, 06 Nov 2014 15:31:23 -0800 (PST) Original-Received: from localhost ([203.7.155.102]) by mx.google.com with ESMTPSA id ca1sm6941708pdb.13.2014.11.06.15.31.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 15:31:22 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95642 After upgrading from 24.3 to 24.4, "emacs -f gnus" stopped working: Cannot open load file: no such file or directory, image If I -f toggle-debug-on-error first, it says Cannot open load file: no such file or directory, debug If I manually (require 'image) first, the problem goes away: $ emacs --batch -q -Q -l ~/.gnus.el -f gnus -f gnus-group-exit -f kill-emacs Reading /home/twb/.newsrc.eld... Opening nnfolder server on archive... Opening nnfolder server on archive...done Opening nntp server on news.internode.on.net... Opening nntp server on news.internode.on.net...done No new newsgroups Checking new news... Cannot open load file: no such file or directory, image $ emacs --batch -q -Q -l ~/.gnus.el -eval "(require 'image)" -f gnus -f gnus-group-exit -f kill-emacs Reading /home/twb/.newsrc.eld... Opening nnfolder server on archive... Opening nnfolder server on archive...done Opening nntp server on news.internode.on.net... Opening nntp server on news.internode.on.net...done No new newsgroups Checking new news... Reading active file from archive via nnfolder... Reading active file from archive via nnfolder... Reading active file from archive via nnfolder...done Reading active file via nndraft... Reading active file via nndraft... Reading active file via nndraft...done Checking new news...done Saving file /home/twb/.newsrc... Wrote /home/twb/.newsrc Saving /home/twb/.newsrc.eld... Saving file /home/twb/.newsrc.eld... Wrote /home/twb/.newsrc.eld Saving /home/twb/.newsrc.eld...done Tracing shows it is not searching the full load-path: $ strace -o/tmp/trace -etrace=file emacs --batch -q -Q -l ~/.gnus.el -f toggle-debug-on-error -f gnus [...] $ grep '\' /tmp/trace execve("/usr/bin/emacs", ["emacs", "--batch", "-q", "-Q", "-l", "/home/twb/.gnus.el", "-f", "toggle-debug-on-error", "-f", "gnus"], [/* 60 vars */]) = 0 open("/usr/share/emacs/24.4/etc/images/gnus/debug.elc", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/emacs/24.4/etc/images/gnus/debug.elc.gz", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/emacs/24.4/etc/images/gnus/debug.el", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/emacs/24.4/etc/images/gnus/debug.el.gz", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) $ dlocate /debug.elc emacs24-common: /usr/share/emacs/24.4/lisp/emacs-lisp/debug.elc My .gnus.el is not interesting: (setq gnus-select-method '(nntp "news.gmane.org") gnus-secondary-select-methods '((nntp "news.internode.on.net")) ; for asr gnus-treat-date-local 'head ;; Discarding text/html and show the text/plain version. mm-discouraged-alternatives '("text/html" "multipart/related") gnus-buttonized-mime-types '("multipart/alternative" "multipart/signed")) In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu) of 2014-10-26 on trouble, modified by Debian System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=no --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: xterm-mouse-mode: t ido-everywhere: t savehist-mode: t icomplete-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t electric-indent-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: Loading /usr/share/emacs/site-lisp/magit/magit-install.el (source)...done Loading /etc/emacs/site-start.d/50magit.el (source)...done Loading /etc/emacs/site-start.d/50pylint.el (source)... Loading pylint...done Loading /etc/emacs/site-start.d/50pylint.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...done Loading /etc/emacs/site-start.d/51debian-el.el (source)...done Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader mule-util xterm advice sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils jka-compr edmacro kmacro cl-loaddefs cl-lib disp-table xt-mouse ido savehist icomplete time-date paren delsel saveplace debian-el debian-el-loaddefs w3m-load pylint compile comint regexp-opt ansi-color ring tool-bar 50magit emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs tooltip electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify multi-tty emacs) Memory information: ((conses 16 108780 5202) (symbols 48 19433 0) (miscs 40 41 96) (strings 32 32329 4871) (string-bytes 1 763456) (vectors 16 9258) (vector-slots 8 355633 14422) (floats 8 69 208) (intervals 56 211 0) (buffers 960 11) (heap 1024 29840 825))