elisp
Does make-network-process work in windows?
I\'m having trouble debugging a program that uses emacs lisp to act as a simple tcp client. I\'ve stripped it down to the minimum to present as a question here. This code works fine on Max OSX and on[详细]
2023-03-18 05:19 分类:问答How can I tell emacs to not split the window on M-x compile or elisp compilation error?
When I perform M-x compile or get an elisp compilation error, my emacs splits the window vertically, and displays the compile output/error message in the new window. I prefer to work with my buffers i[详细]
2023-03-17 23:26 分类:问答How to find the help on the special keywords such as &optional in emacs lisp
Some of the arguments in the emacs lisp开发者_JAVA技巧 function contains the keyword &optional where to find the documentation of those keywords. I tried searching using describe-function and desc[详细]
2023-03-17 20:04 分类:问答how to answer yes or no automatically in emacs
I binded function semantic-symref to key C-c C-r like this: (global-set-key (kbd \"C-c C-r\") \'semantic-symref)[详细]
2023-03-17 07:37 分类:问答Switching between auto-inserts on the fly / by context
Using emacs for multiple projects from legacy to current ones, I have to use multiple conventions, e.g. for comments or file headers. For example, I use this function to insert file headers for C++ fi[详细]
2023-03-16 04:46 分类:问答Executes a function until it returns a nil, collecting its values into a list
I got this idea from XKCD\'s Hofstadter comic; what\'s the best way to create a conditional loop in (any) Lisp dialect that executes a function until it returns NIL at which time it collects the retur[详细]
2023-03-16 03:55 分类:问答Making a region-indent-function keep the region marked
I\'m having trouble with haml-mode\'s region-indent-function, which I\'m trying to reuse in another major mode. We\'re supposed to be able to cycle the region indentation by keeping开发者_如何学运维 t[详细]
2023-03-16 03:21 分类:问答emacs: Force parsing of local variables of a buffer
I have an Emacs-lisp script that creates two buffers with some content, asking the user the name of the buffer. The text of the file is inserted in the newly created buffer by the name given by the us[详细]
2023-03-16 01:46 分类:问答Change "ls" from emacs dired to other app
I wrote some script in elisp, it merges ls -l and du (showing real folder size instead of what is written in ls). I named it lsd. Here is screenshot:[详细]
2023-03-16 01:35 分类:问答Automatically close emacs shell mode tab-completion buffer?
This has driven me crazy for a long time; I wonder if there is a way to fix it?Hopefully I can describe the situation well.[详细]
2023-03-15 12:19 分类:问答