* Coping with backup~ file proliferation
@ 2002-12-03 14:59 ginak
2002-12-03 15:23 ` Jérôme Marant
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: ginak @ 2002-12-03 14:59 UTC (permalink / raw)
I use Emacs for all my text editing, and I like it a lot, but one
thing that gets on my nerves is when my directories become littered
with backup files (like foo~). How can I reduce the numbers of calls
to
rm *~
??
Thanks,
g.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Coping with backup~ file proliferation
2002-12-03 14:59 Coping with backup~ file proliferation ginak
@ 2002-12-03 15:23 ` Jérôme Marant
[not found] ` <mailman.1038929045.22581.help-gnu-emacs@gnu.org>
2002-12-07 3:13 ` Miles Bader
2 siblings, 0 replies; 5+ messages in thread
From: Jérôme Marant @ 2002-12-03 15:23 UTC (permalink / raw)
ginak wrote:
>I use Emacs for all my text editing, and I like it a lot, but one
>thing that gets on my nerves is when my directories become littered
>with backup files (like foo~). How can I reduce the numbers of calls
>to
>
> rm *~
>
>
This:
(setq make-backup-files nil)
disables backup files. I don't know if this is what you want.
Cheers,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Coping with backup~ file proliferation
[not found] ` <mailman.1038929045.22581.help-gnu-emacs@gnu.org>
@ 2002-12-03 15:56 ` Kester Clegg
2002-12-03 16:16 ` ginak
0 siblings, 1 reply; 5+ messages in thread
From: Kester Clegg @ 2002-12-03 15:56 UTC (permalink / raw)
Jérôme Marant <marant.logatique@fr.thalesgroup.com> writes:
[...]
> >I use Emacs for all my text editing, and I like it a lot, but one
> >thing that gets on my nerves is when my directories become littered
> >with backup files (like foo~). How can I reduce the numbers of calls
> >to
[...]
>
> (setq make-backup-files nil)
>
Or you can stick files of a type into one place, or put all your backups
in one place:
backup-directory-alist
Documentation:
Alist of filename patterns and backup directory names.
Each element looks like (REGEXP . DIRECTORY). Backups of files with
names matching REGEXP will be made in DIRECTORY. DIRECTORY may be
relative or absolute. If it is absolute, so that all matching files
are backed up into the same directory, the file names in this
directory will be the full name of the file backed up with all
directory separators changed to `!' to prevent clashes. This will not
work correctly if your filesystem truncates the resulting name.
For the common case of all backups going into one directory, the alist
should contain a single element pairing "." with the appropriate
directory name.
--
************************************************************************
Kester Clegg Dept. of Computer Science,
Research Assistant (UTC) University of York,
Tel (01904) 43 27 49 email: kester at cs.york.ac.uk
************************************************************************
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Coping with backup~ file proliferation
2002-12-03 15:56 ` Kester Clegg
@ 2002-12-03 16:16 ` ginak
0 siblings, 0 replies; 5+ messages in thread
From: ginak @ 2002-12-03 16:16 UTC (permalink / raw)
In <yqrsmxfumdp.fsf@cs.york.ac.uk> Kester Clegg <kester@cs.york.ac.uk> writes:
>Or you can stick files of a type into one place, or put all your backups
>in one place:
>backup-directory-alist
< snip >
That's very nice. Thank you.
g.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Coping with backup~ file proliferation
2002-12-03 14:59 Coping with backup~ file proliferation ginak
2002-12-03 15:23 ` Jérôme Marant
[not found] ` <mailman.1038929045.22581.help-gnu-emacs@gnu.org>
@ 2002-12-07 3:13 ` Miles Bader
2 siblings, 0 replies; 5+ messages in thread
From: Miles Bader @ 2002-12-07 3:13 UTC (permalink / raw)
ginak <gina02122000@yahoo.com> writes:
> I use Emacs for all my text editing, and I like it a lot, but one
> thing that gets on my nerves is when my directories become littered
> with backup files (like foo~). How can I reduce the numbers of calls
> to rm *~
I suppose it depends on why it gets on your nerves: do you dislike
the cluttered appearance of ls/dired output, or are you worried about
disk space etc.?
For me, it's the former -- I rather like having my files backed up as
long as I don't have to see the backups -- so I've just put:
alias ls="ls -B"
in my .bashrc, and have also added the -B option to emacs'
`dired-listing-switches' variable.
So now I almost never realize the ~ files are there, unless I
specifically look for them!
-Miles
--
o The existentialist, not having a pillow, goes everywhere with the book by
Sullivan, _I am going to spit on your graves_.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-12-07 3:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 14:59 Coping with backup~ file proliferation ginak
2002-12-03 15:23 ` Jérôme Marant
[not found] ` <mailman.1038929045.22581.help-gnu-emacs@gnu.org>
2002-12-03 15:56 ` Kester Clegg
2002-12-03 16:16 ` ginak
2002-12-07 3:13 ` Miles Bader
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.