![]() ![]() Direct link: "Hunspell for Emacs in Debain".Direct link: "Hunspell for Emacs in OSX ".If you want to change it to C-2 C-2, then it can be done after replacing s- and \s- with C- and \C- respectively.įYI) In GNU Emacs under Linux, C, M, S, and s stand for Ctrl, Meta, Shift, and super-key (a.k.a. When you use the exactly same elisp above in GNU Emacs under Linux, the shortcut must be ⊞Win-2 ⊞Win-2 in a non-apple keyboard. (define-key simulate-mouse-event-map 'simulate-mouse-event-at-point) #!!! final step, i.e step 2/2 for keyboard stroke for mouse#-click (global-set-key (kbd "s-2") simulate-mouse-event-map) <- step 1/2 for s-2 s-2 (defvar simulate-mouse-event-map (make-sparse-keymap)) (setq unread-command-events (cons event unread-command-events)))) (let ((event (make-mouse-event-at-point last-input-event))) ((and (integerp basic-type) (>= basic-type ?0) ( function 2 (modifiers (event-modifiers base-event))) (basic-type (event-basic-type base-event)) (defun make-mouse-event-at-point (base-event) ![]() If there is more than one, they won't work right. Your init file should contain only one such instance. If you edit it by hand, you could mess it up, so be careful. ![]() custom-set-variables was added by Custom. '(text-mode-hook (quote (turn-on-flyspell text-mode-hook-identify))) Set flyspell-mode on for text-mode by adding the line.However, what I want to say is how to set up a key-stroke for the spell-checking pop-up window once the flyspell is on. ![]() Typing ispell-word after ⌥x ( M-x in typical Emacs notation) would be enough for some users to check spelling. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |