Linked Questions

1
vote
1answer
1k views

C-x C-f results in the error message: “Wrong type argument: commandp, counsel-find-file”

I opened Emacs, and executed C-x C-f. A beep sounded and the following message appeared in the status line: Wrong type argument: commandp, counsel-find-file All I wanted was to open an existing file....
0
votes
0answers
488 views

Why is the desktop version of emacs so slow in handling large text?

I have a large text file that's over 8 MB. I can't really open it in desktop Emacs since it takes at least 30 seconds just to open the file via find-file, and it takes like 10 seconds for the screen ...
2
votes
1answer
346 views

Block syntax highlighting breaks in org-mode in this case, how to fix?

I have this in my init.el to enable block code syntax highlighting in org-mode: (setq org-src-fontify-natively t) I have also this for org-babel: (org-babel-do-load-languages 'org-babel-load-...
2
votes
2answers
184 views

Emacs without GUI adding extra text to opened files

Whenever I open a file using emacs without gui (emacs --no-window-system) it modifies the file with the following text: 12;rgb:0000/0000/0000 This text is inserted at the beginning of the file. How ...
2
votes
1answer
173 views

transient-mark-mode highlighting doesn't work until buffer display is refreshed

I recently upgraded to Emacs 25.1.2, and transient-mark-mode no longer works properly - sometimes. The behavior I see is that pressing C-spc and moving the cursor to select an area of text doesn't ...
1
vote
1answer
146 views

I got error when using command yank

When I typed C-y to call yank, I got this. apply: Symbol's value as variable is void: n Debugger entered--Lisp error: (void-variable n) ad-Advice-current-kill( ... [interprogram-paste-...
0
votes
0answers
161 views

Emacs takes a very long time to open a TeX file

After a fresh install of Emacs (GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-18) and AUCTeX (last version from ELPA) on Windows Vista, when I open a TeX file, Emacs takes an extremely long time to ...
0
votes
1answer
130 views

Automatically indent ONLY logical lines in Org-mode

I want this: ** This is a heading This is a logical line. But, because I have visual-line-mode on, lines will wrap at the edge, as is just and godly. But, such elegant formatting as you see here ...
2
votes
1answer
88 views

Since upgrading to emacs 26.1 C-SPC behaviour changed and I have to press it twice to set-mark

Since upgrading to Emacs 26.1 C-SPC behaviour changed and I have to press it twice (most of the time) to set mark, which disrupts my flow and is hard on my thumb joint (don't ask). I'd like to ...
1
vote
0answers
65 views

Switch to last window

I am trying to use the code from this answer: Is there a generic toggle-previous-window function? (defun switch-to-last-window () (interactive) (let ((win (get-mru-window t t t))) (unless win ...
0
votes
0answers
64 views

Using Emacs as a daemon (emacsclient) exhibiting weird behavior

Whenever I use Emacs as a daemon it seems like my init file isn't being fully loaded. My keybindings in particular are acting very odd. I use some unorthodox keybinds; for example: Ctrl+u = ...
0
votes
0answers
55 views

Disabling automatic line highlighting

Every time I open a new file in emacs, hl-line-mode is enabled. I have put (global-hl-line-mode -1) (hl-line-mode -1) in my init.el, but to no avail. What am I doing wrong???
1
vote
0answers
42 views

Why is cursor moving after a save?

When working with the same buffer in multiple windows within one frame, it seems like the location of the cursor in, say, window A gets inadvertently set as a marker such that right after the buffer ...
0
votes
1answer
39 views

How to fix reftex-toc numbering?

I have used reftex-toc for a while without problem, but a while back it started to show the wrong numbering in the toc-buffer. I don't think I have changed any settings. The latex-output is not ...
1
vote
0answers
25 views

Pinpointing an I-search Bug

I have a very annoying bug in my isearch behaviour; the buffer gets indented (modified) when I enter the first letter during isearch. I've checked all hooks named isearch.*hook but I can't find ...