All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 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
7 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> (...
2
votes
2answers
15 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
4 views

Agenda hiding/removing buffers from tabbar

I typically have my frame split vertically into 2 windows. I use tabbar and each window carries 2+ different buffers whose names are in the tabs above. When I switch to agenda-view (or try to schedule ...
0
votes
0answers
3 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
3 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
0answers
16 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
5 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
8 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, ...
1
vote
1answer
17 views

How to include an index in a list generated by mapcar?

This statements generates a list of (list filename buf), How could this be written to include an index as well? eg: (list index filename buf) where the index would be a counter, starting at zero, ...
0
votes
1answer
19 views

Is there a way (a package?) to “redirect” pop-up menus to the minibuffer, ido, or completion buffer; either generic or flyspell-specific

Sometimes I must use Emacs (in X mode) over a network connection (for example, working on a cloud VM). I am pretty comfortable with the interface responsiveness inside a frame, although X is ...
0
votes
1answer
50 views

How to use an Easy PG encrypted custom-file?

So, inspired by this article. I decided to try adding the following to my init.el: (setq custom-file (expand-file-name "secret.el" user-emacs-directory)) (load custom-file) Where the file in ...
1
vote
0answers
14 views

Removed Homebrew now the jpeg and png images don't display

Recently I removed the Homebrew completely on my OS X 10.7.4 (because the only reason I was using it was the OpenSSL package and I installed it from scratch into /usr/localand it worked perfectly so ...
0
votes
0answers
24 views

url-retrieve-synchronously on github doesn't return any response

Running the function (url-retrieve-synchronously "https://api.github.com/users/lawlist/gists") returns an empty buffer. This only happens with github. What could possibly be the cause?
0
votes
0answers
8 views

Getting MacOS Emacs + remote Ubuntu + rtags + company + TRAMP to work?

My development environment works as follows: Working locally on a MacOS laptop with Emacs without a local code repository (or any development tools e.g. clang) Code is remote on an Ubuntu development ...
0
votes
0answers
14 views

Remap Company's select next and select previous keys, with evil-mode?

When company-mode pops up suggestions, I want to use C-n and C-p to select the next or the previous options, instead of M-n and M-p. Having found the general answer on this site, I was happy to try ...
0
votes
1answer
13 views

How to get the number of rows between hlines for orgmode table formula?

In my orgmode table formula, i would like to get the number of rows between hlines (for example: @I..@II). Does anyone know how to do it?
0
votes
1answer
35 views

Trying to install auctex via package-install

I am trying to install auctex via M-x package-install RET auctex. Unfortunately after a brief splash of Contacting host: elpa.gnu.org:443, I end up with the message https://elpa.gnu.org/packages/...
0
votes
0answers
9 views

(comint-magic-space) in Eshell

I like to interact with the history of my bash commands. For instance, !?python would run the last command that contains python. Since the outcome is quite unpredictable, I often expand it before ...
0
votes
0answers
11 views

Org-clocking won't show current instance

I'm at a loss here with a little issue that is by no means critical but still quite annoying for lovers of org-mode. Whenever I clock into a task that has already been clocked previously on the same ...
1
vote
1answer
32 views

Give key binding absolute priority [duplicate]

I'd like to use M-<arrows> to move around windows in Emacs gtk, so I have added (windmove-default-keybindings 'meta) to my init.el. However, this is overridden by other modes such as elpy. Is ...
0
votes
0answers
17 views

Tabs on windows with custom buffers

I am new to Emacs and I am trying to set up a decent workflow for projects I already have. What I want to do is to be able to have tabs of buffers on each window (not frame). What I want ...
0
votes
0answers
22 views

magit - find out who write the current line at point and when

Someone showed me how to do this with "ruby mine" but I don't use ruby mine so hoping emacs / magit can do this. A file in a git repo is opened up in emacs. Point is at line 23, and you want to ...
0
votes
1answer
31 views

Can magit put my commit somewhere up the tree?

I have a rough part of my workflow, wondering if magit is the solution. So when I'm working on a task, I spin off a branch like most people. I end up putting 5 or 6 commits in a branch that's for my ...
0
votes
0answers
5 views

Setting reftex-section-levels as a file-local variable

I'm trying to set reftex-section-levels as a file-local variable on a few files I have, since they use non-standard sectioning commands. If I start emacs and open one such file, such as this ...
0
votes
0answers
23 views

Transient - what does it do? [on hold]

What does transient do exactly - in plain English? I read its README and https://emacsair.me/2019/02/14/transient-0.1/ but I didn't understand it.
0
votes
1answer
17 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
0
votes
0answers
13 views

Numbered backups not being created after every save

I would like for a new numbered backup file to be created every time I save a buffer. I.e. if I save a buffer ten times I want ten new backup files created. To that end I have added the code below in ...
0
votes
1answer
33 views

How can I skip 'Scan-error: “Unbalanced parentheses”…'?

I want to write a script in order to correct spaces inside section command in a LaTeX code, that's to say \section{Lorem ipsum dolor sit amet consectetuer adipiscing elit} should be \section{...
0
votes
0answers
13 views

Org Mode tables: Wrapping lines to match an arbitrary width

In Org tables, I often use M-<RET> to wrap a long line in a column, at whichever place in the sentence I feel it needs to be wrapped. This sets a particular width to the column. Now sometimes I ...
1
vote
0answers
13 views

Setting LOCAL aspell dictionary size

How to set local (per buffer) dictionary size used by aspell? [aspell is used by my emacs as "ispell look alike"] It can be set by --size=NN command line option of aspell. I would like to set it via ...
1
vote
1answer
9 views

how enable emacs bookmark plus autocompletion

How do I make the C-x j j prompt dynamically autocomplete? So when I try "qu" emacs autosuggest "query.rb" from my bookmarks , without me having to press tab. Dynamic autocompletion works when I do C-...
0
votes
0answers
15 views

Is there a way to speed up emac's “shell” mode?

I am new to emacs. I know we can open a shell, eshell, or term with M-x shell, M-x eshell and M-x term. I have a program that needs to run make then run. On an external terminal app, I am on XFCE so ...
0
votes
0answers
14 views

Is there a way to split-window-right and switch-to-buffer / find-file in single command?

As described in question title. Closest solution that I can find is to use ido-find-file-other-window orido-switch-buffer-other-windew, but these create a horizontal split by default, and if a ...
0
votes
0answers
19 views

Insert item after all children (org-mode)

In org-mode, is there a way to insert an item after all of its children? Instead of the default behavior that inserts an item after the current item but before its children? Example Say I am in this ...
1
vote
0answers
16 views

Disable GTK faces in Emacs

My Emacs version is GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10). My region face looks like this. Two things stand out: The region face is unreadable. The DistantForeground ...
0
votes
0answers
10 views

Keybindigs conflict between minor modes

The configuration that I have for python mode implies loading both elpy.el and python.el. The things is that I found the python.el keybindings more natural than the elpy.el ones. And most of the ...
0
votes
0answers
10 views

How do you integrate bbdb with notmuch?

I wonder if anyone has gotten BBDB to work with notmuch. I'm looking for the behaviour I had with gnus, where I would type a name from BBDB, press tab and be presented with options to choose from. ...
0
votes
0answers
18 views

Debugging “Package lacks a file header”

I'm playing around with developing and publishing an Emacs package, very simple stuff, just trying things out before I commit to a bigger project. The problem that I'm having is that after I've made a ...
1
vote
1answer
28 views

Subscribing to an individual bug on debbugs

Is it possible to subscribe to an individual bug on https://debbugs.gnu.org/? By subscribe, I mean that ideally one would receive all the e-mails sent to that bug report, but something like an RSS or ...
0
votes
1answer
32 views

send custom commands to shell

I have just joined the Emacs church. I would like to know if the following can be done. Say I have a project folder, I would like to run some custom commands that tie to some keyboard shorcuts for ...
1
vote
1answer
36 views

How to capture fields from bibtex by using org-ref

I want to use emacs org-mode to take notes of my bibliography. I am trying to capture some fields from a bibtex file and insert them into an org file with the org-ref-open-bibtex-notes. This is not ...
0
votes
0answers
9 views

org-mode weekly summary with one entry per DONE task and total time to complete

I want my weekly summary to list all the tasks I completed in a given week, ideally with an inline report of the total time each of those tasks took to complete. Furthermore, it would be even more ...
4
votes
2answers
159 views

How to open all the opened files from a previous session?

Whenever I open my spacemacs I see the recentf buffer which lists 5 files I had open in my previous session. There is only an option to open them one by one, and only five of them, because others are ...
1
vote
1answer
23 views

Why in compilation-mode do my go (golang) compile errors not include the column on goto-error?

When I compile a simple (incorrect) go program like this from emacs package main func main() int { } I get this result -*- mode: compilation; default-directory: "~/Go/" -*- Compilation started at ...
0
votes
1answer
53 views

Evaluating the Chez Scheme code with C-x C-e

I've just installed Chez Scheme and combined it with the Geiser package using this tutorial M-x run-chez runs quite fine but C-x C-e causes the Emacs Lisp rather than Chez Scheme evaluate the code. I'...
0
votes
1answer
21 views

Using the :match attribute for custom matching for a Helm source

I'm trying to create a Helm source which matches the basename of files. I created a source which splits the basename of files in recentf list and puts the path behind it in parens (it uses the (...
1
vote
1answer
27 views

Why does all but the first `org-lookup-first` returns nil

I have an org file in which I lookup for some values in different tables. The problem is that in two of them, only the first row gets its value, while in the rest of the rows the value returned is ...
0
votes
0answers
18 views

How to load image using iimage-mode when I first open a markdown file?

I have a file which embeds an image ![](file://tmp.jpg) I have added iimage mode to the markdown mode hook and even added recenter to it (add-hook 'markdown-mode-hook 'iimage-mode) (add-hook '...
2
votes
1answer
79 views

elisp regular expression build problem

I have the following line : mod_name func_name /users/username/workspace/path_name/file.c 283 I wanted to capture the 3rd and 4th entry in this line, I am able to do that using regular expressions ...

15 30 50 per page