Timeline for Run command after opening a file with emacsclient [closed]
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2019 at 11:28 | comment | added | Hi-Angel |
Ah, nvm, I figured, Qutebrowser uses {} as a mark in config to show where the filename should be put, so I simply did …(find-file "{}")… , and it worked.
|
|
Jul 27, 2019 at 11:22 | comment | added | Hi-Angel |
@HåkonHægland but this implies that I know the name of the file I'm opening, right? But what if I don't? E.g. I use emacsclient from Qutebrowser when I want to edit some lengthy texts, and the filename Qutebrowser generates is random.
|
|
May 24, 2017 at 7:48 | comment | added | Håkon Hægland |
To run emacs commands on the file file opened by emacsclient after the file is loaded: emacsclient -s my_server --eval '(progn (find-file "file") (...)(select-frame-set-input-focus (selected-frame)))'
|
|
May 2, 2017 at 23:37 | history | closed |
JeanPierre Drew Dan♦ |
Needs details or clarity | |
Apr 29, 2017 at 14:22 | history | edited | jo-so | CC BY-SA 3.0 |
added 468 characters in body
|
Apr 28, 2017 at 19:20 | review | Close votes | |||
May 2, 2017 at 23:37 | |||||
Apr 28, 2017 at 12:36 | comment | added | Tobias |
I don't understand the question in the current form. do you mean that the program for editing a text file is specified within the text file behind the match for "^<<<" ? E.g., the file contains the line <<</usr/bin/vi and you want the file be opened with /usr/bin/vi ? (I chose vi here to demonstrate what I mean with something other than emacs .)
|
|
Apr 28, 2017 at 11:49 | answer | added | Arkadiusz Drabczyk | timeline score: 2 | |
Apr 28, 2017 at 10:40 | review | First posts | |||
Apr 28, 2017 at 11:16 | |||||
Apr 28, 2017 at 10:39 | history | asked | jo-so | CC BY-SA 3.0 |