unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
@ 2018-05-15 11:12 Francesco Potortì
  2018-05-15 12:23 ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Francesco Potortì @ 2018-05-15 11:12 UTC (permalink / raw)
  To: 31460

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))





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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2018-05-15 11:12 bug#31460: 25.2; vc-dired in SVN hides up-to-date files Francesco Potortì
@ 2018-05-15 12:23 ` Dmitry Gutov
  2018-05-15 12:49   ` Francesco Potortì
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2018-05-15 12:23 UTC (permalink / raw)
  To: Francesco Potortì, 31460

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.





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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2018-05-15 12:23 ` Dmitry Gutov
@ 2018-05-15 12:49   ` Francesco Potortì
  2018-05-17 12:16     ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Francesco Potortì @ 2018-05-15 12:49 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 31460

>> 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).





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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2018-05-15 12:49   ` Francesco Potortì
@ 2018-05-17 12:16     ` Dmitry Gutov
  2018-05-17 12:37       ` Francesco Potortì
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2018-05-17 12:16 UTC (permalink / raw)
  To: Francesco Potortì; +Cc: 31460

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).






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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2018-05-17 12:16     ` Dmitry Gutov
@ 2018-05-17 12:37       ` Francesco Potortì
  2021-09-02  8:08         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Francesco Potortì @ 2018-05-17 12:37 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 31460

>>>> 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
   





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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2018-05-17 12:37       ` Francesco Potortì
@ 2021-09-02  8:08         ` Lars Ingebrigtsen
  2021-09-06 16:26           ` Francesco Potortì
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-02  8:08 UTC (permalink / raw)
  To: Francesco Potortì; +Cc: 31460, Dmitry Gutov

Francesco Potortì <pot@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





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

* bug#31460: 25.2; vc-dired in SVN hides up-to-date files
  2021-09-02  8:08         ` Lars Ingebrigtsen
@ 2021-09-06 16:26           ` Francesco Potortì
  0 siblings, 0 replies; 7+ messages in thread
From: Francesco Potortì @ 2021-09-06 16:26 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 31460, Dmitry Gutov

>
>Francesco Potortì <pot@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





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

end of thread, other threads:[~2021-09-06 16:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 11:12 bug#31460: 25.2; vc-dired in SVN hides up-to-date files Francesco Potortì
2018-05-15 12:23 ` Dmitry Gutov
2018-05-15 12:49   ` Francesco Potortì
2018-05-17 12:16     ` Dmitry Gutov
2018-05-17 12:37       ` Francesco Potortì
2021-09-02  8:08         ` Lars Ingebrigtsen
2021-09-06 16:26           ` Francesco Potortì

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).