GNU bug report logs - #31460
25.2; vc-dired in SVN hides up-to-date files

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Tue, 15 May 2018 11:13:01 UTC

Severity: wishlist

Tags: notabug

Found in version 25.2

Done: Lars Ingebrigtsen <larsi <at> gnus.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 31460 in the body.
You can then email your comments to 31460 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Tue, 15 May 2018 11:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Francesco Potortì <pot <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 15 May 2018 11:13:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; vc-dired in SVN hides up-to-date files
Date: Tue, 15 May 2018 13:12:24 +0200
vc-dired on an svn-controlled directory which is completely updated only
shows unregistered files.  Files that are up-to-date are hidden and
apparently there is no command to unhide them (they should be shown by
default, in fact).


In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2018-02-19, modified by Debian built on x86-ubc-01
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:	Debian GNU/Linux testing (buster)

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --build x86_64-linux-gnu
 --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=lucid
 --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs25-oNxPKC/emacs25-25.2+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11

Important settings:
  value of $LC_COLLATE: it_IT.UTF-8
  value of $LC_CTYPE: it_IT.UTF-8
  value of $LC_NUMERIC: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Help

Minor modes in effect:
  TeX-PDF-mode: t
  desktop-save-mode: t
  epa-global-mail-mode: t
  shell-dirtrack-mode: t
  openwith-mode: t
  xterm-mouse-mode: t
  display-time-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
Mark set
Note: file is write protected
uncompressing vc.el.gz...done
Note: file is write protected
Mark saved where search started
Type "q" in help window to restore its previous buffer, C-M-v to scroll help.
Quit
Mark saved where search started
Type C-x 1 to delete the help window.
Making completion list... [2 times]

Load-path shadows:
~/elisp/bhl hides /usr/share/emacs/25.2/site-lisp/bhl
~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl
/usr/share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs25/site-lisp/flim/md4 hides /usr/share/emacs/25.2/lisp/md4
/usr/share/emacs25/site-lisp/flim/hex-util hides /usr/share/emacs/25.2/lisp/hex-util
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.2/lisp/textmodes/rst
~/elisp/bibtex hides /usr/share/emacs/25.2/lisp/textmodes/bibtex
~/elisp/octave hides /usr/share/emacs/25.2/lisp/progmodes/octave
/usr/share/emacs25/site-lisp/flim/ntlm hides /usr/share/emacs/25.2/lisp/net/ntlm
/usr/share/emacs25/site-lisp/flim/hmac-md5 hides /usr/share/emacs/25.2/lisp/net/hmac-md5
/usr/share/emacs25/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/25.2/lisp/net/sasl-ntlm
/usr/share/emacs25/site-lisp/flim/sasl-digest hides /usr/share/emacs/25.2/lisp/net/sasl-digest
/usr/share/emacs25/site-lisp/flim/sasl hides /usr/share/emacs/25.2/lisp/net/sasl
/usr/share/emacs25/site-lisp/flim/sasl-cram hides /usr/share/emacs/25.2/lisp/net/sasl-cram
/usr/share/emacs25/site-lisp/flim/hmac-def hides /usr/share/emacs/25.2/lisp/net/hmac-def
/usr/share/emacs25/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/25.2/lisp/language/thai-word
/usr/share/emacs25/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs25/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs25/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs25/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex
/usr/share/emacs25/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs25/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs25/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs25/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs25/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs25/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs25/site-lisp/auctex/tex-ispell hides /usr/share/emacs/site-lisp/auctex/tex-ispell
/usr/share/emacs25/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs25/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs25/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs25/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs25/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs25/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs25/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs25/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs25/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs25/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs25/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf

