|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: emacs won't open files at startup from command lineLennart Borgman wrote:
> On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: ... >> Found it! I've been calling table.el for years, but somehow it must be >> incompatible with emacs 23.1.1. Took that out, works great. Never used >> the functionality in it anyway... > > The file table.el is included in Emacs now. > > This is not the first time I have seen quite interesting side effects > from using old versions of a file that has later been included in > Emacs. I think that some test should be made after startup for > potential such loadings. (This could be run conditionally after all > init files.) `list-load-path-shadows' is what you want. -- Kevin Rodgers Denver, Colorado, USA |
|
|
Re: emacs won't open files at startup from command lineOn Wed, Nov 4, 2009 at 7:06 AM, Kevin Rodgers <kevin.d.rodgers@...> wrote:
> Lennart Borgman wrote: >> >> On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: > > ... >>> >>> Found it! I've been calling table.el for years, but somehow it must be >>> incompatible with emacs 23.1.1. Took that out, works great. Never used >>> the functionality in it anyway... >> >> The file table.el is included in Emacs now. >> >> This is not the first time I have seen quite interesting side effects >> from using old versions of a file that has later been included in >> Emacs. I think that some test should be made after startup for >> potential such loadings. (This could be run conditionally after all >> init files.) > > `list-load-path-shadows' is what you want. You mean something that checks this variable after default.el have been loaded? Yes. |
|
|
Re: emacs won't open files at startup from command lineLennart Borgman <lennart.borgman@...> writes:
> On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: > > david@... (J. David Boyd) writes: > > > >> pjb@... (Pascal J. Bourguignon) writes: > >> > >>> Tyler Smith <tyler.smith@...> writes: > >>> > >>>> david@... (J. David Boyd) writes: > >>>> > >>>>> I could use some help troubleshooting this. > >>>>> > >>>>> When I start up emacs, it doesn't load the files I name on the command > >>>>> line, unless I do an 'emacs -q' to not load any init files. > >>>>> > >>>>> Obviously, it must be something in my .emacs file, but I don't see > >>>>> anything that I've changed in the recent past. > >>>>> > >>>>> Where should I start to debug this? I don't get any errors when it > >>>>> runs, it just refuses to load anything from the command line. > >>>> > >>>> At the risk of stating the obvious, have you tried commenting out all of > >>>> your .emacs, then progressively uncommenting it to isolate the lines > >>>> that are causing the problem? comment-region (aka M-;) makes this > >>>> pretty quick to do. > >>> > >>> Also, the OP could try: > >>> > >>> emacs --debug-init file.txt > >>> > >>> If the file is not open it might be because there's a bug in ~/.emacs > >> > >> > >> That I have tried. No errors at all... I was hoping that there would > >> be one, but everything loads just fine, no errors, just doesn't load the > >> file(s) named on the command line. > >> > >> Thanks for the idea, though. > > > > Found it! I've been calling table.el for years, but somehow it must be > > incompatible with emacs 23.1.1. Took that out, works great. Never used > > the functionality in it anyway... > > > > Dave > > > The file table.el is included in Emacs now. > > This is not the first time I have seen quite interesting side effects > from using old versions of a file that has later been included in > Emacs. I think that some test should be made after startup for > potential such loadings. (This could be run conditionally after all > init files.) See `bad-packages-alist' |
|
|
Re: emacs won't open files at startup from command lineOn Wed, Nov 4, 2009 at 3:53 PM, Dan Nicolaescu <dann@...> wrote:
> Lennart Borgman <lennart.borgman@...> writes: > > > On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: > > > david@... (J. David Boyd) writes: > > > > > >> pjb@... (Pascal J. Bourguignon) writes: > > >> > > >>> Tyler Smith <tyler.smith@...> writes: > > >>> > > >>>> david@... (J. David Boyd) writes: > > >>>> > > >>>>> I could use some help troubleshooting this. > > >>>>> > > >>>>> When I start up emacs, it doesn't load the files I name on the command > > >>>>> line, unless I do an 'emacs -q' to not load any init files. > > >>>>> > > >>>>> Obviously, it must be something in my .emacs file, but I don't see > > >>>>> anything that I've changed in the recent past. > > >>>>> > > >>>>> Where should I start to debug this? I don't get any errors when it > > >>>>> runs, it just refuses to load anything from the command line. > > >>>> > > >>>> At the risk of stating the obvious, have you tried commenting out all of > > >>>> your .emacs, then progressively uncommenting it to isolate the lines > > >>>> that are causing the problem? comment-region (aka M-;) makes this > > >>>> pretty quick to do. > > >>> > > >>> Also, the OP could try: > > >>> > > >>> emacs --debug-init file.txt > > >>> > > >>> If the file is not open it might be because there's a bug in ~/.emacs > > >> > > >> > > >> That I have tried. No errors at all... I was hoping that there would > > >> be one, but everything loads just fine, no errors, just doesn't load the > > >> file(s) named on the command line. > > >> > > >> Thanks for the idea, though. > > > > > > Found it! I've been calling table.el for years, but somehow it must be > > > incompatible with emacs 23.1.1. Took that out, works great. Never used > > > the functionality in it anyway... > > > > > > Dave > > > > > > The file table.el is included in Emacs now. > > > > This is not the first time I have seen quite interesting side effects > > from using old versions of a file that has later been included in > > Emacs. I think that some test should be made after startup for > > potential such loadings. (This could be run conditionally after all > > init files.) > > See `bad-packages-alist' > Ah, thanks, forgot about it. Should not table.el be in this list too then? And nxml too? |
|
|
Re: emacs won't open files at startup from command lineLennart Borgman <lennart.borgman@...> writes:
> On Wed, Nov 4, 2009 at 3:53 PM, Dan Nicolaescu <dann@...> wrote: > > Lennart Borgman <lennart.borgman@...> writes: > > > > > On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: > > > > david@... (J. David Boyd) writes: > > > > > > > >> pjb@... (Pascal J. Bourguignon) writes: > > > >> > > > >>> Tyler Smith <tyler.smith@...> writes: > > > >>> > > > >>>> david@... (J. David Boyd) writes: > > > >>>> > > > >>>>> I could use some help troubleshooting this. > > > >>>>> > > > >>>>> When I start up emacs, it doesn't load the files I name on the command > > > >>>>> line, unless I do an 'emacs -q' to not load any init files. > > > >>>>> > > > >>>>> Obviously, it must be something in my .emacs file, but I don't see > > > >>>>> anything that I've changed in the recent past. > > > >>>>> > > > >>>>> Where should I start to debug this? I don't get any errors when it > > > >>>>> runs, it just refuses to load anything from the command line. > > > >>>> > > > >>>> At the risk of stating the obvious, have you tried commenting out all of > > > >>>> your .emacs, then progressively uncommenting it to isolate the lines > > > >>>> that are causing the problem? comment-region (aka M-;) makes this > > > >>>> pretty quick to do. > > > >>> > > > >>> Also, the OP could try: > > > >>> > > > >>> emacs --debug-init file.txt > > > >>> > > > >>> If the file is not open it might be because there's a bug in ~/.emacs > > > >> > > > >> > > > >> That I have tried. No errors at all... I was hoping that there would > > > >> be one, but everything loads just fine, no errors, just doesn't load the > > > >> file(s) named on the command line. > > > >> > > > >> Thanks for the idea, though. > > > > > > > > Found it! I've been calling table.el for years, but somehow it must be > > > > incompatible with emacs 23.1.1. Took that out, works great. Never used > > > > the functionality in it anyway... > > > > > > > > Dave > > > > > > > > > The file table.el is included in Emacs now. > > > > > > This is not the first time I have seen quite interesting side effects > > > from using old versions of a file that has later been included in > > > Emacs. I think that some test should be made after startup for > > > potential such loadings. (This could be run conditionally after all > > > init files.) > > > > See `bad-packages-alist' > > > > Ah, thanks, forgot about it. > > Should not table.el be in this list too then? > And nxml too? If they cause problems, they should. |
|
|
Re: emacs won't open files at startup from command lineKevin Rodgers <kevin.d.rodgers@...> writes:
> Lennart Borgman wrote: >> On Fri, Oct 30, 2009 at 8:53 PM, J. David Boyd <david@...> wrote: > ... >>> Found it! I've been calling table.el for years, but somehow it must be >>> incompatible with emacs 23.1.1. Took that out, works great. Never used >>> the functionality in it anyway... >> >> The file table.el is included in Emacs now. >> >> This is not the first time I have seen quite interesting side effects >> from using old versions of a file that has later been included in >> Emacs. I think that some test should be made after startup for >> potential such loadings. (This could be run conditionally after all >> init files.) > > `list-load-path-shadows' is what you want. Hey, that _is_ what I want! Cool, thanks, that will help me clean up my .emacs file immensely... |
| Free embeddable forum powered by Nabble | Forum Help |