all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* *.bak files in trunk?
@ 2010-06-28 18:56 Daniel Mahler
  2010-06-29  0:45 ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Mahler @ 2010-06-28 18:56 UTC (permalink / raw)
  To: emacs-orgmode

Is this normal?

mahler:~/ELISP/org-mode-git$ git status
# On branch master
nothing to commit (working directory clean)
mahler:~/ELISP/org-mode-git$ find . -name "*.bak"
./lisp/ChangeLog.bak
./lisp/babel/langs/ob-C.el.bak
./lisp/babel/langs/ob-emacs-lisp.el.bak
./lisp/babel/langs/ob-sh.el.bak
./lisp/babel/langs/ob-C.el.bak.bak
./lisp/babel/langs/ob-emacs-lisp.el.bak.bak
./lisp/babel/langs/ob-sh.el.bak.bak
./lisp/babel/langs/ob-C.el.bak.bak.bak
./lisp/babel/langs/ob-emacs-lisp.el.bak.bak.bak
./lisp/babel/langs/ob-sh.el.bak.bak.bak
./lisp/babel/langs/ob-C.el.bak.bak.bak.bak
./lisp/babel/langs/ob-emacs-lisp.el.bak.bak.bak.bak
./lisp/babel/langs/ob-sh.el.bak.bak.bak.bak
./lisp/babel/ob-exp.el.bak
./lisp/babel/ob-ref.el.bak
./lisp/babel/ob-tangle.el.bak
./lisp/babel/ob.el.bak
./lisp/babel/ob-ref.elc.bak
./lisp/babel/ob-exp.el.bak.bak
./lisp/babel/ob-ref.el.bak.bak
./lisp/babel/ob-tangle.el.bak.bak
./lisp/babel/ob.el.bak.bak
./lisp/babel/ob-ref.elc.bak.bak
./lisp/babel/ob-exp.el.bak.bak.bak
./lisp/babel/ob-ref.el.bak.bak.bak
./lisp/babel/ob-tangle.el.bak.bak.bak
./lisp/babel/ob.el.bak.bak.bak
./lisp/babel/ob-ref.elc.bak.bak.bak
./lisp/babel/ob-exp.el.bak.bak.bak.bak
./lisp/babel/ob-ref.el.bak.bak.bak.bak
./lisp/babel/ob-tangle.el.bak.bak.bak.bak
./lisp/babel/ob.el.bak.bak.bak.bak
./lisp/babel/ob-ref.elc.bak.bak.bak.bak
./lisp/ChangeLog.01.bak
./lisp/org-agenda.el.bak
./lisp/org-archive.el.bak
./lisp/org-bbdb.el.bak
./lisp/org-bibtex.el.bak
./lisp/org-clock.el.bak
./lisp/org-colview-xemacs.el.bak
./lisp/org-colview.el.bak
./lisp/org-compat.el.bak
./lisp/org-crypt.el.bak
./lisp/org-docbook.el.bak
./lisp/org-docview.el.bak
./lisp/org-entities.el.bak
./lisp/org-exp.el.bak
./lisp/org-feed.el.bak
./lisp/org-footnote.el.bak
./lisp/org-gnus.el.bak
./lisp/org-html.el.bak
./lisp/org-icalendar.el.bak
./lisp/org-id.el.bak
./lisp/org-info.el.bak
./lisp/org-irc.el.bak
./lisp/org-latex.el.bak
./lisp/org-list.el.bak
./lisp/org-mac-message.el.bak
./lisp/org-macs.el.bak
./lisp/org-mew.el.bak
./lisp/org-mhe.el.bak
./lisp/org-mouse.el.bak
./lisp/org-plot.el.bak
./lisp/org-protocol.el.bak
./lisp/org-publish.el.bak
./lisp/org-remember.el.bak
./lisp/org-rmail.el.bak
./lisp/org-src.el.bak
./lisp/org-table.el.bak
./lisp/org-timer.el.bak
./lisp/org-vm.el.bak
./lisp/org-wl.el.bak
./lisp/org.el.bak
./lisp/org-capture.el.bak
./lisp/org-macs.elc.bak
./lisp/org-publish.elc.bak
./lisp/ChangeLog.bak.bak
./lisp/ChangeLog.01.bak.bak
./lisp/org-agenda.el.bak.bak
./lisp/org-archive.el.bak.bak
./lisp/org-bbdb.el.bak.bak
./lisp/org-bibtex.el.bak.bak
./lisp/org-clock.el.bak.bak
./lisp/org-colview-xemacs.el.bak.bak
./lisp/org-colview.el.bak.bak
./lisp/org-compat.el.bak.bak
./lisp/org-crypt.el.bak.bak
./lisp/org-docbook.el.bak.bak
./lisp/org-docview.el.bak.bak
./lisp/org-entities.el.bak.bak
./lisp/org-exp.el.bak.bak
./lisp/org-feed.el.bak.bak
./lisp/org-footnote.el.bak.bak
./lisp/org-gnus.el.bak.bak
./lisp/org-html.el.bak.bak
./lisp/org-icalendar.el.bak.bak
./lisp/org-id.el.bak.bak
./lisp/org-info.el.bak.bak
./lisp/org-irc.el.bak.bak
./lisp/org-latex.el.bak.bak
./lisp/org-list.el.bak.bak
./lisp/org-mac-message.el.bak.bak
./lisp/org-macs.el.bak.bak
./lisp/org-mew.el.bak.bak
./lisp/org-mhe.el.bak.bak
./lisp/org-mouse.el.bak.bak
./lisp/org-plot.el.bak.bak
./lisp/org-protocol.el.bak.bak
./lisp/org-publish.el.bak.bak
./lisp/org-remember.el.bak.bak
./lisp/org-rmail.el.bak.bak
./lisp/org-src.el.bak.bak
./lisp/org-table.el.bak.bak
./lisp/org-timer.el.bak.bak
./lisp/org-vm.el.bak.bak
./lisp/org-wl.el.bak.bak
./lisp/org.el.bak.bak
./lisp/org-capture.el.bak.bak
./lisp/org-macs.elc.bak.bak
./lisp/org-publish.elc.bak.bak
./lisp/ChangeLog.bak.bak.bak
./lisp/ChangeLog.01.bak.bak.bak
./lisp/org-agenda.el.bak.bak.bak
./lisp/org-archive.el.bak.bak.bak
./lisp/org-bbdb.el.bak.bak.bak
./lisp/org-bibtex.el.bak.bak.bak
./lisp/org-clock.el.bak.bak.bak
./lisp/org-colview-xemacs.el.bak.bak.bak
./lisp/org-colview.el.bak.bak.bak
./lisp/org-compat.el.bak.bak.bak
./lisp/org-crypt.el.bak.bak.bak
./lisp/org-docbook.el.bak.bak.bak
./lisp/org-docview.el.bak.bak.bak
./lisp/org-entities.el.bak.bak.bak
./lisp/org-exp.el.bak.bak.bak
./lisp/org-feed.el.bak.bak.bak
./lisp/org-footnote.el.bak.bak.bak
./lisp/org-gnus.el.bak.bak.bak
./lisp/org-html.el.bak.bak.bak
./lisp/org-icalendar.el.bak.bak.bak
./lisp/org-id.el.bak.bak.bak
./lisp/org-info.el.bak.bak.bak
./lisp/org-irc.el.bak.bak.bak
./lisp/org-latex.el.bak.bak.bak
./lisp/org-list.el.bak.bak.bak
./lisp/org-mac-message.el.bak.bak.bak
./lisp/org-macs.el.bak.bak.bak
./lisp/org-mew.el.bak.bak.bak
./lisp/org-mhe.el.bak.bak.bak
./lisp/org-mouse.el.bak.bak.bak
./lisp/org-plot.el.bak.bak.bak
./lisp/org-protocol.el.bak.bak.bak
./lisp/org-publish.el.bak.bak.bak
./lisp/org-remember.el.bak.bak.bak
./lisp/org-rmail.el.bak.bak.bak
./lisp/org-src.el.bak.bak.bak
./lisp/org-table.el.bak.bak.bak
./lisp/org-timer.el.bak.bak.bak
./lisp/org-vm.el.bak.bak.bak
./lisp/org-wl.el.bak.bak.bak
./lisp/org.el.bak.bak.bak
./lisp/org-capture.el.bak.bak.bak
./lisp/org-macs.elc.bak.bak.bak
./lisp/org-publish.elc.bak.bak.bak
./lisp/ChangeLog.bak.bak.bak.bak
./lisp/ChangeLog.01.bak.bak.bak.bak
./lisp/org-agenda.el.bak.bak.bak.bak
./lisp/org-archive.el.bak.bak.bak.bak
./lisp/org-bbdb.el.bak.bak.bak.bak
./lisp/org-bibtex.el.bak.bak.bak.bak
./lisp/org-clock.el.bak.bak.bak.bak
./lisp/org-colview-xemacs.el.bak.bak.bak.bak
./lisp/org-colview.el.bak.bak.bak.bak
./lisp/org-compat.el.bak.bak.bak.bak
./lisp/org-crypt.el.bak.bak.bak.bak
./lisp/org-docbook.el.bak.bak.bak.bak
./lisp/org-docview.el.bak.bak.bak.bak
./lisp/org-entities.el.bak.bak.bak.bak
./lisp/org-exp.el.bak.bak.bak.bak
./lisp/org-feed.el.bak.bak.bak.bak
./lisp/org-footnote.el.bak.bak.bak.bak
./lisp/org-gnus.el.bak.bak.bak.bak
./lisp/org-html.el.bak.bak.bak.bak
./lisp/org-icalendar.el.bak.bak.bak.bak
./lisp/org-id.el.bak.bak.bak.bak
./lisp/org-info.el.bak.bak.bak.bak
./lisp/org-irc.el.bak.bak.bak.bak
./lisp/org-latex.el.bak.bak.bak.bak
./lisp/org-list.el.bak.bak.bak.bak
./lisp/org-mac-message.el.bak.bak.bak.bak
./lisp/org-macs.el.bak.bak.bak.bak
./lisp/org-mew.el.bak.bak.bak.bak
./lisp/org-mhe.el.bak.bak.bak.bak
./lisp/org-mouse.el.bak.bak.bak.bak
./lisp/org-plot.el.bak.bak.bak.bak
./lisp/org-protocol.el.bak.bak.bak.bak
./lisp/org-publish.el.bak.bak.bak.bak
./lisp/org-remember.el.bak.bak.bak.bak
./lisp/org-rmail.el.bak.bak.bak.bak
./lisp/org-src.el.bak.bak.bak.bak
./lisp/org-table.el.bak.bak.bak.bak
./lisp/org-timer.el.bak.bak.bak.bak
./lisp/org-vm.el.bak.bak.bak.bak
./lisp/org-wl.el.bak.bak.bak.bak
./lisp/org.el.bak.bak.bak.bak
./lisp/org-capture.el.bak.bak.bak.bak
./lisp/org-macs.elc.bak.bak.bak.bak
./lisp/org-publish.elc.bak.bak.bak.bak

