unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to auto-save modified buffers when task-switching Emacs?
@ 2004-12-07 11:02 Barak Zalstein
  2004-12-08 18:27 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Barak Zalstein @ 2004-12-07 11:02 UTC (permalink / raw)


Hello,

Is it possible to configure Emacs to automatically save all modified buffers 
once switching from Emacs (by using Alt-Tab) into another application (in 
which the same buffers might be already visited)?
 M-x auto-save-mode does not do the trick.

I'm using Emacs 21.3.1 on Windows XP.

Barak. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to auto-save modified buffers when task-switching Emacs?
  2004-12-07 11:02 How to auto-save modified buffers when task-switching Emacs? Barak Zalstein
@ 2004-12-08 18:27 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-12-08 18:27 UTC (permalink / raw)


Barak Zalstein wrote:
> Is it possible to configure Emacs to automatically save all modified buffers 
> once switching from Emacs (by using Alt-Tab) into another application (in 
> which the same buffers might be already visited)?
>  M-x auto-save-mode does not do the trick.

Judging from the Focus Events and Misc[ellaneous Window System] Events
nodes of the Emacs Lisp manual, and the xterm.c and w32term.c source
files, I don't think Emacs generates an event that you could bind
to a command or runs a Lisp function you could advise or hook
into.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-08 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 11:02 How to auto-save modified buffers when task-switching Emacs? Barak Zalstein
2004-12-08 18:27 ` Kevin Rodgers

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).