Comments (7)
I can not reproduce this problem. When I start from a bare bones checkout of the starter kit, with your snippet above in my eschulte.org user init file. "emacs foo.txt" does indeed open the file foo.txt.
from emacs24-starter-kit.
Hi Eric.
I apologize for the lack of reproducibility information (a shame when I want to try myself at writing reproducible research). Here is more information about my configuration.
The machine on which I run those tests is a new laptop that I take my time configuring (while rethinking my emacs, backup and synch configuration): for now it has none of my personal emacs configuration installed on it, and only the default packages of Ubuntu 12.10, and the latest version of emacs,org-mode and the starter kit.
I do not doubt that the error is on my side and not in your project, but I would be very grateful if you could find me finding what the error is, and hopefully it can be helpful to others later.
- I am running GNU Emacs 24.3.50.1 and Org-mode version 7.9.3d (7.9.3d-GNU-Emacs-24-3 (commit e8f5b0ad))
- The starter-kit is under git. I have one branch Master, up to date, and one branch jbarbay.org, which only adds the file .emacs.d/jbarbay.org which contains the snippet above.
- git checkout master; emacs foo.txt does open the file.
- git checkout jbarbay.org; emacs foo.txt does not open the file.
- emacs -q foo.txt does open the file (independantly from the content of .emacs.d, obviously)
- Here is the content of Messages after executing "emacs foo.txt" (which does not open foo.txt)
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
starter-kit.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. Starting new Ispell process [/usr/bin/aspell::default] ... Package assoc is obsolete! Loading vc-git...done (No changes need to be saved) Wrote /home/jbarbay/.emacs.d/jbarbay.el Tangled 1 code block from jbarbay.org Loading /home/jbarbay/.emacs.d/jbarbay.el (source)... Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)... Warning: no abbrev-file found, customize
abbrev-file-name' in order to make mode-specific abbrevs work.
byte-code: Don't know how to make a localized variable an alias
from emacs24-starter-kit.
Post Scriptum: foo.txt does not exist, but I reproduce exactly the same behavior with loading an existing file, such as jbarbay.org.
from emacs24-starter-kit.
jyby [email protected] writes:
Hi Eric.
I apologize for the lack of reproducibility information (a shame when
I want to try myself at writing reproducible research). Here is more
information about my configuration.The machine on which I run those tests is a new laptop that I take my
time configuring (while rethinking my emacs, backup and synch
configuration): for now it has none of my personal emacs configuration
installed on it, and only the default packages of Ubuntu 12.10, and
the latest version of emacs,org-mode and the starter kit.
I do not doubt that the error is on my side and not in your project,
but I would be very grateful if you could find me finding what the
error is, and hopefully it can be helpful to others later.
- I am running GNU Emacs 24.3.50.1 and Org-mode version 7.9.3d (7.9.3d-GNU-Emacs-24-3 (commit e8f5b0ad))
- The starter-kit is under git. I have one branch Master, up to date,
and one branch jbarbay.org, which only adds the file
.emacs.d/jbarbay.org which contains the snippet above.- git checkout master; emacs foo.txt does open the file.
- git checkout jbarbay.org; emacs foo.txt does not open the file.
- emacs -q foo.txt does open the file (independantly from the content of .emacs.d, obviously)
- Here is the content of Messages after executing "emacs foo.txt" (which does not open foo.txt)
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
starter-kit.el:flet' is an obsolete macro (as of 24.3); use either
cl-flet' orcl-letf'. Starting new Ispell process [/usr/bin/aspell::default] ... Package assoc is obsolete! Loading vc-git...done (No changes need to be saved) Wrote /home/jbarbay/.emacs.d/jbarbay.el Tangled 1 code block from jbarbay.org Loading /home/jbarbay/.emacs.d/jbarbay.el (source)... Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)... Warning: no abbrev-file found, customize
abbrev-file-name' in order to make mode-specific abbrevs work.
byte-code: Don't know how to make a localized variable an alias
The only differences between our setups appears to be that you are using
a more recent version of Emacs 24. Are you building Emacs from git? If
so that may be part of the problem.
It looks like Emacs is throwing an error during startup (the
"byte-code:" line from Messages). Please start emacs using the
--debug-init flag, and send me the error output.
emacs --debug-init
Thanks,
Reply to this email directly or view it on GitHub:
#34 (comment)
Eric Schulte
http://cs.unm.edu/~eschulte
from emacs24-starter-kit.
Thanks Eric:
Problem solved on my side by downloading, compiling and installing emacs 24.2 via ftp from http://ftp.gnu.org/pub/gnu/emacs/. (I should have done it from the start, I guess, 24.2 being the stable version) Thanks a lot! Now I will go on with revamping my emacs config on the new laptop, and hopefully write a draft of reproducible article with algorithms implemented in python.
In case you want to still work on it in anticipation of future releases:
- I was using the Emacs version from bzr (24.3.50.1)
- The git version (http://git.savannah.gnu.org/cgit/emacs.git/tree/README?h=emacs-24) is actually 24.2.93,
which should be ok (but it was taking too long to download the sources this way so I went ftp) - the default Debian/ubuntu version is 24.1 currently, which should not cause any problem either.
- The git version (http://git.savannah.gnu.org/cgit/emacs.git/tree/README?h=emacs-24) is actually 24.2.93,
- Here are
- the result of emacs -debug-init in my branch jbarbay.org (where the problem occur)
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
starter-kit.el:flet' is an obsolete macro (as of 24.3); use either
cl-flet' orcl-letf'. Loading /home/jbarbay/.emacs.d/jbarbay.el (source)... Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)... Warning: no abbrev-file found, customize
abbrev-file-name' in order to make mode-specific abbrevs work.
byte-code: Don't know how to make a localized variable an alias
Package assoc is obsolete! - the result of emacs -debug-init in my branch master (where all works well)
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...
File /home/jbarbay/.emacs.d/foo.txt removed from the recentf list
Cleaning up the recentf list...done (1 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
starter-kit.el:flet' is an obsolete macro (as of 24.3); use either
cl-flet' or `cl-letf'.
Loading /home/jbarbay/.emacs.d/jbarbay/test.el (source)...done
Loaded /home/jbarbay/.emacs.d/jbarbay/test.el
Loading /home/jbarbay/.emacs.d/custom.el (source)...done
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit.el
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Starting new Ispell process [/usr/bin/aspell::default] ...
Package assoc is obsolete!
Loading vc-git...done
- the result of emacs -debug-init in my branch jbarbay.org (where the problem occur)
Cheers!
from emacs24-starter-kit.
Post-scriptum: this is the content of Messages with emacs -debug-init and emacs 24.2 (what is in my last comment is with 24.3.50): there is still a warning about abbrev-file
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...
File /home/jbarbay/.emacs.d/foo.txt removed from the recentf list
Cleaning up the recentf list...done (1 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
Loading /home/jbarbay/.emacs.d/jbarbay.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)...
Warning: no abbrev-file found, customize `abbrev-file-name' in order to make mode-specific abbrevs work.
Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit-python.el
Loading /home/jbarbay/.emacs.d/jbarbay.el (source)...done
loaded /home/jbarbay/.emacs.d/jbarbay.el
Loading /home/jbarbay/.emacs.d/jbarbay/test.el (source)...done
loaded /home/jbarbay/.emacs.d/jbarbay/test.el
Loading /home/jbarbay/.emacs.d/custom.el (source)...done
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...done
loaded /home/jbarbay/.emacs.d/starter-kit.el
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Starting new Ispell process [default] ...
Loading vc-git...done
from emacs24-starter-kit.
jyby [email protected] writes:
Thanks Eric:
Problem solved on my side by downloading, compiling and installing emacs 24.2 via ftp from http://ftp.gnu.org/pub/gnu/emacs/. (I should have done it from the start, I guess, 24.2 being the stable version) Thanks a lot! Now I will go on with revamping my emacs config on the new laptop, and hopefully write a draft of reproducible article with algorithms implemented in python.In case you want to still work on it in anticipation of future releases:
- I was using the Emacs version from bzr (24.3.50.1)
- The git version (http://git.savannah.gnu.org/cgit/emacs.git/tree/README?h=emacs-24) is actually 24.2.93,
which should be ok (but it was taking too long to download the sources this way so I went ftp)- the default Debian/ubuntu version is 24.1 currently, which should not cause any problem either.
- Here are
- the result of emacs -debug-init in my branch jbarbay.org (where the problem occur)
Loading /home/jbarbay/.emacs.d/starter-kit.el (source)...
Loading /home/jbarbay/.emacs.d/starter-kit-defuns.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-defuns.el
Loading /home/jbarbay/.emacs.d/starter-kit-bindings.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-bindings.el
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...
Loading /home/jbarbay/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/jbarbay/.emacs.d/starter-kit-misc.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-misc.el
Loading /home/jbarbay/.emacs.d/starter-kit-registers.el (source)...done
Loaded /home/jbarbay/.emacs.d/starter-kit-registers.el
starter-kit.el:flet' is an obsolete macro (as of 24.3); use either
cl-flet' orcl-letf'. Loading /home/jbarbay/.emacs.d/jbarbay.el (source)... Loading /home/jbarbay/.emacs.d/starter-kit-python.el (source)... Warning: no abbrev-file found, customize
abbrev-file-name' in order to make mode-specific abbrevs work.
byte-code: Don't know how to make a localized variable an alias
Looks like this is a known problem in python.el [1], it is fixed in
their git repository, so it should be fixed soon in package.el (the
version used by the started kit).
Sometimes googling the text of an error is the best way to find out
what's going on.
Cheers,
Footnotes:
[1] fgallina/python.el#95
Eric Schulte
http://cs.unm.edu/~eschulte
from emacs24-starter-kit.
Related Issues (20)
- How to override buildin CEDET HOT 1
- Auto completion of C-x-C-f HOT 3
- flet is deprecated HOT 1
- espresso mode no longer available, renamed to js-mode HOT 1
- Publish to MELPA? HOT 6
- adding turn-on-flyspell text-mode hook throws an error HOT 1
- How to use starter kit with desktop.el and other init-dependant functions? HOT 1
- why three elisp code in starter-kit.org no run? HOT 2
- head of packaged python-mode needs python-mode installation dir set HOT 1
- starter-kit-lisp.org breaks the SLIME debugger
- custom.el not loading HOT 1
- Autocompletion? HOT 2
- "Package `emacs-24.4' is unavailable" HOT 1
- conflict between `org-src-tab-acts-natively` and yasnippet
- No starter-git-gnus-imap.el was found
- Upgrading org-mode?
- Put files to be loaded in a sub-directory of .emacs.d
- [:Query] on starter-kit.org
- starter-kit-gnus.org contains stuff related to GMail which seems weird
- Common code for personal settings that aren't dependent on usernames or system-names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs24-starter-kit.