All Questions

-1
votes
0answers
44 views

Org Koma Letter example renders differently

I've managed to setup and export pdf with https://orgmode.org/worg/exporters/koma-letter-export.html. However, exporting the example letter from the koma letter documentation doesn't display the ...
-1
votes
0answers
12 views

Any way to connect CIRCE via certfp

I found not much documentation around, and the hacks in the Emacs Wiki aren't reliable at all. If anyone could share a certfp config.el I'd appreciate it. PS: Emacs 25 on Debian - Emacs 26 on OpenBSD ...
0
votes
1answer
21 views

Auto line break in a specified window

I copy content to *.org file, but it does not break lines (fill) automatically. It's a very long sentence. How could I enable it to fill automatically?
0
votes
1answer
27 views

How can I set tramp-histfile-override using tramp-connection-properties?

I'm trying to set a different tramp history file override based on connection-specific rules. My attempts have been along the line of: (add-to-list 'tramp-connection-properties (list (...
0
votes
1answer
33 views

What function does C-x invoke?

I learned that M-x invokes command execute-extended-command. Extended commands - GNU Emacs FAQ What command does C-x invoke? I looked through the reference but failed to find the answer.
1
vote
0answers
37 views

Is there any way to add a line or vertical sparation before the next date in org-agenda-view

I would like to add a line to separate the current block of tasks from the next date, so the last task of the date is not just above the next date. I know I can use :box with set-face-attribute 'org-...
0
votes
0answers
12 views

impatient mode javascript 'Identifier has already been declared'

Impatient-mode dosen't work with my javascript code GitHub Repo Site works on first visit, but after any change in the buffor js throws error "Identifier 'Ball' has already been declared". How I can ...
0
votes
1answer
37 views

How to match a quoted symbol in a string in elisp?

I'm struggling to find a correct regexp to match quoted symbol inside a string: " 'foo " or " 'foo.bar " Any help will be appreciated
1
vote
2answers
51 views

Emacs equivalent of 'y%'

In normal mode in Vim, one can use y% to copy text between matching parenthesis. y starts the yanking command and % selects the matching closed or open parenthesis. What is the Emacs equivalent of ...
0
votes
2answers
71 views

Table formula for dates delta

Here my org table: | | Start date | End date | State | Duration | |---+------------------------+------------------------+-------+----------| | # | <2019-01-02 Wed 10:...
0
votes
0answers
13 views

combine or export all agenda files into one HTML

I usually was using org-mode with one huge file and switched to several small files (a file per project) to keep things more organized and easy to manage. The issue is, that when using one huge file ...
1
vote
1answer
31 views

How to use `column-marker-1` with every buffer?

Question may be very dumb, but I can't find the answer on the web : I have a command C-u 80 M-x column-marker-1, and I want it to be launched automatically on every buffer I open. What should I add ...
0
votes
1answer
29 views

Switch cursor to another window between more than 2 windows

I could use C-x o to switch buffer properly between two windows, but when it comes to more than two windows, it fails The cursor stay instantly on the current window. How could I solve the problem?
0
votes
0answers
62 views

What does C-u mean in sequence “C-u M-x”

I learnt that C-u default is to repeat 4 times. For example: C-u t is input tttt However, when I type C-u M-x, it prompts a function list What does invoking C-u mean here?
3
votes
2answers
85 views

Timer on modeline: how to update modeline every second?

As part of my custom mode-line, I've included a feature that displays a countdown timer (timers are created using the chronos package) when it recognises that there is one running. Works great, but ...
1
vote
1answer
22 views

temporarily disable recentf without writing the list to disk?

I'm trying out the dashboard package and noticed that my .org files kept getting added to the recentf list, because dashboard uses OrgMode to generate the agenda that it displays. So I added code to ...
-1
votes
0answers
18 views

Agenda view instead of adding an Attachment

When pressing C-c a the attachment dialog opens instead of the agenda view. I already inserted the list from How to enable agenda view in org mode in my .emacs file. Any suggestions? Thanks in ...
-1
votes
0answers
23 views

How to export iCalendar from today?

(setq org-icalendar-include-todo nil) (setq org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due)) (setq org-icalendar-use-scheduled '(event-if-todo todo-start)) (setq org-icalendar-...
0
votes
1answer
11 views

helm-gtags doesn't reflect the latest code change

I'm using helm-gtags-find-tag-from-here command a lot. It works fine as long as there is no change to the source file contains the definition of symbol under the cursor. However, if I modify the ...
0
votes
0answers
22 views

Change toggle-input-method without 'M-x' input

I am really confused with the way emacs treats input methods. In my previous configuration if I set 'toggle-input-method' to Greek, all key bindings and inputs in other cases (like M-x) used English. ...
4
votes
1answer
47 views

Overwriting files in an emacs dired buffer using move or copy

When copying or moving a file/files in a dired buffer sometimes the file already exists in the location one is moving or copying to. Emacs then prompts the user and asks whether to "overwrite" the ...
0
votes
0answers
12 views

What does “2.87 Mail” mean in prelude?

I installed Prelude, It has a long modeline -UU-:**--F1 gtd.org All of 768 (1,1) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*) Abbrev) [???] 10:21PM 2.87 ...
0
votes
0answers
35 views

