* Send command to emacs from external process @ 2011-10-29 3:40 Joe Riel 2011-10-29 4:18 ` Jai Dayal 0 siblings, 1 reply; 5+ messages in thread From: Joe Riel @ 2011-10-29 3:40 UTC (permalink / raw) To: help-gnu-emacs Frequently I'll have Emacs running on a machine, with an unsaved buffer, and would like to save the buffer but no longer have access to the terminal (i.e. it's in a different room and I'm too lazy to walk over there). I can login in to the machine remotely. Is there a way to tell Emacs to save the buffer? -- Joe Riel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Send command to emacs from external process 2011-10-29 3:40 Send command to emacs from external process Joe Riel @ 2011-10-29 4:18 ` Jai Dayal 2011-10-29 6:47 ` Tassilo Horn 0 siblings, 1 reply; 5+ messages in thread From: Jai Dayal @ 2011-10-29 4:18 UTC (permalink / raw) To: Joe Riel; +Cc: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 567 bytes --] One thing I can think of is to use Screen, and then after you ssh in, you just attach to the screen, and everything is there.. the entire environment On Fri, Oct 28, 2011 at 11:40 PM, Joe Riel <joer@san.rr.com> wrote: > Frequently I'll have Emacs running on a machine, > with an unsaved buffer, and would like to save the > buffer but no longer have access to the terminal > (i.e. it's in a different room and I'm too lazy to > walk over there). I can login in to the machine > remotely. Is there a way to tell Emacs to save > the buffer? > > -- > Joe Riel > > > [-- Attachment #2: Type: text/html, Size: 876 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Send command to emacs from external process 2011-10-29 4:18 ` Jai Dayal @ 2011-10-29 6:47 ` Tassilo Horn 2011-10-29 14:24 ` Joe Riel [not found] ` <mailman.1339.1319898302.15868.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 5+ messages in thread From: Tassilo Horn @ 2011-10-29 6:47 UTC (permalink / raw) To: help-gnu-emacs Jai Dayal <dayalsoap@gmail.com> writes: > One thing I can think of is to use Screen, and then after you ssh in, > you just attach to the screen, and everything is there.. the entire > environment Or simply run emacs as a server. (info "(emacs)Emacs Server") Bye, Tassilo -- (What the world needs (I think) is not (a Lisp (with fewer parentheses)) but (an English (with more.))) Brian Hayes, http://tinyurl.com/3y9l2kf ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Send command to emacs from external process 2011-10-29 6:47 ` Tassilo Horn @ 2011-10-29 14:24 ` Joe Riel [not found] ` <mailman.1339.1319898302.15868.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 5+ messages in thread From: Joe Riel @ 2011-10-29 14:24 UTC (permalink / raw) To: help-gnu-emacs On Sat, 29 Oct 2011 08:47:14 +0200 Tassilo Horn <tassilo@member.fsf.org> wrote: > Jai Dayal <dayalsoap@gmail.com> writes: > > > One thing I can think of is to use Screen, and then after you ssh in, > > you just attach to the screen, and everything is there.. the entire > > environment > > Or simply run emacs as a server. (info "(emacs)Emacs Server") Thanks, that's exactly what I want. -- Joe Riel ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.1339.1319898302.15868.help-gnu-emacs@gnu.org>]
* Re: Send command to emacs from external process [not found] ` <mailman.1339.1319898302.15868.help-gnu-emacs@gnu.org> @ 2011-10-29 17:02 ` Stefan Monnier 0 siblings, 0 replies; 5+ messages in thread From: Stefan Monnier @ 2011-10-29 17:02 UTC (permalink / raw) To: help-gnu-emacs >> > One thing I can think of is to use Screen, and then after you ssh in, >> > you just attach to the screen, and everything is there.. the entire >> > environment >> Or simply run emacs as a server. (info "(emacs)Emacs Server") > Thanks, that's exactly what I want. And when it's tool ate to start the server, you can kill the Emacs process (with a soft signal, not like SIGKILL, of course), and Emacs will autosave the buffers so they're ready for recovery. Stefan ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-29 17:02 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-10-29 3:40 Send command to emacs from external process Joe Riel 2011-10-29 4:18 ` Jai Dayal 2011-10-29 6:47 ` Tassilo Horn 2011-10-29 14:24 ` Joe Riel [not found] ` <mailman.1339.1319898302.15868.help-gnu-emacs@gnu.org> 2011-10-29 17:02 ` Stefan Monnier
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).