All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 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
5 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
13 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
5 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
20 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
5 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
10 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
20 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
11 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
53 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
5 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
24 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
35 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
7 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
8 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
33 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
259 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
13 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
15 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
15 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
37 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
8 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
15 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
31 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
13 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
69 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
26 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 ...
0
votes
0answers
5 views

How to get the file_name of the file being generated by org-publish?

How to get the file_name of the file being generated by org-publish? Specifically, org-publish-project-alist would specify "file_name" something like this: (setq org-publish-project-alist `( ("...
0
votes
0answers
27 views

'Finish to start' todo dependency

org-edna (Extensible Dependencies ’N’ Actions for org-mode tasks) is great! The default blocker (:BLOCKER: property) sets condition(s) for preventing a todo status (org-not-done-keywords) becoming ...
0
votes
0answers
13 views

Shift key does not fully work in Juypter Notebook's terminal

The Shift key sometimes does not seem to work in emacs, when emacs is launched in Jupyter Notebook's terminal (in non-window mode). Other meta keys such as Ctrl and Alt on a PC keyboard work as usual. ...
1
vote
1answer
24 views

How to bind a key in a `generic` mode?

Is there a way to bind a key in a mode defined using define-generic-mode such as xmodmap-generic-mode? Generic does not appear to create keymaps. ELISP> (require 'generic-x) generic-x ELISP> (...
6
votes
3answers
261 views

Is there a way to make the “o” keypress of other-window <C-x><C-o> repeatable?

Question is as stated in the title. Instead of using various packages for switching windows, it might be simpler to make <C-x><C-o> behave like <C-x><C-+>, such that repeated ...
0
votes
0answers
40 views

Agenda-view hiding tabbar

I am currently using Aquamacs 3.4, Emacs 25.3.50.1, and Org mode 9.2.5 and I typically have my frame split vertically into 2 windows. Each window carries 2+ different buffers whose names are in the ...
0
votes
1answer
15 views

Control depth level of table of contents with org-mode and beamer

I have the following in my org-mode file that I am exporting to beamer on the basis of this simple template: * Introduction * More ** etc * Still more ** Some a ** Some b ** Some c However, my TOC ...
0
votes
0answers
7 views

Emphasis in org-mode for beamer not translating the `@` correctly

I'm looking at documentation here about a very @important@ point. I understand using @at@ renders strong. However, while my org-mode -> beamer -> PDF otherwise seems to work, @ is rendering as a ...
0
votes
2answers
45 views

Org-mode tasks without many asterisks

How can I introduce hierarchical sections in org-mode without requiring the tasks within those sections to have a large number of asterisks? To context is that I'm looking for a standardized ...
0
votes
0answers
8 views

org-tags-view: display “path” of all headings HOWTO

file.org: * emacs ** programming language :lisp: text how to make org-tags-view for lisp tag display line: file.org: emacs/programning language :lisp: instead of: file.org: ...
0
votes
1answer
10 views

How to efficiently include a repository relative path in the mode-line?

Currently in the mode-line the filename %f, is absolute. I would like to have the path relative to the version-control root, without having to find this every redraw. How could this be cached, ...

15 30 50 per page