I just started with emacs and I wanted to know if there is a an alternative for flyspell for checking spellings in comments (Since I use auto-complete-mode for code completion, I can't have flyspell minor mode on as they conflict with each rendering auto-complete-mode useless).
Thanks
Found a workaround after searching the forums.
We just have to enter this
(ac-flyspell-workaround)
and it would work like a charm.
Cheers
Related
I know it's possible to make our .spacemacs configuration in ORG mode to be more readable, but i found nothing about it ...
As I've spent some time looking for exactly same thing (but for pure Emacs though), I put here a couple of examples so that people could easily find it on SO:
Emacs configurations written in Org mode
Emacs Configuration in Org-Mode
And the last but the best answer on Emacs.StackExchange
Can you get syntax highlighting for kv files in emacs?
If so, is it straightforward to do?
I'm new to emacs (used Geany 'til now), so please bear in mind I don't know my way around it to well and probably won't understand jargon, etc, but am keen to learn.
The other answer is correct (not sure why someone downvoted it).
It's also available in the melpa repository, M-x package-install kivy-mode.
https://github.com/kivy/kivy/blob/master/kivy/tools/highlight/kivy-mode.el
I don't use emacs , but i think you can understand their installation .
After years of Vim I discovered Emacs's evil mode and now I am utterly happy. And I'd like to use my native language in Emacs as well. I thought it should be fairly easy and someone probably have done that already and I've tried searching for "russian bindings for evil-mode" but surprisingly I found nothing.
And then I tried this:
(define-key evil-normal-state-map [ш] [i])
and of course that didn't work. Please help me to bind at least some basic motions. Otherwise I need to switch back and forth between languages all the time.
Oh... wow! I don't have to do anything. It's already there. toggle-input-method and I can even use Korean. Yet now I don't know how to get back to default. There's english-dvorak in the list, but I don't want dvorak. I need normal US-keyboard input.
Maybe too late, but you can use bindings from https://github.com/artempyanykh/evil-russian.
For example:
(define-key evil-normal-state-map "ш" 'evil-insert)
How do I enable the syntax highlighting mode for SLIME in emacs?
I guess that by SLIME you mean the SLIME REPL. It uses repl major mode and you cannot just enable font-locking for it, since there is one enabled already and it's simply different from that in lisp-mode and clojure-mode for instance. Your best bet might be to play around with the font-lock faces for repl-mode. This article might prove helpful.
I'm trying to figure out if there's a way to reset the keymap so that I can manually enable features with an appropriate keybinding. I'm trying to do a customized Emacs build and would like full control over the keybindings and features enabled.
Edit: Thanks for the answers, this answered what I was looking for perfectly. I was trying to Google it and I couldn't find much but now I'm starting to understand Emacs more.
Basically I'm trying to learn it and customize the keybindings to my preferences. Though I have had trouble overriding some keybindings but the suggestions of disabling major mode was what I was looking for.
Well, Emacs will give you full control, there are a couple different ways to accomplish what it sounds like you're trying to do. To be successful though, I recommend you read and understand the Keymaps section of the manual. If your customized Emacs build uses any major or minor modes, you'll have to do special work to disable/override any keymaps they set.
Of particular interest are the sections Creating Keymaps, Active Keymaps, Controlling Active Maps, and ... pretty much the whole chapter.
I recommend starting with creating a basic keymap and overriding the global keymap with yours. That'd be a good start. Probably the easiest way would be to do something like:
(setq global-map (make-keymap))
(global-set-key ...)
Though, you're also going to have to disable the major modes from setting up their keys, the easiest way would be to disable automatic choosing of major modes by doing this:
(setq auto-mode-alist nil)
Read the section on How Emacs Chooses a Major Mode.
The question needs more detail to enable writing a more detailed answer...
You may bundle the features into a minor-mode with its own keymap. When the minor-mode is enabled, its keymap will be consulted before the global-map, overriding the latter in effect. When disabled, the default key bindings in the global-map will be visible again.