emacs
Emacs ruby-mode indent private
Does anyone know how to get ruby-mode in Emacs to indent all definitions under private? Here\'s an example:[详细]
2023-04-13 09:26 分类:问答How to determine whether a package is installed in elisp?
I want to customize environment while the specific package is installed properly. How to check whether some package is installe开发者_如何学Cd in elisp?[详细]
2023-04-13 06:03 分类:问答What does 's' stand for in auto-complete tips?
When I use auto-complete in Emacs, there come out \"s\" \"v\" \"f\" as description? If you have ac, type some lisp function in *scratch* and ac show you the tips, there is a \"s\" there, t开发者_如何[详细]
2023-04-13 05:52 分类:问答open *Man <pages>* in the same emacs window
Why emacs always open *Man <man-name>* buffer in the other window instead of using the same window?[详细]
2023-04-13 04:50 分类:问答Maximize Emacs on start up? (not the fullscreen)
It\'s common for me to press alt-f10 (in GNU/Linux) after Emacs start up for maximizing window (in the Emacs terminology, it\'s actually a frame). Most of the time I press thrice because I was too ear[详细]
2023-04-13 03:09 分类:问答Extracting many leading lines out of a huge text file
I have a huge text file.I want to extract the first 532541 lines of it and store them in another file.Selecting the text with the 开发者_C百科mouse and doing ctrl+c obviously is not a viable solution[详细]
2023-04-13 01:49 分类:问答How can I get the compile buffer place the point at its end?
When I compile (using Make, g++), the compile-buffer opens in a new window, and starts filling up with lines of compiler output. What I don\'t like is that when the number of lines exceeds the window[详细]
2023-04-13 01:31 分类:问答How can I keep my putty scrollback buffer when using emacs -nw and gnu screen?
Here\'s my problem - hopefully I can explain this well enough: I use Putty on Windows, and then start a gnu screen session.I may run several shell commands in putty, and then in the same screen, run[详细]
2023-04-13 00:49 分类:问答Emacs daemon: swapping keys
I\'d like to swap C-x and C-u with Emacs daemon (since I switched to Dvorak layout). The regularkeyboard-translate doesn\'t work with Emacs daemon. In the help-gnu-emacs I found a solution: I should u[详细]
2023-04-12 20:16 分类:问答emacs key binding
I\'m new to emacs so I need simple tip. I\'d like to use Command-RET to eval last expression - to do this:[详细]
2023-04-12 19:59 分类:问答