all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: stephen.berman@gmx.net, 27968@debbugs.gnu.org
Subject: bug#27968: 26.0.50; dired-revert: Saved positions might change if a dired header changes
Date: Sat, 05 Aug 2017 16:15:27 +0300	[thread overview]
Message-ID: <83h8xmupe8.fsf@gnu.org> (raw)
In-Reply-To: <87bmnu6udt.fsf@calancha-pc> (message from Tino Calancha on Sat,  05 Aug 2017 22:01:34 +0900)

> From: Tino Calancha <tino.calancha@gmail.com>
> Date: Sat, 05 Aug 2017 22:01:34 +0900
> Cc: stephen berman <stephen.berman@gmx.net>
> 
> Dired headers also changes; if you add/deleted some files,
> the used space shown changes: that will mess up the saved
> buffer positions if the length of the header is different.
> 
> This problem causes dired-test-bug27243-01 to fail in hydra.
> 
> One possible solution is the patch below.  It saves line numbers
> instead of positions.  Line numbers won't change if a dired header
> changes its length.

Won't using markers be a better solution?





  reply	other threads:[~2017-08-05 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05 13:01 bug#27968: 26.0.50; dired-revert: Saved positions might change if a dired header changes Tino Calancha
2017-08-05 13:15 ` Eli Zaretskii [this message]
2017-08-05 15:45   ` Tino Calancha
2017-08-06  4:15     ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h8xmupe8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27968@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    --cc=tino.calancha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.