Frequent Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
131 views

query-replace{-regexp} fails in linux in a non-X terminal when I am in anything other than text mode

I am running emacs 26.1 under linux. It has been working fine for over a year. Recently, I upgraded a lot of packages on my machine, but I did not upgrade nor alter emacs in any way. Now, query-...
HippoMan's user avatar
  • 646
0 votes
0 answers
439 views

Org export dispatcher missing options

I'm running Emacs (Emacs version: 25.2.2; org-mode version: 9.2.6-4-ge30905-elpa) on Linux Mint Ubuntu. If I try to export my org file or subtree (C-c C-e) I get the dispatcher buffer without any ...
Chamaeleon's user avatar
0 votes
1 answer
309 views

emacs' internal documentation missing info?

Emacs 26.1 on Debian 10 stable I have previously used the Windows version of Emacs and now I'm back in Linux (thanks to it). When pressing C-h i d there seemed to be a lot of more information in the ...
Sergiu Elmi's user avatar
0 votes
0 answers
55 views

org-mode call occur not function

Since I need to search some pattern frequently, I wish to write some code there then execute it in org-mode. for example: #+begin_src elisp :results output (defun myoccur (arg) (occur (s-replace " "...
lucky1928's user avatar
  • 1,724
0 votes
0 answers
123 views

mac-mwheel-scroll screws centered-positon-mode when using mouse pad on a macbook laptop

I am able to scroll using navigation buttons and external mouse on a Mac with this code that keeps the cursor at a specific line at all times. I am using this code since it is much faster than ...
SFbay007's user avatar
  • 584
0 votes
1 answer
237 views

tramp: $INSIDE_EMACS isn't defined while .bashrc is processed

It seems INSIDE_EMACS can be used to determine if tramp is used. I know I could use test "$TERM" = "dumb" but if [[ -z $INSIDE_EMACS ]]; then is provided by the home-manager tool. If I set tramp-...
bbigras's user avatar
  • 155
0 votes
1 answer
233 views

How to export an octave/matlab array for use by python in org-mode?

I am trying to pass the value of an octave/matlab array into a python code block in org-mode. But I can't get the python-end to receive the value. With the answers in this question, I can generate an ...
tinlyx's user avatar
  • 1,384
0 votes
1 answer
30 views

Typing in large markdown buffers is slow due to corfu and flyspell. How to address?

When I type in a large (1000+ lines, tens of thousands of words) Markdown buffer, the typing feels slow. My profiler reports this Memory Bytes % Function 14,151,043 33% + flyspell-post-...
J. Mini's user avatar
  • 167
0 votes
1 answer
801 views

Org-habit how to track number over time

