Linked Questions

2 votes
1 answer
4k 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....
Evan Aad's user avatar
  • 1,551
2 votes
1 answer
1k 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-...
doctorate's user avatar
  • 1,829
0 votes
0 answers
1k 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 ...
stacko's user avatar
  • 1,597
3 votes
2 answers
315 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 ...
rph's user avatar
  • 335
2 votes
1 answer
663 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 ...
Tina Russell's user avatar
2 votes
1 answer
536 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 ...
vagoberto's user avatar
  • 131
2 votes
1 answer
339 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 ...
Rajesh J Advani's user avatar
1 vote
1 answer
286 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 ...
moyotar's user avatar
  • 76
1 vote
0 answers
351 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 = ...
John DeBord's user avatar
1 vote
1 answer
193 views

How to turn off R help document popup when using ESS?

When I input a function, the R help document pops up automatically. It's very annoying. How to turn it off?
Fangquan Shi's user avatar
1 vote
0 answers
318 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 ...
Arktik's user avatar
  • 972
1 vote
2 answers
214 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 ...
Dirk80's user avatar
  • 13
0 votes
0 answers
234 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 ...
Name's user avatar
  • 7,871
2 votes
0 answers
204 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 ...
mikemtnbikes's user avatar
1 vote
1 answer
96 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 ...
trmdttr's user avatar
  • 253

15 30 50 per page