All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
36 views

how do I install emacs packages from the command line?

I'm attempting to automate deployment of my different machines by scripting installation of emacs and emacs packages. While I realize that I can set up my .emacs file to automatically install packages ...
0
votes
0answers
15 views

Importing Emacs Stack Exchange Queries Into Emacs by tags

Is there any plugin already available to import Emacs Stack Exchange Queries Into Emacs, filtered by certain tags. Like the news reader, read mail packages. Wondering if a package is already in use ...
1
vote
1answer
17 views

How may I completely disable all Emacs' default bindings to the Fn keys (F2 - F12)?

I'm willing to allow help to remain on F1, but I don't want any of Emacs default bindings on any of the other Fn keys. If you must know why, it's because all keyboards made in the last 20 years are ...
4
votes
1answer
87 views

Is there a way to get proper “breadcrumbs” behavior in emacs?

I want something that I figured would be pretty basic, what with all the fancy mark-ring and all, but I can't find a way to get. I want a global (i.e. across files) no-nonsense "breadcrumbs" behavior ...
0
votes
3answers
129 views

How to replace a list within a list?

What would be the an efficient/concise way to replace a sub-list with another list? Example function call: (replace-list-list-with-list '("A" "B" "C" "D") '("B" "C") '("NEW" "TEXT")) Would result ...
0
votes
1answer
45 views

How does Emacs manage Italics and Bold?

I use TrueType fonts with Emacs under X. There are specific Italic and Bold files for most fonts. All of them are recognized by font config and therefore by emacs. How does Emacs uses bold and ...
0
votes
0answers
11 views

Spacemacs: “Wrong type argument: stringp, nil” Auctex error when building tex file

following a recent update, Auctex now refuses to build. Throwing a wrong type argument: stringp, nil error. The full debug text: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-...
0
votes
2answers
21 views

Initialization warning after installing doom-modeline

So recently i decided to switch to Emacs (btw I am total noob) and began creating my init.el file After downloading doom-modeline package from melpa and following it's installation guide I get an ...
0
votes
1answer
37 views

Why set-window-dedicated-p doesn't work with certain buffers?

I use emacs for latex, with pdf-tools. My layout is always a window with PDFView buffer on the right, any other buffer on the left. I always want the right window that cannot be touched by ...
0
votes
0answers
24 views

In org-mode, show content of the linked entry on mouse-hover?

I have headline A and headline B. Both with entry-bodies. In headline A's body I org-mode link to headline B. While having entry A opened, I want to hover over link to headline B and see the preview ...
0
votes
1answer
15 views

Spacemacs - What does C-c do (what things are inside this menu)?

I'm learning emacs/spacemacs right now and I'm slightly confused about the C-c binding. Pressing it opens a menu with many helpful things that I cannot reach otherwise (it seems like it at least). I'...
0
votes
0answers
19 views

Exporting a bullet point in org-mode to theorem/defintion in latex

I'm two weeks old in Emacs and just short of one in org-mode, so not that much knowledge. I want to use org-mode to take my university and research notes. Some of those, are needed to be exported as ...
1
vote
3answers
63 views

How can you automatically translate fractions into their short unicode versions? e.g. ⅔

Ideally one can just type fractions as normally e.g. 2/3, and either the view simply displays it as ⅔, without changing the text itself OR the text itself is changed. I need this for org mode in case ...
0
votes
1answer
31 views

How could I assign keybinding for “<M-tab>”

I would like to use Meta + Tab or Meta + ; keybindings in emacs to correct a spelling instead of using the ispells default one. Please note that I am open emacs in terminal. I have tried following ...
0
votes
0answers
21 views

Drag and drop a file to org buffer to insert a link to this file

On Windows it is possible to create a link holding the Meta (Alt) key while dragging a file. Is it possible to create a link to a file when it is dragged from an Explorer over to emacs holding the ...
0
votes
1answer
28 views

Convert function-quoted form #'… to string

I have tried (symbol-name x), but it doesn't work if the argument is a lambda: ok: #'execute-extended-command not ok: #'(lambda (&optional frame) (interactive) (message "hi 8"))
0
votes
0answers
23 views

Emacs font has extra spaces between letters

I haven't used my emacs setup for a while and now when I open emacs it looks like this: The extra spacing between the letters does not disappear when I use emacs -q to load emacs without the config. ...
1
vote
1answer
35 views

general function to concat token at point with function and send to *R*

I'm moving my R setup over to emacs and ess -- and am struggling with the emacs / LISP customisation process. In an answer to another question, I learnt how to create a function that concats a ...
1
vote
0answers
15 views

Using diff-buffer-with-file to merge differences between the disk and the buffer

I sync my org files via Dropbox. Occasionally, Dropbox will bring in changes into a file whose buffer I've already modified. I can diff the buffer and the file on disk with diff-buffer-with-file; but ...
0
votes
0answers
23 views

modify existing overlay

How do I modify an existing overlay, more specifically, in spacemacs I have and the overlays are covering the all the parenthesis. Note that the overlays move depending on what inner set of ...
1
vote
0answers
31 views

How to use doom-modeline in spacemacs?

This might be a fairly stupid question but I simply can't figure it out. I've been trying to install doom-modeline for spacemacs: https://seagle0128.github.io/doom-modeline/#install I've added the ...
0
votes
0answers
28 views

Using variables on org-publish-project-alist

I am having some trouble setting my org-publish blog. Basically I have the following config, but when I try to publish I get the following error: Wrong type argument: stringp, (\, publish-directory-...
0
votes
1answer
23 views

An ivy function for recently opened files?

I know that setting ivy-use-virtual-buffers leads to recently opened files being shown in the ivy-switch-buffer completion. However, I don't want this. What I want is a separate function for opening ...
0
votes
2answers
45 views

How to insert character or word N times in a buffer or file?

Just curious to know how to do this, since i already know in other languages (bash, etc). I know how to insert a character in elisp, just not sure on how to do it when it's done nth time (in ...
2
votes
1answer
36 views

emacs ess apply function to token under point

I've finally committed to moving over to both emacs and ess -- and i'm having a bit of trouble getting (the famously customisable) combination to work as i'd like. Say that i have a file that ...
0
votes
0answers
19 views

unread-command-events and batch mode

I'm writing tests for an interactive function. I've been using the unread-command-events variable in conjunction with call-interactively to verify that it does the right thing. However, I just ...
0
votes
1answer
26 views

Setting html preamble in org-publish

So I am trying to set a html preamble on my org-publish, and I am using the following code: (setq org-publish-project-alist '(("org-notes" :base-directory "~/Projects/blog/" :...
0
votes
3answers
38 views

Avoid “`timestamp-wrapper`” span around timestamps when exporting org to markdown

Version info: Emacs: 26.3 Org: 9.1.9 Am trying to export org notes to markdown format for publishing. Am using the org-gfm-export-as-markdown to preview the markdown that will be generated. Later I ...
0
votes
0answers
16 views

How to make org agenda `follow-mode` show heading (not timestamp line)?

I like to browse history of org file with follow-mode. With old Emacs version 24.5.1 (org version 8.2.10), it showed timestamp line in highlight status when I browse. But with recent Emacs version ...
0
votes
1answer
49 views

Emacs completion through symlink (OSX)

I have a symlink on my Desktop that points to my Dropbox folder. Clicking on this link takes me through to Dropbox, which is located elsewhere. But if I try navigating to ~/Desktop/Dropbox using Emacs,...
0
votes
1answer
48 views

How to center region in exact middle of screen?

So i basically want to (as the title suggest) to center a region of text, in the center of the screen. Current example is using part of this site. From this To this And here a small gif video to ...
0
votes
0answers
28 views

How to make link inside of a link in org-mode?

I have a couple of links to make for certain keywords in a file: scoville count But what i want to do is make a link (following this example) on the word "scoville" and "count" separately, but also, ...
0
votes
0answers
15 views

Display zoom percentage in pdfview

Running Doom Emacs 2.0.9 running on Emacs 26.3. I use pdf-tools. When I compile a Latex document, the resultant PDF file is displayed in an adjacent window. I can zoom in, out, etc. One thing I ...
0
votes
1answer
16 views

Any ways to make a GUI application fullscreen in EXWM?

I'm used to i3wm, as well as a couple other WM, but i noticed that, as far as i know, there isn't any function or keybinding existing in EXWM (by default) to make a GUI application fullscreen (which ...
0
votes
1answer
23 views

How to associate a theme to a file extension?

It is kind of similar to this question How do I automatically load a mode for a specific set of file extensions? So I am in a situation where, when I want to write in TeX, I want to use 'whiteboard' ...
0
votes
1answer
16 views

How to print to the stdout / stderr from an emacs graphical session?

I'd like to print into the terminal that started emacs, instead of using Emacs message, whats the most convenient way to do this in emacs that uses the terminal? (printf "some number %d some string %...
0
votes
1answer
23 views

How show multiple cursors in the start of all lines?

Emacs 26.3 Suppose I has the next text: ACTION ADVENTURE COMEDY CRIME DRAMA FANTASY HISTORICAL HISTORICAL HORROR MAGICAL MYSTERY PARANOID PHILOSOPHICAL POLITICAL ROMANCE SAGA SATIRE SCIENCE SOCIAL ...
0
votes
0answers
9 views

Supporting more elaborate output in compilation-mode

I am using the BUILDKIT version of "docker build" frequently. This gives colorful and "dynamic" output, i.e., it will for example show 5 lines, all of which contain changing progress information. For ...
0
votes
1answer
35 views

How do I build emacs from sources on macOS Catalina Version 10.15.4

I typically run gnuemacs using MacPorts. However, I have a friend who does not have admin on his managed mac, so I want to build for him a full release of emacs that will run out of his home directory....
1
vote
3answers
44 views

Custom agenda search with user-input

Original Question I am trying to use org-mode to remind me of whom I will have to follow up with, and when in a conversation with someone which topics I need to discuss with them. My current plan is ...
0
votes
1answer
18 views

How to `ediff-buffer` with ansi-colors (script output)? `ediff-file` works!

Context: files with ANSI and other terminal color codes. I often record terminal transcripts using the traditional script program or expect. Colored ls output, colored grep matches, mc and other ...
0
votes
0answers
16 views

Org Mode - Use remote table reference in constants

In https://orgmode.org/manual/References.html remote references are mentioned. Also there are constants for a local environment of a table. I would like to retrieve the value for a constant from the ...
0
votes
1answer
17 views

How to make company-lsp case sensitive?

Currently if I try to complete a work, the case of the prefix is ignored with company-lsp. From looking into the code, company-lsp is hard-coded to use ignore-case. As at the time of writing company-...
1
vote
1answer
35 views

run Emacs remotely in a webpage?

I am just curious: Is there a way to run Emacs remotely from a webpage? For example, one can set up a JupyterHub on a Ubuntu server so that many users can access server programs from a webpage. Can ...
2
votes
1answer
47 views

converting c-mode hooks to use-package fails in non-obvious ways

Emacs version 26.3 on a mac I have this (simplified) c(c)-mode config: (add-hook 'c-mode-common-hook '(lambda () (c-set-style "bsd"))) which works when I visit a c file. When I ...
0
votes
0answers
22 views

Launch EXWM only when no another WM or DE are being used

I use EXWM sometimes, but while i do appreciate it, i found myself using other WM and DE (either because i use my emacs config on another computer, since the config is in a usb stick, or other off-...
0
votes
1answer
15 views

emacs -nw standard input is not a tty on ConEmu and Mintty

On my Windows XP machine I use Emacs-25.2.1. During web app development I use ConEmu version 191012 and I need to use Emacs at the command line. When I enter emacs -nw on ConEmu, it says emacs: ...
1
vote
2answers
42 views

avoid org-preview-latex to open a new window

I use emacs in frame-only mode and org to typeset latex equations and technical writing. Since it is hard to see and understand the latex equations in their raw format, I use a package called org-...
0
votes
0answers
17 views

How to disable tramp autosave and backups, but keep other backups/autosave?

I'd like to disable autosaves and backups when using tramp, because I neither want to save stuff from remote machines nor stuff belonging to root in my backup/autosave directory. How to do that? I ...
1
vote
0answers
24 views

What is the flying trashcan icon replacing colons in Python buffers?

There is a strange icon appearing in place of colons (:) in my Python buffers. I cannot identify it easily using C-x = or any other command to inspect the character at the point because the icon ...

15 30 50 per page