All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

bind german mutated vowel keys to functions

I have a German keyboard and would like to bind Isearch to C-ö. How can I do this?
1
vote
1answer
14 views

Can I (or should I) toggle off the left side of bookmark-list display (Bookmark+)?

I started using Bookmark+. Haven't customized it at all, it seems its using the left half of the screen to show what seems like "duplicate" information. As I using this tool right?
0
votes
0answers
6 views

What are the steps to set up elpy to use the anaconda python distribution on Windows?

I have anaconda installed on Windows (Windows 7), and it is working well in Jupyter. But of course I'd prefer to work in emacs. I have elpy installed in emacs, and it successfully sends commands to ...
1
vote
2answers
17 views

How to interpret buffer-display-time values?

I am trying to use buffer-display-time var, in order to come with a solution for this question. Having a look at the documentation, I get this: buffer-display-time is a variable defined in ‘buffer.c’...
1
vote
1answer
138 views

How to export top level trees in an org file to corresponding files?

Executing the following code should create, for each top level tree in your file ~/tmp/file.org, an other file in ~/tmp named after the tree heading and containing its content. Problem: it does not ...
3
votes
3answers
83 views

How to determine which program is running inside an emacs shell buffer?

I have an emacs shell buffer which may or may not be running a certain interactive program such as ftp or python. I wish to write a lisp function which will interact with this program, but I would ...
3
votes
2answers
166 views

File-local variable to force specific shell for shell-script major mode

I'm having the same problem as asked in this question: emacs is dropping into shell-script mode, but for the wrong shell variant. Using a shebang as suggested in that question's answer is ...
0
votes
0answers
17 views

In EXWM (Emacs X Window Manager) how can I switch to previous X window?