Features:
(emacsbug eieio-opt speedbar sb-image ezimage dframe find-func log-edit
pcvs-util add-log vc-cvs vc-dir ewoc vc pcmpl-unix arc-mode archive-mode
find-dired bibtex-style parse-time unrmail calccomp calc-vec calc-map
calc-alg calc-menu calc-yank calc-ext calc calc-loaddefs calc-macs
debian-bug anything-config anything woman cl nnmail gnus-int gnus-range
mail-source gnus gnus-ems nnheader mail-extr sort shadow reporter
tramp-cmds ispell texmathp shr-color color tabify man grep locate
dired-aux rmailedit conf-mode etags xref project rect tramp-cache
url-handlers rmailsort w3m-form w3m-filter w3m-cookie w3m-bookmark
w3m-tabmenu w3m-session w3m doc-view timezone w3m-hist w3m-fb
bookmark-w3m w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-util dabbrev mailalias rmailout rmailkwd url-util shr dom subr-x
browse-url time-stamp misearch multi-isearch server qp bibtex nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
image-mode info jka-compr sh-script executable generic js sgml-mode json
map imenu vc-filewise vc-rcs vc-dispatcher vc-svn cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
latexenc gud octave texinfo smie preview prv-emacs tex-bar tex-buf
toolbar-x noutline outline font-latex latex easy-mmode edmacro kmacro
tex-ispell tex-style tex dbus xml crm tex-mode compile rmailmm message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader mail-parse rfc2231 desktop frameset term/xterm xterm solar
cal-dst pot skeleton warnings rmailsum rmail sendmail rfc2047 rfc2045
ietf-drums mime-compose epa-mail mail-utils epa derived epg view
holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs tramp tramp-compat tramp-loaddefs trampver ucs-normalize
shell pcomplete comint ring format-spec advice bhl visual-fill-column
switch-to-shell openwith hi-lock xt-mouse ffap thingatpt url-parse
auth-source cl-seq eieio eieio-core cl-macs gnus-util time-date mm-util
help-fns mail-prsvr password-cache url-vars scroll-in-place filladapt
ansi-color time quail dired-x dired generic-x disp-table finder-inf
package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib debian-el
debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-version vm-vars
vm-init preview-latex tex-site auto-loads mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting font-render-setting x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 843075 147574)
 (symbols 48 59634 97)
 (miscs 40 2043 3483)
 (strings 32 166920 21467)
 (string-bytes 1 5098801)
 (vectors 16 76142)
 (vector-slots 8 2096655 151137)
 (floats 8 1019 717)
 (intervals 56 37389 4092)
 (buffers 976 152))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Tue, 15 May 2018 12:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Francesco Potortì <pot <at> gnu.org>, 31460 <at> debbugs.gnu.org
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Tue, 15 May 2018 15:23:39 +0300
On 5/15/18 2:12 PM, Francesco Potortì wrote:
> vc-dired

Do you mean vc-dir?

> on an svn-controlled directory which is completely updated only
> shows unregistered files.

Or changed, deleted, etc.

> Files that are up-to-date are hidden and
> apparently there is no command to unhide them (they should be shown by
> default, in fact).

We don't show the up-to-date files, unless they have been recently edited.

In any decent-sized project, they will be too many of them to reasonably 
display.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Tue, 15 May 2018 12:50:02 GMT) Full text and rfc822 format available.

Message #11 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 31460 <at> debbugs.gnu.org
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Tue, 15 May 2018 14:49:36 +0200
>> vc-dired
>
>Do you mean vc-dir?

Yes, sure, sorry.

>> on an svn-controlled directory which is completely updated only
>> shows unregistered files.
>
>Or changed, deleted, etc.

Well, yes, by updated I mean that all changes have been committed.

>> Files that are up-to-date are hidden and
>> apparently there is no command to unhide them (they should be shown by
>> default, in fact).
>
>We don't show the up-to-date files, unless they have been recently edited.

Even if they have been recently edited, as far as I can see they are not
shown any more once the changes have been committed.

>In any decent-sized project, they will be too many of them to reasonably 
>display.

Okay, but this is an argument in favor of the current default.  The
problem is that I don't find a command to unhide the up-to-date files,
which in my case is what I usually need, and no way to change the
default.

I think there should be a customisable variable indicating what's hidden
by default, and a command to unhide all files (for example X, or C-ux).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Thu, 17 May 2018 12:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Francesco Potortì <pot <at> gnu.org>
Cc: 31460 <at> debbugs.gnu.org
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Thu, 17 May 2018 15:16:43 +0300
On 5/15/18 3:49 PM, Francesco Potortì wrote:

>>> on an svn-controlled directory which is completely updated only
>>> shows unregistered files.
>>
>> Or changed, deleted, etc.
> 
> Well, yes, by updated I mean that all changes have been committed.

Committed when? And how?

>>> Files that are up-to-date are hidden and
>>> apparently there is no command to unhide them (they should be shown by
>>> default, in fact).
>>
>> We don't show the up-to-date files, unless they have been recently edited.
> 
> Even if they have been recently edited, as far as I can see they are not
> shown any more once the changes have been committed.

That might be a peculiarity of the SVN backend. Hopefully someone will 
investigate.

When I commit changes in a Git repo (inside Emacs), the recently-edited 
files stay in the buffer.

> Okay, but this is an argument in favor of the current default.  The
> problem is that I don't find a command to unhide the up-to-date files,
> which in my case is what I usually need, and no way to change the
> default.
> 
> I think there should be a customisable variable indicating what's hidden
> by default, and a command to unhide all files (for example X, or C-ux).

