Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A process is a running instance of a program. Use this tag for how Emacs interacts with programs that it runs (compilers, viewers, network backends, etc.)
1
vote
Can I merge the buffers opened in one emacs process into the other emacs process?
You can't do that, but you can use the client/server functionality in Emacs to simply connect to the exact same Emacs instance each time. After starting the server you would use emacsclient -nw to co …
1
vote
Accepted
Launch ncurses application and cleanup once it exits
termbuf)))
(set-process-query-on-exit-flag proc nil)
(set-process-sentinel
proc (lambda (process signal)
(and (memq (process-status process) '(exit signal))
( … buffer-live-p (process-buffer process))
(kill-buffer (process-buffer process)))))
(set-buffer termbuf)
(term-mode)
(term-char-mode)
(switch-to-buffer termbuf))) …
3
votes
Accepted
How to partially block user input while Emacs subprocess is running
Using a synchronous process will prevent you from inadvertently typing into the wrong buffer -- anything you do type while the command is running will be buffered and will end up where you want it: as … (interactive)
(call-process "ctags" nil nil nil "-e" "-R" ...)
(call-interactively 'find-tag)) …
3
votes
Why does :command argument of make-process not work when string passed as a variable?
You've quoted the list:
:command '("sh" "-c" body)
So you have passed it a symbol body not the string value of the variable.
Try:
:command (list "sh" "-c" body)
or:
:command `("sh" …