emacs loads version control packages in batch mode

Bug #633617 reported by jalitr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs23 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: emacs23

If you are in a source repository, emacs loads the version control
package for that repository in batch mode. The problem can be
reproduced as follows:

    # Create an empty directory.
    $ mkdir tmp
    $ cd tmp

    # Verify there is no problem in the empty directory.
    # These commands should not produce any output.
    $ emacs -Q --batch --load /dev/null
    $ emacs -Q --batch --load /dev/null foo

    # Pretend to put the directory under version control.
    $ mkdir .git .hg .svn CVS
    $ touch CVS/Entries .svn/entries

    # Verify that the first command is still ok.
    $ emacs -Q --batch --load /dev/null

    # Verify that the second command prints the loading messages
    # which are inappropriate for batch mode.
    $ emacs -Q --batch --load /dev/null foo
    Loading vc-cvs...
    Loading vc-svn...
    Loading vc-git...
    Loading vc-hg...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.