All Questions

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

Xref / xref-find-refernces / Windows 7 does not work

i' struggling with Xref M-? finding references to symbols (C-code). It doesn't work for (e)tags nor for any symbol even in the buffered file. The strange thing is: M-. works perfect! emacs-version 26....
0
votes
0answers
15 views

Refresh agenda for (dynamic) current buffer

When I use this custom agenda (below) for a current buffer, the agenda builds correctly. But if I try to refresh it or move the date with f or b I get errors like: if: Wrong type argument: stringp, ...
1
vote
1answer
26 views

Show one todo tree with two different states

Hi I would like to make this function show a tree with headings in NEXT and WAITING status. (defun show-NEXT-in-subtree () "Narrow to a subtree and show only headings with NEXT and ...
0
votes
0answers
11 views

Magit Move Submodule

In git bash I can use git mv home/subdir_1/my_submod home/subdir_2/my_submod to move a submodule between directories. Git handles changing .gitmodules and stages the change to be committed. Is there a ...
0
votes
0answers
8 views

How to prevent unwanted characters such as`[OB` and `^[OA` on scrolling?

I am using emacs under iTerm2 on Mac. I am using mouse to scroll up and down. Please not that I haven't face with the issue when I remotely connected into a linux machine, which has exactly same emacs ...
2
votes
1answer
34 views

Is it possible suppress save message for undo-tree?

When I save my any file I am working on I always see following message, I believe this is related to my unto-tree configuration. Wrote /home/alper/.emacs.d/undo/.!home!alper!current_folder!__init__.py....
0
votes
0answers
13 views

Flycheck Trouble with Tramp and Python: “no module named /ssh:…/home/ubuntu/test.py”

Hi and thank You for helping! Overview I run a Linux Container (Guest) on my Machine (Host). On this guest I installed python3. Too, there I have a file "test.py". I edit this file via Emacs ...
0
votes
0answers
14 views

Doom Emacs: Flycheck cannot find header files in gtkmm-3.0

I am attempting to use gtkmm-3.0-dev in a small project. It uses meson as its build tool, and I use ninja to create a compilation database. However, regardless of any variables I set, Flycheck cannot ...
0
votes
0answers
18 views

EXWM is my WM and Openboard application does not export to pdf

I try to export a board from Openboard application to a pdf file. A pop up window should appear and ask me where to save the exported file but nothing happens... Is it related to the fact that I use ...
0
votes
0answers
7 views

How to use projectile-replace only for specific wildcard such as Python?

From this answer, I am using projectile-replace to replace words within a folder. It works fine but it covers all the buffers. I was able to accomplish it it using find-dired: (defun my-find-files () ...
0
votes
1answer
46 views

Highlight parentesis in latex

the image is self explanatory, I recently switched to doom emacs and I'm still learning. How can I fix this problem? I tried to switch off anything related to checkers in the init.el file but it doesn'...
0
votes
0answers
6 views

How to get rvm to work with projectile-compile-project and shell-command (Emacs macOS GUI)

I'm using the exec-path-from-shell package to copy my environment variables, including PATH. But shell-command (M-! which ruby RET) only finds the system ruby, not my user-local rvm ruby. Similarly, ...
2
votes
0answers
12 views

org capture at point as sibling of heading

org 9.2 used to support this feature. when (org-capture 0), it used to place the selected template entry as a sibling of heading at point. in org 9.3 however, it fully respects the heading level ...
1
vote
0answers
26 views

Why does calling `term-send-backspace` create a newline in `term-mode`?

Specs: i@debord:~$ /bin/bash --version GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://...
0
votes
0answers
17 views

Show contents just up to particular headline level in org mode

I know about the standard cycling commands here: https://orgmode.org/manual/Global-and-local-cycling.html but they don't seem to allow this. I have a setup like * A ** AA Foo *** AAA Hidden **** AAAA ...
0
votes
0answers
9 views

Company won't complete at the beginning of org mode headline

For example, with the given text * algorithm * algo<cursor> Fun company-complete it won't complete the word aglorithm. If the cursor is not at the beginning of a headline, then completion works ...
1
vote
1answer
16 views

How can I create a frame and open two files split vertically in it?

I am trying to write an Elisp function that will create a new frame and in that new frame open two files split vertically. I have been unable to find anything about this in the Elisp manual, node ...
0
votes
1answer
18 views

just todays agenda for just the current buffer

I would like to make a quick access agenda for today and just for the current buffer. So my approach looks like this, but it does not work. (setq org-agenda-custom-commands '( ("o" ...
0
votes
1answer
12 views

Only edit visible lines in sparse tree view

Consider the following org-mode document * Foo ** bar1 :g1: ** bar2 :g2: ** bar3 :g1: ** bar4 ...
0
votes
0answers
13 views

emacs Imagemagick apply color transformation

I was looking to apply color transformation to images displayed in emacs. For example, with imagemagick, the following will invert image color. convert input.png -channel RGB -negate -modulate 100,100,...
0
votes
0answers
28 views

How do you change the default username in message-mode?

I've been using notmuch, via smtpmail.el and getmail to manage my emails on Emacs, and it all works, although I'm annoyed at how I need to change the name beside my <email@address> (defined by ...
0
votes
0answers
39 views

How do you write this matrix equation in org-mode? [closed]

I want to write this matrix equation in org-mode and displayed as latex inside using the cdlatex-mode (org-cdlatex-mode). I installed the cdlatex.el package already from MELPA to make it function ...
0
votes
1answer
43 views

How can I start IPython from emacs

I deleted my old Python installation, so the only Python installation remaining is the one inside Anaconda. when I start Spyder I get: Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit ...
2
votes
1answer
24 views

list-packages hangs when contacting melpa

I'm running Emacs 26.3 on Linux Mint 20. I am using paradox, but this also happens when I use the vanilla Emacs packages interface. When I call list-packages, the Paradox Menu section of the mode line ...
0
votes
0answers
35 views

EWW Stuck on Contacting Host!

I am trying to use the multiple websites search function in EWW. One example is the search box on wikipedia.org that you reach by pressing jump to search. When I confirm my search I get stuck on ...
0
votes
1answer
25 views

Change emacs generated image size in org-mode export

I'm using PlantUML to generate a UML diagram inside an orgmode file. I've looked everywhere, and either I'm using the wrong terms (likely) or I'm missing something (also likely). When I view the raw ...
0
votes
0answers
28 views

How to trigger a hydra when entering evil-mode normal state?

I have the following: (use-package evil :hook (after-init . evil-mode) (evil-normal-state-entry . hydra-evil/body)) When leaving the emacs state (with C-z) and entering normal state, all my ...
0
votes
1answer
24 views

Refresh org statistics cookies automatically

I try to automatically refresh statistics cookies while changing buffer to org buffer, saving buffer, showing agenda and refreshing agenda. I know it's possible to update entire file by calling org-...
2
votes
1answer
52 views

How to refresh org file programatically

I am using spacemacs-light theme in Emacs and love it. In my spacemacs-light theme, some org-files open with bullets not hidden though. In those cases I go to the top of the file and hit C-c C-c to ...
0
votes
0answers
13 views

M-x customize-themes [no match]

I'm new to Emacs and trying to change the color scheme so that there is no blue text on a black background, but when I try instructions online on how to do so, I keep getting [no match] error messages....
0
votes
1answer
17 views

Narrow down refilling options to single sub-heading

I have a single file tasks.org that contains all the tasks for agenda and I have separate projects files with a tasks related to specific project. I try to setup a configuration that will let me ...
0
votes
0answers
14 views

execute a function when emacsclient opens a frame

I am using emacs-evil and when I open a new frame on X11 I can normally use ESC key switch between writing and command mode. But in terminal it won't work, and it just trigers meta. I have been able ...
1
vote
0answers
8 views

How to embed Ibus preedit text into Emacs?

I'd like to ask is it possible to totally embed Ibus preedit text into the Emacs windows? In my Ibus Preferences, I did tick the option "Embed preedit text in application window", however, ...
0
votes
1answer
40 views

create new keybinding for command mode in evil mode

I am using doom emacs and would like to create a keybinding to run the following line so that I don't need to write it every time I want to run a block of code of python :w !python The above line ...
1
vote
2answers
42 views

How to change color of “font-lock-add-keywords”?

I found this piece of code to change org-mode list elements from dashes (-) to circles (•): (font-lock-add-keywords 'org-mode '(("^ *\\([-]\\) " ...
0
votes
0answers
8 views

elisp to modify snippets in yasnippet

I have this elisp code from yasnippet: `(progn (goto-char (point-min)) (unless (re-search-forward "^using\\s-+namespace std;" nil 'no-errer) "std::")) `cout << $0${1:} <&...
0
votes
1answer
18 views

Does declare-function recognize functions declared via cl-defun?

It seems that declare-function + check-declare-file do not recognize functions defined via cl-defun. I was happy using declare-function because it comes with check-declare-file that actually checks ...
0
votes
0answers
34 views

Emacs 26.3 on macOS quits unexpectedly when using arrow keys

I have just installed emacs on my system and am having a problem where it quits when I am opening a new file. Here's how it happens: After I open emacs I click the "blank page" icon. Next, ...
0
votes
0answers
20 views

Loop through n Org tree breadth first

I want to make a function that loops through the children of a tree breadth first. So first, it will loop through first level of children, and then second level of children, and so on until it reaches ...
3
votes
1answer
45 views

Org Src Block does not return any output

While writing this question I found a solution/reason to it not working. Since I spent quite some time on it, I thought I'd still post it. Hey there! I'm relatively new to emacs and org mode ...
0
votes
0answers
23 views

Search file within neotree in an unexpanded directory

Is it possible to search a file in neotree which is deep inside some directory? The normal search only searches in the visible parts i.e., within directories that have been expanded. I am looking for ...
1
vote
0answers
22 views

org-agenda case-insensitive tag search?

I use C-c a m to search for a tag, but the search is case-sensitive. By example if I enter gnuplot, only section B will be found * section A :Gnuplot: * section B :gnuplot: Question: is it ...
0
votes
2answers
58 views

Change $PATH once emacs is running

In my shell (Bash), I can switch among several LaTeX distros setting the $PATH variable. E.g.: export PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH or export PATH=/usr/local/texlive/2018/bin/...
0
votes
1answer
19 views

url-(https)-file-exists-p: ignore interactive behaviour when called programmatically (insecure TLS connection)

I want to use url-file-exists-p (or more precisely, the underlying url-https-file-exists-p) to detect possible broken links. However, some https link makes url-file-exists-p require interaction (This ...
0
votes
1answer
44 views

Starting a shell then cd to a specific directory

I want to go to a specific directory after I start a shell. So I put these lines in my .emacs file: (shell) (shell-command "cd C:/MyStartUp/ThisDirectory") (setq default-directory "C:/...
0
votes
2answers
25 views

Unable to find files with ssh and environment variables

I have installed exec-path-from-shell as well as included the following in my init.el (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize)) within my ~/.bash_profile I have ...
0
votes
0answers
23 views

Do I really have no fixed-width fonts installed?

In trying to debug a font issue in Emacs 26.3 on Windows 10, I ran the following, in the *scratch* buffer: (defun font-existsp (font) (if (null (x-list-fonts font)) nil t)) font-existsp (...
0
votes
0answers
12 views

Helm gtags dwim jump without overwrite current window

So, I have 2 files: tictactoe.cpp and tictactoe.h. You can see the image for these two files below in Emacs. I have them stacked horizontally and also have tabbar to show the name of the files I have ...
1
vote
1answer
41 views

how to advance one whole virtual window in follow-mode?

Is there a command for Emacs's follow-mode that will advance the text by a whole 'virtual window' rather than just the height of a column? Desired effect: Upon reaching the end of column 4, press PgDn ...
0
votes
0answers
25 views

fresh install on raspberry pi can't download “gnu” archive

Raspberry Pi, Model 4, everything up to date with Raspberry Pi OS. I execute the following commands: sudo apt install emacs (verson 26.1) mkdir .emacs.d emacs then M-x package-refresh-contents ...

15 30 50 per page
1
2 3 4 5
391