All Questions

Filter by
Sorted by
Tagged with
2
votes
2answers
14 views

Sending `C-c C-c` to the process window without swithcing to it

In ESS mode, I sometimes send some code to the process buffer and want to cancel it using C-c C-c. Can I do this without actually switching to the process window from the script window?
0
votes
0answers
7 views

mu4e with two contexts: no matching messages found, wrong type argument

I'm trying to set up mu4e with mbsync and two gmail accounts. The structure of my Maildir is as follows: ~/.mail |--> school_address |--> INBOX |--> Sent |--> Drafts |--> ...
0
votes
0answers
2 views

Highlighting the currently active org-Babel block

I want to do something similar to hl-line-mode but not sure if it has been implemented already and how it can be implemented. The goal would be to set two color schemes for the #+begin and #+end ...
0
votes
0answers
7 views

Orgmode Export - Two Filenames

We can export a tree (C-c C-e) to a specific folder and with a specific filename by using the drawer option: :EXPORT_FILE_NAME: /path/to/folder/filename Question: Is it possible to export the file ...
0
votes
0answers
16 views

How can I setup Emacs in a full-fledged IDE?

I'm using Emacs and I'm trying to set it up to get IDE features for mainstream programming languages. I mainly need some "project management features" (browse the files or a project, access to ...
1
vote
1answer
7 views

How can I make emacs respect “completion-ignored-extensions” when I hit TAB in the “Find File” buffer?

When I hit C-x C-f to open the "Find file" thing, I can hit TAB to open up a buffer called *Completions* that lists the possible filenames with the given prefix. Sometimes I have a bunch of backup ...
0
votes
1answer
2 views

ibuffer not displaying “*mu4e-main*” buffer

Upon opening mu4e, I expect the *mu4e-main* buffer to appear in the list generated by M-x ibuffer. However, even after typing / /, i.e., M-x ibuffer-filter-disable, the *mu4e-main* buffer is not in ...
0
votes
0answers
6 views

Emacs Is Auto-Escaping Periods From The Command Line

I'm attempting to run the profile-dotemacs.el script from the command line using Powershell on Windows. Here's what I'm trying to run emacs -Q -l C:\users\tom\Downloads\profile-dotemacs.el --eval "(...
0
votes
0answers
5 views

How do you fix a large list of unknown files in Ebrowse?

I'm trying to use the emacs Ebrowse tool. The issue I'm having is a great majority of the C++ files, from my BROWSE file, are showing up as (unknown) file type, resulting in me being unable to open ...
0
votes
1answer
11 views

Show @ symbol in different color in clojure mode

I want to show @ symbols (meaning dereference) in red in clojure-mode. How do I do that?
0
votes
1answer
7 views

How to set value vc-git-grep-template within function

I have a working sexp for configuration vc-git-grep: (setq vc-git-grep-template "git --no-pager grep -n -i -e <R> -- <F>") Then in dired-mode I evaluate M-x vc-git-grep and everething ...
0
votes
2answers
12 views

Symbol's function definition is void: rtags-enable-standard-keybinding

I have just started using emacs and I wanted to setup RTags. Looking at the Usage section int the github repo here, I added the following line to my config (rtags-enable-standard-keybindings c-mode-...
0
votes
0answers
13 views

setting left margin to particular buffer

I have buffer called *mydashboard* which is simply an org file. I want to set the left margin of this buffer to 20 chars. I am planning to use this as my dashboard where I can pin my links to other ...
1
vote
1answer
22 views

Is there a way to delete or clear a register?

For example, if I have too many registers and would like to get rid of some of them, is there a way to do that? I realize that quitting the emacs session will clear all registers, but is there a way ...
0
votes
0answers
6 views

How to debug lsp-mode “lsp-request: method not found”?

I've setup lsp-mode and clangd, and put the compile-commands.json in the projects root. I can tell compile-commands.json because my cflags are included in the Updating file output of *clangd::stderr* ...
3
votes
1answer
36 views

Octal character representation in keyboard macros

I generated a macro as a help for generating indices for words I have marked before. Now this macro looks as follows (fset 'index "\367\\index{\C-y") What does \367stand for and where can I look ...
1
vote
0answers
5 views

Implicitly excluding certain directories in mu4e queries

Is there an option to exclude certain directories from a mu4e search without stating this explicitly in the search string? For example, could I have date:today exclude /archive so long as the ...
1
vote
0answers
8 views

Handling mailto links with mu4e

How do I get mu4e to handle xdg-open mailto:foo@bar? I couldn't even find a function taking an address as an argument that will open a composition buffer.
0
votes
1answer
14 views

How to call ivy-occur programmatically?

I would like to programmatically call an ivy or counsel function and then immediately execute ivy-occur to get the ivy-occur buffer. Example: Instead of doing M-x counsel-describe-function and C-c C-...
0
votes
0answers
30 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 ...
0
votes
0answers
12 views

How to change the value of timeout for key sequences?

I have a key sequence for M-<SPC>: (global-set-key (kbd "M-<SPC> a") 'foobar) I would like to increase the timeout between keystrokes M and <SPC> for building M-<SPC>. How ...
0
votes
1answer
62 views

Missing tabs on Emacs

I have been using Emacs for one week, so all of it is really new for me. I saw that there are two types of commands in order to navigate in emacs : - Some "tabs" on the top - Commands like shortcuts ...
0
votes
0answers
6 views

How to projectile-find-file search in git ignored folder

I have a Symfony project (PHP language). Usually, I ignore folder vendor because it is kind of a library folder, and will be pulled by composer install. The problem is: sometimes, I want to search for ...
0
votes
1answer
33 views

org-mode search in headline gives a three dots line

certainly something I misunderstand, but I cannot find an answer. When I search in an org-mode file (with C-s) and find a result in a headline, if I press TAB to expand the headline where I found ...
2
votes
1answer
47 views

How to change line-number gutter width using display-line-numbers mode?

I am using (global-display-line-numbers-mode 1) in my init.el file and everything is working as expected. The only problem is that I find the gutter width to be too wide and would prefer it to match ...
0
votes
0answers
14 views

TeX-view replaces current buffer

I am encountering an issue since I switched to dev-branch: when I run the TeX-view command with only one active buffer (my .tex file), instead of opening a new side-window and displaying the PDF there,...
0
votes
0answers
9 views

shell code block in win10

I wish to run shell code in org sh code block as below: #+BEGIN_SRC sh :results output dir c:\ #+END_SRC #+RESULTS: : c:\>More? The output is not as expected! BTW, I have add below line in my ....
0
votes
1answer
9 views

How to display js2-mode warnings

I am running Emacs 26.1 on Ubuntu 16.4. I am writing Javascript using js2-mode. When the linter underlines a line of code, I want to know what error or warning it has detected. For example, in this ...
1
vote
0answers
43 views

How can I split LaTeX inline math from preceeding or following sticked words?

I have this LaTeX code: Lorem $math$ ipsum $math$dolor sit consecteruer adipscing elit, sed do eiusmod tempor incidunt ut labore et dolore magna aliqua. $math$Ut $math$ enim ad minim veniam$math$, ...
2
votes
1answer
274 views

How do I have tables side by side?

I'd like to have small tables being shown side by side instead of one under the other, when I export to PDF. Is there an easy way to do that ? Like a break between tables ?
0
votes
1answer
27 views

Elisp review, guidance and help [on hold]

I'm new at customizing Emacs, and I need guidance and help on a little something I'm trying to achieve. The plan is to have the possibility to enter in a custom "writting mode" from any org file. If I ...
1
vote
1answer
14 views

Iterate with both value and index

I want to iterate over a list with both the index and the value in the loop. Currently, the code looks like this: (let ((my-list '(a b c))) (cl-loop for index below (length my-list) for ...
0
votes
0answers
17 views

emacs c++ gud cannot skip non existing file, making it unusable

I have this file: #include <string> using namespace std; string remove(string s) { return s; } int main() { string s1 = "aaaa"; string s2 = remove(s1); return 0; } g++9 ...
0
votes
1answer
17 views

Org #+INCLUDE: turning what I want to be a 2nd level header into a 1st level header

Test case: a.org * This is a big section I have some content here ** And a second level section And more content here *** And a third level section And more content here b.org ** I ...
2
votes
1answer
40 views

How can I reliably create latex classes in org mode?

I'm trying to modify my .emacs to create my own classes, I tried this article and using org-latex rather than ox. I also tried this different approach. I tried enclosing the above classes with ...
1
vote
1answer
50 views

How can I tell when non-interactive bash process is done executing a command?

I'm trying to write a different shell command line interface where the input line stays at the top. Output of previous commands should stack below: > INPUT LINE LAST OUTPUT (of command 1) ...
0
votes
0answers
9 views

How do I get rtags to work in spacemacs?

On a recent pull of both rtags and spacemacs, but I can't seem to get rtags to work well. There is no keybindings for jumping/searching to/for symbols and the definitions either. I've seen a couple ...
1
vote
1answer
17 views

Improving org-block-begin-line, splitting in several faces

The face org-block-begin-line allows to customize the first line of the following block #+BEGIN_SRC lang :var arg1=1 arg2=2 ... #+END_SRC However, I would like to customize the faces within the line,...
0
votes
0answers
33 views

How can I disable a function when another function is triggered? [on hold]

How can I disable counsel-find-file during dired-do-copy and copy-file.
2
votes
3answers
32 views

Disable tex-mode's auto tex-insert-quote functionaliy

So basically, for reasons unknown we don't use regular LaTeX style quotes at my company, instead just using regular double quotes. However, tex-mode in emacs automatically substitutes the " key for ``'...
0
votes
1answer
14 views

org-publish-project fails because of defective org-links - repair links automatically or ignore them?

I'm trying to "quickly" export my notes ans tasks from org-mode to a html-page with org-publish-projects. I had a working setup some years ago and I'm trying to reactivate it, but doing the export ...
4
votes
3answers
71 views

idiomatic way to lexically scope variables in a cl-loop body

Here is some asynchronous code in a cl-loop: ;;; foo.el --- -*- lexical-binding: t; -*- (let ((my-list '(a b c))) (cl-loop for index below (length my-list) ...
0
votes
0answers
26 views

Emacs shell slow compile

So I've been searching around for this particular problem and apparently I found no solutions. There are posts on reddit about this: https://www.reddit.com/r/emacs/comments/3scsak/...
1
vote
0answers
28 views

Emacs not responding to keyboard input

Sometimes Emacs stops responding to keyboard input. It responds to mouse input though. If I do killall -s SIGUSR2 emacs, the debugger shows this (but remains unresponsive to keyboard): Debugger ...
0
votes
0answers
15 views

Smartparens slurping across fluent call chains in php-mode

I have not been able to find a solution to this frustrating problem. Here is the situation and my questions are at the end: Given code that looks similar to this: $this->hello()->wootFluent()-&...
0
votes
1answer
19 views

dired-do-copy in tramp does not go to local when `\ C-j` is pressed. File path stays in the same directory

I am using dired-do-copy to copy a file from remote using tramp to local. When Copy file to path is promted. I used / C-j to go to local path but the path stays in the same directory , does not go to ...
2
votes
1answer
35 views

Prettify `-lambda`

I have ("lambda" . 955) in my prettify-symbols-alist for Emacs Lisp to transform lambda to λ. I would like to do something similar for -lambda from dash.el. I have tried adding ("-lambda" . (?- (Br . ...
0
votes
1answer
8 views

How to navigate through bookmarked directories in helm-find-files?

I have some bookmarked directories (regular Emacs bookmarks). I'd like helm-find-files to quickly navigate to the files in these directories. I've tried helm-bookmarks but it will only open the ...
0
votes
0answers
20 views

C-x C-f causes python shell to start in python-mode

I normally use C-x C-f to counsel-find-file by every time I try using it in python-mode, it starts up the Python Shell in a buffer. I've tried investigating whether there is a hotkey conflict using "C-...
0
votes
0answers
28 views

emacs ivy always selecting default function

I just started trying out ivy. I took the following example from the ivy tutorial: (defun my-action-1 (x) (message "action-1: %s" x)) (defun my-action-2 (x) (message "action-2: %s" x)) (defun ...

15 30 50 per page