GNU bug report logs -
#4868
23.1; "No fileset is available here"
Previous Next
Reported by: Tom Tromey <tromey <at> redhat.com>
Date: Wed, 4 Nov 2009 19:25:04 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4868 in the body.
You can then email your comments to 4868 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4868
; Package
emacs
.
(Wed, 04 Nov 2009 19:25:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tom Tromey <tromey <at> redhat.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 04 Nov 2009 19:25:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I modified a file in a git-managed directory.
Then I typed `C-x v ='.
I got an error: "No fileset is available here".
However, if I switch to another buffer visiting a (modified) file in
that same directory, `C-x v =' works just fine.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.
In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.6)
of 2009-09-29 on x86-7.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10603901
configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Diff
Minor modes in effect:
vc-parent-buffer: dwarf2read.c<archer>
shell-dirtrack-mode: t
diff-auto-refine-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-spelling-mode: t
erc-truncate-mode: t
erc-status-mode: t
erc-services-mode: t
erc-networks-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
n k i n g SPC t o o SPC s o u n d l y , SPC I S-SPC
s u p p o s e , SPC w h e n SPC I SPC n u k e d SPC
t h i s . <return> Y <backspace> I SPC t h i n k SPC
y o u r SPC p o i n t SPC i s SPC a SPC g o o d SPC
o n e . SPC S-SPC I f SPC y o u ' d SPC p r e f e r
, SPC I S-SPC w i l l SPC l e a v e SPC t h i s SPC
s t a t i c SPC a n d SPC j u s t SPC z e r o SPC o
u t SPC t h a t SPC f i e l d . C-p C-p C-a C-u C-n
C-SPC C-u C-n C-u C-n C-u C-n C-p C-n C-w C-p C-p C-e
SPC S-SPC I SPC <M-backspace> M-q C-c C-c M S-SPC q
s z C-c b C-p C-p M-f M-f M-b l <backspace> n a m e
l M-/ SPC ! = SPC - 1 SPC & & S-SPC C-a C-u C-n C-u
C-n C-l C-u C-p C-u C-p C-s n a m e l e n g t h C-a
C-x C-s C-x v = C-x v = C-p C-n C-f C-p C-f C-e C-a
C-x v = C-x s C-x C-f C-g C-x C-f d w <tab> r <tab>
<return> C-x v = C-x b C-a <return> C-x v = C-x o C-x
v = C-z o C-z o M-x r e p o r t - e m <tab> <return>
b <tab> <return>
Recent messages:
Saving file /home/tromey/gnu/archer/archer/gdb/psymtab.c...
Wrote /home/tromey/gnu/archer/archer/gdb/psymtab.c
vc-deduce-fileset: No fileset is available here. [3 times]
(No files need saving)
Quit
Finding changes in /home/tromey/gnu/archer/archer/gdb/dwarf2read.c...done
Quit
vc-deduce-fileset: No fileset is available here.
Finding changes in /home/tromey/gnu/archer/archer/gdb/dwarf2read.c...done
Making completion list...
Tom
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4868
; Package
emacs
.
(Wed, 04 Nov 2009 21:25:06 GMT)
Full text and
rfc822 format available.
Message #8 received at 4868 <at> emacsbugs.donarmstrong.com (full text, mbox):
Tom Tromey <tromey <at> redhat.com> writes:
> I modified a file in a git-managed directory.
> Then I typed `C-x v ='.
> I got an error: "No fileset is available here".
Is this file not registered with Git?
If yes, then that's the error it would get.
emacs-22 used to have a nicer looking error in that case: "File is not
under version control". Not sure why that check got removed, there's
nothing in the ChangeLog to explain it :-(
> However, if I switch to another buffer visiting a (modified) file in
> that same directory, `C-x v =' works just fine.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4868
; Package
emacs
.
(Thu, 05 Nov 2009 02:10:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 05 Nov 2009 02:10:05 GMT)
Full text and
rfc822 format available.
Message #13 received at 4868 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> I modified a file in a git-managed directory.
>> Then I typed `C-x v ='.
>> I got an error: "No fileset is available here".
> Is this file not registered with Git?
> If yes, then that's the error it would get.
> emacs-22 used to have a nicer looking error in that case: "File is not
> under version control". Not sure why that check got removed, there's
> nothing in the ChangeLog to explain it :-(
Would the patch below make sense? After all, at that point we've
already checked we're visiting a file, there's no backend and we're not
in vc-dir-mode, so a message like "No fileset is available here" is
probably never right.
Stefan
=== modified file 'lisp/vc.el'
--- lisp/vc.el 2009-10-24 18:33:25 +0000
+++ lisp/vc.el 2009-11-05 02:00:24 +0000
@@ -922,7 +922,7 @@
nil)
(list (vc-backend-for-registration (buffer-file-name))
(list buffer-file-name))))
- (t (error "No fileset is available here")))))
+ (t (error "File is not under version control")))))
(defun vc-ensure-vc-buffer ()
"Make sure that the current buffer visits a version-controlled file."
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4868
; Package
emacs
.
(Thu, 05 Nov 2009 02:20:05 GMT)
Full text and
rfc822 format available.
Message #16 received at 4868 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> >> I modified a file in a git-managed directory.
> >> Then I typed `C-x v ='.
> >> I got an error: "No fileset is available here".
>
> > Is this file not registered with Git?
>
> > If yes, then that's the error it would get.
> > emacs-22 used to have a nicer looking error in that case: "File is not
> > under version control". Not sure why that check got removed, there's
> > nothing in the ChangeLog to explain it :-(
>
> Would the patch below make sense? After all, at that point we've
Looks fine to me.
> already checked we're visiting a file, there's no backend and we're not
> in vc-dir-mode, so a message like "No fileset is available here" is
> probably never right.
>
> Stefan
>
>
> === modified file 'lisp/vc.el'
> --- lisp/vc.el 2009-10-24 18:33:25 +0000
> +++ lisp/vc.el 2009-11-05 02:00:24 +0000
> @@ -922,7 +922,7 @@
> nil)
> (list (vc-backend-for-registration (buffer-file-name))
> (list buffer-file-name))))
> - (t (error "No fileset is available here")))))
> + (t (error "File is not under version control")))))
>
> (defun vc-ensure-vc-buffer ()
> "Make sure that the current buffer visits a version-controlled file."
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4868
; Package
emacs
.
(Sun, 08 Nov 2009 17:10:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tom Tromey <tromey <at> redhat.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sun, 08 Nov 2009 17:10:06 GMT)
Full text and
rfc822 format available.
Message #21 received at 4868 <at> emacsbugs.donarmstrong.com (full text, mbox):
>>>>> "Dan" == Dan Nicolaescu <dann <at> ics.uci.edu> writes:
>> I modified a file in a git-managed directory.
>> Then I typed `C-x v ='.
>> I got an error: "No fileset is available here".
Dan> Is this file not registered with Git?
Yeah, it turns out it is not.
I switched branches to a branch where this file did not exist, but
didn't remember that, and also didn't update TAGS. Whoops.
Tom
bug closed, send any further explanations to Tom Tromey <tromey <at> redhat.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 10 Nov 2009 02:35:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Tue, 08 Dec 2009 15:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.