* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
@ 2014-02-11 14:56 ` Michael Albinus
2014-02-11 15:03 ` Andy Moreton
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Michael Albinus @ 2014-02-11 14:56 UTC (permalink / raw)
To: Patrick; +Cc: help-gnu-emacs
Patrick <patrick.brem87@gmail.com> writes:
> Hello,
Hi Patrick,
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is
> anyone familiar with this problem or can point me to where I can stop
> emacs from trying to access all these inexisting keys on startup?
This seems to be caused by vc. If I open ~/.emacs, for example, vc
checks the existence of the following files:
/home/albinus/RCS/.emacs,v
/home/albinus/.emacs,v
/home/albinus/RCS/.emacs
/home/albinus/CVS/Entries
/home/albinus/.emacs/.svn
/home/albinus/.svn
/home/.svn
/.svn
/home/albinus/SCCS/s..emacs
/home/albinus/s..emacs
/home/albinus/.emacs/.bzr/checkout/format
/home/albinus/.bzr/checkout/format
/home/.bzr/checkout/format
/.bzr/checkout/format
/home/albinus/.emacs/.git
/home/albinus/.git
/home/.git
/.git
/home/albinus/.emacs/.hg
/home/albinus/.hg
/home/.hg
/.hg
/home/albinus/.emacs/_MTN/format
/home/albinus/_MTN/format
/home/_MTN/format
/_MTN/format
/home/albinus/.emacs/{arch}/=tagging-method
/home/albinus/{arch}/=tagging-method
/home/{arch}/=tagging-method
/{arch}/=tagging-method
If you don't need vc, disable it. It might also improve performance.
> Thanks,
> Patrick
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
2014-02-11 14:56 ` Michael Albinus
@ 2014-02-11 15:03 ` Andy Moreton
2014-02-11 16:46 ` W. Greenhouse
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Andy Moreton @ 2014-02-11 15:03 UTC (permalink / raw)
To: help-gnu-emacs
On Tue 11 Feb 2014, Patrick wrote:
> Hello,
>
> I am using emacs on several machines, and now my system administrator told me
> that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is anyone
> familiar with this problem or can point me to where I can stop emacs from
> trying to access all these inexisting keys on startup?
The names from the log are the directories that various version control
systems use to store their metadata in a working copy (i.e tree of
version controlled files).
If you use vc-mode then Emacs finds the root of your working copy by
searching up the directory heirarchy until it finds one of these
directories. At that point it knows which version control system is in
use.
Read the Version Control section of the emacs manual for details. That
suggests doing "(setq vc-handled-backends nil)" to completely disable
VC.
Please file a bug report (M-x report-emacs-bug) with full details of the
emacs version, file paths and log entries to help the developers tune the
search for VC directories.
HTH,
AndyM
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
2014-02-11 14:56 ` Michael Albinus
2014-02-11 15:03 ` Andy Moreton
@ 2014-02-11 16:46 ` W. Greenhouse
2014-02-11 16:56 ` Glenn Morris
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
4 siblings, 0 replies; 7+ messages in thread
From: W. Greenhouse @ 2014-02-11 16:46 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Patrick <patrick.brem87-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> Hello,
>
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
>
> Comparing the timestamps, this happens everytime I start emacs. Is
> anyone familiar with this problem or can point me to where I can stop
> emacs from trying to access all these inexisting keys on startup?
This looks like evidence of vc-mode trying to check if the current
directory is under version control. The nuclear option would be to
(setq vc-handled-backends nil), thus entirely disabling all attempts to
tell if any file/directory is under version control.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs causing automount error
2014-02-11 9:50 emacs causing automount error Patrick
` (2 preceding siblings ...)
2014-02-11 16:46 ` W. Greenhouse
@ 2014-02-11 16:56 ` Glenn Morris
2014-02-11 22:26 ` Stefan Monnier
[not found] ` <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>
4 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2014-02-11 16:56 UTC (permalink / raw)
To: Patrick; +Cc: help-gnu-emacs
Patrick wrote:
> I am using emacs on several machines, and now my system administrator
> told me that on one machine his log files are filled up with this
>
> Feb 10 14:38:46 xx automount[3394]: key ".bzr" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".git" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key ".hg" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "_MTN" not found in map source(s).
> Feb 10 14:38:46 xx automount[3394]: key "{arch}" not found in map source(s).
The messages are harmless. That's just how automount works.
As has been said, you can disable/reduce vc-handled-backends if you
don't need it.
Alternatively, you can tweak locate-dominating-stop-dir-regexp
so that it stops one level before your automounter kicks in.
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.14783.1392137889.10748.help-gnu-emacs@gnu.org>]