emacs Questions
5
Solved
I'd like to make a simple change to Emacs so that the next-buffer and previous-buffer commands (which I have bound to C-x <RIGHT> and C-x <LEFT> will skip over the *Messages* buffer.
I...
5
macos Ventura 13.4 (22F66)
GNU Emacs 28.2 (build 1, x86_64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (a) (Build 22E772610a)) of 2023-05-31
org-mode 9.5.5
installed using homebrew emacs-p...
Hanford asked 2/6, 2023 at 8:17
2
Solved
I want to implement dynamical text replacement (only the display is replaced, the actual stored file is not replaced) for Emacs, using Elisp.
For example, in LaTeX documents, I want to type \alpha...
4
Solved
I am getting a "Wrong type argument: commandp, (lambda nil (forward-line 5))" here.
(global-set-key [?\M-n] (lambda () (forward-line 5)))
What is the error? I'm fairly sure it's simple & I'm...
Hosbein asked 9/8, 2009 at 6:59
10
Solved
I am currently playing around with emacs and happy with most of the concepts. But I really adored the convenience of the three vim commands: dd,o,O
Hopefully you can tell me how to mirror them in e...
7
Solved
In Emacs we can scroll inactive window using certain commands
But not all details are listed in the manual.
C-M-v can scroll down the other window
my intention is to scroll up the other window, ...
Hydraulic asked 24/4, 2012 at 2:1
5
Solved
I often paste items separated by newlines or line feeds into an Emacs buffer resulting in each item residing on a different line like this:
one
two
three
four
Very often I actually want a list o...
Hooper asked 29/7, 2013 at 10:55
4
Solved
Magit is eating up a lot of my modeline to display the current git branch ... or at least I think it's magit that's doing so, honestly I can't find any way to tell where it's coming from. I can alw...
3
Solved
How do you check, in elisp, if a list contains a value? so the following would return t:
(contains 3 '(1 2 3))
but
(contains 5 '(1 2 3))
would return nil.
35
Solved
I saw this same question for VIM and it has been something that I myself wanted to know how to do for Emacs. In ReSharper I use CTRL-D for this action. What is the least number of commands to perfo...
4
Solved
I'm using AUCTeX and I would like to bind a key, e.g. C-0, that does the following:
Saves the active file without prompting me.
Runs latexmk on the active file without prompting me.
Shows me erro...
3
Solved
I wanted to create a function, that returns a composition of several other functions, such that
(funcall (compose 'f 'g) x) == (f (g x))
I feel that I miserably failed on this. My best attempt s...
5
Solved
I need to use some native code and I would like to try elisp as a scripting language.
Is it possible to call native functions which are implemented in dynamic library (dll in windows)? Or the only...
7
Solved
Is there a simple way to insert the current time (like TIME: [2012-07-02 Mon 16:44]) in the org-mode? In the manual there is a lot of stuff (clocks, deadlines, schedules), but most of them require ...
5
Solved
I am looking for a way to have the Emacs compilation buffer triggered by M-x compile, M-x recompile or some compile on save script only appear when the compilation exits either with an error or a w...
Tensiometer asked 15/7, 2013 at 16:34
3
In emacs, I sometimes invoke call-last-kbd-macro by mistake. When undoing I would have expected undo to undo the entire effect of the keyboard macro atomically, but that does not happen. Instead I ...
5
How can I configure emacs to work in the same way as other modern editors where pressing Alt+D or Alt+Backspace deletes either adjacent whitespaces or a single word? By default, emacs always delete...
Younker asked 30/7, 2013 at 22:13
7
It's good that ctrl-backspace in emacs will delete all whitespace. However, it doesn't stop there! It seems to only stop after it's deleted at least one word. This means, for example, that using it...
Junji asked 29/1, 2015 at 17:37
3
I created an ordinary text file on Windows 7 64-bit using gnu emacs 23.3.1. I can edit the file with other programs such as LinqPad (the file happens to be a linqpad script, extension .linq). Every...
Maines asked 28/8, 2011 at 23:56
5
Solved
I often come across the following popular emacs builds:
graphene
prelude
emacs-live
Currently I'm running a custom configuration, but I'd like to experiment with these builds without clobbering...
Expiation asked 5/2, 2014 at 3:25
3
Solved
In emacs there is buffer-file-name that gives the full path to a file. But is there a way to get only the directory of the file loaded in the current buffer?
8
Solved
Whenever I edit files on emacs, it seems a temporary file is created with the same name with ~ appended to it. Does anyone know an quick/easy way to delete all of these files in the working directo...
4
Solved
Could someone please give me some assistance to completely hide the :PROPERTIES: drawer, including the line that says :PROPERTIES:.
* TASKS (with deadines)
** Next Action [#A] Ask the geniuses h...
4
Solved
Assume there is a sample function defined in a library (this question's precondition is all definitions in this library cannot be modified, something like "read only"):
(defun sample ()
(foo)
(b...
4
Solved
I've tried runemacs --user d:\path\to\init\.emacs but it gives
Error (initialization): Invalid user name d:\path\to\init\.emacs
I mean custom file in custom location like on my pendrive etc. and ...
© 2022 - 2024 — McMap. All rights reserved.