All Questions

6,191 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
214 views

CEDET semantic-complete-jump customization

When I search through project via semantic-complete-jump and tag is not unique (its defined in multiple places), I must hit <tab> to iterate through all possible places. Problem is, I horribly ...
dev1223's user avatar
  • 241
0 votes
0 answers
96 views

Bind M-[ and M-] when not in a terminal

What is the correct way to bind keys only for X frames? E.g. some key combinations are part of terminal escape sequences, but otherwise should be bindable when not running in a terminal. Currently, I ...
Vladimir Panteleev's user avatar
0 votes
0 answers
66 views

How can I get my target string point/marker without moving the pointer?

Lets say I have the following LaTeX code: \ref{AAA}, \ref{BBB} ... \ref{BBB,CCC,DDD} \begin{the bibliography}{99} \bibitem{AAA} \bibitem{BBB} and I want to write a function that does: (perform-...
Gabriele Nicolardi's user avatar
0 votes
0 answers
161 views

Human-readable time interval function for Elfeed

Is there some built-in or third-party function I can use for the following? The function (elfeed-entry-date entry) returns the timestamp for an RSS feed entry, e.g. 1518282912.0. I would like to ...
american-ninja-warrior's user avatar
0 votes
0 answers
477 views

Not able to load a color theme from 'init.el' or using 'M-x color-theme-select'

I am trying to get emacs(emacs24) to load with another colortheme (looking to have a 'dark' theme). In my init.el file I have the lines: (eval-after-load "color-theme" '(progn (color-theme-...
Vass's user avatar
  • 723
0 votes
0 answers
392 views

How to specify a color theme specifically for Latex editing (the buffers with .tex files)?

I am using Emacs and there are various 'themes', eg. link to examples, but they do not appear to be dedicated to Latex. Some have modes for Latex, but I am wondering if there are theme files that can ...
Vass's user avatar
  • 723
0 votes
0 answers
29 views

How narrow shell output?

Emacs 25.1. I start M-x shell. And run some process that generate text to output. How can I filter this output?
user8542613's user avatar
0 votes
0 answers
42 views

Ruby's array.sample() equivalent for lisp

I want to write a method that returns a random (predefined) face In ruby I would do, def random_face [ :my-face-01, :my-face-02, :my-face-03 ].sample(1).first end How can I do it in elisp?
american-ninja-warrior's user avatar
0 votes
0 answers
63 views

Running a single Emacs instance

I'd like to set in my dot-emacs a function to detect if an Emacs instance is already running, possibly exiting Emacs informing user. To do this I should query the OS for running processes. However (...
antonio's user avatar
  • 1,802
0 votes
0 answers
163 views

can I have swiper and counsel as "add-ons" and not the default binding

I like the powers that counsel/ivy/swiper gives me, specially for C-s and C-x C-f, but since installing it, I've started missing the vanilla emacs C-s and C-x C-f. It would be awesome if I can "call" ...
american-ninja-warrior's user avatar
0 votes
3 answers
2k views

where to put .el files on Windows10 for loading at startup

I'm using emacs as a bog-standard program in Windows, and also from the command line in cygwin. They both use the same installation of emacs. I just grabbed yaml-mode.el off the net but I can't ...
Adam's user avatar
  • 241
0 votes
0 answers
333 views

Equations in org-reveal presentation

I've installed reveal.js and org-reveal, and they are working as expected. Even, I'm getting the equations! However, the point with the equations is the following: If I introduce directly the LaTeX ...
Dox's user avatar
  • 985
0 votes
0 answers
288 views

how to make counsel-locate respect my cwd

Emacs has a concept of "current directory", shown by doing M-x pwd I can change to specific directory by doing M-x cd I recently installed swiper/counsel/ivy, to make searching easier. Since the ...
american-ninja-warrior's user avatar
0 votes
1 answer
909 views

Enter does nothing in NeoTree

I have NeoTree installed. When I navigate through folders and files in it and when I press enter, nothing happens. I don't get into a directory. I've tried TAB also -- nothing. M-x describe-key ...
Jorik's user avatar
  • 1
0 votes
0 answers
145 views

org-mode before load hook

Is there an org-mode hook that fires before org loads? I have some font-lock settings that require me to run org-reload for theme to stick. But I thought it might be cleaner if I could wrap these ...
Adam's user avatar
  • 1,897
0 votes
0 answers
277 views

why does emacs sometimes prepend asterisks to org mode headings

When I open this file in emacs https://raw.githubusercontent.com/limist/literate-programming-examples/master/01-clojure-literate-ants/literate-ants.org I see emacs is showing me ** lines as *** lines....
american-ninja-warrior's user avatar
0 votes
0 answers
41 views

How do you remove the last few characters from all lines in a txt file in spacemacs?

How do you remove the last few characters from all lines in a text file? Example: 23193 123252 1 1238 123 1 34356363 11238080123 1 Should become: 23193 123252 1238 123 34356363 11238080123 I'm ...
Logan S.'s user avatar
  • 181
0 votes
0 answers
131 views

shell-mode C-c C-c kill keybinding

With some regularity, I am using bash with M-x shell, and out of muscle memory I hit C-c C-c, with dramatic results: the comint prompt streams a long error message with a large number of escaped ...
Henry's user avatar
  • 203
0 votes
0 answers
113 views

What is this mini pop-up box and how do I get rid of it?

I don't know what combination of keys I pressed to bring up this mini-box, but it's annoying me. What is it and how do I get rid of it? EDIT: It pops up when I press C-S-u
John DeBord's user avatar
0 votes
1 answer
290 views

org-mode table editor behaves strangely

With cursor in row 2, col 3 | a | b | c | | 1 | 2 | 3 _| Pressing <TAB> creates a new row: | a | b | c | | 1 | 2 | 3 | | | | | Type more than one character and press tab. Vertical ...
Sydney Weidman's user avatar
0 votes
0 answers
103 views

ispell word M-$ goes into screen capture mode on MacOS

I am on Mac OS X El Capitan. Here is my version info. GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G31)) of 2017-12-03 Problem: Like most Emacs users on ...
Cousin Dupree's user avatar
0 votes
0 answers
121 views

