Closed BuddhiLW closed 3 years ago
Hi.
I don't know how to answer your question.
I think maybe you opened this issue on the wrong repo?
This is the repo for Racket Mode, which is for working with the Racket language.
I'm going to go ahead and close this. However, if you have installed Racket, and if you're trying to make Racket Mode work with it, and if the Install and Configure information isn't enough to help you --- please feel free to reopen it.
I'm trying to use Racket Mode. But, Emacs asks me for a Scheme Implementation.
I wonder, do you also have Geiser installed? If so, try:
M-x package-delete
and enter geiser
..rkt
. (Not .sml
).M-x racket-bug-report
works for you, please paste the result in a comment here.p.s. Later, you could re-install Geiser, and configure it not to try to open .rkt
files. But I'm suggesting taking it one step at a time, and simplifying the situation for now.
You are right, It's Geiser. But, if I don't have it, my buffer won't even recognize the file as racket-mode.
If you're willing to do all of these steps I'd asked, I'm happy help you make .rkt
files open using Racket Mode.
Otherwise, it sounds like you're trying to do something with auto-mode-list
and .sml
files. For that you'll probably need to get help elsewhere, for example https://emacs.stackexchange.com/.
Sorry.
Ok
"I wonder, do you also have Geiser installed? If so, try:
M-x package-delete and enter geiser. Exit and restart Emacs. Install Racket Mode if you haven't already. Try opening a file ending in .rkt. (Not .sml). What happens? Also if M-x racket-bug-report works for you, please paste the result in a comment here."
1)
2-4) Already installed racket-mode.
5)That's what happens when I open .rkt
6) The debug log
Please copy all of the following lines and paste them into your bug report
at <https://github.com/greghendershott/racket-mode/issues/>.
<details>
<pre>
((alist-get 'racket-mode package-alist)
#s(package-desc racket-mode
(20210328 2038)
"Racket editing, REPL, and more"
((emacs
(25 1))
(faceup
(0 0 2))
(pos-tip
(20191127 1028)))
nil nil "/home/buddhilw/.emacs.d/elpa/racket-mode-20210328.2038"
((:url . "https://www.racket-mode.com/")
(:maintainer "Greg Hendershott")
(:authors
("Greg Hendershott"))
(:commit . "045a871d61e930c2eea8647822df39b8319018e1"))
nil))
((emacs-version "27.2")
(system-type gnu/linux)
(x-gtk-use-system-tooltips t)
(major-mode scribble-mode)
(racket--el-source-dir "/home/buddhilw/.emacs.d/elpa/racket-mode-20210328.2038/")
(racket--rkt-source-dir "/home/buddhilw/.emacs.d/elpa/racket-mode-20210328.2038/racket/")
(racket-program "racket")
(racket-command-timeout 10)
(racket-xp-after-change-refresh-delay 1)
(racket-xp-highlight-unused-regexp "^[^_]")
(racket-repl-buffer-name-function nil)
(racket-memory-limit 2048)
(racket-error-context medium)
(racket-history-filter-regexp "\\`\\s *\\'")
(racket-images-inline t)
(racket-images-keep-last 100)
(racket-images-system-viewer "display")
(racket-images-system-viewer "display")
(racket-use-repl-submit-predicate nil)
(racket-pretty-print t)
(racket-indent-curly-as-sequence t)
(racket-indent-sequence-depth 0)
(racket-pretty-lambda nil)
(racket-smart-open-bracket-enable nil)
(racket-module-forms "\\s(\\(?:module[*+]?\\|library\\)")
(racket-logger-config
((cm-accomplice . warning)
(GC . info)
(module-prefetch . warning)
(optimizer . info)
(racket/contract . error)
(sequence-specialization . info)
(* . fatal)))
(racket-show-functions
(racket-show-pseudo-tooltip)))
(enabled-minor-modes
(auto-composition-mode)
(auto-compression-mode)
(auto-encryption-mode)
(auto-fill-mode)
(auto-save-mode)
(blink-cursor-mode)
(column-number-mode)
(company-tng-mode)
(counsel-mode)
(display-line-numbers-mode)
(doom-modeline-mode)
(electric-indent-mode)
(emojify-mode)
(evil-collection-unimpaired-mode)
(evil-local-mode)
(evil-mode)
(evil-surround-mode)
(file-name-shadow-mode)
(fira-code-mode)
(font-lock-mode)
(global-display-line-numbers-mode)
(global-eldoc-mode)
(global-emojify-mode)
(global-evil-collection-unimpaired-mode)
(global-evil-surround-mode)
(global-font-lock-mode)
(ivy-mode)
(ivy-prescient-mode)
(ivy-rich-mode)
(line-number-mode)
(mouse-wheel-mode)
(override-global-mode)
(paredit-mode)
(prescient-persist-mode)
(prettify-symbols-mode)
(rainbow-delimiters-mode)
(semantic-minor-modes-format)
(shell-dirtrack-mode)
(transient-mark-mode)
(which-key-mode))
(disabled-minor-modes
(abbrev-mode)
(archive-subfile-mode)
(auto-complete-mode)
(auto-fill-function)
(auto-package-update-minor-mode)
(auto-save-visited-mode)
(avy-linum-mode)
(buffer-face-mode)
(buffer-read-only)
(cl-old-struct-compat-mode)
(company-mode)
(company-search-mode)
(compilation-minor-mode)
(compilation-shell-minor-mode)
(completion-in-region-mode)
(dash-fontify-mode)
(defining-kbd-macro)
(delete-selection-mode)
(diff-auto-refine-mode)
(diff-minor-mode)
(dired-hide-details-mode)
(eldoc-mode)
(electric-layout-mode)
(electric-quote-mode)
(emojify-debug-mode)
(emojify-mode-line-mode)
(evil-smartparens-mode)
(flyspell-mode)
(general-override-local-mode)
(general-override-mode)
(global-auto-complete-mode)
(global-company-mode)
(global-dash-fontify-mode)
(global-emojify-mode-line-mode)
(global-fira-code-mode)
(global-ligature-mode)
(global-prettify-symbols-mode)
(global-reveal-mode)
(global-semantic-highlight-edits-mode)
(global-semantic-highlight-func-mode)
(global-semantic-show-parser-state-mode)
(global-semantic-show-unmatched-syntax-mode)
(global-semantic-stickyfunc-mode)
(global-visual-line-mode)
(horizontal-scroll-bar-mode)
(hs-minor-mode)
(ido-everywhere)
(image-minor-mode)
(isearch-mode)
(ispell-minor-mode)
(ivy-rich-project-root-cache-mode)
(jit-lock-debug-mode)
(ligature-mode)
(menu-bar-mode)
(next-error-follow-minor-mode)
(org-cdlatex-mode)
(org-list-checkbox-radio-mode)
(org-src-mode)
(org-table-follow-field-mode)
(org-table-header-line-mode)
(orgtbl-mode)
(outline-minor-mode)
(overwrite-mode)
(paragraph-indent-minor-mode)
(racket-smart-open-bracket-mode)
(racket-xp-mode)
(rectangle-mark-mode)
(reveal-mode)
(semantic-highlight-edits-mode)
(semantic-highlight-func-mode)
(semantic-mode)
(semantic-show-parser-state-mode)
(semantic-show-unmatched-syntax-mode)
(semantic-stickyfunc-mode)
(sh-electric-here-document-mode)
(show-smartparens-global-mode)
(show-smartparens-mode)
(size-indication-mode)
(slime-edit-value-mode)
(slime-editing-mode)
(slime-macroexpansion-minor-mode)
(slime-mode)
(slime-popup-buffer-mode)
(smartparens-global-mode)
(smartparens-global-strict-mode)
(smartparens-mode)
(smartparens-strict-mode)
(tab-bar-history-mode)
(tab-bar-mode)
(tar-subfile-mode)
(temp-buffer-resize-mode)
(text-scale-mode)
(tool-bar-mode)
(tooltip-mode)
(unify-8859-on-decoding-mode)
(unify-8859-on-encoding-mode)
(url-handler-mode)
(use-hard-newlines)
(vc-parent-buffer)
(view-mode)
(visible-mode)
(visual-line-mode)
(window-divider-mode)
(xref-etags-mode))
</pre>
</details>
After deleting quack, also:
(note: M-x racket-mode RET does't do anything to the major mode (appearing as scribble))
And, just because you may want to know, I have racket installed in my system:
what is your output of (assoc "\\.rkt" auto-mode-alist)
?
BTW, if you can post your emacs configure or point us to its repo, we can better help you with your issue.
That's my full config related to racket, at the moment
What is your config for scribble? And what is your output of (assoc "\.rkt" auto-mode-alist)?
Well, I deleted it. It was a hook on racket-mode.
Now, racket-mode is working fine!
I thought scribble would function as a minor mode. Well, thank you for the time and help.
(old config)
@capfredf Thanks for helping!
@BuddhiLW Glad to hear it's working now!
I'm unable to give a satisfactory Scheme Implementation input to emacs prompt. How can I derive this information from?
Both GNU Guile 2.2.6, Standard ML of New Jersey (64-bit) v110.99 are installed in my system