all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Stopping Emacs from leaving ~ files
@ 2003-04-21 13:16 Mark R.
  2003-04-21 13:50 ` Alfred M. Szmidt
       [not found] ` <mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Mark R. @ 2003-04-21 13:16 UTC (permalink / raw)


Hello,

This is hopefully a simple question, but I've been unable to discover how to
do it.

How does one configure emacs so it will stop leaving ~ files around?

Ex/ example.html~

Thank you for any help.

Mark Reis

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

* Re: Stopping Emacs from leaving ~ files
  2003-04-21 13:16 Mark R.
@ 2003-04-21 13:50 ` Alfred M. Szmidt
       [not found] ` <mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Alfred M. Szmidt @ 2003-04-21 13:50 UTC (permalink / raw)
  Cc: help-gnu-emacs

   This is hopefully a simple question, but I've been unable to discover how to
   do it.

Did you read the Emacs manual?

   How does one configure emacs so it will stop leaving ~ files around?

>From (emacs)Backup:

   For most files, the variable `make-backup-files' determines whether
to make backup files.  On most operating systems, its default value is
`t', so that Emacs does write backup files.

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

* RE: Stopping Emacs from leaving ~ files
@ 2003-04-21 14:12 Sebastien Routier
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastien Routier @ 2003-04-21 14:12 UTC (permalink / raw)


Cool I can actually help with this one...

This is what I use, works great for me.

;; Enable backup files.
(setq make-backup-files t)
;; Enable versioning with default values (keep five last versions, I think!)
(setq version-control t)
;; Save all backup file in this directory.
(setq backup-directory-alist (quote ((".*" . "~/.emacs-backups/"))))



bye.
/Sebast


:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Julian dates                                   LOST #149

There is a need at times to  know how  many days  have  lapsed
since Jan 1 (Julian dates). The easiest way out is to  use the
cal program [ Try: cal -j 10 2001 ... and have a look !]

####<bish@nde.vsnl.net.in>####################################
:



> -----Original Message-----
> From: Mark R. [mailto:mc_reis@hotmail.com]
> Sent: Monday, April 21, 2003 9:17 AM
> To: help-gnu-emacs@gnu.org
> Subject: Stopping Emacs from leaving ~ files
> 
> 
> Hello,
> 
> This is hopefully a simple question, but I've been unable to 
> discover how to
> do it.
> 
> How does one configure emacs so it will stop leaving ~ files around?
> 
> Ex/ example.html~
> 
> Thank you for any help.
> 
> Mark Reis
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

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

* Re: Stopping Emacs from leaving ~ files
       [not found] ` <mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org>
@ 2003-04-21 14:28   ` Mark R.
  2003-04-22  2:53   ` Jason Earl
  1 sibling, 0 replies; 6+ messages in thread
From: Mark R. @ 2003-04-21 14:28 UTC (permalink / raw)


Thank you that did the trick.

I had used the wrong term to search for "~" and it passed over that section.

-Mark

"Alfred M. Szmidt" <ams@kemisten.nu> wrote in message
news:mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org...
>    This is hopefully a simple question, but I've been unable to discover
how to
>    do it.
>
> Did you read the Emacs manual?
>
>    How does one configure emacs so it will stop leaving ~ files around?
>
> >From (emacs)Backup:
>
>    For most files, the variable `make-backup-files' determines whether
> to make backup files.  On most operating systems, its default value is
> `t', so that Emacs does write backup files.
>
>
>
>

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

* Re: Stopping Emacs from leaving ~ files
       [not found] ` <mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org>
  2003-04-21 14:28   ` Mark R.
@ 2003-04-22  2:53   ` Jason Earl
  1 sibling, 0 replies; 6+ messages in thread
From: Jason Earl @ 2003-04-22  2:53 UTC (permalink / raw)


"Alfred M. Szmidt" <ams@kemisten.nu> writes:

>    This is hopefully a simple question, but I've been unable to
>    discover how to do it.
>
> Did you read the Emacs manual?
>
>    How does one configure emacs so it will stop leaving ~ files
>    around?
>
>>From (emacs)Backup:
>
>    For most files, the variable `make-backup-files' determines
> whether to make backup files.  On most operating systems, its
> default value is `t', so that Emacs does write backup files.

Another possible solution is to check out the variable
backup-directory-alist (C-h v backup-directory-alist).  This allows
you to save your "backup" files in a central place.

Jason

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

* Re: Stopping Emacs from leaving ~ files
       [not found] <mailman.5007.1050934390.21513.help-gnu-emacs@gnu.org>
@ 2003-04-22 13:09 ` Bruce Ingalls
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ingalls @ 2003-04-22 13:09 UTC (permalink / raw)


Sebastien Routier wrote:
> Cool I can actually help with this one...
> 
> ;; Enable backup files.
> (setq make-backup-files t)
> ;; Enable versioning with default values (keep five last versions, I think!)
> (setq version-control t)
> ;; Save all backup file in this directory.
> (setq backup-directory-alist (quote ((".*" . "~/.emacs-backups/"))))

Also, take a look at ebackup.el, which is available via the ELL, or 
EMacro libs, both via <url: http://emacro.sf.net/ >

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

end of thread, other threads:[~2003-04-22 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5007.1050934390.21513.help-gnu-emacs@gnu.org>
2003-04-22 13:09 ` Stopping Emacs from leaving ~ files Bruce Ingalls
2003-04-21 14:12 Sebastien Routier
  -- strict thread matches above, loose matches on Subject: below --
2003-04-21 13:16 Mark R.
2003-04-21 13:50 ` Alfred M. Szmidt
     [not found] ` <mailman.5006.1050933036.21513.help-gnu-emacs@gnu.org>
2003-04-21 14:28   ` Mark R.
2003-04-22  2:53   ` Jason Earl

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.