Can't customize xah-fly-keys

I've read the documentation about customizing but I think my knowledge of Lisp is limiting things a bit. I want to bind a in command mode to move-beginning-of-line and QWERTY q (Dvorak) to move-end-of-...
João Pedro's user avatar
0 votes
0 answers
290 views

How do you properly bounce emacs installed via home-brew on macOS

I just added a snippet to my ~/prelude/personal/personal.el Time to activate it. In the past I've found that brew services restart emacs doesn't work out. So, While inside the emacsclient, if I do M-...
american-ninja-warrior's user avatar
0 votes
0 answers
75 views

Cannot access gnu.org from macOS

I am using a MacBookPro with macOS High Sierra 10.13.2 using Chrome as a browser. I cannot access elpa.gnu.org or www.gnu.org. As a result my emacs installation does not work anymore.
sbac's user avatar
  • 419
0 votes
0 answers
68 views

Unable to run browse-kill-ring

After installing the browse-kill-ring package under Emacs 24.5.1, I get the following error when running the browse-kill-ring command: font-lock-set-defaults: Wrong type argument: symbolp, (font-...
AlwaysLearning's user avatar
0 votes
0 answers
93 views

helm-show-kill-ring disregards the selection

When I select entries (with C-<SPACE>) in helm-show-kill-ring and press either Enter or F1, it disregards the selection and yanks the entry currently under cursor. Why would this be the case and ...
AlwaysLearning's user avatar
0 votes
1 answer
138 views

Best way to test output sent to a buffer

I'm writing an emacs package for Pipenv and the spike solution uses sync shell calls, which is not desirable for general usage. I'm now changing calls to be async (make-process) and for output to go ...
pwalsh's user avatar
  • 245
0 votes
0 answers
155 views

C-M-% not works in MacOS terminal

I'm fresh to emacs and following manual to practice Query-Replace operation. But I find it not work at all. Type C-h l where it shows ESC 5 seems my OS swallow some key input or emacs parse input ...
LoranceChen's user avatar
0 votes
0 answers
47 views

Dired dead long - GUI Emacs Windows

As suggested in the title, I use a GUI version of Emacs (25.3) on Windows. To be precise : Emacs 25.3.1 X86_64-w64-mingw32 Things were working perfectly but for a few days, some actions related to ...
loukios's user avatar
  • 815
0 votes
0 answers
131 views

multi-term: after ssh to a remote server, the prompt messed up

The expected prompt is /home/oracle, but it's something like \342\236\234. What need to do to get it show the right folder name?
Daniel Wu's user avatar
  • 1,751
0 votes
0 answers
184 views

Prettify string, find by regex

I want to replace the regular expression `.*` by bolding .* and not displaying the backticks. So I want `elem` to become elem I looked into these questions about how to prettify strings rather than ...
lo tolmencre's user avatar
0 votes
0 answers
93 views

Detect variable use in an elisp function at run time

I try to understand a piece of elisp source code, with many nested and conditional functions calls, and I would like to know if a particular variable is used (and, if so, where in the code) at run ...
Lgen's user avatar
  • 1,410
0 votes
0 answers
418 views

No Match on elpy

I am trying to install elpy. I added the lines (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") ) (package-initialize) (elpy-...
J126's user avatar
  • 103
0 votes
0 answers
107 views

Turn off prelude intellisense

In emacs prelude ruby mode, how I tell emacs to not do intellisense dropdown suggestions? It breaks my flow. Because I have to press an additional key to break out of that menu. What I tried: google ...
american-ninja-warrior's user avatar
0 votes
0 answers
495 views

how to use multiple emacs distributions?

I'd like to use multiple emacs distributions e.g. spacemacs, prelude, starter-kit and my personal config for demonstration purposes. What would be some recommended ways to realize this?
user430's user avatar
  • 333
0 votes
0 answers
33 views

Call a function every time a specific piece of text is inserted

I'm wondering whether there is an already existing mechanism of executing a function every time a specific piece of text is inserted. For example, I would like to call company-bibtex whenever I enter ...
DeX3's user avatar
  • 273
0 votes
0 answers
335 views

term without line numbers and highlight for current line

I have the following settings in ~/.emacs: (setq linum-relative-current-symbol "") (linum-mode) (linum-relative-global-mode) (global-hl-line-mode t) In order to supress both these features in ...
deshmukh's user avatar
  • 1,912
0 votes
0 answers
518 views

Custom functions in emacs?

I'm finding I run C-x C-f and then: /ssh:$user@$host|sudo:$host:/ Where $host is a device IP. I'm relatively new to emacs, I want to create a custom function that accepts values for $host and $user....
Philip Kirkbride's user avatar
0 votes
0 answers
80 views

mirror/auto populate a section of text in another location in the same buffer/other file

Im looking for a way to to mirror/auto populate a section of text in another location in the same buffer and/or other file. for example, i manage my config files in org mode for multiple machines. i ...
zeltak's user avatar
  • 1,715
0 votes
0 answers
77 views

Extract phone numbers from multiple org files

I create one folder per person for my patients. For every visit a new org file is created in a folder with date stamp.org as file name. The org file contains name and phone number of the person in ...
Vaibhav's user avatar
  • 573
0 votes
0 answers
185 views

Emacs and JSlint

Is there a way to make Emacs flycheck run JSlint (not flymake, not JShint, and not eslint) on the current file?
yPhil's user avatar
  • 973
0 votes
0 answers
65 views

How to define a custom code style for C/C++ to be shared with others?

I have my own code style setup in my init.el file, but would like to publish it for other developers to use. Is there a good template to use so projects can share their C/C++ code style between ...
ideasman42's user avatar
  • 8,726
0 votes
0 answers
513 views

org-edit-src-code in a specific window

I am currently using org-mode to edit code blocks for presentations and blog posts. Currently I have a frame set up with one large window pane on the left, and two smaller panes on the right. The ...
Bryce Frank's user avatar
0 votes
0 answers
39 views

Recording a keyboard macro with actual character strings

I could not better word the question. So, I have finalized a few M-x commands I want to execute on a buffer. I have also tried and tested a few regexps using C-M-% for search and replace. Now, I ...
deshmukh's user avatar
  • 1,912
0 votes
0 answers
753 views

How to scroll down/up by one full screen?

Is there a way to scroll down/up by one full screen? My keyboard doesn't have special purpose keys for this function. In other words, is there a single command that is equivalent to the following ...
Evan Aad's user avatar
  • 1,521
0 votes
0 answers
63 views

How to make compile function obey my .bashrc when compile is called by some library?

In my ~/.bashrc I've got some changes, the most important one being the change to $PATH. One of the commands I'm using runs through the compile function, but it fails - bash can't find the binary. ...
MatthewRock's user avatar
  • 1,473
0 votes
0 answers
1k views

Use pylint3 for checking Python 3 code using flycheck

By default, flycheck uses pylint for checking python code. However, the pylint program on Debian/Ubuntu is for checking Python 2, not Python3 (there is instead pylint3 for Python3). How do I ...
Flux's user avatar
  • 603
0 votes
0 answers
54 views

C-d in java-mode not being overwritten by .emacs file

So I have a custom .emacs file that I have a series of key strokes bound to. The specific key stroke that I'm speaking of is C-d which I have bound to left-word via the line (global-set-key (kbd "C-d"...
Michael's user avatar
  • 163
0 votes
0 answers
119 views

Problem with accented greek vowels

I cannot type a Greek accented vowel in emacs. In Xorg, I use the el keyboard layout and in other applications (e.g. Firefox) the normal way to type an accented vowel (e.g. ά) is, first the colon ...
engineerX's user avatar
  • 123
0 votes
0 answers
375 views

Emacs hung with Error running timer 'blink-cursor-start'

I just installed a fresh Ubuntu 17.10 on a Dell XPS 15, and then installed Emacs from the repos with apt-get in the normal way. The moment I start Emacs, I get the error message Error running timer '...
Peter Flynn's user avatar

15 30 50 per page
1
115 116
117
118 119
124