This question is related to this... In this case I wonder how could I switch to the previous X window when working in a given workspace of EXWM (by X window I refer to a top-level X window created ...
1
vote
0answers
9 views

spacemacs opens file in terminal split

I'm using neotree and as you know it opens a file in the most recent window split you accessed before switching to neotree (window 0). Sometimes this last accessed split is the ansi-term window I ...
1
vote
1answer
45 views

Making a dynamic, interactive function

I have make a macro that creates dynamic functions: (defmacro tjb-make-register-macro (func-name out-string) (list 'defun func-name () '(interactive) (list 'insert out-string))) ;; This call ...
0
votes
1answer
21 views

Can't paste(yank) selected region by multiple-cursor

Is it possible to copy/paste region. I whant to copy city's name from the next text. Here text: 000 111 222 key=Paris, 555 666 111 222 key=Berlin, 555 666 1111111110 111 key=Toronto, 555 666 ...
4
votes
1answer
122 views

How to set tags-table-list as a per-directory local variable?

I have two tags tables that I would like to be searched/visited when I'm working on one of my R packages. I am able to set them globally with the following code in my .emacs config file: (setq tags-...
3
votes
1answer
84 views

Org-mode: Entering time with academic quarter as 2ct

One can enter the time 14:00 by typing 2pm. One should also be able to enter 14:15 by typing 2ct. ('cum tempore' indicating an academic quarter.) Is it possible to get this behaviour? (Or 14ct. ...
0
votes
1answer
73 views

How to use 'glossaries' package in aquamacs, or I mean how could I run makeglossaries in aquatics

I find the instruction from enter link description here as given below \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{glossaries} \makeglossaries \newglossaryentry{latex} { ...
0
votes
0answers
20 views

Spacemacs: smart search skips C++ files

emacs version: 26.1 Spacemacs version: 0.200.13 Spacemacs init is the default generated one. Smart search set to ag OR grep My git C++ project has C++ source and header files, plus python and text ...
3
votes
1answer
50 views

Quickly navigate through a cascade of otherwise empty directories in helm

I'd like to be able to quickly skip to the bottom of a cascade of otherwise empty directories. Consider the following directory structure: foo/ bar/ baz/ a.txt b.txt If I were in ...
0
votes
1answer
79 views

setting default columns in org column mode into init file

Trying to set preferred columns in ORG column mode. this works perfectly if I put it on head of the file: #+COLUMNS: %45ITEM %TAGS %PRIORITY %TODO %CLOSED %SCHEDULED But I avoid to repeat it for ...
1
vote
1answer
39 views

Cannot run cquery

I have been using rtags as my primary C++ mode, but I found that it's performance is not satisfying for large code bases e.g. Linux kernel. It takes more than 5 seconds to find definitions. This it ...
1
vote
1answer
21 views

Use lsp-mode for some projects and ggtags for others

Is there a way to configure Emacs to activate lsp-mode for some projects and ggtags for other projects? Maybe using .dir-locals.el? I code C++ and the project I most often work on doesn't support lsp-...
3
votes
3answers
33 views

How to change the font face of the current buffer?

I am using tex-mode in Aquamacs and would like to temporarily change the font for the current buffer. What is the way to do it? I tried: (set-face-attribute "American Typewriter" nil :height 150) ...
1
vote
1answer
25 views

Org-babel python with session breaks output

If I run the following code block: #+BEGIN_SRC python :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC I get the result as expected: #+RESULTS: : /|...
0
votes
1answer
18 views

Disable flycheck in XML files [duplicate]

When flycheck runs when I am editing largish XML files (I believe it is just nxml mode), it tends to slow things to a crawl and then I have to kill emacs since C-g only works for a fraction of second. ...
3
votes
1answer
321 views

Export all org-mode sections as Beamer frames?

Is there a way to have all of my Org-mode sections export as Beamer frames? For instance, if I have a document like * A ** B ** C then I would like a slide for each of A, B, and C. Setting H:2 gives ...
2
votes
1answer
25 views

How can I set color for listing executable files in Dired Mode?

Trying here to set color for executable files, as it is for ls command! How can I do that? I've already managed to set color for certains file extensions, using Diredful package, but couldn't do it ...
1
vote
2answers
145 views

Org mode - storing LaTeX preview files in a separate directory

Let's say I am working with "file_name.org" file. When I use C-c C-x C-l to generate a LaTeX preview, it creates a png image and store in ltximg/ directory by default. I would store the preview ...
0
votes
0answers
11 views

Memory Profiler reporting error upon profiler-report

After calling profiler-report after doing profiler-start and selecting mem I get the following error: maphash: Wrong type argument: number-or-marker-p, unbound Any Idea why?
5
votes
1answer
129 views

(progn (scroll-up 1) (goto-char 0)) is different from (scroll-up 1) then (goto-char 0)

In any buffer, try to eval-expression the expression (scroll-up 1) and then eval (goto-char 0). The window scrolls up, then point is moved to the beginning of the buffer. Now, try eval-ing (progn (...
3
votes
3answers
140 views

How to discover all available Emacs packages?

How can I discover all available packages of Emacs? So far, I was under the impression that I could find almost anything through one of these means: The Emacs Manual (C-h r) M-x list-packages C-h p ...
2
votes
1answer
703 views

How to customize org-agenda-* faces in .emacs file?

I am trying to customize org-agenda-* faces such as org-agenda-date, org-agenda-date-today, and org-agenda-date-weekend in my .emacs file. Normally, I install the use-package package to lazily load ...
8
votes
1answer
577 views

Issue with nnmaildir in gnus

I've been trying to get nnmaildir to work along with mbsync (which syncs IMAP and Maildir mailboxes) and I just cannot get it to work with gnus. With the following select method: (nnmaildir "calgary"...
0
votes
1answer
28 views

Emacs freeze with async command

Emacs 27.0.50. Windows 10. This function works finely when the line is commented: (defun Pfedj/write-async-file () (interactive) (async-start (lambda () (setq path "~/org/file....
3
votes
1answer
231 views

ipython in emacs: Figure windows “not responding” on Windows 7

I am trying to get a good setup to do scientific python on windows 7. To be complete, I am using Anaconda for Python package management, and emacs 25.2 (the native windows build from GNU, not the ...
0
votes
2answers
498 views

Org-mode: How to fix table width to page width for dynamically generated tables?

I am using dynamically generated table to create a tabulated to do list with various parameters using: #+COLUMNS: %ITEM %SCHEDULED %DEADLINE for more info see: Org-Agenda export to dynamic Org-Table ...
0
votes
1answer
12 views

How do I control how the contents of an element/object are combined when defining an org-mode export backend?

I'm working on implementing a custom Org mode backend and trying to understand how the exported contents of an element/object are combined together by the export system. It seems like everything is ...
2
votes
1answer
40 views

Ignore both uppercase and lowercase versions of the extensions listed in completion-ignored-extensions

How can I get Emacs to ignore, say, both .pdf and .PDF files without listing both ".pdf" and ".PDF" in completion-ignored-extensions?
0
votes
2answers
41 views

How to break the undo chain from a function call? (not Ctrl-G)

When undoing you can press Ctrl-G to redo. This runs keyboard-quit which signals quit. However this isn't convenient because as far as I know you can't run commands after keyboard-quit. Is there a ...
0
votes
1answer
104 views

Showing Section Name in Each Frame (Org-Mode Beamer)

Roughly, I have: #+options: H:2 * Introduction ** Some definition + list item1 + list item2 This shows Some definition as its own beamer frame (with + list item1..). Question: How can I ...
1
vote
1answer
57 views

How do I display an image full width?

I am using GNU Emacs to display the cover of the album mpd is currently playing, inserting it into a *jukebox* buffer with this code: (put-image (create-image albumartname 'imagemagick nil :width ...
2
votes
2answers
897 views

(Evil) “General” leader key (SPC) not working in some modes (dired, *Messages*)

I use Evil, and I'm using the General package to set my custom keybindings. I'm using SPC as a leader key. The trouble is, I find that SPC is not interpreted as my leader key in some modes, namely ...
0
votes
1answer
95 views

Creating table of content with the package titletoc in Org Mode for LaTex export produces strange lines of text

I use the LaTeX package titletoc to produce table of contents in some chapters or sections for Org-Mode LaTeX / PDF export with #+TOC: headlines 1 local But in the PDF file there is for example the ...
5
votes
2answers
305 views

Change field separator for sort-fields

sort-fields and sort-numeric-fields work great; but the field separator is whitespace. I would like to use a different delimiter (e.g.: [colon-char]). I want this feature because I find myself ...
15
votes
0answers
1k views

Number of Emacs users in the world?

I saw someone on Twitter posing the question: It struck me as a very interesting question and got me thinking about how large the community actually is! I came up with two data points: Based on the ...
1
vote
1answer
26 views

How to change shell-script-mode indentation not to use tabs?

To reproduce my issue, open your .bashrc or a .sh file and type the following: if while echo The if has no indentation. Good. The while has the default four spaces of indentation. Good. ...
2
votes
1answer
81 views

extra frame in (visible-frame-list) when started in daemon mode, is causing problems

When I start emacs (emacs), and then eval (visible-frame-list), I get a list with one frame, the one that is visable. However if I start emacs as a daemon (emacs --daemon), and then eval (visible-...
0
votes
0answers
60 views

Org file is automatically re-arranged

I have an org-file with a todo list organised by weeks, like the following: * Sunday ** DONE Ask in StackExchange. SCHEDULED: <2019-06-28 Fri 13:00-14:00> * Monday ** TODO Get an answer ** ...
2
votes
1answer
94 views

Helm/Projectile outside a project

I use the packages Helm and helm-projectile for navigating in Emacs. I ran into problems, when I use projectile-helm inside Helm, and I'm able to reproduce this with a empty Emacs init file. The ...
0
votes
0answers
6 views

Drop rows with zero time in org-mode agenda clockreport

I recently found org-agenda-clockreport. Because I keep all my .org files in a single directory (indexed by deft), including files with notes and no tasks, I get a table with tens of rows, with only ...
0
votes
1answer
22 views

Is there any way to expand sub 'item'(not headline) tree cyclically?

In org-mode, is there any way to expand sub 'item'(not headline) tree cyclically? I tried hitting TAB(org-cycle), but it expands headline and all sub item tree showed at once. Here is the example. ...
0
votes
0answers
18 views

running pytontex script in auctex

When using the pythonTeX package I need to compile my latex files in three steps: run latex <mylatexfile> run pytontex <mylatexfile> run again latex <mylatexfile> How to ...
1
vote
1answer
296 views

M-x shell from MSYS2: cannot set terminal process group

I'm using MSYS2-x86_64, and whenever I do M-x shell I see the following: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ]0;~/.emacs.d ...

15 30 50 per page