cheers
D

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

* Re: *.bak files in trunk?
  2010-06-28 18:56 *.bak files in trunk? Daniel Mahler
@ 2010-06-29  0:45 ` Bernt Hansen
  2010-06-29  4:27   ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2010-06-29  0:45 UTC (permalink / raw)
  To: Daniel Mahler; +Cc: emacs-orgmode

Daniel Mahler <dmahler@gmail.com> writes:

> Is this normal?
>
> mahler:~/ELISP/org-mode-git$ git status
> # On branch master
> nothing to commit (working directory clean)
> mahler:~/ELISP/org-mode-git$ find . -name "*.bak"
> ./lisp/ChangeLog.bak
> ./lisp/babel/langs/ob-C.el.bak
...
> ./lisp/org-capture.el.bak.bak.bak.bak
> ./lisp/org-macs.elc.bak.bak.bak.bak
> ./lisp/org-publish.elc.bak.bak.bak.bak

Hi Daniel,

I don't think those files are in the repository but they are in  your
local working directory.  There is an entry '*.bak' in the .gitignore
file in the repository so 'git status' will not show these files by
default (since they are ignored).

You can see untracked files with 

$ git ls-files -o

$ git ls-files '*.bak' 
returns nothing for me so there are no files ending in '.bak' in the
repository as far as I can tell.

-Bernt

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

* Re: Re: *.bak files in trunk?
  2010-06-29  0:45 ` Bernt Hansen
