All Questions

1
vote
2answers
88 views

How check that text in quotes are lowercase text

example1: test "one" hi this is test "two" check I need to "three" this example2: test "one" hi this is test "Two" check I need to "three" this Is it possible to check that text (some function) in ...
0
votes
0answers
7 views

spacemacs - rebind existing keys

I am trying to rebind j, k key as well as capital E, B and Y, but cannot get them to work. Any pointers? I put this into my .spacemacs (in dotspacemacs/user-config): (evil-define-key 'normal key-...
0
votes
0answers
16 views

Mac OSX and remote Emacs sessions, keybindings

I have questions regarding keybindings and cut & paste for Emacs and OSX v10.14.3. I'm hoping there are some Emacs users with similar configurations that can provide guidance as to be productive ...
0
votes
1answer
21 views

What's this `slot-missing: Invalid slot name: “#<transient-prefix transient-prefix>”, :incompatible`

After updating to magit 20190517.1750 from ELPA, I've got this warning slot-missing: Invalid slot name: "#<transient-prefix transient-prefix>", :incompatible which breaks a lot of magit ...
1
vote
1answer
35 views

How to repeatedly move forwards or backwards by a screenful of text?

I tried C-u 1 C-v, which based on the documentation should repeat C-v one time. Unfortunately, it only ends up scrolling a line instead of a screenful. Any guidance appreciated.
1
vote
1answer
10 views

user-error: That register’s buffer no longer exists

I saved point to register, closed buffer / restarted Emacs and got: user-error: That register’s buffer no longer exists I want Emacs to open file if necessary and go to point.
0
votes
0answers
23 views

How can I join these two org-templates, so that the first block can be an option between the other entries?

(use-package org :ensure org-plus-contrib) (use-package org-contacts :ensure nil :after org) (use-package org-capture :ensure nil :after org :preface (defvar my/org-...
1
vote
1answer
30 views

config hex mode to show data byte by byte

By default, the hexl mode will show binary data two bytes by two bytes as below: 00000000: 0000 0020 6674 7970 6973 6f6d 0000 0200 ... ftypisom.... Is it possible to change the style to show data ...
0
votes
2answers
42 views

Using Occur to to recursively search in a directory [duplicate]

I use 'occur' to search for regexp in current buffer and edit the results in occur buffer . Now my requirement is to search all the files in a directory(including sub-directories ) and edit the ...
0
votes
0answers
28 views

How to display a (basic) column indicator? [duplicate]

Since fill-column-indicator is no longer actively maintained, how can I visualize the fill-column? The fill-column-indicator package was quite heavy and had compatibility issues with other packages. ...
1
vote
1answer
37 views

Search files in folder

Windows 10, Emacs 26.1 dired+ I want in dired mode find files by names, content Approach#1 - use external tools. What tools you can suggest? Approach#2 - use only built-in Emacs function on ...
0
votes
0answers
26 views

org-agenda-stuck project' levels

The docs describe the stuck project's level in The Org Manual: Stuck projects The built-in default assumes that all your projects are level-2 headlines, and that a project is not stuck if it has ...
2
votes
0answers
21 views

isearch with invisible text properties, not overlays?

Q: how can I get isearch to understand invisible text properties, not just overlays? I'm writing a major mode that uses text properties rather than overlays to toggle visibility. I'd like to use ...
0
votes
1answer
19 views

How do I select 'flag' options for magit through helm?

I'm using spacemacs with helm and magit. There are some options, for example, the ability to sort log entries in reverse order, that have a flag by them. I don't know how to select any of these ...
0
votes
0answers
28 views

org-babel results with accented characters

I have a problem with the output of org-babel code blocks when this output contains accented characters. For example, if I execute this code block: #+name: test_accented #+begin_src python :results ...
0
votes
0answers
11 views

emacs-omnisharp unable to use unity project files

I'm using emacs-omnisharp to try to complete a project with Unity, but the omnisharp server doesn't seem to be able to open or use the project data. I know that the server works because I get ...
1
vote
0answers
26 views

fixed file size mode

Is there an emacs mode/package/whatever where a specific file size (and/or number of lines) is enforced in a visual way? Something like this: 1st line 2nd line where adding some text to the 2nd ...
0
votes
1answer
18 views

Force C-c to cua-copy-region

I have CUA mode enabled, but sometimes when I hit C-c, emacs simply does not copy anything because it starts to think Iam typing some C-C something command. I tried: (global-set-key (kbd "C-c") 'cua-...
0
votes
1answer
13 views

How to modify the jump character color displayed by evil-avy-goto-line?

The color of the jump character displayed by evil-avy-goto-line is somewhat blurred, which causes me to change the color of the displayed character or modify the color of the background strip of the ...
0
votes
1answer
26 views

Confusion about iter-defun

I'd like to make an iterator that yields pairs: (0 1) (1 1) (1 2) (2 2) (2 3) (3 3) etc. I've tried variants of the following: (iter-defun iter-rectangle-sizes () (let ((rect '(0 1))) (while ...
0
votes
0answers
23 views

ESS knitr workflow with natbib

This solution explains ESS knitr workflow and it works as explained. However, it does not explain how to knit an Rnw file containing natbib references. Similar question have been asked here and the ...
1
vote
1answer
37 views

Search across tags / titles in org mode

I keep some files in RST and rst-mode has C-c C-t C-t runs the command rst-toc which open all section titles in separate buffer. I can search ignoring actual document content which tends to have ...
1
vote
0answers
15 views

calling xref-find-definitions within lisp code

I want to call xref-find-definitions from within my own lisp code and I'm struggling. (xref-find-definitions IDENTIFIER) Find the definition of the identifier at point. It wants a parameter ...
0
votes
1answer
21 views

Can't make export of code from org

Emacs 27.050 Windows 10 Hello. I want to export python code block from my org file to the file. When executing block there is the following result: #+BEGIN_SRC python :session :results output :...
0
votes
1answer
26 views

Remove text from toolbar

my toolbar is filled with many buttons, and I'd like to know if it is possible to remove the text so it only shows the icon (and if it is possible, how to do it). I currently have this : But as you ...
0
votes
0answers
24 views

My terminal emacs displays weird characters (\u2506) for unvisiable characters in buffers

I'm currently in a new environemnt, my emacs in terminal displays weird character in files, GUI Emacs works fine. I don't know how to express this, please see the following details: Text edition: #...
1
vote
1answer
57 views

Insert date using a calendar - where other language rather than english is desired

I am interested in inserting custom dates using the calendar, I found Insert date using a calendar which turned out to be quite useful. Org calendar : change date language? seems to have no effect (I ...
0
votes
1answer
23 views

Sending code to an ansi-term via isend-mode: How to modify default buffer chosen and how to automatically open ansi-terms?

I use isend-mode (see here) to send (bash) code to an ansi-term as follows: 1) `M-x ansi-term` # open ansi-term 2) Open buffer with code I want to send to *ansi-term* 3) `M-x isend RET *ansi-term* ...
5
votes
0answers
56 views

Evaluate some arguments to macro immediately

I am trying to call a macro (defined somewhere else; I can't change it), but I want to evaluate some of the arguments before the macro is expanded. Is this possible? For example: (defmacro foo (&...
1
vote
1answer
31 views

tramp-default-method has no effect

I have a config file to setup defaults for tramp. For the purposes of this example foo and bar are hosts defined in /etc/hosts. (require 'tramp) (setq tramp-default-method "ssh") (add-to-list 'tramp-...
0
votes
0answers
13 views

How to prevent org-resolve-clocks from exiting on wrong key/Non-character input-event?

I use org-clock-idle-time to automatically resolve on idle time. When I get back to my computer, Emacs runs org-resolve-clocks-if-idle which runs org-resolve-clocks with the idle time. This is great,...
0
votes
1answer
12 views

Exclude different subtrees from export when using different back-ends

For example, main.org: * Heading * Common subheading * HTML subheading * ODT subheading I want to set tags or properties in such a way, that allows to export into main.html HTML subheading but ...
1
vote
0answers
31 views

open buffers from sr-speedbar in previously active window instead of splitting window

I'm using sr-speedbar to manage a list of buffers. After M-x sr-speedbar-toggle, I switch to the speedbar window, press b to switch into Quick Buffer mode, and then press Enter to select a buffer. In ...
1
vote
0answers
23 views

unbind ALL C-x and C-c shortcuts in org-mode with CUA-mode

For a special purpose application of emacs with org-mode I want to dramatically simplify the shortcuts. I'm already quite satisfied with my config based on CUA mode. The one thing that bothers me ...
3
votes
4answers
136 views

Find file in directory

I switched to Org Mode and Emacs few weeks ago. I find it incredibly better than my previous (simple but effective) setup based on markdown files and VS Code editor. I'm learning new features ...
0
votes
0answers
9 views

Obtaining the results of babel evaluation of docker-compose commands

this is an odd behavior which seems to happen for some docker-compose commands but not others. If I try to evaluate certain commands like #+BEGIN_SRC sh dir: . docker-compose exec app rspec #...
1
vote
0answers
25 views

Customize org-mode state change logging text

How can I edit the format of the org-mode state change logging text? Specifically I'd like to be able to log with a timestamp excluding the time like - State "DONE" from "TODO" [2019-05-...
1
vote
1answer
27 views

How to disable DocView mode (completely)?

I found here that the following disables DocView mode for a specific file type, like PDF: (add-to-list 'auto-mode-alist '("\\.pdf\\'" . fundamental-mode)) But how can DocView mode be disabled ...
0
votes
1answer
42 views

org-mode datetree forward one day in the future

At work we do standups about what we did yesterday, I'm using datetree for my org-capture but the date recorded is by default today's date, I would like to change this so the date is of tomorrow ...
0
votes
0answers
40 views

AUCTeX: 'reftex-cleveref-cref' inserts '\eqref' instead of '\cref' for equations

When I run 'reftex-cleveref-cref', which is supposed to insert a '\cref' command in my LaTeX file, I get the expected behaviour for figures and sections, but not for equations: I get the '\eqref' ...
0
votes
0answers
13 views

Cannot refile to last subtree in narrowed buffer

In org mode, evaluate the expression and narrow the buffer to the first subtree (C-x n s). * one (setq org-refile-targets '((nil . (:maxlevel . 3)))) ** two ** three * four Now put point on the ...
0
votes
1answer
17 views

how to use link path to set the background face?

I would like to use a custom link, i.e. [[h:blue][blue highlighted text]], to create highlighted text. The background color of the highlighted text is specified by the path. I have (org-link-set-...
1
vote
1answer
49 views

How can I create a window that can't be closed?

I create a window with the following (setq ook-window (display-buffer-in-side-window buffer '((side . bottom)))) (set-window-dedicated-p ook-window t) But then when I go to the main window and ...
1
vote
1answer
21 views

emacsclient -c stopped working, server running, emacs works

I am encountering a very strange problem. I worked with emacsclient for a while but suddenly, after starting an emacsclient frame the frame disappears shortly after start when interacting with it. It ...
3
votes
2answers
56 views

Is it possible to show all files in all subfolders in one buffer?

Emacs 26.1, Windows 10, dired+ Suppose I has folder with 2 subfolders. In every folders has files. Is it possible , to show all files in one buffers. Smt like this: P.S. If I use "i" (dired-maybe-...
0
votes
0answers
31 views

AucTeX - Previewing Errors

I'm using Ubuntu 19.04 and Emacs 26.1. Whenever I try to use inline preview (with any region, section, or environment that has inline math), I get the following error: ... TeX Output exited as ...
0
votes
0answers
9 views

Why is C-i executing TAB instead of evil-jump-forward? [duplicate]

For some reason, pressing ctrl+i is sending a TAB command instead of executing evil-jump-forward. Viewing the lossage, I see: C-o [evil-jump-backward] TAB [c-indent-line-or-region] From describe-...
0
votes
1answer
24 views

Retrieving a view of org-mode tasks completed within a range and that have a non-nil property

How can I retrieve, over an elisp list of files list-of-files, a view of all org-mode headers that (i) were CLOSED in between start and end such that (ii) these headers have a property P defined (that ...
0
votes
0answers
15 views

Auto-reverting only renderable PDF buffers

I'm using pdf-view mode and the global auto-revert mode with LaTeX and latexmk. This works fine, except that, a couple of times during the compilation, the PDF is in a useless state and the PDF ...
1
vote
1answer
24 views

Highlight yanked region during sequence of yank-pop's until mark is moved away

I sometimes find myself yanking a large chunk C-y and then cycling M-y through some previous kills. This can feel visually noisy to me, i.e. during the sequence of replaces it's easy to lose track of ...

15 30 50 per page