All Questions

0
votes
1answer
30 views

Multicursor - not select all word in all lines?

Here text Now I want to select text after "=". Move to beginning of word "1111" M-x mark-sexp And here result: But I need to select the next words on 4 lines: 1111 aaaaaaaaaaaaa 11111 ...
0
votes
0answers
38 views

Is there a way to have multiple modes in one buffer? [duplicate]

This is kind of a weird question, but I have a file that's a mix of perl, text, and Bourne shell. Is there some (easy) way to have emacs switch major modes at different points in the file? Perhaps ...
0
votes
1answer
19 views

Python, How to find the right indent level when the openning of desired indent level is not visible in a screen?

say you have for user_id, group in df.sort_values( ['user_id', 'timestamp'], ascending=[True, False] ).groupby('user_id'): group = group.reset_index() positive = ...
0
votes
0answers
29 views

Return to original buffer after opening REPL

I've got this in my config.org , which is called by my init.el: #+begin_src emacs-lisp (defun bauf/execute-startup-block () (interactive) (progn (org-babel-goto-named-src-block "startup") ...
1
vote
1answer
25 views

Let org-timestamp-up/down work on non-timestamp

So in org-mode, shift-up and shift-down works on timestamps. Is there a way to let it work on arbitrary dates in the text that is not a timestamp? For example if I write The date is 2019-01-01. ...
6
votes
1answer
139 views

How do I keep Mac Emacs from trapping M-`?

I want to use the command key on my Mac as the meta key, so I customize ns-command-modifier. But I also want to still use ⌘-` to cycle through all the windows in Emacs - just like in all other Mac ...
0
votes
0answers
31 views

Speedbar not starting

I'm currently using Xemacs on Windows 10 in compatibility mode and running in VHDL-mode. When I attempt to open the Speedbar Xemacs returns with An error occurred while opening speedbar. I'm trying ...
3
votes
0answers
27 views

Pdf-tools fails to print

Using pdf-tools I attempt to print via pdf-print-misc-document though nothing gets printed? In messages I see without any errors: Print job started: /usr/bin/lpr -P myprinter -o media=a4 -o InputSlot=...
2
votes
1answer
27 views

Is it possible to disable wrapping of inline HTML with <p> tags?

If I have the following line in an org-mode file @@html:<section>@@ If I export to HTML, it becomes: <p> <section><br> </p> This applies the CSS I have for my <p ...
4
votes
1answer
55 views

sh-script-mode: get [[ … ]] pair expansion to automatically include whitespace?

Say you're coding a shell script and you want to write something like: if [[ "$out" =~ 'none' ]]; then return $err fi If you're just typing it out and have any of the various electric/pair ...
2
votes
1answer
34 views

Open org-mode links to info in different window?

I was wondering if anyone knew of a way to open links to info pages (Emacs manual) from org-mode without changing the current buffer to that info page? The reason I would like to do this is because I ...
1
vote
0answers
26 views

Elpy auto-complete gives incomplete suggestions

I am trying to use Elpy for Emacs to write Python programs. The auto-complete feature suggests all attributes of PyQt5 classes, but suggests only a subset of the attributes of instances of these ...
1
vote
2answers
40 views

Emacs daemon preventing correct operation of saveplace