@ 2010-06-29  4:27   ` Carsten Dominik
  2010-06-29 11:05     ` Daniel Mahler
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2010-06-29  4:27 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Daniel Mahler, emacs-orgmode


On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote:

> Daniel Mahler <dmahler@gmail.com> writes:
>
>> Is this normal?
>>
>> mahler:~/ELISP/org-mode-git$ git status
>> # On branch master
>> nothing to commit (working directory clean)
>> mahler:~/ELISP/org-mode-git$ find . -name "*.bak"
>> ./lisp/ChangeLog.bak
>> ./lisp/babel/langs/ob-C.el.bak
> ...
>> ./lisp/org-capture.el.bak.bak.bak.bak
>> ./lisp/org-macs.elc.bak.bak.bak.bak
>> ./lisp/org-publish.elc.bak.bak.bak.bak
>
> Hi Daniel,
>
> I don't think those files are in the repository but they are in  your
> local working directory.  There is an entry '*.bak' in the .gitignore
> file in the repository so 'git status' will not show these files by
> default (since they are ignored).
>
> You can see untracked files with
>
> $ git ls-files -o
>
> $ git ls-files '*.bak'
> returns nothing for me so there are no files ending in '.bak' in the
> repository as far as I can tell.

The bigger problem seems to be that something is creating these files.
Bu I have no idea what, noting in Org-mode I would think,
must be some utility or stuff in Daniel's setup.

