unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to stop saving these files
@ 2003-11-22 23:30 Lowell Kirsh
  2003-11-23  7:59 ` Roodwriter
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lowell Kirsh @ 2003-11-22 23:30 UTC (permalink / raw)


emacs has been saving backup files in the same directory as the files 
that I edit. The backup files have names like Friends.java~1.8.~. How 
can I either
a) stop emacs from creating theses backups at all?
b) tell emacs to save them all in one place?

Lowell

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

* Re: how to stop saving these files
  2003-11-22 23:30 how to stop saving these files Lowell Kirsh
@ 2003-11-23  7:59 ` Roodwriter
  2003-11-24  8:13   ` Lowell Kirsh
  2003-11-24 19:45 ` sebyte
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Roodwriter @ 2003-11-23  7:59 UTC (permalink / raw)


Lowell Kirsh wrote:

> emacs has been saving backup files in the same directory as the files
> that I edit. The backup files have names like Friends.java~1.8.~. How
> can I either
> a) stop emacs from creating theses backups at all?
> b) tell emacs to save them all in one place?
> 
> Lowell


a) On the menu bar click: Options > Customize Emacs > Top-Level 
Customization Group > Files > Backup group

--Rod

---

Author of "Linux for Non-Geeks--Clear-eyed Answered for Practical Consumers" 
and "Boring Stories from Uncle Rod." Both are available at 
http://www.rodwriterpublishing.com/index.html

To reply by e-mail, take the extra "o" out of the name.

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

* Re: how to stop saving these files
  2003-11-23  7:59 ` Roodwriter
@ 2003-11-24  8:13   ` Lowell Kirsh
  2003-11-24 18:38     ` Kevin Rodgers
  0 siblings, 1 reply; 7+ messages in thread
From: Lowell Kirsh @ 2003-11-24  8:13 UTC (permalink / raw)


Thanks, but I still can't figure out exactly what to change...

Lowell

Roodwriter@core.com wrote:
> Lowell Kirsh wrote:
> 
> 
>>emacs has been saving backup files in the same directory as the files
>>that I edit. The backup files have names like Friends.java~1.8.~. How
>>can I either
>>a) stop emacs from creating theses backups at all?
>>b) tell emacs to save them all in one place?
>>
>>Lowell
> 
> 
> 
> a) On the menu bar click: Options > Customize Emacs > Top-Level 
> Customization Group > Files > Backup group
> 
> --Rod
> 
> ---
> 
> Author of "Linux for Non-Geeks--Clear-eyed Answered for Practical Consumers" 
> and "Boring Stories from Uncle Rod." Both are available at 
> http://www.rodwriterpublishing.com/index.html
> 
> To reply by e-mail, take the extra "o" out of the name.
> 

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

* Re: how to stop saving these files
  2003-11-24  8:13   ` Lowell Kirsh
@ 2003-11-24 18:38     ` Kevin Rodgers
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2003-11-24 18:38 UTC (permalink / raw)


[Please don't top-post.]

Lowell Kirsh wrote:
 > Roodwriter@core.com wrote:
 >> a) On the menu bar click: Options > Customize Emacs > Top-Level
 >> Customization Group > Files > Backup group
 >
 > Thanks, but I still can't figure out exactly what to change...

The first item is Make Backup Files: Non-nil means make a backup of a
file the first time it is saved.  You want to toggle it off.

-- 
Kevin Rodgers

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

* Re: how to stop saving these files
  2003-11-22 23:30 how to stop saving these files Lowell Kirsh
  2003-11-23  7:59 ` Roodwriter
@ 2003-11-24 19:45 ` sebyte
  2003-11-24 22:44 ` Glenn Morris
  2003-11-26 16:10 ` Lowell Gilbert
  3 siblings, 0 replies; 7+ messages in thread
From: sebyte @ 2003-11-24 19:45 UTC (permalink / raw)


> emacs has been saving backup files in the same directory as the files 
> that I edit. The backup files have names like Friends.java~1.8.~. How 
> can I either
> a) stop emacs from creating theses backups at all?
> b) tell emacs to save them all in one place?

You could try simply adding this line to your .emcas :

(backup-directory-alist (quote (("." . "path/to/chosen/directory")))) 


but this is a custom-set-variable from my .emacs.

To do it using Custom, type 'M-x customize-group <RET> backup <RET>' and then 
find the backup-directory-alist variable and edit accordingly.  Ignore the bit 
about cons cell, scroll up and hit button 'set and save for future sessions' and 
you should be away.

sebyte

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

* Re: how to stop saving these files
  2003-11-22 23:30 how to stop saving these files Lowell Kirsh
  2003-11-23  7:59 ` Roodwriter
  2003-11-24 19:45 ` sebyte
@ 2003-11-24 22:44 ` Glenn Morris
  2003-11-26 16:10 ` Lowell Gilbert
  3 siblings, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2003-11-24 22:44 UTC (permalink / raw)


Lowell Kirsh wrote:

> emacs has been saving backup files in the same directory as the files
> that I edit. The backup files have names like Friends.java~1.8.~.

Looks like a CVS backup file. See "Version Backups" section of Emacs
manual.

> How can I either a) stop emacs from creating theses backups at all?

(setq vc-cvs-stay-local nil)

> b) tell emacs to save them all in one place?

I don't know of an easy way.

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

* Re: how to stop saving these files
  2003-11-22 23:30 how to stop saving these files Lowell Kirsh
                   ` (2 preceding siblings ...)
  2003-11-24 22:44 ` Glenn Morris
@ 2003-11-26 16:10 ` Lowell Gilbert
  3 siblings, 0 replies; 7+ messages in thread
From: Lowell Gilbert @ 2003-11-26 16:10 UTC (permalink / raw)


Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

> emacs has been saving backup files in the same directory as the files
> that I edit. The backup files have names like Friends.java~1.8.~. How
> can I either
> a) stop emacs from creating theses backups at all?
> b) tell emacs to save them all in one place?

Although several people have posted responses already, a better job of
covering the topic is the "How do I disable backup `auto-save-mode'?"
node in the Emacs FAQ.  Type "C-h F" to get into the FAQ, select the
"Common Requests" menu item, and from there select the 
"Disabling auto-save-mode" menu item.  [You might also be interested
in the "Disabling backups" node.]

Be well.
-- 
I've never actually met anybody else named Lowell...

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

end of thread, other threads:[~2003-11-26 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-22 23:30 how to stop saving these files Lowell Kirsh
2003-11-23  7:59 ` Roodwriter
2003-11-24  8:13   ` Lowell Kirsh
2003-11-24 18:38     ` Kevin Rodgers
2003-11-24 19:45 ` sebyte
2003-11-24 22:44 ` Glenn Morris
2003-11-26 16:10 ` Lowell Gilbert

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