All Questions

0
votes
0answers
5 views

TBLFM - :: (two colons) - what does it mean?

here my table's formula: #+TBLFM: $6=date(<$3>)-date(<$2>) :: $7=60*60*24*$6;T :: @>$6 = vsum(@I..@II) :: @>$7 = vsum(@I..@II);T What two colons mean " :: " ?
1
vote
1answer
18 views

Why is check-ert output cut at 70 characters column?

Sometimes when packaging emacs packages for Debian, I need to debug test failures. Then the debugging output is cut at 70 characters like in this bug report: https://bugs.debian.org/cgi-bin/bugreport....
0
votes
0answers
4 views

package-install hangs despite setting proxy settings in url-proxy-services

I have my url-proxy-services set like this: (("http" . "some-proxy:3128") ("https" . "some-proxy:3128")) However, downloading a package like forge fails. Some of its dependencies like emacsql and ...
1
vote
0answers
10 views

Indent forwards a tree structure

I have such a structure in my org note **** pstree * ~ $ pstree -aps 26955 systemd,1 splash └─systemd,1947 --user └─gnome-terminal-,2710 └─bash,1775 └─emacs,25135 ...
0
votes
0answers
8 views

org-structure-template-alist: Chasing a ghost entry

yesterday I realize that the entries in my org-structure-template-alist were not working. I found that it was due to the update to Org 9.2, and I decided to comment the personalized structures in my ....
0
votes
1answer
18 views

Opening an Emacs file to a specific word in the file

In Vim it is trivial to open a file from the command line to a specific word in the document. For e.g. to open the file "Contacts.txt" to "Bob" one would type: vim Contacts.txt +/Bob In Emacs it ...
0
votes
0answers
4 views

unexpected long indent after colon in web-mode

I have some trouble locating the source of 8 tabs and 3 spaces more than the previous indentation when I'm inside js inside web-mode. These appear after a line that ends with a colon. Example (note ...
0
votes
1answer
14 views

Replacing selected text in Emacs with one character

In Vim, I can do this trick on a line with the words "People": yy p Shift-v r + It will produce a set of lines that like this: People ++++++ I would like to be able to reproduce this in Emacs if ...
0
votes
0answers
5 views

A comprehensive agenda including daily, next, project and others

I read a masterpiece of GTD comprehensive agenda today and was astonished by its beauty reddit Orgmode agenda The agenda comprise the daily, next, projects, weeks view, especially the remaining ...
7
votes
1answer
125 views

Syntax highlighting fails on clone-indirect-buffer-other-window

I normally use indirect buffers while I edit python code in python-mode, I create them by running clone-indirect-buffer-other-window. While the syntax highlighting of the main buffer looks just fine, ...
-1
votes
1answer
34 views

Why do parts of my Emacs buffer turn invisible when I'm writing elisp?

When I'm writing elisp code, parts of the buffer that I press enter on turn invisible (i.e. they get the property invisible set to t). I haven't been able to reproduce this reliably, because it doesn'...
1
vote
1answer
29 views

(RegEx-)Replace: Sporadic Match data clobbered by buffer modification hooks

I know this was asked in other contexts already, but I couldn't find anything related to C++ development with my hooks that could help me. I am working a lot with replace and query-replace and query-...
0
votes
0answers
22 views

Emacs report a process which does not exist

When start Emacs from the terminal as me@mbp: ~$ emacs --deamon It prompts that However, there does not exist such a pocesses me@mbp~$ ps 8559 PID TTY STAT TIME COMMAND me@mbp:~$ ps -el ...
4
votes
1answer
229 views

How to disable lisp-interaction when starting emacs?

When I open emacs, the *scratch* buffer is in "Lisp Interaction" mode, but I don't want that. How can I make the buffer have a different mode?
38
votes
2answers
2k views

Why does elisp not have namespaces?

Q: Why does elisp not have namespaces, and how could we get them? Elisp does not have namespaces other than the global one, which has led to the coding convention of prefixing all global functions, ...
0
votes
1answer
10 views

How to paste text into an org table with a set number of columns?

I usually have a bulk of items separated by either spaces or new lines and I want to have them all full a table with a set number of columns. Basically if I want the table to always have 3 columns, ...
0
votes
1answer
23 views

