All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

How to instruct reftex to automatically pick the .bib file in local directory?

Whenever I press C-c [ in the main.tex file I get the message No valid bibliography in this document, and no default available. How do I set the default? Using helm-bibtex seems way to easy, using the ...
0
votes
0answers
4 views

Color for important entry in global TODO list

In Org Agenda, I use Org priorities to know when I should get on something (A=now, B=soon or C=later). I use :STYLE: property with a custom important value for some entries (no matter when I need to ...
0
votes
0answers
21 views

Treat all numbers as floats

Is there a way to get elisp to automatically treat all numeric variables as floating points without having to repeatedly use the float function? For example to a division function that outputs the "...
0
votes
0answers
12 views

How to remove a package listed as dependency?

Is it possible programmatically remove a package via elisp, which was pulled as dependency from a third package? If so how can I achieve that? I'm using use-package to manage my packages. Any ...
1
vote
2answers
11 views

Cannot open remote file with TRAMP

I'm trying to connect and edit files on my openwrt box. But every time I tried Emacs shows me a blank buffer. C-x C-f /ssh:user:192.168.200.1:/etc/config/network RET the filesystem on openwrt cat /...
1
vote
0answers
11 views

Search for functions by type signature

Is there a convenient way to search through a C/++ codebase and list all the functions with matching type signatures? I'm working in a codebase that makes heavy use of function pointers. ...
0
votes
0answers
7 views

navigate into the project

I have lost my emacs config and I try to reconfigure my .init.el on my work station. I have install helm and defined : (global-set-key (kbd "C-x C-f") 'helm-find-files) I have the good windows, but ...
1
vote
2answers
20 views

How to count direct or indirect children in org or outline mode

I want to count the number of children in a subtree in org-mode. I am able to count the number of recursive children with (outline-next-heading): (defun outline-count-subheadings (&optional ...
0
votes
3answers
66 views

Complex searching and replacing

Suppose I have following pattern: throw "some message"; which I'd like to replace with: throw new Error("some message"); So, "some message" part should not be changed (or copied as is), and ...
2
votes
1answer
25 views

(Company) Doc Buffer ignoring scroll-other-window

I'm trying to write my own backend for a certain tool language that has no repl. Hence, I thought it would be the best idea to parse the documentation and store it as a hash table (I'm open to other ...
0
votes
0answers
17 views

How do I center the title when exporting org file to HTML

#+TITLE: Hello World #+AUTHOR: A. U. Thor #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="style.css"/> #+HTML_DOCTYPE: html5 currently gives me this as output where the title is ...
2
votes
0answers
14 views

Page thumbnails for pdf-tools?

Q: is there an image-dired analog to make thumbnails in pdf-tools? image-dired provides facilities to browse images in a directory by thumbnail. Is there analogous functionality for pdf-tools? The ...
0
votes
0answers
7 views

Evil/spacemacs bindings in image buffers?

I see from here: Shrink/Zoom/Scale images in image-mode that image-manipulation is possible with additional packages. Now, I am not yet at a point in my emacs life where I want to do image editing in ...
1
vote
1answer
45 views

Commands with Keybindings only

When I run helm-M-x and enter characters, I like to see only those commands which has key-bindings. How I can achieve that? I like to have reverse functionality as well, ie.. commands without key-...
2
votes
1answer
23 views

How to export to PDF with blocks that respect indentation AND subscripts?

How can I export so that both subscripts and indentation are respected? For example, using QUOTE will respect special characters like subscripts, but will ignore spacing. The opposite is true of ...
1
vote
1answer
13 views

Add a group of options in a Magit transient

I would like to add a group of options to a transient, but I cannot figure out the POS parameter I should use. (transient-append-suffix 'magit-push "-n" ;; after the last option of the first group [...
0
votes
0answers
30 views

How to transform abbrevated dates in org table

The input column represents the year without 201 and month and day without leading zeros. I must transform these into full date strings. After a couple of hours to take step 1, I'm wondering if there ...
0
votes
0answers
8 views

Show effort and clock time in agenda view

I use Org mode for my to-do list, clocking, and setting effort estimates. I can show the effort estimates for tasks scheduled for today with the columns view and this setting (thanks to this thread): ...
0
votes
1answer
14 views

Problem with emacs and sagemath unicode

I am using Emacs (GNU Emacs 24.5.1, which is admittedly old, but the problem also exists on a newer (25 something) Emacs on a different machine) and sage-shell-mode to work with the computer algebra ...
0
votes
0answers
32 views

Retouching syntax highlight of major mode

I am writing a minor mode to complement haskell-mode, and I am trying to color subwords in camelCased identifiers with slightly different shades of the same color. Perhaps this can be done by "...
0
votes
0answers
22 views

TRAMP mode hangs while copy large file from remote to local via Ssh

Trying here to download (scp file from remote to local) that was considered large file, then Emacs tried to compact it, then got stuck. Even used scp command to do it because copying via ssh got ...
0
votes
1answer
21 views

Why does emacs on a remote computing cluster behave differently depending on how the cluster is accessed?

I use SSH to work on a Linux computer cluster, emacs is my preferred text editor there. My local computer is a Windows 10 machine. If I use PuTTY to access the cluster remotely, when I run emacs, it ...
1
vote
1answer
23 views

Scilab-mode syntax highlighting

I'm trying to install (and run) scilab-mode, but the syntax highlighting does not work when I open .sci or .sce file. I use the exact configuration described in the scilab.el package. https://www....
1
vote
0answers
21 views

How to set posframe as active?

Is there some option to make frame active when i create it? I can switch to it with this code, but maybe there's a way to do this without select-frame func? (defun show-misc-posframe () (when (...
0
votes
1answer
20 views

Move specified lines down with C-(N) C-n

I could move next 4 lines with C-u C-n, Additionally, try to move next 6 lines with C-6 C-n, but it did only one line down in effect. What's wrong with my usage?
0
votes
1answer
21 views

Where did “**dates**” buffer come from?

I was working away in emacs using org-mode to register some task I was doing, when I noticed a new buffer had appeared called "**dates**". It had a number of dates presented in it such as "ISO date", ...
1
vote
1answer
31 views

How to tell Occur to show the line in the top of the buffer

I usually use occur to make an index of the beginning of different things. When I jump to the occurrence, Occur shows the line in the middle of the buffer. How can I instruct occur to show the ...
0
votes
1answer
82 views

Finder of MacOS Catalina cannot open a file with Emacs

After upgrading to macOS Catalina, Emacs (v26.3 from GNU Emacs for Mac OS X) works very strange. Without Emacs already running, Finder can open a file with Emacs as usual. But once Emacs.app is ...
0
votes
0answers
49 views

Org Mode - Live Preview and Mathematics

I write a lot of documents using Markdown in VS Code and it is convenient because you have live preview capabilities and also live preview math formulae, using, if I am not mistaken, KaTeX, and ...
1
vote
1answer
42 views

Fold all regexp matches

I'm working on email templates using web-mode, which – alas – requires inline styling galore… many of my opening tags won't fit on a single line even on a 4K-Display due to the massive amount of ...
0
votes
0answers
30 views

Using 122 key keyboards with Emacs [on hold]

Does using a 122-key keyboard make it easier to use Emacs, in relation to having more keys to bind commands to? I am thinking of the various models on offer from Unicomp specifically.
0
votes
0answers
22 views

Using dired via tramp on a remote machine

Maybe I am missing something rather simple but I completely fail to use dired on a remote machine. I can connect via ssh directly without emacs and I can edited a file using Tramp on the remote ...
1
vote
1answer
32 views

I want to type special Spanish characters in Emacs on a MacBook Pro keyboard … but I have no clue where to start

I am using Emacs 26.3 with macos Catalina and I would like to type the inverted exclamation point and question mark characters. Can someone point me to a link that will get me started towards ...
1
vote
1answer
33 views

make org “c-c c-c” actually do something useful on a simple line of text

how can one teach emacs to do something useful here? for example if the current line contains the word "FOO" anywhere, change it to whatever the string returned by special-lisp-function-001
2
votes
1answer
512 views

Academic research about Emacs

I am looking for academic research about Emacs. Any disciplines are interesting; psychology, economics, design, computer science including subdisciplines such as HCI and software engineering, ...
0
votes
0answers
30 views

Emacs 26.3 cannot call R

After updated to macOS Catalina (10.15) I've been trying to use R in Emacs 26.3. However, Emacs is not fetching R by using M-x R (Emacs says [No match]). I already checked the paths for both R and ...
1
vote
3answers
27 views

Convert text under a heading into an org-table

I am using spacemacs. I've written my shortcuts in an org file to not forget them. It has a structure of Description: key, then I go to the next line and enter the next command. For example *** Latex ...
0
votes
1answer
21 views

Finding missing Ediff key bindings

I was just looking at the Ediff manual¹ for something, and it's one of those Emacs manuals that (a bit annoyingly) only list keybinds and not function names (so, if you have rebinding going on, you ...
2
votes
1answer
25 views

How to ignore case when switching buffers?

I want to open a buffer called Echo.md and switch-buffer (C-x b) does not auto-complete it when I type echo because of the case. But find-file does auto-complete from lower-case to upper-case. The ...
1
vote
1answer
20 views

Spacemacs pdf-tools inverse search with keyboard possible?

I am running spacemacs and pdf-tools on Ubuntu 18.04. It does work quite well, however now I asked myself whenever there is an option to do inverse search (or to make a new command doing inverse ...
0
votes
2answers
34 views

Org Mode - Targeted Expansion of Headings

In org mode with the headings collapsed you can go to each one and press TAB to expand it. Is there an easy way to not have to navigate to headings by using the arrow keys?
2
votes
1answer
55 views

Simples regexp to match identifiers?

I frequently need a regular expression, that approximately matches identifiers in a given environment. Ignoring the "must not start with a number" requirement, this would mean e.g. [[:alnum:]_]+ ...
0
votes
1answer
20 views

Org mode 9.2.6 - Org agenda - match tags/prop/todo query hangs

After typing a keyword the command just hangs, regardless of the query. The trace is as follows: Debugger entered--Lisp error: (quit) org-add-prop-inherited("qpct") #[257 "\300!\262\301!\207" [...
1
vote
3answers
41 views

Mark input in swiper-thing-at-point

Having some command automatically populate the input string is a great thing (particularly, I refer to the feature that swiper-thing-at-point provides). However, I would like to enhance this ...
0
votes
0answers
15 views

Change color of preview expressions in Auctex

In the customize group "Preview Appearance", I click on "Preview Face" and set "Foreground" to "red". To the right, I see the word "sample" displayed in red. Then I select "Save for Future Sessions." ...
0
votes
0answers
17 views

How can I use evil-mc in spacemacs?

This question is a semantically similar question but the OP's intent was more about which implementation of multiple cursors was "best". I echo one of the commenters of that question who asked "Can ...
1
vote
1answer
17 views

How to prompt user for a proper writable file in Emacs Lisp?

I need to prompt the user for a file which is 1) not a directory 2) if already exists, is writable. I know I can use read-file-name, but I'm not sure how to filter out the improper files. ...
1
vote
1answer
46 views

Show headings only in sparse tree

I am generating a sparse tree typically using a regex (, / r ). What I am trying to do is get an overview of where in my document a match occurs, not the exact positions of the matches. So, if I have ...
0
votes
1answer
21 views

Is it possible to use whitespace-mode without specyfing a background (or foreground) color?

I like having non-breaking spaces and a few other characters represented in my buffer as visible characters. The problem I have is that whitespace-mode seems determined to set the background color. In ...
1
vote
1answer
24 views

Org Mode - Stop Recurring Events From Appearing as Late on Agenda

I am using the org mode agenda and my issue is that recurrent scheduled items appear as late everyday. For example an event that happens every Tuesday will also appear every Wednesday as 1 day late, ...

15 30 50 per page