help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs backup woes with "b~"


From: Joe
Subject: Re: Emacs backup woes with "b~"
Date: Sat, 6 Sep 2008 06:31:59 -0700 (PDT)
User-agent: G2/1.0

On Sep 6, 3:06 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Joe <joesmo...@gmail.com>
> > Date: Fri, 5 Sep 2008 19:08:37 -0700 (PDT)
>
> > Hey I can't seem to figure out why emacs is saving files in the form
> > "b~myfile.adb" in my directories.
>
> > I have the following in my .emacs
>
> > (setq
> >  backup-by-copying t
> >  backup-directory-alist
> >  '(("." . "~/.emacs.d/.emacs-backups"))
> >  delete-old-versions t
> >  kept-new-versions 3
> >  kept-old-versions 2
> >  version-control t)
>
> > The "b~*" files are created right after I compile.
>
> Do you have any real evidence that these files are created by Emacs?

No, just found out that these files are from the gnat ada compiler for
debugging use.  The default emacs build command for ada includes the -
g switch which generates debugging info.  To turn it off:

(setq ada-prj-default-gnatmake-opt "")

with whatever switches you want in the quotes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]