-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors running in terminal emacs #50
Comments
Thank you @Trepanated for the report. Those warnings are weird, it's like Emacs believes that your run in a graphical environment instead of inside a terminal. Do you use |
@Trepanated It works here in |
Hi, yes that's strange. I'm using a homebrew build and just running "emacs", which is a link in /usr/local/bin that points to /usr/local/Cellar/emacs/24.4/bin/emacs. I just tried "emacs -nw" but don't notice any difference. Here are the last lines from the Messages buffer after startup: (Spacemacs) Initializing spacemacs:vi-tilde-fringe... |
I have the same error for Can you tell me the value of the I built emacs with |
Ok, I guess the situation with trying to draw the fringe leaves me in a strange state, because just trying to do "C-h v window-system" still calls the post-command-hook and gives the error as above, without showing the result (at least I couldn't figure out how to see it): Error in post-command-hook (global-vi-tilde-fringe-mode-check-buffers): (void-f So I tried running "emacs -q" and could see the value of window-system was nil. Then I got the idea to comment out the vi-tilde-fringe package from the list in packages.el, and once I did that spacemacs completed a successful startup. Nice! Especially since the tilde fringe thing doesn't seem vital. Anyway, then I checked the window-system value again and it was still nil. |
You did not build emacs with a window system support so the functions are not available to you. I suggest you to uninstall emacs:
and rebuilt it with
and launch emacs with Hopefully it should work :-) |
@Trepanated I will fix what you have reported in order to be able to run spacemacs on an emacs built with no window system support. Thank you ! |
Sounds good. I will try it tomorrow and let you know. Thanks for your help! |
From @trishume:
|
Re @trishume's comment, a notification like that isn't enough IMO. I do most of my editing on a remote server via ssh, so I prefer not to install x11 at all (I've tried to get a headless x11 thing going at one point, but it was confusing and fruitless). |
@benekastah The idea is to support terminal only builds but also log a warning in Does that make sense to you ? |
Or maybe we have an easy way in Emacs to get the information. |
@syl20bnr Oh, I misunderstood. Yes that makes sense. |
uninstalling and reinstalling with |
Same problem here (I'm using the macports version). Reinstalling with |
* master: Bump version to 0.44.1 Fix missing gh library required for update notification Bump release to 0.44.0 Mode-line indicator for new release Fix images in git layer README Move noflet to spacemacs layer Disable vi-tilde-fringe-mode in neotree buffer Fixes remaining function requires graphical support Hide hs-minor-mode lighter Fixes syl20bnr#50 compatibility for emacs with no graphical support
Resolves syl20bnr#194 Warning if a build has no graphical support
I get this error starting emacs in a terminal.
I think I'm using the right emacs:
It doesn't seem to matter whether I start with EDIT: Fixed things by uninstalling homebrew-emacsmacport and installing the regular version: |
I'm running emacs 24.4 in Terminal.app on OS X 10.9 (Mavericks). I've run into a series of issues that seem to be related to calling functions not available in terminal mode, starting with this appearing in the Warnings buffer:
Symbol's function definition is void: tool-bar-mode
That's from line 52 of spacemacs/config.el. I changed it to the following which seems to resolve the issue:
(if (functionp 'tool-bar-mode) (tool-bar-mode 0))
Same error on line 56 with scroll-bar-mode, similar fix applied.
That gets me as far as fetching and installing packages, but then this appears:
Symbol's function definition is void: define-fringe-bitmap
That one seemed a bit more involved so I did not attempt a fix.
The text was updated successfully, but these errors were encountered: