[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "reference to free variable" only during initialization
From: |
Yuri D'Elia |
Subject: |
Re: "reference to free variable" only during initialization |
Date: |
Sun, 19 Feb 2017 00:01:22 +0100 |
User-agent: |
mu4e 0.9.19; emacs 26.0.50.6 |
On Wed, Jan 25 2017, Noam Postavsky wrote:
> Hit send too early.
>
> On Wed, Jan 25, 2017 at 2:50 PM, Noam Postavsky
> <address@hidden> wrote:
>> at the top of modeline-posn.el. I have init.el with contents
>
> (add-to-list 'load-path "~/.emacs.d/lisp")
> (require 'modeline-posn)
>
> when I start emacs normally I see no warnings.
Sorry for the late reply, but I could find some time just now. I tried
to reproduce this on a fresh emacs (from the current master - 26+).
This is the resulting minimal ~/.emacs.d/init.el:
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'modeline-posn)
ran with:
emacs --no-site-file --no-site-lisp --no-splash --no-x-resources
with ~/.emacs.d/lisp containing modeline-posn.el from melpa. There's no
other file. I indeed had to add (package-initialize) to reproduce the
issue, but I'm not sure why it has some influence. Maybe just some
delay.
Right off the bat, could you reproduce it with this?
Evaling after-init-time makes no difference, and I also couldn't
reproduce it with my own directions I gave beforehand.
- Re: "reference to free variable" only during initialization,
Yuri D'Elia <=