Linked Questions

3
votes
2answers
210 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
99 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 ...
2
votes
1answer
234 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 ...
2
votes
0answers
77 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 ...
2
votes
1answer
576 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-...
1
vote
1answer
2k 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....
1
vote
2answers
93 views

Overwrite global-set-key in major-mode

In my .emacs file I have bound the tab-key to a function called smart-tab. (global-set-key [(tab)] 'smart-tab) (defun smart-tab () "This smart tab is minibuffer compliant: it acts as usual in ...
1
vote
1answer
256 views

How to capture fields from bibtex by using org-ref

I want to use emacs org-mode to take notes of my bibliography. I am trying to capture some fields from a bibtex file and insert them into an org file with the org-ref-open-bibtex-notes. This is not ...
1
vote
1answer
277 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 ...
1
vote
1answer
182 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-function ...
1
vote
0answers
115 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 ...
1
vote
0answers
26 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 ...
0
votes
0answers
37 views

C-g doesn't work within Counsel's action menu (M-o)

Let's say I'm completing a file with counsel-find-file. I then press M-o to show the menu with available actions. If within that menu, I press C-g, I get the message "C-g is not bound". The ...
0
votes
0answers
54 views

A few org files are not displayed as org mode

When I open file with C-x C-f (counsel-find-file &optional INITIAL-INPUT) Most of the org files are opened as org-mode automatically, yet there are a few displayed as plain text as fundamental ...
0
votes
1answer
57 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 ...

15 30 50 per page