Writes to saveplace are not persisting after the emacs daemon stops. Saveplace is configured in my init file as: ;; saveplace remembers your location in a file when saving files (use-package ...
3
votes
3answers
65 views

How did some of my text get highlighted with a magenta background?

I pressed some combination of letters by mistake and part of my Python buffer got a purple background color (or magenta, fuschia, violet, orchid, depending on knowledge of colors). The only way I ...
0
votes
1answer
35 views

Org babel gnuplot cannot find or open file with ledger-cli report

Expecting gnuplot to create a png on evaluating a ledgerCli plot report I get the GnuPlot error at the bottom of this post LedgerCli #+NAME: LedgerCli #+BEGIN_SRC ledger :cmdline reg Assets:Cash -J ...
1
vote
1answer
34 views

The status of Xwidgets and webkitgtk?

When I want to try some packages that need xwidgets, I found Arch linux's default Emacs has not Xwidgets support. This is not the only distribution that doesn't include Xwidgets in compiling Emacs. I ...
1
vote
1answer
38 views

How to hide all dired buffers in ibuffer?

I want to hide all Dired buffers as major mode in Ibuffer. But (add-to-list 'ibuffer-never-show-predicates "magit*") ibuffer-never-show-predicates accepts a regexp and a function. How can I hide ...
1
vote
1answer
31 views

search and replace double space

I've only recently started using emacs, for professional reasons. I'm trying to replace all double spaces in a text file by single ones using regex. In C-M-s the expression \s-\{2\} matches two spaces ...
1
vote
1answer
44 views

How to gnuplot a referred evaluated table in org-babel?

Hitting ctrl-c ctrl-c on the gnuplot code block returns: org-babel-ref-resolve: Reference ‘foo’ not found in this buffer #+srcname: foo #+begin_src python :results output raw :exports code import ...
1
vote
0answers
23 views

how do I get Flymake to recognize files in my load-path?

when running Flymake against ~/.emacs, I see errors complaining about missing files like "powerline" and "company" - i.e. stuff contained in load-path. How can I configure Flymake's elisp backend to ...
0
votes
1answer
48 views

How to use org-capture in a function without killing the buffer, customize capture refile

I am trying to create a function, which captures a note and then copies the same note to another file (In my case for a google calendar synchronization). The problem ist that after giving the capture ...
0
votes
1answer
25 views

auto-start of linum mode doesn't work

I'm currently using spacemacs. I have put the line (global-linum-mode t) into the .spacemacs file but it doesn't work at all. It used to work when I used the normal emacs. I don't have any clue of ...
0
votes
1answer
45 views

ob-async issue, seq-random-elt not defined

I would like to asynchronously run code blocks in org mode. My org mode version (org-version output) is: Org mode version 9.2.1 (9.2.1-23-g126a37-elpa @ /home/user/.emacs.d/elpa/org-9.2.2/) I ...
0
votes
0answers
12 views

send-delay: buffer *temp-123456* modified, kill anyway?

I use mu4e for email with send-delay. I often get an Emacs pop-up warning with buffer *temp*-123456 modified, kill anyway? and it seems related to when the wi-fi fails or the computer has no internet ...
1
vote
0answers
42 views

How are unrelated modes enabled?

I've been an emacs user for about a year now and I use it for Haskell programming. I chose to go the vanilla emacs route and customized a plain init file as I went along. Over time, however, I ...
2
votes
0answers
22 views

Find all tasks marked as done today

While in my agenda, I mark several TODOs as DONE as I complete them. Is there a way to see what all was marked as DONE today?
3
votes
0answers
21 views

How can I use the #+OPTIONS: broken-links: option to ignore broken links, in a specific way?

I have a very large orgmode document that has internal links to many different parts of the document. If I try to export a subtree that has an internal link that points to a part of the document ...
2
votes
1answer
53 views

If start with maximized frame, why do windows open top &bottom, not side by side?

I have the following in my .emacs: (add-to-list 'default-frame-alist '(fullscreen . maximized)) And (add-hook 'window-setup-hook (lambda () (find-file "FILE.org") (shell))) ...
1
vote
0answers
35 views

Do buffers have the notion of a “parent”? [closed]

Often times, when I'm done a task, I'd like to close out of all buffers I was using for it. However, I usually don't, because I think it'd be a pain. What I'd like is to be able to kill all buffers ...
2
votes
1answer
33 views

Run shell program on e-mail in mu4e

I receive GnuPG-encrypted (and signed) e-mails through an MS Exchange server. Unfortunately, the exchange server messes up the GPG format, such that mu4e cannot decrypt correctly. This is a known ...
0
votes
0answers
15 views

Keep projectile and treemacs in sync

Since projectile and treemacs are independent project and treemacs-projectile is written as helper. However I fail to understand the concept of it. I want to see all my projectile projects be shows ...
2
votes
1answer
54 views

Global lexical-binding setting?

I've seen ;;; -*- lexical-binding: t; -*- at the top of a file and (setq lexical-binding t) as how to turn on lexical binding for elisp code, but is there a way to tell Emacs to simply always do ...
9
votes
3answers
1k views

How to start emacs in “nothing” mode (`fundamental-mode`)

If I type emacs test.sh Emacs insists on putting me in Shell-script mode. Another time I want to edit the file help.txt and then Emacs puts me in Text mode. But sometimes I don't want any of this, ...
0
votes
0answers
20 views

TeX-evince-sync-view locking up with this file

This file when I compile it with AUCTeX, and then try to view it, using TeX-evince-sync-view, shows that one page has been compiled, but then shows a blank view. After I kill it, TeX-evince-sync-view ...
1
vote
1answer
34 views

Edit with Emacs chrome extension closing windows

I have the edit with emacs chrome extension. I have emacs open in one frame with multiple windows on different buffers open. When I am in chrome and focused on a text box I press Alt-Enter. This ...
2
votes
1answer
57 views

Why ido mode automatically change current folder when create new file?

I want to create file credenentials.txt in folder d:/dev/GoogleDrive/_IPTV/Playlists/OttClub/ M-x C-x C-f Press "c" result: press "cr" result: As you can see Emacs change folder to d:/personal I ...
0
votes
0answers
56 views

How can I make Emacs enter a TAB character when I press the TAB button, without modifying my config file?

I am looking for a command I can enter that will make the TAB key input an actual TAB character. I'm open to anything that is temporary or that will not stomp on TAB mappings that do things other ...
0
votes
0answers
34 views

Spacemacs laggy without external keyboard

I recently installed Spacemacs on my laptop and I notice strange bahaviour; if I'm using it with external keyboard everything is fine but soon as I use laptop without external keyboard Spacemacs ...
0
votes
1answer
16 views

Append Prettify Ignore Symbols

Prettify seems to work well with languages like matlab or python by ignoring things like addition (+) or multiplication (*) when directly next to the symbol. I'd like to add things like underscore (_) ...
0
votes
0answers
13 views

Can I force erlang-mode to use 4-spaces for indents?

I'm working within a small team writing Erlang. I'm the only developer using Emacs. The Erlang code the rest of the team outputs is indented using multiples of 4 spaces. For example: ...
0
votes
1answer
36 views

OS copy/paste not working for emacs-mac

GNU Emacs 26.1 (build 1, x86_64-apple-darwin16.7.0, Carbon Version 157 AppKit 1504.83) of 2019-01-27 I just recently installed the emacs-mac port of GNU Emacs 26, and the OS copy/paste functionality ...
1
vote
1answer
46 views

how org-capture can insert value in an existing table line

I am diabetic and I have to take my blood glucose three times a day (morning, noon, evening) I can do in three separate tables, and I create a table to group the daily records. How could I capture all ...
1
vote
1answer
29 views

Disable VC for SVN in exclusive-locking mode

I have Subversion exclusive-locking enabled to increase SVN performance. If I commit a file the svn command line client opens Emacs so I can enter a commit message. But Emacs VC tries to determine the ...
1
vote
0answers
17 views

Can I use a dynamic parameter for a org clocktable's “block” in BEGIN?

I am generating monthly bills with org-mode which also includes a clocktable. The month ideally should be only defined once at the top of the file and the value then be used by any dynamic block. Can ...
3
votes
0answers
53 views

Are zero-based column numbers an Emacs idiosyncrasy?

The first line of a text file is line number 1 in probably every application I have ever come across, including Emacs. Every application I have at hand also uses column number 1 for the first column ...
0
votes
0answers
14 views

How to hide and restore popups in spacemacs GUI mode on OSX?

I tried to do some live coding today and stumbled upon this issue. The popups for lsp-mode were so big that they covered most of the code. I find the information helpful but I don't know how can I ...
1
vote
1answer
26 views

How to enable Ctrl-Option combinations with OS X

I can't get simultaneous presses of Ctrl + Option and other keys to register in Emacs. For example, if I press Ctrl-h c (describe-key-briefly) and then Ctrl-Opt-f, it doesn't recognize that I've ...
1
vote
1answer
40 views

Org-mode: add a deadline with minutes

In the quick capture window, I can add a deadline for 12pm today by typing C-c C-d 12pm: ** TODO test DEADLINE: <2019-03-26 Tue 12:00> If I add minutes with 12.30, it moves the date to 2030: *...
1
vote
1answer
47 views

Have flycheck skip certain regions

I'm using flycheck to check my .tex sources but find that the syntax checking is too comprehensive. In particular, I'm interested in skipping syntax checking of certain environments such as code ...
1
vote
0answers
39 views

Align columns in Org Mode with Korean letters

When I try to make a table that has Korean character (한글) mixed with English words, the table becomes unaligned, and according to an answer about Japanese found here the the same problem with Japanese ...

15 30 50 per page