- Carsten

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

* Re: Re: *.bak files in trunk?
  2010-06-29  4:27   ` Carsten Dominik
@ 2010-06-29 11:05     ` Daniel Mahler
  2010-06-29 11:40       ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Mahler @ 2010-06-29 11:05 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Bernt Hansen, emacs-orgmode

On Tue, Jun 29, 2010 at 6:27 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote:
>
>> Daniel Mahler <dmahler@gmail.com> writes:
>>
>>> Is this normal?
>>>
>>> mahler:~/ELISP/org-mode-git$ git status
>>> # On branch master
>>> nothing to commit (working directory clean)
>>> mahler:~/ELISP/org-mode-git$ find . -name "*.bak"
>>> ./lisp/ChangeLog.bak
>>> ./lisp/babel/langs/ob-C.el.bak
>>
>> ...
>>>
>>> ./lisp/org-capture.el.bak.bak.bak.bak
>>> ./lisp/org-macs.elc.bak.bak.bak.bak
>>> ./lisp/org-publish.elc.bak.bak.bak.bak
>>
>> Hi Daniel,
>>
>> I don't think those files are in the repository but they are in  your
>> local working directory.  There is an entry '*.bak' in the .gitignore
>> file in the repository so 'git status' will not show these files by
>> default (since they are ignored).
>>
>> You can see untracked files with
>>
>> $ git ls-files -o
>>
>> $ git ls-files '*.bak'
>> returns nothing for me so there are no files ending in '.bak' in the
>> repository as far as I can tell.
>
> The bigger problem seems to be that something is creating these files.
> Bu I have no idea what, noting in Org-mode I would think,
> must be some utility or stuff in Daniel's setup.