(still a complete beginner to org in general) I managed to setup org-habit, that also feeds into org-agenda to neatly see habits. I would like to track a few variables that go along with my habits (e....
user57623's user avatar
  • 113
0 votes
2 answers
99 views

How to delete mu4e attachment on macOS

I want to delete a large attachment from a mu4e message. This thread is similar, except that the required altermime tool does not seem available on macOS (not on Homebrew and no results from an online ...
emonigma's user avatar
  • 1,967
0 votes
0 answers
248 views

Unable to install ElPy: "eval-buffer: Cannot open load file: No such file or directory, s"

I followed the instructions to install ElPy from source: I cloned the repo to ~/code/elpy and added these to the Emacs initialization file: (add-to-list 'load-path "~/code/elpy") (load "...
emonigma's user avatar
  • 1,967
0 votes
1 answer
183 views

How to enter/render d-hat in emacs and latex export

I want to be able to use d-hat (d with a caret (^) above it) in emacs to indicate an estimate of Cohen's 'd' (an effect size statistic). How can I enter this in org-mode in a way that it renders ...
epicpilgrim's user avatar
0 votes
1 answer
98 views

Paste Inserts Extra Characters because of Electric Mode

I have this defined: (setq electric-pair-pairs ...
Jason Hunter's user avatar
0 votes
2 answers
3k views

Cannot access ELPA from Emacs behind a corporate proxy (Mac)

I'm having trouble accessing ELPA on my Mac from behind a corporate proxy. Emacs 27.1. I have http_proxy and https_proxy configured appropriately (I've also tried setting url-proxy-services). From ...
EightyEight's user avatar
0 votes
2 answers
336 views

AUCTeX LaTeX-math-mode outside a mathematical environment

Using AUCTeX with LaTeX-math-mode enabled, if I type (say) ` a inside a mathematical environment, it inserts \alpha, as I want. But if I do it outside a mathematical environment, it inserts \alpha{}. ...
Jeremy Rickard's user avatar
0 votes
0 answers
437 views

Why is mu4e setting the context wrong

I am unable to set the contexts right in mu4e. I have a default account set with: (setq mu4e-sent-folder "/Account1/Sent Items" mu4e-drafts-folder "/Account1/Drafts" ...
emonigma's user avatar
  • 1,967
0 votes
0 answers
124 views

Refresh agenda for (dynamic) current buffer

When I use this custom agenda (below) for a current buffer, the agenda builds correctly. But if I try to refresh it or move the date with f or b I get errors like: if: Wrong type argument: stringp, ...
breathe_in_breathe_out's user avatar
0 votes
1 answer
181 views

Why doesn't my Norwegian ispell dictionary work on Emacs (Windows)?

I have installed the English ispell dictionary english.hash for using in Emacs, and placed it at C:\Users\espend\AppData\Roaming. When typing M-x ispell-change-dictionary, in Emacs, this English ...
myotis's user avatar
  • 1,139
0 votes
1 answer
91 views

How to ignore emtpy lines on the bottom of the buffer?

When I jump to bottom part of the buffer using vi I does not show any empty lines. On emacs when I got to bottom of the buffer I see empty lines even there is no new lines exist. Is is possible to ...
alper's user avatar
  • 1,460
0 votes
1 answer
120 views

just todays agenda for just the current buffer

I would like to make a quick access agenda for today and just for the current buffer. So my approach looks like this, but it does not work. (setq org-agenda-custom-commands '( ("o" ...
breathe_in_breathe_out's user avatar
0 votes
1 answer
81 views

How to show C/C++ doxygen section titles in the mode-line?

For C/C++ code that use doxygen sections, it would be useful to show these in the mode-line, without slowing down the mode-line display significantly. Is there a good way to add context information to ...
ideasman42's user avatar
  • 9,157
0 votes
1 answer
119 views

How to query-replace with exact match with the exact given word in case-sensetive manner?

I have HELLOWORLD string inside my file. My setup: (defun my-find-orgfiles () (interactive) (setq toggle-case-fold-search 0) ; Turn Off Smart Case Sensitivity (find-name-dired "~/folder&...
alper's user avatar
  • 1,460
0 votes
1 answer
152 views

org-preview-latex rendering weirdness when a space after initial inline expression delimiter

\(S\) renders fine. No problem here. $S$ renders fine. No problem here. $ S $ does nothing. I wouldn't expect this. Comment below referencing manual explains this case. $S $ does nothing. I wouldn't ...
Joe's user avatar
  • 571
0 votes
1 answer
213 views

Can you render the latex math expressions in the following file successfully: http://github.com/Anton-Latukha/haskell-notes/README.org?

Can you render http://github.com/Anton-Latukha/haskell-notes/README.org using M-x org-latex-preview on the inline math expressions using Org version > 9.0 default settings? For me, I get a weird ...
Joe's user avatar
  • 571
0 votes
1 answer
104 views

Autoloaded variable overrides the one from the init file

I added the following line to my init file to replace ruby-mode with enh-ruby-mode: (setq auto-mode-alist (mapcar (lambda (x) (if (eq (cdr x) 'ruby-mode) (cons (car ...
x-yuri's user avatar
  • 291
0 votes
1 answer
519 views

Why is Org adding a label in custom Babel environment?

I can't tell in what update exactly did this happen but since not so long ago Org adds a label{orgsrcblock#} to custom listings environments. Unfortunately, I can't find a way to tell listings to ...
wvxvw's user avatar
  • 11.5k
0 votes
1 answer
113 views

Magit error on magit-remote-add

On windows 7 version of spacemacs, with git layer, magit fails when trying to add a remote repository. After I enter the remote name, I get the following error: Debugger entered--Lisp error: (wrong-...
Cos_ma's user avatar
  • 3
0 votes
3 answers
1k views

How to list a key binding in any modes?

For a given command, lets say C-c C-k, how to list the bindings of this key for all modes ? C-h k KEY show bindings only for the current mode. It's the same for invert commands like C-h f and C-h b. ...
Welgriv's user avatar
  • 67
-1 votes
1 answer
3k views

how to bind a function defined in my .emacs to a key/other command

It's probably a very basic question, but I am having a hard time finding an answer to it: I am trying to make emacs look for a makefile somewhere in the parent directories and use it for compilation. ...
NivPgir's user avatar
  • 27
-1 votes
1 answer
30 views

Regex replacement on final endings of words [closed]

I would like to replace the final ly, ily, ley of words with the letter l. So that I get the following changes to words nearly changed to nearl family changed to faml valley changed to vall
Dilna's user avatar
  • 1
-1 votes
1 answer
84 views

How can I create a hyperlink on text naming a variable, so clicking shows `C-h v` help?

I have a number of documentation variable. Would it be possible ta have a help page with a list of lines that when I click on one the variable gets printed in the help buffer. An then be able to go ...
Dilna's user avatar
  • 1
-1 votes
2 answers
148 views

Add a number to every item in list

How do I add a number, say 2, to every item in a list? (setq x '(1 2)) (+ 2 x) (mapcar '2+ x) (loop for i in x do (+ 2 i)) (dolist (i x) (+ 2 i)) None of the above work.
Sati's user avatar
  • 835
-1 votes
2 answers
338 views

Tools for locating and debugging errors

I am getting the following error, but am finding it difficult to locate the problem. Are there any tools for debugging in such instances? Warning (initialization): An error occurred while loading ‘/...
Dilna's user avatar
  • 1
-1 votes
2 answers
159 views

Web scraping traversal using dom.el, pcase error: Unknown pattern

I would like to traverse the dom tree, extract the text and build a list after visiting each node. Implementing the recursion with the help of text-tag function returned an unknown pattern error. The ...
alexander's user avatar
  • 133
-1 votes
1 answer
428 views

Magit fails to create local repository

This is what I got when I select a directory (whether it had a git repository) and choose "yes" when magit asks if I want to create one: Debugger entered--Lisp error: (wrong-type-argument stringp nil)...
dmvianna's user avatar
  • 392
-2 votes
6 answers
148 views

How do I break a large piece of text in to a list of 5-word phrases, and identify the oft-repeated phrases [closed]

I would like a function that finds repeating sequences of text sections. Would start with defining a number N. Let I have (setq N 5) say. I would take the first five text sections, then look for ...
Dilna's user avatar
  • 1
-3 votes
1 answer
105 views

Adapting list according to array

I want to construct a list of lists using the function pmchart (pmchart '("Peter" "John") [3 2] 5) to produce '(("Peter" "xxxxx" "xxxxx" "xxxxx&...
Dilna's user avatar
  • 1

15 30 50 per page
1
61 62 63 64
65