All Questions

0
votes
0answers
5 views

install solarized theme

I can not get this package installed using package-install solarized theme http://melpa.org/#/solarized-theme please throw me a bone
0
votes
0answers
9 views

Set org-duration-units for org-mode scheduling

I'm trying to set org-duration-units that's used by org-mode effort estimates for formatting times in 8 hour days instead of 24 hours days. I'm in no way an emacs and lisp expert, currently learning ...
0
votes
1answer
10 views

Org Agenda schedule number of hours allocated to a task

Is there a way to tell Org Agenda to schedule X number of hours for a task without a specific start-end time? Presently, the standard format is this: SCHEDULED: <2019-06-20 Thu 9:00-12:00>
0
votes
0answers
7 views

ivy counsel-find-file doesn't change selection as more characters typed

I have (setq ivy-sort-matches-functions-alist '((t . ivy--prefix-sort))) If I am in a directory with files mc_multiword.txt and multiword.txt and am using counsel-find-...
0
votes
1answer
41 views

How to copy and cut multiple lines in Emacs correctly?

I have researched it. Most post said this way: C-SPC C-n M-w It works. But in my case. It only copied a block where the cursor moved. Not the whole lines area I want. For example, the source below: ...
1
vote
1answer
19 views

How to turn typopunct minor mode on globally

I want to be able to use typopunct minor mode globally. I have tried to add (global-typopunct-mode 1) to my init file, like so ;; Typopunct mode (require 'typopunct) (typopunct-change-language '...
0
votes
1answer
14 views

org-capture fails: base buffer has been killed

I am trying to set up GTD for org-mode by Nicolas Petton. I have a very simple org-capture-template: (setq org-capture-templates '(("t" "Todo [inbox]" entry (file+...
1
vote
0answers
13 views

emacs: cannot open terminfo database file

I've created a new terminfo entry to enable italics in my terminal, as described here. The new terminfo entry looks like: xterm-256color-italic|xterm with 256 colors and italic, sitm=\E[em, ritm=\E[...
0
votes
0answers
37 views

How to execute a shell script inside of emacs?

I simply want to execute the whole file I am editing right now in a small shell buffer just like I can run my python script. How can I do this?
0
votes
1answer
10 views

How to make linked word in org-beamer stands out?

I am using org-mode with Beamer. Using the Barkeley theme, I wrote something like this: To [[http:www.google.com][Google]] However, the outputed slide doesn't indicate any hint of the word "Google" ...
0
votes
0answers
25 views

Setq org-agenda-files in Windows

I'm just looking to add files to my org-agenda-variable. I added a single file successfully but am unable to use multiple. With the code below in my .emacs.el file, the agenda buffer shows 0 TODO's ...
0
votes
2answers
12 views

Save buffer immediately after org-archive-location

Question How do I immediately save the .org buffer created by org-archive-location? Context and what I've tried so far Current .emacs settings: FILE: .emacs (setq org-archive-location (concat "~/...
0
votes
2answers
38 views

Simple way to add parent node

Is there a simple way to add parent node in org-mode? * heading ... # 100 or more first-level headings over here * heading # interspersed with ones with subtrees ** heading ** heading *** heading ......
0
votes
1answer
14 views

Can't use .bashrc file on remote server from ssh within emacs

Login to remote server with ssh in Emacs, general commands run well. Such as ls, docker ls, etc. C-x C-f /ssh:... But when I tried to run a command which alias to another which set in the .bashrc ...
0
votes
0answers
4 views

Can we get inline results with polymode for Rmd files?

As a new Emacs user, I've recently learned how to use polymode to handle R code in org-mode. I'm happy with it, since I get the same features than those implemented for example in Rstudio for Rmd ...
0
votes
0answers
14 views

formatting dates in Emacs when run as a daemon

I run Emacs on a Linux (actually Xubuntu 19.04) machine and my localization settings call for an Italian locale. When generating timestamp, however, I'd like to have English months and weekday names....
1
vote
1answer
32 views

Adding rule to indentation

A code base I work on has the macro #define when break; case to make switch statements 'cleaner' However this causes problems with indentation, Is it possible to set the behavior of 'when' to be ...
0
votes
0answers
17 views

Chinese Text commentary syntax highlighting

Plain text inherited from ctext.org contain the following syntax: {{...}} 堯年十六,以唐侯升為天子,遂以為號。{{《論語·泰伯》疏 案曰:堯典正義云:徧檢書傳無帝堯卽位之年,則此似非伏生大傳文,疑出書緯。}} 辯章百姓。{{見《毛詩·采菽》正義、《史記·五帝紀》索隱、《後漢書》注}} ...
0
votes
1answer
31 views

ELPA list is missing markdown-mode according to list-packages

I'm trying to install markdown-mode using instructions on https://jblevins.org/projects/markdown-mode/, according to which I put into my init.el file (require 'package) (add-to-list 'package-archives ...
1
vote
0answers
20 views

Emacs not asking for password for .gpg file

Have recently upgraded to Ubuntu 18.04 which required an emacs reinstall of version 24 Now I've noticed that my symmetrically encrypted org mode file (file.org.gpg) no longer requires me to enter the ...
3
votes
2answers
29 views

How do I get byte-compilation warnings about undefined variables?

The following code works fine with M-x eval-buffer, and byte-compiles without any warnings. (eval-when-compile (defconst demo-one 1)) (defvar demo-some-var `(foo bar ,demo-one)) However, if I ...
0
votes
0answers
19 views

org-insert-link sometimes produces “wrong type argument: stringp, nil” after prolonged use of emacs

It usually happens after a couple of days of use that C-c C-l / org-insert-link inside .org files does not allow me to insert new links anymore. What I want to do is interactively insert link ...
1
vote
1answer
25 views

How can I get flush left text in org-indent-mode?

I open an org file in emacs and it displays thus: I enable word wrap with M-x visual-line-mode and get: But I prefer the extra indenting of headlines provided by org indent mode, so then do M-x org-...
0
votes
0answers
13 views

Outline minor mode + mouse

XEmacs had outl-mouse that used outline-minor-mode plus a few pixmaps and mouse keybindings to let old lazy guys to hide and show (in my use case) sections and subsections etc of my AUCTeX buffers, ...
3
votes
3answers
241 views

How to modify a string without altering its text properties

If I propertize a string and save it to a variable, how can I change the string within that variable without altering its text properties? For example: (setq myvar (propertize "testing" ...
0
votes
1answer
37 views

How to skip to the last non-blank line?

Is there a way of calling (end-of-buffer) that excludes trailing empty lines?
1
vote
1answer
39 views

Directed Acyclic Graphs in Org mode, and Cloned Nodes

By default, Org-mode headers form trees. That is, every header can have an arbitrary number of sub-tasks, and this relationship is recursive to an arbitrary depth. However, a task in practice can be a ...
0
votes
0answers
31 views

How Do I Create a Popup Window?

I would like to create a (read-only) popup window with some text in it, such that the user can close it by pressing 'q'. You know - the kind you see when you try compiling and get errors. Any ...
0
votes
1answer
24 views

Use Helm for Org Refile Completion

I want to use helm for org-refile completion when determining which heading to refile under. Here are some excerpts from my initialization script. (setq org-refile-targets '(("~/Documents/GTD/Gtd....
0
votes
0answers
13 views

Org-mode tell paragraph position in subtree

Is there a quick way to show where a paragraph is sitting in the document structure hierarchy? * Chapter 1 ... * Chapter 5 ** Section 4 ... paragraph X I would like to tell that paragraph X is ...
0
votes
1answer
30 views

org-mode numbered list across headings

I have a list of items. * Heading 1 1. Item 2. Item * Heading 2 1. Item 2. Item 3. Item Is there an easy way to make the numbers run across the headings like this? * Heading 1 1. Item 2. Item * ...
0
votes
1answer
64 views

How can I quit from multiple-cursor mode by ESC

I want to bind ESC to quit from multiple-cursor mode. This code doesn't work: (define-key mc/keymap (kbd "<ESC>") 'mc/keyboard-quit) How can I do it?
2
votes
1answer
23 views

How to use `recover-session` and `dired-omit-mode`?

I have enabled dired-omit-mode globally with (add-hook 'dired-mode-hook #'dired-omit-mode). When using recover-session, I don't see any files. How to fix this? Creating a .dir-locals.el containing ((...
1
vote
1answer
16 views

After setting bookmark: `Wrong type argument: listp, "~/.spacemacs`

So I did just M-x bookmark-save in my original .spacemacs file, which lead to the case that when I booted Spacemacs, I get the following error: Upgrading bookmark format from 0 to 1... mapcar: Wrong ...
0
votes
0answers
13 views

Synchronised scrolling in Evil mode

Is it possible to do synchronized scrolling of two windows in Evil mode, similar to what :set scrollbind does in Vim? sroll-all-mode doesn't quite achieve this. For example, it doesn't scroll on G or ...
0
votes
0answers
32 views

Any differences between M-x command and (call-interactively #'command)?

Q: are there any differences between M-x command and (call-interactively #'command)? I have an obscure bug I'm trying to hunt down, and can't even begin to think of how to do it. the summary version ...
1
vote
1answer
27 views

How to use a org-capture template expansion several times in a captured note

I am trying to create a org-capture template that re-uses some text given with the ‘%^{PROMPT}’ expansion along several points of the created note. I have looked in this link and in stack overflow ...
1
vote
0answers
21 views

Align statement breaks on rhs with equal sign

Is there a way to have rhs statement breaks align with the equal sign on the lhs line? e.g. some_value = a * b + c / some_other_value * x; becoming some_value = a * b + c / ...
2
votes
0answers
28 views

Custom indentation for macros in C mode

I'm working in a codebase with an extensive use of function macros and I'm having some difficulty finding the correct way to set indentations with them. Specifically, we pass a lot of statement lists {...
0
votes
2answers
50 views

How replace either of two words using a regexp to find them?

Text How are you? I'm just fine. I need to add some suffix to the next words: are and fine. I try this: \(are\)|\(fine\) but it doesn't help.
3
votes
1answer
20 views

Mapping new command involving <escape> clear all predefined <escape> commands

I have the command fill-paragraph mapped to key <escape> q, it is mapped by default in emacs. Now I want to map the opposite command, unfill-paragraph, to key <escape> p. However, when ...
0
votes
0answers
14 views

Speedbar opens a normal text buffer, not dired like

I'm trying to use Speed bar when coding C++. My problem is, when I type M-x speedbar it opens an already opened code file instead. Here you can see the effect:
1
vote
1answer
15 views

Missing color support (for exa) in eshell

I just started using eshell. But the color support for some commands seems to be missing. For example I like to use the command exa, because of its nice colors. But in eshell it is all black.
0
votes
1answer
15 views

Org-ref not communicating with Tex-live?

Org-ref cannot tell that I have biblatex-caspervector installed. Is this because of some packages that I missed?
0
votes
0answers
28 views

org-mode internal link works only in some cases

I have an .org document with the following structure. * Headline 1 This is some text * Headline 2 :Custom_id: h2 This is heading number two ** Sub heading 1 <<target>> ** Sub heading ...
3
votes
2answers
34 views

Is it possible to apply a function to every region between two “marker” lines?

I have a .tex file that looks something like this: $ cat foo.tex \begin{document} \begin{question} lots of multiline text with several paragraphs of information \end{question} other text \begin{...
-1
votes
1answer
20 views

mark-whole-buffer followed by kill-ring-save not working correctly

I'm using Emacs 26.1 on MacOS. Instead of copying the entire buffer I get a warning: Saved text until "text where is stopped saving with whitespace seemingly to the end of the buffer " I'm ...
0
votes
1answer
30 views

How to enable the superword minor mode globally?

I am just wondering how to enable the superword-mode globally? I tried to enable it following the answers found here: How to enable ido-mode forever? , using: (require 'superword-mode) (...
1
vote
1answer
46 views

How to change window splitting behavior in Magit?

emacs: 26.2 spacemacs: develop (19c429e) magit: 20190609.1424 Some time ago (e.g. 20190222.1746), magit's window management used to be different from how it currently is. For example, magit-status ...
1
vote
1answer
12 views

Org Agenda is looking for agenda file names inside of my todo file

When I try to open a org-agenda view, I am prompted with emacs claiming that the first line of my todo list is not a valid file, with options to remove it from the agenda list, or abort. Removing it ...

15 30 50 per page