That is the weird thing. The only thing I really
do in the org directory is "git pull" and make.
Also not tool I use makes *.bak directories,
emacs creates *~.
That, and the fact that git status/diff did not report them,
made me thing they were from the repository.
(I do not normally use git)

thanks
D

>
> - Carsten
>
>

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

* Re: Re: *.bak files in trunk?
  2010-06-29 11:05     ` Daniel Mahler
@ 2010-06-29 11:40       ` Bernt Hansen
  2010-06-29 11:41         ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2010-06-29 11:40 UTC (permalink / raw)
  To: Daniel Mahler; +Cc: emacs-orgmode, Carsten Dominik

Daniel Mahler <dmahler@gmail.com> writes:

> On Tue, Jun 29, 2010 at 6:27 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote:
>>
>>> Daniel Mahler <dmahler@gmail.com> writes:
>>>
>>>> Is this normal?
>>>>
>>>> mahler:~/ELISP/org-mode-git$ git status
>>>> # On branch master
>>>> nothing to commit (working directory clean)
>>>> mahler:~/ELISP/org-mode-git$ find . -name "*.bak"
>>>> ./lisp/ChangeLog.bak
>>>> ./lisp/babel/langs/ob-C.el.bak
>>>
>>> ...
>>>>
>>>> ./lisp/org-capture.el.bak.bak.bak.bak
>>>> ./lisp/org-macs.elc.bak.bak.bak.bak
>>>> ./lisp/org-publish.elc.bak.bak.bak.bak
>>>
>>> You can see untracked files with
>>>
>>> $ git ls-files -o
>>>
>>> $ git ls-files '*.bak'
>>> returns nothing for me so there are no files ending in '.bak' in the
>>> repository as far as I can tell.
>>
>> The bigger problem seems to be that something is creating these files.
>> Bu I have no idea what, noting in Org-mode I would think,
>> must be some utility or stuff in Daniel's setup.
>
> That is the weird thing. The only thing I really
> do in the org directory is "git pull" and make.
> Also not tool I use makes *.bak directories,
> emacs creates *~.
> That, and the fact that git status/diff did not report them,
> made me thing they were from the repository.
> (I do not normally use git)
>

You might want to look at the dates those files were created to see if
you can get any extra information about who creates them.  They look to
me like broken editor backup files :) but that's just a guess.

The easiest way to get rid of them is to have git clean them out --
you need to tell it to clean out files and include ignored files which
is what the -x switch does.  Make sure you specify the '*.bak' pattern
otherwise it will clean out _everything_ that is not tracked which
includes all of your compiled files.

$ git clean -x '*.bak'

HTH,
Bernt

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

* Re: Re: *.bak files in trunk?
  2010-06-29 11:40       ` Bernt Hansen
@ 2010-06-29 11:41         ` Bernt Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2010-06-29 11:41 UTC (permalink / raw)
  To: Daniel Mahler; +Cc: emacs-orgmode, Carsten Dominik

Bernt Hansen <bernt@norang.ca> writes:

> The easiest way to get rid of them is to have git clean them out --
> you need to tell it to clean out files and include ignored files which
> is what the -x switch does.  Make sure you specify the '*.bak' pattern
> otherwise it will clean out _everything_ that is not tracked which
> includes all of your compiled files.
>
> $ git clean -x '*.bak'

and you can dry-run the command by adding the -n switch

$ git clean -n -x '*.bak' 

will tell you what it would have deleted without actually deleting
anything.

-Bernt

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

end of thread, other threads:[~2010-06-29 11:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 18:56 *.bak files in trunk? Daniel Mahler
2010-06-29  0:45 ` Bernt Hansen
2010-06-29  4:27   ` Carsten Dominik
2010-06-29 11:05     ` Daniel Mahler
2010-06-29 11:40       ` Bernt Hansen
2010-06-29 11:41         ` Bernt Hansen

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.