Display the time on the left of the mode line

I start emacs from the prelude project but found its mode line annoying, -UU-:----F1 gtd.org All of 684 (19,0) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*...
0
votes
1answer
31 views

How to display org-pomodoro timer in mode-line

I see a video on youtube which display pomodoro clock in mode line I installed lolownia/org-pomodoro: pomodoro technique for org-mode but it's clock does not show on the mode line Alternatively, ...
2
votes
1answer
28 views

How can I sign in using Google to Emacs StackExchange to post questions

I am able to browse the Emacs StackExchange site using Emacs with M-x w3m b URL RET I wanted to try out posting questions and answers to the site using Emacs. The main hurdle I am facing is to sign ...
0
votes
1answer
46 views

How to save a file history?

Is there any packages or extension that will save a file history when you save the file? Example when I save the file it will create a file history of the file and on the later time when I save it ...
1
vote
1answer
22 views

Emulate vim modeline in evil mode

As a background, vim modelines is a magic comment in the text file that sets some of the vim options. It is similar to emacs' file variables. A modeline like ;; vim: set expandtab : in a lisp file ...
2
votes
0answers
38 views

“Negative” scrolling, or: actually recentering first line

Usually, there's some extra "virtual" space shown at the bottom of a buffer, which makes the visual appearance of a file longer than it actually is. This is quite convenient, e.g., if you're trying ...
1
vote
2answers
26 views

How show (filter) only text lines with all uppercase chars?

Suppose I has the next text: test HELLO help HOW ARE YOU buy I need to get (filter) only text lines with all uppercase chars. So result must be like this: HELLO HOW ARE YOU
1
vote
0answers
14 views

How to keep cursor position after quitting undo-tree-visualize

After using undo-tree-visualize and going back to some previous state, I wanna return back to final state (i.e., no undo) with my cursor staying at the position at that previous state. Is it possible?...
0
votes
0answers
25 views

Is #'(lambda …) historical legacy? [duplicate]

(elisp) Anonymous Functions says The following forms are all equivalent: (lambda (x) (* x x)) (function (lambda (x) (* x x))) #'(lambda (x) (* x x)) Because (lambda ...) is the most concise, I ...
0
votes
1answer
23 views

orgmode table time string delta with formula

I wish to calculate time string delta as below: | date | delta | |------------+-------| | 2018/12/28 | 0 | | 2018/12/31 | -1 | #+TBLFM: $2=if(2==@#, 0, ($1 - @-1$1); %.0f The expected ...
-1
votes
0answers
28 views

Emacs: sending a selected region in my SQL script to a sqli buffer, doesn't flush the query to sqli

My environment: Database: Postgresql 11.1 OS: Ubuntu 16.04 (x86_64) Emacs version: 26.1 I have the following SQL script open in an Emacs buffer: -- ================== select ...
3
votes
1answer
39 views

Binding a key sequence to a key sequence instead of a command

