All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

Building targets using cmake-ide

I switched to emacs as my C++ ide. I am using irony mode, company, rtags, and since all of my projects are using cmake, cmake-ide. I cant realy find something online on how the workflow works with ...
0
votes
1answer
108 views

tramp-mode popping up while editing c/c++ files

recently, some strange behaviour popped up when editing c/c++ files in emacs: Whenever I want to write a comment, the first / I enter will open a buffer of type *tramp/spc C* with error message ssh:...
0
votes
0answers
181 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
564 views

When MATLAB mode is installed opening an m file gives a file mode specification error

I have installed the matlab-mode-20160902.459 package from MELPA and whenever I open an m file (i.e., a file with the file extension .m which is the file extension of most MATLAB/GNU Octave scripts) I ...
0
votes
1answer
53 views

Prevent creation of ~ files

Emacs keeps pooping out random .extension~ files that are messing up my program. How do I prevent creation of these files?
0
votes
0answers
95 views

How to write a loop to remove all the items in menubar?

The menubar of the mac port emacs can not be disabled. I currently use (define-key global-map [menu-bar file] nil) (define-key global-map [menu-bar edit] nil) (define-key global-map [menu-bar ...
0
votes
1answer
309 views

Exporting a figure generated with org-babel and noweb reference syntax

Wanting to export a figure generated by matplotlib to LaTeX (as described here) I've encountered the following issue (which ultimately I was able to solve as described here). My source block has two ...
0
votes
1answer
133 views

Carbon Emacs ⌘-shortcuts in Mituharu-Emacs?

I've been using vanilla Emacs on OSX (via MacPorts or from emacsformacosx.com) pretty happily until a bug forced me to try a different version. I was recommended Mituharu's branch, and have been very ...
0
votes
1answer
55 views

What does refeer evil-mode ^ (carry)'s mark to ? (shown in :marks list)

I Think I have an idea, unless i want to be sure. According to vim.wikia.com, [ and ] marks in vim refers to beginning/end of previously changed or yanked text, but there is no built-in ^ mark. I ...
0
votes
0answers
95 views

any change in my init config delays emacs start by 90-150 seconds

weird issues. when i restart emacs it usually starts up pretty fast. BUT any small change i make to my config file makes emacs have a delay of 90-150 seconds each time. im using a org based config and ...
0
votes
0answers
44 views

How to investigate an emacs crash on linux [duplicate]

im not very technical and lately i have been getting random crashed the seem to kill emacs and even the emacs daemon. this is an example output from CLI Fatal error 11: Segmentation fault Backtrace: ...
0
votes
0answers
40 views

Org footnote mark prevents end of sentence from being recognized

I use a double spaces after full stops to seperate sentences, and this is respected by M-q. But with an org footnote mark after the full stop, the sentence limit is not recognized, and the space is ...
0
votes
0answers
174 views

font-family-list function still returning nil

I have a hard time with fonts. I downloaded the package intlfonts-1.2.1 from the FSF website, and after some configure, make and install I get the following directory where all fonts are installed : /...
0
votes
1answer
286 views

configuring and using ispell [duplicate]

I have been able to install Emacs 25.1 and AUCTeX 11.89.6 (this is the number that I have after installing it with MELPA directly from Emacs) that I am using on a Windows 7 machine. I am trying to ...
0
votes
0answers
34 views

Switch to help window and select and maximize it [duplicate]

How can I open a debug window and select it and make it fill the whole frame? I tried: (let ((help-window-select t)) (with-help-window "*Debug*" (dolist (item load-path) (print item))) ...
0
votes
0answers
198 views

how to mantain one current working directory for each window config in eyebrowse mode?

I'm using eyebrowse-mode and I want to mantain a separte current-working directory for each eyebrowse-window-config. I would like that window-config-1 had it's own current working directory, so that,...
0
votes
2answers
235 views

org-sparse-tree on multiple keywords

I currently have a keyboard shortcut bound to C-c t that shows me all of the NEXTACTION items I have, no matter what headline level they're at. It works by using a kbd macro wherein I just typed C-c / ...
0
votes
0answers
61 views

Translate TAB with C-q TAB [duplicate]

I'm an amateur in Emacs and I would like to change TAB with C-q TAB. I used the code: (define-key key-translation-map (kbd "TAB") (kbd"C-q TAB")) But by doing so, I need to press TAB twice in order ...
0
votes
1answer
183 views

modify tab length for eclim-java-format

So I'm trying to use eclim with spacemacs and I have this function called eclim-java-format which reformat the text as in eclipse. The problems is that it reformats tabs as tabs and not as space and ...
0
votes
0answers
186 views

Exporting LaTeX fracments - The right way!

I mess up my non edited question. Here is the right question In the previous version of the question I mixed two different things I was having problems with. I was trying to export a literate LaTeX ...
0
votes
1answer
961 views

Compilation exiting abnormally with code 1 only when inside Emacs + liking to pthread library

Only when I'm trying to compile + link to the pthread library, I'm getting this error from Emacs: -*- mode: compilation; default-directory: "~/GITHUB/kandr/" -*- Compilation started at Mon Nov 14 02:...
0
votes
1answer
823 views

How do I edit files on an SFTP server, connecting from Mac OS X?

At work I'm connecting to a server that only accepts SFTP connections. I can connect from the command line just fine. I'd like to use TRAMP or Ange-FTP or something similar from within Emacs, but I'...
0
votes
1answer
85 views

How to use 'glossaries' package in aquamacs, or I mean how could I run makeglossaries in aquatics

I find the instruction from enter link description here as given below \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{glossaries} \makeglossaries \newglossaryentry{latex} { ...
0
votes
0answers
135 views

Is it possible to keep window set up when connecting via emacsclient?

I love using Emacsserver and Emacsclient, as it saves all of my buffers so that if I log in via ssh and then log out, all of my buffers are saved. However, when I log into Emacsserver after quitting ...
0
votes
1answer
387 views

Coding issue with clang-format on Windows

After a recent Emacs update, the clang-format package started to misbehave under Windows. For instance, calling clang-format-buffer on a test.cpp file with the following content returns error: "(...
0
votes
0answers
54 views

comint-exec with very large argument list on windows

I wish to start a command that has a very large argument list (10s or 100s of thousand characters) with comint-exec but when I do this on Windows it fails to start. The only error is apply: Spawning ...
0
votes
1answer
102 views

different settings for ido-find-file and ido-switch-buffer

I like arbitrary substring matching for buffer completion but I want to disable it when completing file names or directories. The idea is to set ido-enable-prefix to t only when ido-find-file is ...
0
votes
1answer
595 views

Customize theme font color

I am using the distinguished theme. I want to set the main font color to something more dark, how could i do that?
0
votes
0answers
29 views

Show additional lines that are not part of the file

What I want is the opposite of code folding. Code folding looks like this: Unfolded: 1 * Top Level 2 ** Second Level 3 Info that belongs to Second Level 4 More Info that belongs to Second Level 5 ** ...
0
votes
0answers
100 views

open the shell buffer in the same frame as compilation buffer — C compilation

I'm regularly compiling some C programs and one thing is annoying : after I've compiled, I'm opening a shell with M-x shell ./foo, but the shell open in place of the source code's window. I would ...
0
votes
1answer
604 views

problem generating python plots

I am very new to emacs and I can't figure out why my plots doesn't appear, I have ein and elpy installed, my code runs but I just can't see the plot. I installed the packages in M-x list-packages. ...
0
votes
1answer
407 views

*** Eval error *** Invalid function:

Step 1 make-toggle-func returns a anonymous function ... (defun make-toggle-func (book-name repl-name code-file) `(function (lambda (x) (interactive) (setq book-name ,book-...
0
votes
3answers
213 views

run emacs function in the shell with parameter

Since there is parameter I need to use, so I will not use single quote as the question's answer First, I try emacsclient -q --eval (progn (find-file "ORG/${UN}.org") (org-latex-export-to-pdf)) ...
0
votes
1answer
136 views

Restrict available command options in AuCTeX

I'm using AuCTeX (v.11.89.6 with Emacs 25.1). I have no problems with it, just a small nuisance. Whenever I use TeX-insert-macro (C-c C-m) I get many options I never use. For instance, when I wish to ...
0
votes
1answer
23 views

Fonts appear in different color in buffer

When I write a big text exceeding the window bounds when starting Emacs the fonts appear in other color than the rest. If it makes any good to mention, when I disable font-lock mode text appears in ...
0
votes
1answer
248 views

Define key inside dolist

I am trying to avoid duplicating code and also trying to avoid introducing unnecessary global symbols. So I tried to use let, dolist and lambda when defining the same keys in two different keymaps: (...
0
votes
0answers
51 views

bug with web-mode and paredit

I have paredit configured to work on javascript files. I also have web-mode enabled It seems to cause a bug in certain situations. Here is a stack trace I got by trying to clear all the text in an ...
0
votes
0answers
167 views

Match regexp group

I am trying to modify org-wikinodes.el to match any org-mode headline (not just camelCase text. So I have replaced the default regular expression with: *\\s-\\(.+\\) This works. But in order to link ...
0
votes
1answer
146 views

Custom search function for dictionary lookup

I have a plain text dictionary in which each headword is matched by ^# \(† \)?headword, How can I make a custom search function that relieves me of typing the whole regex every time I want to look ...
0
votes
1answer
66 views

Emacs init file with yasnippets and magit submodule update error

I have cloned yasnippets repo repo in ~/.emacs.d/yasnippet-snippets. I would like to synchronize it each time I start Emacs (btw, it would be nice to do it only if there is a connection available), my ...
0
votes
0answers
17 views

C-C C-SPC not working in RHEL 6.7 GNOME 2.28.2 [duplicate]

The key C-SPC is not working in RHEL 6.7 GNOME 2.28.2. When I try C-h k and then hit C-SPC I see the following message on the mini-buffer: C-@ is undefined That is, SPC is mistaken for @.
0
votes
0answers
180 views

Automatic radio targets from org-mode headings

Is there a way to have org-mode headings automatically behave as radio targets? I would like to use org-mode as a private wiki... org-wikinodes is close. But I don't really want to deal with camelCase....
0
votes
0answers
45 views

Error when typing C-0 C-k in minibuffer

It is from yesterday that emacs behaves in an unexpected way, as I will now explain. If I open emacs and I open the minibuffer with C-x C-f and the I press M-0 C-k, emacs deletes the line, this is the ...
0
votes
1answer
240 views

org-ref completion of labels inside latex blocks

I recently started using org-mode to take academic notes, so I use LaTeX blocks (#+BEGIN_LaTeX) to insert LaTeX code using the special buffer that gives me code completion via AuCTeX. I also insert ...
0
votes
1answer
50 views

Fix redraw delay in table-mode

How can I eliminate the 200ms delay before text is redrawn in table-mode?
0
votes
1answer
791 views

spacemacs, problem with irony package when getting irony* from github as alternative location

I'm using spacemacs devel. I've added following private layer using M-x configuration-layer/create-layer (setq irony-packages '( company-irony company-irony-c-headers ...
0
votes
1answer
1k views

Autocomplete not working for JavaScript

So I can't get Auto-Complete to work for JavaScript. I've tried a variety of solutions but nothing seems to be working. Here is the relevant code snippet: ;; ;;adds js2-mode for javascript ...
0
votes
0answers
35 views

ssh to a remove host and use emacs in the ssh session, cursor always move to the beginning of the screen when save file

I have a VPS server and I always ssh to it and us emacs in the ssh session. I found that when I save a buffer the cursor always move to the beginning of the screen. How to disable this behavior? I don'...
0
votes
1answer
105 views

Org-mode: Recenter buffer to top when clicking on an org-agenda link

When right- or middle-clicking on a headline generated in the agenda, org will open a buffer with the file containing that headline. That headline will be centered in the buffer. How can I make it so ...
0
votes
1answer
63 views

car on cons gets nil

I define an alist like this: (setq major-mode-list '(((emacs-lisp-mode inferior-emacs-lisp-mode) . ("Elisp" "Emacs")) ((haskell-mode) . ("Haskell" "Haskell")) )) And match current major-...

15 30 50 per page
1
361 362
363
364 365
371