elisp
Key-up event in Emacs, or poll keyboard state?
In emacs is there is a way to check for a key-up ev开发者_StackOverflow社区ent, or, alternatively, is it possible to poll the keyboard and check if a key is currently pressed?Emacs elisp API don\'t al[详细]
2023-04-07 14:21 分类:问答Emacs docview: saving/jumping to locations with
When using doc-view in Emacs, I\'d like to jump to different locations (e.g., move to the bibliography of a paper and back to where I was). I\'ve tried using C-u C-SPC and registers to jump to differe[详细]
2023-04-07 13:48 分类:问答How to focus on a new Emacs frame in Windows
How to get a focus for a new Emacs frame when it has been raised from outside of Emacs (for example, from emacsclient or edit-server)? Currently, the ne开发者_如何学JAVAw frame get input focus, but no[详细]
2023-04-07 11:56 分类:问答How to equalize <return> and <kb-enter> in Emacs?
Some key bindings are designed in a way that Enter (<return>) and numpad Enter (<kb-enter>) are not the same (I guess, if a binding is (kbd \"<return>/<kb-enter>\") not (kbd \"[详细]
2023-04-07 09:35 分类:问答In Emacs how to operate (i.e. search) only in code regions?
I\'d like to isearch/search-replace/occur only in code (that is not in comments or strings). This must be a common problem, so what packages do this already?[详细]
2023-04-07 08:38 分类:问答Interactive command for inserting the string returned by a function
When evaluating elisp symbolic expressions with (eval-last-sexp), bound to C-x C-e, I can just type C-u before that command to insert the result of the expression into the current buffer.[详细]
2023-04-07 07:59 分类:问答Emacs mmm-mode not highlighting a ruby submode (ERB) without a newline? Elisp advice?
I\'m trying to get ERB templates \'working\' in Emacs 22 and 23 (two different servers开发者_运维百科).[详细]
2023-04-07 01:32 分类:问答Emacs: how do I set a major-mode stored in a variable?
Suppose I have a variable newName which is bearing some mode name, e.g. \"python-mode\". How do I make current buffer of the mode specified by newName?[详细]
2023-04-06 23:39 分类:问答about elisp's highlight region
look at this simple procedure: (defun test () (interactive) (push-mark) (setq mark-active t) (search-forward \"a\" nil nil 1))[详细]
2023-04-06 03:25 分类:问答In Emacs how to prevent the same buffer from showing up in different windows in the same frame?
I\'m not sure how to comprehensively accomplish this. Currently I build my own bzr Emacs on Windows, so I can see that `display-buffer\' now takes a SPECIFIERS option, which could be interesting, but[详细]
2023-04-05 17:29 分类:问答