In my .emacs, I tried to use (global-set-key (kbd "M-r") (kbd "C-x r j") so I can use M-r to jump to a register. However, doing this and using the command gives After 0 kbd macro iterations: Args ...
2
votes
0answers
46 views

byte-compile and lexical-binding

Could someone in the know please help me understand what's going on here: ;; -*- lexical-binding: t; -*- (let* ((a 0)) (let* ((a 1)) (funcall (byte-compile (lambda () a))))) ;;=> 0 wat? Not ...
0
votes
1answer
39 views

org-mode header property to start cursor at header and start org-clock-in

It's possible to set :VISIBILITY: under a header to make it show at the startup of the file. Does there exist a property to make the cursor start in a header too? How hard is it to write the elisp to ...
6
votes
1answer
78 views

How to prevent emacs from fontifying empty part of the line?

As an example, if I start a one line comment: ;; Comment⏎ Emacs will fontify the the whole line, from the beginning of line, occupying the entire width of the window, as comment. This can be made ...
-1
votes
0answers
38 views

Using PCRE regexes in evil mode search/replace

I have evil-mode installed and am trying to get PCRE regexes working everywhere. I currently have pcre2el installed (https://github.com/joddie/pcre2el) and evil mode installed as well. I also have ...
3
votes
2answers
61 views

Capture org notes to a new file

I would like to improve my notes capture flow to do the following: Use C-c c then n to create a note. Get a minibuffer that searches for an existing file to add the note to (ie. probably with helm), ...
0
votes
1answer
29 views

How remove text before “,” (include) in every lines?

suppose I has the next text: -1,0x0 Fireplace HD 1160,0x0 Music HD 719,1 HD -1,1 MUSIC CHANNEL 154,1+1 -1,100% News -1,100AutoMoto TV I need to remove text before "," (include ,) So the result must ...
-1
votes
0answers
29 views

M-S-RET fail to insert checkbox

I learned org mode following the compact official instruction ** Lord of the Rings My favorite scenes are (in this order) 1. The attack of the 2. Eowyn's fight with the witch king the command M-RET ...
4
votes
1answer
130 views

Is it possible to add templates other than #+BEGIN_ #+END_ to org-structure-template-alist?

I've noticed that org-structure-template-alist changed (I'm using org-mode version 9.2) to automatically expand to #+BEGIN_<some block tag> #+END_<some block tag>. I wonder if it's ...
6
votes
1answer
99 views

where is default org mode capture template for tasks located

I was configuring some capture templates for org mode but when adding any new template to init file, the default TASK template disappeared. (setq org-capture-templates '(("t" "Todo" entry (...
2
votes
1answer
35 views

How to open several shell buffers and rename them respectively?

I try to solve the problem like this in test.el: (shell) (rename-buffer "name1") (shell) (rename-buffer "name2") (shell) (rename-buffer "name3") However, when I use (eval-buffer) to execute, it ...
6
votes
2answers
594 views

How to delete a function?

For what I do I tend to define a lot of functions that I use temporarily. Life span is usually about 1-2 weeks - and then I define a new set of functions. I was not able to find where these ...
0
votes
1answer
22 views

How to access (remote) MS Windows shared directory or files in Emacs25 running on Ubuntu 18.04

My question has already been asked here. However, the solution provided there didn't work for me. Through Ubuntu "Files" I am able to access the samba share with smb://DOMAIN;USER@IP_ADDRESS/...
1
vote
0answers
62 views

Global display line numbers mode not working

I can run (display-line-numbers-mode) and get line numbers but it doesn't work if I run (global-display-line-numbers-mode) (nothing happens). I have traced this to this function: (defun display-line-...
0
votes
1answer
43 views

Evaluating conditional expression in flycheck syntax checker command

I'd like the :command of a flycheck checker to depend on the file extension of the input. For example: for .tex files run the command foo --format latex file.tex for any other file extension run the ...
3
votes
0answers
69 views

Multiple Quit messages in my *Messages* buffer

When I hold C-p or C-n to navigate any page, the movement is jerky and I get multiple Quit messages in my *Messages* buffer. I checked the C-h l to see the commands ran, it only has the C-n [next-...
-1
votes
0answers
18 views

Add minor mode which override evil shortcut

I want to create a minor mode to resize windows in emacs, like the resize mode of i3. I try many things, but evil shortcuts always override my minor mode... My minor mode: (defvar my-window-resize-...

15 30 50 per page