After installing the new Emacs 25.1 (universal binary) on my Mac OSX 10.11.6 I got the following init error after starting with --debug-init. I don't know what to do. Can you help me?
Debugger entered--Lisp error: (void-function set-fringe-mode)
(set-fringe-mode (quote (5 . 5)))
eval-buffer(#<buffer *load*-808999> nil "/Users/sergiobacelar/.emacs.d/starter-kit-bindings.el" nil t) ; Reading at buffe$
UPDATE:
After solving fringe-mode
problem I got new ones: This is the new debug-init:
Debugger entered--Lisp error: (invalid-function (quote (["Comment Out Region" comment-region (c-fn-region-is-active-p)] ["Uncomment Region" (comment-region (region-beginning) (region-end) (quote (4))) (c-fn-region-is-active-p)] ["Indent Expression" c-indent-exp (memq (char-after) (quote (40 91 123)))] ["Indent Line or Region" c-indent-line-or-region t] ["Fill Comment Paragraph" c-fill-paragraph t] "----" ["Backward Statement" stan-beginning-of-statement t] ["Forward Statement" stan-end-of-statement t] ["Backward Block" stan-beginning-of-block t] ["Forward Block" stan-end-of-block t] ["Mark Block" stan-mark-block t] "----" ("Style..." ["Set Style..." c-set-style t] ["Show Current Style Name" (message "Style Name: %s" c-indentation-style) t] ["Guess Style from this Buffer" c-guess-buffer-no-install t] ["Install the Last Guessed Style" c-guess-install (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)] ["View the Last Guessed Style" c-guess-view (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)]) "----" ("Toggle..." ["Syntactic indentation" c-toggle-syntactic-indentation t] ["Electric mode" c-toggle-electric-state t] ["Auto newline" c-toggle-auto-newline t] ["Hungry delete" c-toggle-hungry-state t] ["Subword mode" c-subword-mode t]))))
signal(invalid-function ((quote (["Comment Out Region" comment-region (c-fn-region-is-active-p)] ["Uncomment Region" (comment-region (region-beginning) (region-end) (quote (4))) (c-fn-region-is-active-p)] ["Indent Expression" c-indent-exp (memq (char-after) (quote (40 91 123)))] ["Indent Line or Region" c-indent-line-or-region t] ["Fill Comment Paragraph" c-fill-paragraph t] "----" ["Backward Statement" stan-beginning-of-statement t] ["Forward Statement" stan-end-of-statement t] ["Backward Block" stan-beginning-of-block t] ["Forward Block" stan-end-of-block t] ["Mark Block" stan-mark-block t] "----" ("Style..." ["Set Style..." c-set-style t] ["Show Current Style Name" (message "Style Name: %s" c-indentation-style) t] ["Guess Style from this Buffer" c-guess-buffer-no-install t] ["Install the Last Guessed Style" c-guess-install (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)] ["View the Last Guessed Style" c-guess-view (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)]) "----" ("Toggle..." ["Syntactic indentation" c-toggle-syntactic-indentation t] ["Electric mode" c-toggle-electric-state t] ["Auto newline" c-toggle-auto-newline t] ["Hungry delete" c-toggle-hungry-state t] ["Subword mode" c-subword-mode t])))))
c-get-lang-constant(c-mode-menu (cc-langs) stan-mode)
byte-code("\302\303\304\305 \306=\203\307\202\310\311\312\313#B$\207" [stan-mode-map c-version-sym easy-menu-do-define stan-menu "Stan Mode Commands" "Stan" 5\.32\.5 (["Comment Out Region" comment-region (c-fn-region-is-active-p)] ["Uncomment Region" (comment-region (region-beginning) (region-end) (quote (4))) (c-fn-region-is-active-p)] ["Indent Expression" c-indent-exp (memq (char-after) (quote (40 91 123)))] ["Indent Line or Region" c-indent-line-or-region t] ["Fill Comment Paragraph" c-fill-paragraph t] "----" ["Backward Statement" stan-beginning-of-statement t] ["Forward Statement" stan-end-of-statement t] ["Backward Block" stan-beginning-of-block t] ["Forward Block" stan-end-of-block t] ["Mark Block" stan-mark-block t] "----" ("Style..." ["Set Style..." c-set-style t] ["Show Current Style Name" (message "Style Name: %s" c-indentation-style) t] ["Guess Style from this Buffer" c-guess-buffer-no-install t] ["Install the Last Guessed Style" c-guess-install (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)] ["View the Last Guessed Style" c-guess-view (and c-guess-guessed-offsets-alist c-guess-guessed-basic-offset)]) "----" ("Toggle..." ["Syntactic indentation" c-toggle-syntactic-indentation t] ["Electric mode" c-toggle-electric-state t] ["Auto newline" c-toggle-auto-newline t] ["Hungry delete" c-toggle-hungry-state t] ["Subword mode" c-subword-mode t])) c-get-lang-constant c-mode-menu (cc-langs) stan-mode] 9)
require(stan-mode)
byte-code("\300\301!\210\300\302!\207" [require stan-mode yasnippet] 2)
(stan-snippets-initialize)
(lambda nil (stan-snippets-initialize))()
eval-after-load-helper("/Users/sergiobacelar/.emacs.d/elpa/yasnippet-20160801.1142/yasnippet.elc")
run-hook-with-args(eval-after-load-helper "/Users/sergiobacelar/.emacs.d/elpa/yasnippet-20160801.1142/yasnippet.elc")
do-after-load-evaluation("/Users/sergiobacelar/.emacs.d/elpa/yasnippet-20160801.1142/yasnippet.elc")
require(yasnippet)
eval-buffer(#<buffer *load*-202317> nil "/Users/sergiobacelar/.emacs.d/starter-kit-completion.el" nil t) ; Reading at buffer position 226
load-with-code-conversion("/Users/sergiobacelar/.emacs.d/starter-kit-completion.el" "/Users/sergiobacelar/.emacs.d/starter-kit-completion.el" nil nil)
load("/Users/sergiobacelar/.emacs.d/starter-kit-completion.el" nil nil t)
load-file("/Users/sergiobacelar/.emacs.d/starter-kit-completion.el")
org-babel-load-file("/Users/sergiobacelar/.emacs.d/starter-kit-completion.org")
starter-kit-load("starter-kit-completion.org")
eval-buffer(#<buffer *load*-77724> nil "/Users/sergiobacelar/.emacs.d/starter-kit.el" nil t) ; Reading at buffer position 3859
load-with-code-conversion("/Users/sergiobacelar/.emacs.d/starter-kit.el" "/Users/sergiobacelar/.emacs.d/starter-kit.el" nil nil)
load("/Users/sergiobacelar/.emacs.d/starter-kit.el" nil nil t)
load-file("/Users/sergiobacelar/.emacs.d/starter-kit.el")
org-babel-load-file("/Users/sergiobacelar/.emacs.d/starter-kit.org")
eval-buffer(#<buffer *load*> nil "/Users/sergiobacelar/.emacs.d/init.el" nil t) ; Reading at buffer position 3581
load-with-code-conversion("/Users/sergiobacelar/.emacs.d/init.el" "/Users/sergiobacelar/.emacs.d/init.el" t t)
load("/Users/sergiobacelar/.emacs.d/init" t t)
#[0 "\205\266 \306=\203\307\310Q\202? \311=\204\307\312Q\202?\313\307\314\315#\203*\316\202?\313\307\314\317#\203>\320\321\322!D\nB\323\202?\316\324\325\324\211#\210\324=\203e\326\327\330\307\331Q!\"\325\324\211#\210\324=\203d\210\203\247\332!\333\232\203\247\334!\211\335P\336!\203\201\211\202\214\336!\203\213\202\214\314\262\203\245\337\"\203\243\340\341#\210\342\343!\210\266\f?\205\264\314\325\344\324\211#)\262\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" initialization format-message "`_emacs' init file is deprecated, please use `.emacs'" "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7]()
command-line()
normal-top-level()
fringe-mode
works? Just eval(fringe-mode '(5 . 5))
. – caisah Sep 18 '16 at 9:42((vertical-scroll-bars) (left-fringe . 5) (right-fringe . 5)
. I tried to commentfringe-mode
but others errors started to show. – sbac Sep 18 '16 at 9:58require(yasnippet) eval-buffer(#<buffer *load*-591772> nil "/Users/sergiobacelar/.emacs.d/starter-kit-completion.el" nil t) ; Reading at buffer position 226 load-with-code-conversion("/Users/sergiobacelar/.emacs.d/starter-kit-completion.el"
– sbac Sep 18 '16 at 11:05load-path
? Do you runpackage-initialize
somewhere? – caisah Sep 18 '16 at 11:57