From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: alan.wehmann@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#17841: 24.3; Info description of Emacs startup could better describe package initialization Date: Mon, 23 Jun 2014 21:47:33 -0500 Message-ID: <21416.59077.521255.155563@171-134-121-173.kscymo.spcsdns.net> Reply-To: Alan.Wehmann@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403589328 1637 80.91.229.3 (24 Jun 2014 05:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 05:55:28 +0000 (UTC) To: 17841@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 07:55:21 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 1WzJhO-0002ak-5G for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 07:55:18 +0200 Original-Received: from localhost ([::1]:57650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzJhN-0007q0-RK for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 01:55:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzJhF-0007kC-Qp for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 01:55:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzJh8-0003O7-QC for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 01:55:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzJh8-0003Nu-Mm for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 01:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzJh8-0002L9-Cd for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 01:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: alan.wehmann@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jun 2014 05:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17841 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.14035892998981 (code B ref -1); Tue, 24 Jun 2014 05:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2014 05:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:58791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzJh3-0002Kl-BN for submit@debbugs.gnu.org; Tue, 24 Jun 2014 01:54:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59338) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzGm7-0005Kc-O3 for submit@debbugs.gnu.org; Mon, 23 Jun 2014 22:48:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzGly-00013b-8o for submit@debbugs.gnu.org; Mon, 23 Jun 2014 22:47:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGly-00013X-5X for submit@debbugs.gnu.org; Mon, 23 Jun 2014 22:47:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGlt-0001vn-QI for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:47:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzGlp-000135-DU for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:47:45 -0400 Original-Received: from mail-yk0-x233.google.com ([2607:f8b0:4002:c07::233]:40273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGlp-00012x-7P for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:47:41 -0400 Original-Received: by mail-yk0-f179.google.com with SMTP id 20so5209482yks.24 for ; Mon, 23 Jun 2014 19:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:subject:reply-to; bh=sDuZP1XGXyr3dSRdRg0HkjmA8rcC4vecXO29qsp2D7s=; b=tOqIxCq9sjcjbNqGKuRq6VRVCw7Eki+epOisqdCdoifw552Lpt6arX1fkefzqpQ1N9 0yjSr0uv92kr+2nglgI67/jHZwnR1z9PaFlqUSiRWuz2PPro3SXd6m053nuNT+s9X5Re IaWGOm/s4PesLz6DcdS7JOefj1r+ZRif3aV5STy8ZWEM4SWNay2W2rd6MClA2keDy4tk B2yp579TD1vU0mU4FAPKUN5O7qUW9QW/KTJG2UDPVEOiJRTOT3VVJDJb6HHUhZi0iLwQ qf2kcIFlGSht2/z66c18arQh+CZDvikrS0UFVAY+7tyysabIXQf+cW+fUKkAaF9HSPGL CvNw== X-Received: by 10.236.117.169 with SMTP id j29mr42271263yhh.118.1403578060065; Mon, 23 Jun 2014 19:47:40 -0700 (PDT) Original-Received: from 171-134-121-173.kscymo.spcsdns.net ([173.121.134.171]) by mx.google.com with ESMTPSA id k29sm32694248yha.33.2014.06.23.19.47.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jun 2014 19:47:39 -0700 (PDT) X-Google-Original-From: Alan.Wehmann@gmail.com X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-apple-darwin) 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-Mailman-Approved-At: Tue, 24 Jun 2014 01:54:54 -0400 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:90723 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Info node "(emacs) Initial Options" says: " Some initial options affect the loading of the initialization file. Normally, Emacs first loads `site-start.el' if it exists, then your own initialization file if it exists, and finally the default initialization file `default.el' if it exists (*note Init File::)." It fails to mention package initialization in this paragraph & I think that it should. It is one of the first places where I looked to find out when in the startup sequence packages are initialized. I found other locations which described when packages are initializaed, but was confused for a while after reading this paragraph and no mention was made of package initialization. ------------------------------------------------------- More specifics: I had upgraded bookmarks+ via melpa. Since I already had melpa in the 'package-archives list I had removed the following code from my initialization file: (when (> emacs-major-version 23) (require 'package) (package-initialize) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") 'APPEND)) I then realized that the variable load-path wasn't pointing to "~/.emacs.d/elpa/bookmark+-20140531.104" just after my initialization file was loaded (but it was added later). Since I had a reason to have "(require 'bookmark+)" in my initialization file, I ran into trouble. I have since restored the lines (when (> emacs-major-version 23) (require 'package) (package-initialize)) to my initialization file. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-12 on bob.porkrind.org Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.7 -isystem /Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/ -F/Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks'' Important settings: locale-coding-system: nil default enable-multibyte-characters: t Major mode: Custom Minor modes in effect: mail-abbrevs-mode: t display-time-mode: t dynamic-completion-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: n C-d C-d / C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-d C-d / C-x C-s C-v C-v C-v x C-g : ( b m C-g C-h f v m - s e s s C-SPC C-a w C-g : ( C-y ) C-h v v m - u s e r - a g e n t C-g C-x 1 C-x C-b C-c C-c C-x C-b n n n n n n n SPC C-h f q , , C-x C-b n n n n n n SPC C-x C-b > SPC q C-h f C-f C-x p m C-w C-w C-w C-w C-l C-l C-h i g ( v m ) m s e n d SPC SPC 1 C-h v q x c u s t o m i z e - v a r A l a n . W e h m a n n @ g m a i l . c o m C-x C-b n n n n n n n n n n n n n n SPC C-SPC C-v C-x r s c C-x C-b d SPC x r e p o r t Recent messages: Creating customization items... Creating customization items ...done Resetting customization items...done Creating customization setup...done To install your edits, invoke [State] and choose the Set operation <<< Type SPC or RET to bury the buffer list >>> Mark activated Saved text from "This bug report will be sent to the Bug-" <<< Type SPC or RET to bury the buffer list >>> [3 times] Load-path shadows: /Applications/Emacs.app/Contents/Resources/lisp/whitespace hides /Users/alanwehmann/elisp/whitespace /Applications/Emacs.app/Contents/Resources/lisp/align hides /Users/alanwehmann/elisp/align /Applications/Emacs.app/Contents/Resources/lisp/textmodes/texinfo hides /Users/alanwehmann/elisp/my_lisp/texinfo /Applications/Emacs.app/Contents/Resources/lisp/macros hides /Users/alanwehmann/elisp/my_lisp/macros Features: (etags sh-script smie executable vc-bzr find-func uudecode uce supercite regi starttls spam-report spam spam-stat gnus-uu yenc gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win sieve-manage shr rmail pop3 mspools metamail mairix mailclient browse-url mail-hist ring mail-extr imap hashcash gnus-dired gnus gnus-ems nnheader fortune feedmail eudc-vars ecomplete binhex jka-compr shadow mailalias vm-reply emacsbug message cl-macs gv format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader view misearch multi-isearch dired-aux mailabbrev mule-util ebuff-menu electric image-file parse-time vc-cvs cus-edit wid-edit time warnings edmacro kmacro smtpmail auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util password-cache sendmail rfc2047 rfc2045 ietf-drums mail-utils vm-rfaddons vm-undo vm-virtual vm-summary-faces utf7 mm-util mail-prsvr vm-imap vm-thread vm-mime vm-toolbar vm-menu vm-window vm-folder vm-crypto vm-summary vm-mouse vm-page vm-motion vm-minibuf vm-message vm-misc vm-macro edebug vm-pop vm-autoloads vm-vars vm-version vm completion cl bookmark+ bookmark+-key easy-mmode advice help-fns cl-lib advice-preload dired-x dired bookmark+-1 bookmark+-bmu help-mode bookmark+-lit bookmark pp thingatpt info easymenu desktop cus-start cus-load bookmark+-autoloads package time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 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 ns multi-tty emacs) -- Alan Wehmann Alan.Wehmann@gmail.com