unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21172: 25.0.50; void-variable error in elisp-mode.el
@ 2015-08-01  3:06 Francis Litterio
  2015-11-23 22:14 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Francis Litterio @ 2015-08-01  3:06 UTC (permalink / raw)
  To: 21172


In Emacs built from the latest source on Windows, file elisp-mode.el uses
variable package-user-dir without loading package.el (where that variable is
defined).  Thus, launching Emacs like this:

  runemacs -Q --eval="(progn (setq debug-on-error t) (xref-find-references \"load-path\"))"

results in this backtrace:

Debugger entered--Lisp error: (void-variable package-user-dir)
  elisp--xref-find-matches("load-path" xref-collect-references)
  elisp-xref-find(references "load-path")
  xref--show-xrefs("load-path" references "load-path" nil)
  xref-find-references("load-path")
  (progn (setq debug-on-error t) (xref-find-references "load-path"))
  eval((progn (setq debug-on-error t) (xref-find-references "load-path")))
  command-line-1(("--eval=(progn (setq debug-on-error t) (xref-find-references \"load-path\"))"))
  command-line()
  normal-top-level()
--
Fran Litterio
flitterio <at> gmail.com



In GNU Emacs 25.0.50.4 (i686-pc-mingw32)
 of 2015-06-30 on PUPPY
Repository revision: 5f004117f5bcab9171eaddb2867393ed69ae49bf
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=c:/apps/emacs --without-x --without-xpm
 --without-png --without-jpeg --without-tiff --without-gif'

Configured features:
SOUND NOTIFY ACL TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: C.ISO-8859-1
  locale-coding-system: cp1252

Major mode: Text

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  save-place-mode: t
  icomplete-mode: t
  savehist-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Subscene
  inflating: Penny.Dreadful.S02E03.HDTV.x264-ASAP.srt  
Quit
(Shell command succeeded with no output)
Mark set [2 times]
Changing permissions ... Done!
Mark set
Saving file c:/franl/emacs-bug2.txt...
Wrote c:/franl/emacs-bug2.txt
Mark set [2 times]
report-emacs-bug is on <menu-bar> <help-menu> <send-emacs-bug-report>

Load-path shadows:
None found.

Features:
(shadow mail-extr emacsbug calc-alg calc-aent calc-menu rect misearch
multi-isearch edmacro kmacro server sort gnus-draft gnus-agent gnus-srvr
nnvirtual nndraft nnmh gnus-msg gnus-cite canlock gnus-art mm-uu mml2015
epg-config mm-view mml-smime smime dig mailcap gnus-async gnus-score
score-mode gnus-cache gnus-sum fpl-moo fpl-react erc-notify erc-truncate
erc-log erc-dcc erc-list erc-menu erc-join erc-ring erc-networks
erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp
erc-netsplit erc-goodies erc erc-backend erc-compat thingatpt help-mode
source-safe ediff-merg ediff-wind ediff-diff ediff-mult ediff-help
ediff-init ediff-util ediff grep python json ielm pp sgml-mode
csharp-mode cc-langs cl smtpmail sendmail nntp gnus-group gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc parse-time
gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win nnoo gnus gnus-ems nnheader
mail-utils wid-edit etags vc vc-dispatcher dired-aux hexl smerge-mode
diff-mode easy-mmode paren man info compile apropos tramp tramp-compat
tramp-loaddefs trampver format-spec advice saveplace icomplete xref
savehist browse-url shell pcomplete warnings arc-mode archive-mode
ange-ftp socks network-stream nsm auth-source cl-macs cl-seq eieio
byte-opt gv bytecomp byte-compile cl-extra seq cconv eieio-core
cl-loaddefs pcase cl-lib gnus-util mm-util help-fns mail-prsvr
password-cache starttls tls dired cc-mode cc-fonts easymenu cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs comint
ansi-color ring calc-ext calc calc-loaddefs calc-macs time-stamp
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded 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
w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 8 327303 45775)
 (symbols 32 42727 0)
 (miscs 32 257 879)
 (strings 16 97287 24051)
 (string-bytes 1 2787208)
 (vectors 8 48572)
 (vector-slots 4 952243 51650)
 (floats 8 543 585)
 (intervals 28 2709 1240)
 (buffers 516 35))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21172: 25.0.50; void-variable error in elisp-mode.el
  2015-08-01  3:06 bug#21172: 25.0.50; void-variable error in elisp-mode.el Francis Litterio
@ 2015-11-23 22:14 ` Dmitry Gutov
  2015-11-24 17:36   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Gutov @ 2015-11-23 22:14 UTC (permalink / raw)
  To: Francis Litterio; +Cc: 21172-done

Version: 25.1

flitterio@gmail.com (Francis Litterio) writes:

> In Emacs built from the latest source on Windows, file elisp-mode.el uses
> variable package-user-dir without loading package.el (where that variable is
> defined).  Thus, launching Emacs like this:
>
>   runemacs -Q --eval="(progn (setq debug-on-error t) (xref-find-references \"load-path\"))"
>
> results in this backtrace:
>
> Debugger entered--Lisp error: (void-variable package-user-dir)

Thanks for the report, it's now fixed in emacs-25.

I've overlooked this report all these months apparently because the
Debbugs feature "reassign bug to another package" doesn't notify the
bugs mailing list.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21172: 25.0.50; void-variable error in elisp-mode.el
  2015-11-23 22:14 ` Dmitry Gutov
@ 2015-11-24 17:36   ` Glenn Morris
  2015-11-24 18:24     ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2015-11-24 17:36 UTC (permalink / raw)
  To: 21172; +Cc: flitterio, dgutov

Dmitry Gutov wrote:

> I've overlooked this report all these months apparently because the
> Debbugs feature "reassign bug to another package" doesn't notify the
> bugs mailing list.

It's true that the "reassign" command (like almost all others) only
sends its results to the emacs-bug-tracker list. But reassigning
happens extremely rarely, and I usually try to send a note to the bug
after doing it. This bug, however, has never been reassigned, so I don't
see the relevance. Here's the original report on bug-gnu-emacs:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-07/msg00697.html





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21172: 25.0.50; void-variable error in elisp-mode.el
  2015-11-24 17:36   ` Glenn Morris
@ 2015-11-24 18:24     ` Dmitry Gutov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2015-11-24 18:24 UTC (permalink / raw)
  To: Glenn Morris, 21172; +Cc: flitterio

On 11/24/2015 07:36 PM, Glenn Morris wrote:

> after doing it. This bug, however, has never been reassigned, so I don't
> see the relevance. Here's the original report on bug-gnu-emacs:
>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-07/msg00697.html

You're right, I've looked again, and indeed found the respective email 
in my "Debbugs" email folder.

My apologies.







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-24 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-01  3:06 bug#21172: 25.0.50; void-variable error in elisp-mode.el Francis Litterio
2015-11-23 22:14 ` Dmitry Gutov
2015-11-24 17:36   ` Glenn Morris
2015-11-24 18:24     ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).