[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26837: Wrong file in "autoloading failed to define" error
From: |
Glenn Morris |
Subject: |
bug#26837: Wrong file in "autoloading failed to define" error |
Date: |
Tue, 09 May 2017 12:33:42 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Alex wrote:
>> - whole_buffer = (PT == BEG && ZV == Z);
>> + whole_buffer = (BUF_PT (b) == BUF_BEG (b) && BUF_ZV (b) == BUF_Z (b));
[...]
> I can't claim to know what is going on within that function, but your
> patch seems to only work for some files (e.g. your bar.el). If bar
> starts with a comment, then bar isn't moved to the top after evaluating
> (load "bar").
The intent of the code seems to be to only adjust an existing
load-history element for some file if the entire file is being loaded.
I guess in the leading comment case, something else has already moved
point looking for a significant leading comment (eg lexbind, script,
prop-line). Hmmm.
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/08
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/08
- bug#26837: Wrong file in "autoloading failed to define" error, Alex, 2017/05/09
- bug#26837: Wrong file in "autoloading failed to define" error,
Glenn Morris <=
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/09
- bug#26837: Wrong file in "autoloading failed to define" error, Eli Zaretskii, 2017/05/09
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/09
- bug#26837: Wrong file in "autoloading failed to define" error, Eli Zaretskii, 2017/05/09
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/10
- bug#26837: Wrong file in "autoloading failed to define" error, Alex, 2017/05/18
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/20
- bug#26837: Wrong file in "autoloading failed to define" error, Glenn Morris, 2017/05/20
- bug#26837: Wrong file in "autoloading failed to define" error, Alex, 2017/05/21