elisp
Change Emacs C style not working
For Emacs CC-mode, I am trying to use the \"bsd\" style, but make it so that all lines default to indentation in increments of 4 instead of 8. In my .emacs file, I have put:[详细]
2023-04-04 09:18 分类:问答Word wrap for Emacs print buffer to PDF
I use this function for printing a buffer\'s content to PDF (from my .emacs file:) (defun print-to-pdf ()[详细]
2023-04-04 06:43 分类:问答How do you find the name of the current running funciton: current-function, this-function, current-defun, this-defun
I am trying to dynamically find the name of the current function (this-function) running i.e. (defun my-func ()[详细]
2023-04-03 16:50 分类:问答Make an arbitrary function safe to run?
I\'m writing the docs of my program online, in a wiki, and my intent is to rip that content from the program itself, either from time to time or on demand.[详细]
2023-04-03 11:06 分类:问答Need a Elisp function to push back an input
I wrote a new version of \"zap-to-char\".It just highlights the region instead of kill it.I think this would be more flexible,because开发者_C百科 we can choose to kill,or copy,or just go to this char.[详细]
2023-04-03 09:47 分类:问答Is there a built-in Emacs Lisp form to only set a variable if it is unbound?
I\'ve created the following macro in elisp. It will set the value \"val\" to a variable \"var\" only if the variable is unbound. This exists so variables开发者_开发知识库 set in your .emacs file do no[详细]
2023-04-02 03:26 分类:问答Change Emacs window appearance when it loses focus
When I program I use two screens with Emacs on both with two buffers split in each window totaling 4 open source files on screen at any one time.[详细]
2023-04-01 23:22 分类:问答Modify Alt+f in Emacs for tex-mode
Alt+f in emacs when writing in tex mode seems to not include the . as part of the word. So 开发者_运维百科how do I modify the alt+f behavior to remain the same exact when going forward if there is pun[详细]
2023-04-01 18:28 分类:问答(directory-files) returns nil unexpectedly
The directory I keep my important files is stored as a string \"/home/wdkrnls/Org/\" in the variable org-dir.[详细]
2023-03-31 22:50 分类:问答unbind C-m from RET
In my emacs config file I have created a minor mode so that I can re-bind keys without having to rebind them separately for each major mode.[详细]
2023-03-31 19:16 分类:问答