How to escape a character within a heading in org-mode?

Documenting this because I could not find an answer in stack exchange. A heading such as this breaks during LaTeX export: * MITRE ATT&CK Rather than switching to a code-block, and loosing the ...
5
votes
1answer
144 views

can emacs be taught what tables exist in a sql database

In emacs (in whatever mode you recommend for accessing a Postgres database) is it possible to type select * from foo_<tab> and somehow get autocomplete/help as to what tables are available ...
1
vote
2answers
63 views

PHP no highlighting in org-mode code structure

How I can turn on highilighting php code in org-mode structure block?
0
votes
1answer
31 views

Make highlight-changes-mode untrack specific changes

I recently discovered highlight-changes-mode and I added it to my proofs-typesetting setup (LaTeX). I usually make some temporary changes to my buffer that I like not to be tracked (highlighted) when ...
2
votes
2answers
162 views

Any way to select a region using `S-down-mouse-1` without saving the region as a kill?

Using emacsw32. The usual suggested way to make a selection using S-down-mouse-1 is to bind that to mouse-save-then-kill. Is there a similar command which selects a region, but does not save the ...
0
votes
2answers
35 views

Multiple async-shell-command commands in sequence

What is the correct way to run multiple async-shell-command invocations serially? For example, this will execute all at once. (progn (async-shell-command "echo 1; sleep 1") (async-shell-command ...
0
votes
0answers
30 views

Getting full AST for the source code in the current buffer

How do I get the full AST for the source code in the current buffer? I've looked at a similar question and tried (semantic-fetch-tags) with the below c-mode example: #include <stdlib.h> #...
0
votes
0answers
12 views

Org-capture - placing entry in user-specified subheading

I am trying to create a capture-template which will prompt the user to define a subheading so that it can place the capture as a level 3 heading under the appropriate level 2 heading within an org ...
1
vote
1answer
202 views

How to bind meta-shift-arrow to mark one word at a time

I am having trouble of marking one word at a time (ctrl-shift-arrow or meta-shift f/b) when connecting from one of my terminals. I would like to bind it also to meta-shift-arrow. I couldn't find what ...
0
votes
1answer
111 views

how to detect selection in date mode?

I want to write a mode for ledger. The first thing I want to do is to be able to insert date stamps. There is a very nice mode in Emacs called calendar. I want to be able to select a date within it. ...
1
vote
1answer
26 views

Open another emacs and cause conflicts

I have a GUI emacs running as the major working area, When I reading articles from web, need to open a emacs as a tool to keep note; Web on the left and new emacs on the right, Usually, get ...
1
vote
0answers
6 views

Reorder fields using bibtex-mode

I would like to clean up BibTeX entries so that fields always appear in the same order. For example, I would like the order of fields to always be: author, year, title, journal. So, pressing C-c C-q ...
1
vote
0answers
30 views

Problem saving (C-x C-s) files on a NFS drive with emacs 24/25

Starting with Emacs 24 (using various different versions of Ubuntu and Linux Mint), if I open a file on an NFS drive, modify it and attempt to save it C-x C-s, I get the message of: Saving <...
4
votes
3answers
792 views

Custom C-M-; key binding

I have a custom comment-dwim-line command that I want to bind to the key combination C-M-; (in other words, control, meta and ; buttons pressed simultaneously). The built-in comment-dwim command is ...
0
votes
0answers
26 views

How to install multiple dictionaries in Emacs?

I am using Emacs 26.1 on MacOS 10.14.2. I am trying to use hunspell with 3 dictionaries that are installed in ~/Library/Spelling but when I start Emacs I got the following error: Wrong type argument: ...
0
votes
5answers
36 views

How to define action to happen on triple key press?

I'm using evil mode. I'm looking for a convenient way to type German language Umlaut characters (ä, ü, ö, Ä, Ü, Ö, ß) while using an English US keyboard layout. One idea that came to mind was to ...
0
votes
1answer
5 views

Emacs org-mode error in empo tags

I'm using emacs with org mode tempo tags, based on this questions and answers Q and A 1 Q and A 2 I get the feeling that I need to require org-tempo, but I get the following error: Debugger entered-...
7
votes
3answers
295 views

Emacs can't save history of recent visited files opened in current session before shutdown

I have a problem with emacs started as daemon using Systemd. Every shutdown/reboot if I don't stop emacs daemon service manually, the history of recent opened files in current session is lost. I ...
0
votes
1answer
32 views

Avoiding partial lines at bottom of screen

Is there a way to avoid only partially visible lines at the bottom of the screen, such as in this picture? Perhaps this could be achieved by adding some empty space below the minibuffer and echo area,...
0
votes
1answer
35 views

org-mode document structure / templates

Suppose you had a large org document of recipes, with hundreds of entries like this: * Tasty Pudding ** Ingredients - Milk - Sugar - Eggs - Flavorings ** Process 1. Mix the eggs and sugar 2. Heat up ...
6
votes
3answers
2k views

Wrap cell content in an org mode table

I have a table like this: | Verse No | Verse | | | <10> | | 1 | line1 li=> | | 2 | line2 li=> | I would like to view it as | Verse No | Verse | | ...
6
votes
1answer
233 views

Integrating jupyter notebook (ipython) into org-mode notebook

is there a way I can link in jupyter notebooks (ipython) into the org-mode notebook? The same way other files (images) can be brought in? If it is possible will the outputs are also seen in the note (...
0
votes
0answers
9 views

Cannot use toggle-input-mode in emacsclient

Recently, I 'm using gnu-apl and I need to change the input mode. When I use it in emacs it works well, but inside and emacsclient it doesn't work I cannot select any different input: With emacs: ...
1
vote
1answer
57 views

How execute sqlite query?

windows 10, emacs 26.1 I has file my_test.sql. This file content SQLite query. Is it possible to execute this sql query and get results? I has sqlite db file test.db It has table ...
0
votes
0answers
19 views

emacsclient exits unexpectedly without any error

I've built GNU Emacs 27.0.50 from source in Ubuntu 18.10. Then started the daemon as a systemd unit: [Unit] Description=Emacs text editor Documentation=info:emacs man:emacs(1) https://gnu.org/...
2
votes
1answer
13 views

org-mode error: Region to sort contains a level above the first entry

When calling org-sort-entries on an outline item I get the error "Region to sort contains a level above the first entry", with no indication of what or where the problem is. What does this error mean, ...
0
votes
0answers
7 views

plantuml requires a header argument (Emacs 24 on Windows' Ubuntu Subsystem)

I'm trying to output images using plantuml-mode. It seems I have plantuml-mode installed successfully, as I can activate the major mode, but I am unable to evaluate using C-c C-c: PlantUML requires ...
0
votes
0answers
43 views

Cannot set default theme. Dark theme even if loaded without .emacs and without .emacs.d

When I load emacs without any configuration I see a dark theme: There is no way for me to get back to the default theme. I tried the following: M-x disable-theme: no theme is enabled M-x ...
7
votes
2answers
2k views

Highlight region

How do I highlight a region and it make it remain highlighted when point moves on. Why would I want that? So I can make important snippets of code stand out when I review it later.
1
vote
0answers
23 views

Opposite of org-ellipses

I currently have org-ellipses be a down caret. Is it possible to have an up caret when a header is expanded? I haven't been able to find any relevant org-mode settings.
1
vote
2answers
37 views

I can't backup some orgmode files

I'm in a strange situation. Emacs automatically backup all of my files except for some of my orgmode files. And I can't understand why. Do you have any idea how I can investigate and fix this?
1
vote
1answer
73 views

ELDoc and company-tern are not working properly in JS2-mode (.js buffer in node) and Javascript, in Emacs

In my Emacs configuration for JavaScript/ JS2-mode, specifically .js buffer in node: (1) company-tern and ELDoc are NOT working properly. For eg. when I type 'console.l', 'log' does not pop up, ...
1
vote
2answers
132 views

Stop GNU Emacs (GUI) on macOS from quitting

Is it possible to stop Emacs on macOS from quitting? This may sound like a weird request, but numerous times I may accidentally quit Emacs and the whole GUI app exits -- which means I then have to ...
0
votes
1answer
7 views

How do I suppress indentation after labels in Groovy?

I'm writing some Groovy code, and in my unit tests I have something like the following: def testFoo(){ given: //setup statement 1 //setup statement 2 //... when: //Execute ...

15 30 50 per page