All Questions

0
votes
0answers
2 views

AucTeX multiple files parsing not working

I have not been using LaTeX for quite some while, so I might be missing something obvious. I have a multiple file document and want to make AUCTeX aware of the master file. The minimal example looks ...
0
votes
0answers
3 views

Indentation broken with all \input{files.tex}

Everything is in the title : a master.tex file contains several \input{subfileXX.tex} ; the indentation works in the master file but not in the subfiles. The TAB key acts like in LibreOffice.
0
votes
0answers
3 views

How to set mail-user-agent to mu4e-user-agent

Pressing , m in an org buffer does org-mime-org-buffer-htmlize and opens the htmlized message in message-mode but I want it in mu4e-compose-mode. How can I have this message opened in mu4e in order ...
1
vote
0answers
32 views

regexp: capture text to end of paragraph?

I want to search using regexp to capture plain text within quotation marks. There are two types. I succeeded with the first one, but need help with the second. I'll include both here. In the first ...
0
votes
0answers
13 views

How to auto-complete links to headlines in org-mode?

Given an example.org file having two headlines, I would like to auto-complete links to 1headlines. However hitting M-\ on [[* suggests *bold* words but not headlines. Any ideas what I'm 2missing? * ...
1
vote
1answer
31 views

Unable to run applescript from emacs-lisp

I have the following code block, which I am trying to execute from org-babel: #+BEGIN_SRC emacs-lisp (let ((h (nth 5 (org-heading-components)))) (do-applescript (format "tell application \"...
1
vote
2answers
39 views

Invalid read syntax “#”

I'm having trouble using: (add-hook ’before-save-hook #’gofmt-before-save) This is supposed to format the go code before saving. The error I get is: Debugger entered--Lisp error: (invalid-read-...
1
vote
2answers
97 views

In org-mode, how to export sparse tree in buffer without unmatched top-level headings

I'm using sparse trees to find tasks I need to work on in my buffer. The matching headlines are shown, without siblings but with their parents. For example, imagine I have the following tree: * A ** ...
3
votes
2answers
183 views

should I gitignore my elpa/gnupg directory?

I keep ~/.emacs.d/ under version control with git. I used to gitignore the elpa/ directory, but recently started including it in case I ever want to rollback a package upgrade. I just noticed an ...
1
vote
0answers
22 views

Emacs evil-mode C-c/C-x to “cc”/“cx”. ( key translation)

I read in evil wiki that I can change prefix keys such as C-c or C-x and so on to cc, cx, but I'm not experienced in Elisp and I tried a lot of variants but I can only define c as C-c but not a cc to ...
1
vote
0answers
19 views

Associate a buffer with a process

I am using Python with elpy. I am trying to use a Python shell opened on the remote computer using a shell buffer. I can cheat elpy by renaming the shell buffer with Python running in it to *Python*. ...
2
votes
1answer
31 views

Emacs think there is an accented character in the keystroke

Version GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-31 Use emacs -Q with following config: (setq mac-command-modifier 'super) (...
0
votes
1answer
19 views

Minibuffer text alignment problem

The text that is displayed in my mini buffer is misaligned, like this https://imgur.com/a/htfRVI3 Specially all the columns are garbled, like its trying to wrap text? How can I make it so that they ...
0
votes
1answer
35 views

Filter for tags in plain org

I am sure this is a trivial question, but I just started out and honestly can't solve it. I have a plain org file. Where I created a couple of headlines, which I tagged. How do I list all headlines ...
5
votes
1answer
115 views

See total number of entries in Global TODO list

Would it be possible to list the total number of entries in a global todo agenda view? I would like to have a quick way to estimate progress daily. So instead of: Global list of TODO items of type: ...
0
votes
2answers
370 views

Is it possible to do helm-org-in-buffer-heading with matching of inherited tags?

I like being able to filter by tag and I like to use helm-org-in-buffer-heading helm/ worf-goto worf. Is it possible to combine them? I.e, with Worf-goto I can search headings and their tags, but it ...
6
votes
1answer
36 views

How to alphabetize strings with diacritics?

Q: how do I alphabetize strings with diacritics? Problem I have a long list of author names, some of whom have letters with diacritics in their names (e.g., "á" or "é"). I want to sort this list ...
2
votes
2answers
17 views

suppress command echoes from menu-bar items

When selecting items from the menu-bar, then the echo area echoes the selected menu item. Test this by selecting menu-bar -> file -> new window below, when you clicked this menu-bar item, then ...
1
vote
1answer
33 views

Changing input method in term mode

If I try to change input method in emacs and send to some text. buffer is read only message is shown in minibuffer. How can I use other input method in emacs term mode? I'm using emacs multi-term.
0
votes
0answers
15 views

Calling a fuction after org capturing

Is there a way to call a certain function after a certain org-capture template has been run (successfully, ie. not aborted)?
5
votes
1answer
108 views

How do I delete all blank lines in a buffer? [duplicate]

Emacs 26.1 In buffer 1 2 3 4 I use command "delete-blank-lines". But it NOT delete ALL BLANK LINES. It's delete ONLY ONE BLANK LINE. Why? I need to delete ALL BLANK LINES. The result must be ...
0
votes
0answers
9 views

Using org-mode clock-report, how can I add a total row + cell with a formula that is automatically updated upon dblock update?

I am having trouble with using the formulas to create a cell that totals a column. Is it possible to dynamically add a line and a total cell to the bottom of clock report tables? because when I add a ...
8
votes
4answers
902 views

How can I run a keyboard macro in selected buffers from Ibuffer or selected files from dired?

If I have to do some variable name refactoring, I use ag and multiple-cursors. But when I have to do some code block removal/addition/moving, I use keyboard macros. But I need to switch to each ...
11
votes
5answers
921 views

Simple method for creating multiple eww buffers

M-x eww prompts for url or keywords and opens a new *eww* buffer. In eww-mode, G is bound to eww, which replaces the content of the single eww buffer. To make multiple buffers for different webpages,...
0
votes
1answer
28 views

Sometimes Emacs gets stuck with non-working capslock key

I'm using Emacs 26.1 on Windows 10. Sometimes, the capslock key stops working: The key is activated but typing letters does not result in capital letters being inserted into a buffer. It works with ...
0
votes
2answers
24 views

Matching two columns in a table

I deal with a two column table where I have to match data from two sources. The first column contains names of persons for whom, service is provided. The second, persons who are billed. My job is to ...
0
votes
1answer
21 views

`create-image` works with file-location input but fails with string-of-bytes input

Am wondering if anyone can tell me what I'm doing wrong. Basically the commented out code fails.. thanks (let* ((img-file "/tmp/x.png") (img-str (with-temp-buffer (insert-file-contents img-...
0
votes
0answers
12 views

Customize dictionary for helm-dabbrev or dabbrev

I have a list of tag strings used in my org files. I would like to use helm-dabbrev or dabbrev (or some functions support dictionary) to tab-complete my tag strings. Can I customize the dictionary (...
3
votes
1answer
32 views

How can I export an Org subtree to HTML from the command line?

I have a list of links that I store in a subtree in an org file. Is there a way to export this to an HTML file using the command line? I figure it's something like emacsclient --eval ... with an elisp ...
1
vote
2answers
46 views

grouping tasks in org-agenda

Is there a way to show the tasks in the agenda list grouped by category? I mean in the task list view (when pressing C-c a t) rather than the week-agenda.
0
votes
0answers
19 views

Help debugging: org-mode hangs on agenda tag search

I'm still pretty new to emacs and org mode, and I would really appreciate some help debugging a weird issue I'm having. When I try to do an agenda search by tag (C-c C-a m [some tag]), emacs just ...
0
votes
0answers
17 views

When gdb debugging, can local window in emacs show c++ object's value correctly?

Suppose I've this code: #include "map" #include "string" using namespace std; int main () { map<string, string> m = {{"1", "2"}}; return 0; } If I set BP at "return 0" and when it's ...
0
votes
1answer
45 views

Line numbers break scroll margin

I'm trying to set a scroll margin to emacs with the scroll-margin variable, but I've noticed that when you do that and you have display-line-numbers-mode enabled, the scrolling doesn't work properly ...
2
votes
1answer
126 views

Merge org tables

Let's say I have the following org-tables: | col1 | col2 | | 1 | 2 | | col3 | | 3 | What's the easiest programmatic way to get the following output: | col1 | col2 | col3 | | 1 | 2 | ...
0
votes
1answer
26 views

Highlight some specific text in Emacs

I am using web-mode for my php files: http://web-mode.org/ And I call often a php function which looks like this: __lg('Some text here', 'Global', NULL, FALSE); This function can be call with only ...
0
votes
0answers
61 views

Pedals needed for emacs - left for Control, right for Meta [on hold]

I'm now on the third attempt I've made over the years to use emacs. This is driven by now programming in lisp so this time I'm serious. I really want to use this editor. However, in my case, I am ...
0
votes
0answers
7 views

ESS installation does not initialize flymake

I install ESS following these directions, adding these to ~/.emacs: (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/")) (add-to-...
0
votes
1answer
29 views

matlab-shell, changed files' location (changed files' directory)

I've been used mablab-mode & shell in GNU emacs, and changed some of files' location, then these warnings came out every time. There's no sort of setting location. Does anyone know this problem? ...
0
votes
1answer
14 views

How to clang-format the current buffer on save?

Whats the best way to clang-format a C/C++/GLSL a buffer on save, that does nothing in the case there is no clang-format file found for a project?
1
vote
1answer
291 views

How do I silently write to a temporary file?

I made a modification in org-pomodoro to send the mode line to a pipe which I use in xmobar, but it keeps spamming my *Messages* buffer, thus making the line which displays it almost useless. (write-...
0
votes
0answers
9 views

Can not keep keybindings

How can I keep key-bindings in all modes? Following bindings are initially working though overwritten by another major mode e.g. org (defun dotspacemacs/user-config () (exwm-input-set-key (kbd "M-h")...
2
votes
3answers
45 views

How to maximize my Emacs height on start-up?

emacs -fh would start emacs in window mode using full height available from the desktop environment. I'm tired of typing this -fh every time yet there doesn't seem to exist a command that does the ...
1
vote
1answer
15 views

How to change font size only for the buffer *Org Export Dispatcher*?

I'm using emacs with a large font, however I do not need the font to be too large on certain buffers and/or modes. For example, when I use neotree I use a different font and a smaller size, I do that ...
2
votes
1answer
82 views

Highlight missing double-space between sentences?

For a while, I've been using sentence-end-double-space: nil. Now I want to get back into the habit of using two spaces to separate sentences. It is the convention for GNU documentation, and it ...
2
votes
1answer
26 views

Multiple transient (and colorful) mark-modes

When reading a book it's nice to have a marker to highlight some phrases. When re-reading my own code, I often would like to highlight several regions ("here is the set-up", "here is the conclusion", ...
0
votes
1answer
15 views

Adding speedbar support for a language major mode?

It appears to me that go-mode and speedbar are not working together - the .go files do not appear in the file list. https://github.com/dominikh/go-mode.el/issues/270 is a bug on go-mode which ...
0
votes
0answers
23 views

elisp: create window layout with specific cycling order

I'd like to create a window layout like so: -----------|-------------- a | b -----------|-------------- d | c -----------|-------------- This is so that I can cycle from a ->...
1
vote
0answers
29 views

Can not refer to RESULTS in org-babel

I need to plot data evaluated in org-mode. Referring to #+RESULTS: returns org-babel-ref-resolve: Reference ‘myResult’ not found in this buffer whereas referring to #+tblname: works. #+RESULTS: ...
0
votes
0answers
66 views

How to get Emacs use the Ubuntu login password for tramp

Ubuntu 16.04 Emacs 26.1 Emacs needs to open the file with root privileges. Here is my code: (secrets-delete-item "session" "Login") (secrets-create-item "session" "Login" "myParol" :method "sudo" ...
1
vote
1answer
21 views

How do I disable python-help

I just upgraded to Emacs 26.1 on Linux (Ubuntu 18.04, but emacs26 from the kelleyk repo). python-mode is now bringing up a *Python-Help* window whenever the cursor in on a symbol or keyword. I'm ...

15 30 50 per page