Ehh, keeping a history of the file hiding? That could work, but not if 
the problem is in a different place (see above).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Thu, 17 May 2018 12:38:01 GMT) Full text and rfc822 format available.

Message #17 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 31460 <at> debbugs.gnu.org
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Thu, 17 May 2018 14:37:21 +0200
>>>> on an svn-controlled directory which is completely updated only
>>>> shows unregistered files.
>>>
>>> Or changed, deleted, etc.
>> 
>> Well, yes, by updated I mean that all changes have been committed.
>
>Committed when? And how?

I edit a file under svn.  I save and I commit it with vc-next-action.
Then I look at the directory with vc-dir.

>>>> Files that are up-to-date are hidden and
>>>> apparently there is no command to unhide them (they should be shown by
>>>> default, in fact).
>>>
>>> We don't show the up-to-date files, unless they have been recently edited.
>> 
>> Even if they have been recently edited, as far as I can see they are not
>> shown any more once the changes have been committed.
>
>That might be a peculiarity of the SVN backend. Hopefully someone will 
>investigate.
>
>When I commit changes in a Git repo (inside Emacs), the recently-edited 
>files stay in the buffer.

I remember that it did not use to work like this.  I remember that
vc-dir was useful to me, and it is much less useful now.

>> Okay, but this is an argument in favor of the current default.  The
>> problem is that I don't find a command to unhide the up-to-date files,
>> which in my case is what I usually need, and no way to change the
>> default.
>> 
>> I think there should be a customisable variable indicating what's hidden
>> by default, and a command to unhide all files (for example X, or C-ux).
>
>Ehh, keeping a history of the file hiding? That could work, but not if 
>the problem is in a different place (see above).

I'm not asking for any history.

1) Show all the files that are in a dir by default, just as 'svn ls'
   does, no files hidden by default

2) Provide a command to unhide, that is, to undo all hiding done by
   vc-dir-hide-state
   




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Thu, 02 Sep 2021 08:09:02 GMT) Full text and rfc822 format available.

Message #20 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Francesco Potortì <pot <at> gnu.org>
Cc: 31460 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Thu, 02 Sep 2021 10:08:32 +0200
Francesco Potortì <pot <at> gnu.org> writes:

>>>>> on an svn-controlled directory which is completely updated only
>>>>> shows unregistered files.
>>>>
>>>> Or changed, deleted, etc.
>>> 
>>> Well, yes, by updated I mean that all changes have been committed.
>>
>>Committed when? And how?
>
> I edit a file under svn.  I save and I commit it with vc-next-action.
> Then I look at the directory with vc-dir.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This is how vc-dir is supposed to work -- it only shows files that
aren't up-to-date (i.e., changed, unregistered, etc).  So this is
working as designed, and I'm therefore closing this bug report.  (If I
misunderstood what you meant here, please respond to the debbugs address
and we'll reopen.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 02 Sep 2021 08:09:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31460 <at> debbugs.gnu.org and Francesco Potortì <pot <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 02 Sep 2021 08:09:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31460; Package emacs. (Mon, 06 Sep 2021 16:27:01 GMT) Full text and rfc822 format available.

Message #27 received at 31460 <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31460 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#31460: 25.2; vc-dired in SVN hides up-to-date files
Date: Mon, 06 Sep 2021 18:26:47 +0200
>
>Francesco Potortì <pot <at> gnu.org> writes:
>
>>>>>> on an svn-controlled directory which is completely updated only
>>>>>> shows unregistered files.
>>>>>
>>>>> Or changed, deleted, etc.
>>>> 
>>>> Well, yes, by updated I mean that all changes have been committed.
>>>
>>>Committed when? And how?
>>
>> I edit a file under svn.  I save and I commit it with vc-next-action.
>> Then I look at the directory with vc-dir.
>
>(I'm going through old bug reports that unfortunately weren't resolved
>at the time.)
>
>This is how vc-dir is supposed to work -- it only shows files that
>aren't up-to-date (i.e., changed, unregistered, etc).  So this is
>working as designed, and I'm therefore closing this bug report.  (If I
>misunderstood what you meant here, please respond to the debbugs address
>and we'll reopen.)

I think you understood.  Only, at the time it seemd unreasonable to me
that vc-dir does not show all vc-controlled files.  In time, I got used
to it but I still think that being able to see all files is a must, and
it shluld be possible to use such a view by default.

Thanks for your maintainance work




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Oct 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.