All Questions

17,553 questions
Filter by
Sorted by
Tagged with
59 views

Referring to a different table's cell value in org-mode

I'm doing some code estimating and have split my project up like so * Overview | Proposal | Best case | Likely case | ...
55 views

What is #'eq and how does it differ from 'eq [duplicate]

I've seen a few snippets of code where symbols were prepended by #' instead '. like the following snippet (seq-count #'not (seq-mapn #'eq seq1 seq2)) What is the difference and why couldn't I just ...
31 views

How to locate all unused Lisp functions / variables

I am converting a few old libraries into one new library using different names for all of the functions, macros, variables, etc. Some of the functions / variables will never be used, and I would like ...
15 views

Conf[Unix] not indenting configuration file

I am having trouble trying to configure the conf[Unix] mode to do indentation. I have a hook that indents the whole file when I save the file: (defun indent-hook() "Indent before saving." (indent-...
24 views

Org2Blog and Two Factor Authentication

new Emacs user here. I'm having trouble using org2blog to post to a client's WordPress site. The site has 2FA turned on, and won't let me post with it turned off. I got an application-specific ...
166 views

Change scratch buffer to org mode by default

When I test some codes in scratch buffer, usually first set it as org mode manually. How could config it as 'org mode' rather than fundamental mode by default.
16 views

Sharing helm-buffers-list between multiple windows

I use two separate windows in emacs, and when I use helm-buffers-list, it displays a list of files sorted with the most recently visited files near the top, however, this list is sorted differently ...
39 views

Debugging slow find-file performance

Trying to figure out why find-file (C-x C-f) operations are taking a long time on Windows 10 with emacs 26.3. I tried to do profiling and got following results. - command-execute ...
35 views

Automatic preview generation with AUCTeX

Right now, when using AUCTeX's preview feature, I have to manually refresh the previews after I change existing sources or write new text. I have to run preview-document every time, which is both ...
70 views

Difference between apply and funcall

(describe-function apply) says: apply is a built-in function in ‘src/eval.c’. ...
15 views

how to set a fill suffix?

I want to fill (wrap) long lines at n characters, ensuring that each new line ends with "///". (That is the "continuation character" for long lines in Stata code. So that something like this This is ...
33 views

Is function list equivalent to using cons with a final cdr of nil?

I'm trying to explain Elisp to 5th and 6th graders and I tell them that (+ 1 2) evaluates to 3 and not (3). So if I do want something that evaluates to (3) would I just evaluate ((+ 1 2))? No! This ...
21 views

Encrypt excerpts in org file (passwords only)

I keep project info in .org file together with passwords. When I share a screen it is annoying to show passwords in a buffer accidentally. I want to keep .org file in plain text format but mark some ...
16 views

set-frame-size does not work on emacsclient

I have set up Emacs daemon on Windows 10. My Emacs version is GNU Emacs 25.3.1 I have some code in my init.el which resizes the frame size automatically when Emacs starts up. The code is ;; Select a ...
24 views

How to bury *Ibuffer* when switching to another buffer?

M-x ibuffer Select a buffer Kill that buffer The *Ibuffer* buffer re-appears. How can I get it to behave more like a *Help* buffer, which is buried (dropped to the end of the "recently used" list) ...
99 views

org-mode problem when exporting numbered items to odt

If I export an org mode document to odt that contains a combination of numbered items and paragraphs the exported document does not retain the correct numbering. For example, 1. Question 1 2. ...
10 views

Org mode GPG buffer colors broken

After upgrading all packages with use-package, buffers with opened gpg encrypted org files don't show proper org mode colors, everything is black & white, like in fundamental-mode. The buffer ...
26 views

Define key binding for a single mode (Fundamental)

In light that this may be a duplicate, but I did not find the answer to my question scouring this site. The default behavior of GNU Emacs appears to have electric-indent-mode enabled, which is fine ...
151 views

C-x 3 open a new buffer to the left of the current buffer

When strike C-x 3, a new window and buffer will open to the right of the current buffer. How could set it open to the left of the current?
44 views

use-package and define-key

I'm using multiple-cursors, setting it up with use-package. By default, when multiple-cursors mode is enabled, <return> is bound to multiple-cursors-mode. I'm trying to override that adding this ...
25 views

I am trying to modify pandoc-template-mode.el to deal with $$which is an escape sequence for literal  inside the Pandoc template. I have added the "\\\\" at the top but I still get bad font ... 1answer 17 views Preventing convertion of ASCII rules on org--html export When you export to html, -- is converted to en-rule and --- to em-rule. Is it possible to prevent this? 1answer 45 views How are major modes and local keymaps associated? The Emacs manual says: Major modes customize Emacs by providing their own key bindings in local keymaps.... Minor modes can also have local keymaps... Roughly, it seems to say: Major modes ... 1answer 21 views In spacemacs, how do I copy code from the history in python REPL to my window which has a python source code file open? I'm new to spacemacs -- I'm using it as a Python IDE. I'd like to know if there is an easy way to copy lines from the history on a REPL back to the source-code window. The idea is, I prototype in ... 0answers 19 views Git status on modeline to indicate if behind remote? Can I get Emacs to indicate on the mode-line whether a push is needed, i.e. whether the repo is out of sync with origin? I've already got it telling me if a commit is needed using vc-status, but that ... 1answer 21 views Commenting out/disabling file local variable for input method in AUCTeX I have the following local variables defined in a XeTeX file. As you can see, the input method is currently set to Devanagari. This is inconvenient when I want to type Roman letters. I'd like a way to ... 1answer 27 views Building Emacs 24.4 without admin rights, ncurses dependency I'd like to build Emacs 24.4 from source on a system where I don't have admin rights. When I run ./configure, I get the error: "The required function \'tputs' was not found in any library. The ... 0answers 14 views Using xref-pop-marker-stack with next-error? When I use xref to jump to the definition of a symbol, I can retrace my steps using M-, (xref-pop-marker-stack). I would like to be able to do the same thing after jumping to results in compilation, ... 1answer 37 views Error in custom eshell function (exit and close window) I got the below function from an article on howardism.org. Its purpose is to exit eshell and close the corresponding window. ;; GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) of ... 1answer 24 views Magit log: move cursor to the HEAD While in the log buffer, is there a way to move the cursor directly to the HEAD commit? 1answer 68 views Updating magit today gives me invalid face attribute Updating magit this morning I now can't start things up, getting: face-attribute: Invalid face attribute name: :extend Anyone know what could cause and (hopefully!) fix this? 2answers 84 views Selecting punctuation, namely, periods, commas, question marks, exclamations, etc. in Emacs I use Emacs mostly for writing text not code. This involves a great deal of selecting, deleting and editing, as one would expect. By default if I move forward by a word in Emacs, Emacs ignores basic ... 2answers 42 views Org-mode add a property (e.g. effort) on the same row as my task (similar to priority and tags) I'd like to show an additional property (e.g. EFFORT) on the same line as my tasks, so that it is always visible in both org-mode and agenda view. An example is below. Current display: TODO [#A] ... 0answers 25 views In a buffer with widgets how can I find out what function is called on a (link) widget In a buffer with widgets how can I find out what functions widgets call? Let's say I position the cursor on a widget, I execute M-x widget-browse-at and know now that the widget is of class "link". ... 1answer 16 views Custom sorting of agenda (by tag) Is there a way to customize how tags get sorted in org-agenda weekly view? I don't like the default which is sorting alphabetically (within tasks of the same date/priority). It would be more useful ... 1answer 22 views How to turn off Latex/MathJax buffer symbol conversion in org-mode Whenever I write, say, \Rightarrow inside of$$, I immediately see the actual right-pointing arrow substituted in. Unfortunately, this does not travel well between GUI-based Emacs and Emacs started -...
9 views

use-package package does not deal with packages on EmacsWiki. Therefore in my init file I added el-get too: (use-package el-get :config (el-get-emacswiki-build-local-recipes)) (el-get-bundle dired+...
12 views

Why ido mode not show keybinding?

Emacs 26.1 Suppose I use command (ido-find-file) (C-x C-f) Here help: It is bound to <open>, C-x C-f, <menu-bar> <file> <new-file>. (ido-find-file) As you can see the ...
27 views

How create custom function access only from ONE el file?

Emacs 26.1 In my file custom_functions.el (defun increment-number-by-one-at-point() (interactive) (increment-number-at-point-private 1)) ;; Increment number at point (defun increment-number-at-...
34 views

“Symbol's value as variable is void: *” using load-file

I have this function in my config file and for some reason, I'm getting this error: Symbol's value as variable is void: *. (defun reload-config() "Reload config.org" (interactive) (load-...
27 views

Why correct regexp not work in query-replace-regexp?

I want to add 400 in every line where has text "finished". Here text and regexp: as you can see the regexp is correct "finished":\s-*[0-9]+ Nice. Now I use this regexp in query-replace-regexp ...
89 views

Is [:space:] same as \s-?

Emacs 26.1 In regexp help https://www.emacswiki.org/emacs/RegularExpression has the next regexp: [:space:] a whitespace character Is this a same as: [ \t\r\n\v\f] and same as \s- ?
45 views

Why multiple-cursor ask me on every line? How avoid this?

emacs 26.1, multiple-cursor https://github.com/magnars/multiple-cursors.el Here my custom Elisp function that add some number(by default 1) to number. (defun increment-number-at-point(number) (...
22 views

emacsclientw does not use font specified in init.el (Windows)

Emacs version: GNU Emacs 25.3.1 (x86_64-w64-mingw32) I have set up a shell-script which runs Emacs server at Windows startup as mentioned in Emacs Wiki. I have set up a shortcut on my desktop which I ...
24 views

I am writing software documentation using Org-mode, but I also want to export the result as a Texinfo file. The process works well, however, Texinfo transforms level 4 headings into numbered lists ...
20 views

wrong-type-argument from insert yank

I'm looking for ways to get the last copy from the kill ring in Emacs. I run (insert (yank))[cursor] with C-x C-e and I get this *Backtrace*: Debugger entered--Lisp error: (wrong-type-argument ...
26 views

Why isn't the Evil global motion map used in Info mode?

I'm having a problem where it appears Emacs is not looking at keybindings set in my evil-motion-state-map. Below is my entire init.el. I start with an empty .emacs.d directory and only install evil. ...
17 views

Activate personal configuration to the config with load-file and require

I created personal my-config in .doom.d and have 'my-org-agenda` etc within it. #+BEGIN_SRC shell :results output tree ~/.doom.d | head #+END_SRC #+RESULTS: #+begin_example /home/me/.doom.d ├── ...