From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20943: 25.0.50; Dired buffers are not always auto-reverterd Date: Sat, 04 Jul 2015 12:32:09 +0300 Message-ID: <83oajsxo86.fsf@gnu.org> References: <87y4j1oy87.fsf@openmailbox.org> <83bnfx2ckn.fsf@gnu.org> <87y4j0fj8m.fsf@openmailbox.org> <831tgr3np9.fsf@gnu.org> <87r3ort2bp.fsf@openmailbox.org> <83egkq1uj4.fsf@gnu.org> <87egkplmpw.fsf@openmailbox.org> <83wpyhzma4.fsf@gnu.org> <87a8vdlguy.fsf@openmailbox.org> <83si95zbjr.fsf@gnu.org> <87y4ix75t0.fsf@openmailbox.org> <83lhexz78k.fsf@gnu.org> <87twtl1axb.fsf@openmailbox.org> <8738141don.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1436002407 12760 80.91.229.3 (4 Jul 2015 09:33:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jul 2015 09:33:27 +0000 (UTC) Cc: 20943@debbugs.gnu.org, markkarpov@openmailbox.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 04 11:33:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZBJot-0005a5-Kc for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2015 11:33:11 +0200 Original-Received: from localhost ([::1]:43719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBJos-00055o-SY for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2015 05:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBJoo-00055A-9W for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 05:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBJol-0007l3-2y for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 05:33:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBJok-0007kx-WD for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 05:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZBJok-0003kU-Dr for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 05:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jul 2015 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20943 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20943-submit@debbugs.gnu.org id=B20943.143600232714325 (code B ref 20943); Sat, 04 Jul 2015 09:33:02 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 4 Jul 2015 09:32:07 +0000 Original-Received: from localhost ([127.0.0.1]:39235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBJnq-0003iz-Bi for submit@debbugs.gnu.org; Sat, 04 Jul 2015 05:32:06 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54183) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBJnn-0003iR-Ge for 20943@debbugs.gnu.org; Sat, 04 Jul 2015 05:32:04 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NQY00500ICRC400@a-mtaout20.012.net.il> for 20943@debbugs.gnu.org; Sat, 04 Jul 2015 12:31:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQY0053QIH7AK30@a-mtaout20.012.net.il>; Sat, 04 Jul 2015 12:31:56 +0300 (IDT) In-reply-to: <8738141don.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104676 Archived-At: > From: Michael Albinus > Cc: Eli Zaretskii , 20943@debbugs.gnu.org > Date: Sat, 04 Jul 2015 11:20:56 +0200 > > Mark Karpov writes: > > > When I copy some files or create files, they are placed by Dired in > > different positions than they would be placed normally (via ls call or > > whatever Emacs uses internally). This is a separate problem, because of > > this, I had to press ā€˜gā€™ in such cases, so every file gets in its proper > > position. > > > > What I propose is to make sure that copied/created/added to current > > directory by other means files are in the same positions as they would > > be displayed by ls command (or whatever Emacs uses), so when user > > presses ā€˜gā€™ order of files doesn't change. > > This is a feature of dired. It doesn't want to regenerate the whole > dired buffer; instead it adds the new entry at the position the cursor > is pointing to. This is because reverting the dired buffer could be > expensive. Think about a remote directory, think about many inserted > subdirectories. But then we should set some flag that this kind of change has been done, and let autorevert test that flag and decide to revert the buffer even though its modified flag is set. > Good or bad, if we want to change this behavour we would need a customer > option which would trigger the regeneration of the dired buffer > automatically. I think if the user invoked auto-revert-mode in the Dired buffer, she already communicated that intent to us, no?