unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe <joesmoe10@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs backup woes with "b~"
Date: Sat, 6 Sep 2008 06:31:59 -0700 (PDT)	[thread overview]
Message-ID: <374b9878-6759-40e1-92d6-6f5df011d550@2g2000hsn.googlegroups.com> (raw)
In-Reply-To: mailman.18583.1220697061.18990.help-gnu-emacs@gnu.org

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.


      parent reply	other threads:[~2008-09-06 13:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-06  2:08 Emacs backup woes with "b~" Joe
2008-09-06  4:06 ` Pascal J. Bourguignon
2008-09-06  4:26   ` Joe
2008-09-06 10:59     ` Pascal J. Bourguignon
2008-09-06  7:06 ` Eli Zaretskii
2008-09-06 13:12 ` Allan Gottlieb
     [not found] ` <mailman.18583.1220697061.18990.help-gnu-emacs@gnu.org>
2008-09-06 13:31   ` Joe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=374b9878-6759-40e1-92d6-6f5df011d550@2g2000hsn.googlegroups.com \
    --to=joesmoe10@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).