Comments (21)
Hey,
what does it say if you hit C-h k C-c a
?
from castlemacs.
C-c a
is undefined.
from castlemacs.
As I edit an org document, I am getting in the messages buffer the following message, which may or may not be related.
Error parsing SVG image ‘(image :type svg :file splash.svg :scale 1)’ [5 times]
I am not seeing a splash.svg on start up but that does not bother me.
from castlemacs.
It seems like it's related to the Emacs version. Your config works fine under macOS 10.14.16 + Emacs 26.3.
I try to support the latest stable release (currently 26.3). 27 should work fine, but with 28 there might be more problems.
I might need some time to investigate the compatibility with newer versions. But I'm afraid the easiest way to resolve this is to switch to a stable 26.3. Is there a reason you've decided to use v28?
from castlemacs.
I thought that some issues with Catalina might have been resolved in v28.
I was using v26.3.
I will switch back to v26.3 and test it with the castlemacs config.
I have not tried that.
I have bounced off emacs several times in the past and then dug into vim.
After getting comfortable and productive in vim, I feel tough enough to try to emacs again.
Castlemacs may ease that transition.
from castlemacs.
Ugh, I'm afraid to upgrade to Catalina still :(
But I guess I should, in order to properly support Castlemacs.
Let me know how it goes.
from castlemacs.
I am getting the same message, so the problem must be with a hidden configuration file outside of .init.el.
from castlemacs.
Try putting (global-set-key "\C-ca" 'org-agenda)
in a scratch buffer, placing the cursor at the end of the line and pressing C-x C-e
(evaluate last sexp).
from castlemacs.
I get back org-agenda
.
from castlemacs.
Now try to invoke that key combination (or hit C-h k C-c a
again).
from castlemacs.
Now I have the help page for org-agenda.
from castlemacs.
Just to be clear, it says something like:
C-c a runs the command org-agenda (found in global-map), which is an
interactive autoloaded Lisp function in ‘org-agenda.el’.
....
?
from castlemacs.
Correct!
from castlemacs.
Alright, so it seems like private.el
is not loaded correctly. Are there any error messages in the minibuffer when Emacs loads?
from castlemacs.
Oops, I ignored this as I was focused on the second window with the org file in it.
Warning (initialization): An error occurred while loading ‘/Users/blaine/.emacs.d/init.el’:
error: Expected printf output from shell, but got: "�[5 qINFO: deactivate-gfortran_osx-64.sh made the following environmental changes:
__RESULT�/Users/blaine/.opam/default/bin:/opt/anaconda/condabin:/bin:/opt/local/bin:/opt/local/include:
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/blaine/Library/Python/3.8/bin:/Users/blaine/Library/Python/3.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin:/opt/local/libexec/gnubin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Applications/ccp4-7.0/lib:/Applications/ccp4-7.0/bin:/Applications/ccp4-7.0:/usr/local/Cellar:/usr/local/bin:~/.emacs.d/bin:/Applications/emacs.app/Contents/MacOS:/usr/local/charmm/bin:/usr/local/go/bin:/Users/blaine/software/amber18/bin:/opt/X11/bin:/Applications/Julia-1.0.app/Contents/Resources/Julia/bin/julia:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/blaine/.gem/ruby/2.3.0/bin:/Applications/ATSAS/bin:/Applications/ATSAS/lib:/Applications/ATSAS/share:/Users/software/prody/scripts:/Users/blaine/software/XDS:/Users/blaine/software/xdsme/bin/noarch:/usr/local:/Users/blaine/.cask/bin:/Users/blaine/software/doconce/bin:/Users/blaine/software/rna-pdb-tools/bin:/Users/blaine/software/dock6/bin:/Users/blaine/software/apache-maven-3.5.2/bin:/usr/local/bin/R:/Users/blaine/software/x3dna-v2.3/bin:/Users/blaine/software/curves+:/Users/blaine/software/rna-pdb-tools:/Users/blaine/software/dakota-6.11.0/bin:/Users/blaine/software/dakota-6.11.0/share/dakota/test:/Users/blaine/software/dakota-6.11.0/gui/Contents/MacOS:/bin:/usr/local/Cellar/python/3.7.5/bin:/Users/blaine/.gem/ruby/2.6.0/bin�/usr/local/gromacs/share/man:/Applications/ccp4-7.0/share/man:/usr/share/man:/usr/local/share/man:/opt/X11/share/man�__RESULT"
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
from castlemacs.
Weird, the '--debug-init' flag is not working with v26.3 whereas it was earlier this week.
from castlemacs.
Let's try something. Open init.el
and find this section:
(use-package exec-path-from-shell
:ensure t)
Replace it with this:
(use-package exec-path-from-shell
:ensure t
:config
(setq explicit-shell-file-name "/usr/bin/env bash"))
and restart Emacs. See if the error disappears.
from castlemacs.
I get the same error message.
I launched emacs from a zsh shell.
from castlemacs.
If I switch to bash shell, I get the same warning in emacs.
from castlemacs.
I think the problem originates with conda or some other Python package on your machine. This is probably related.
The package exec-path-from-shell
cannot handle the fact that the environment yields some unexpected output.
If you don't use gfortran_osx-64
, you could try uninstalling or upgrading it.
from castlemacs.
Yes, deactivate-gfortran_osx-64.sh
is for a conda install of gfortran. I updated the gfortan with conda and the error message went away from both the zsh shell and emacs.
In addition, I am now getting some of the automated formatting from castlemac of my org file
However, C-c a is still not recognized.
As you may know, zsh is the default shell in Catalina.
from castlemacs.
Related Issues (19)
- Error: package 'use-package-' is unavailable HOT 1
- Typo in custom.el HOT 1
- Why swap control and caps? HOT 1
- Why does the Emacs kill ring and system clipboard need to be independent? HOT 1
- Why multiple-cursors? HOT 1
- Switch from ag to ripgrep HOT 1
- Meta key setting for iTerm HOT 1
- Reloading init.el gives error message HOT 3
- transparent titlebar HOT 5
- Package ‘undo-tree-’ is unavailable HOT 2
- Save As Dialog HOT 1
- M shortcuts not working with external keyboards
- `Alt-l` (downcase) just goes to first word on the right
- Use early-init.el for Emacs 27
- Prevent font errors HOT 3
- What castlemacs shouldn't do? HOT 1
- Where to put private pre init configs HOT 4
- Add continuous integration
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 castlemacs.