all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: 4880@emacsbugs.donarmstrong.com, "Per Starbäck" <per@starback.se>
Subject: bug#4880: point moves in other dired windows
Date: Sat, 05 Dec 2009 00:00:47 -0500	[thread overview]
Message-ID: <jwvfx7qj9te.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87k4x2xyd6.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 04 Dec 2009 23:49:28 +0200")

> !   (list
> !    (mapcar (lambda (buffer)
> ! 	     (cons buffer
> ! 		   (with-current-buffer buffer
> ! 		     (list
> ! 		      (dired-get-filename nil t)
> ! 		      (point)))))
> ! 	   (dired-buffers-for-dir
> ! 	    (if (consp dired-directory) (car dired-directory) dired-directory)))
> !    (mapcar (lambda (w)
> ! 	     (list w
> ! 		   (with-selected-window w
> ! 		     (dired-get-filename nil t))
> ! 		   (window-point w)))
> ! 	   (get-buffer-window-list nil 0 t))))

I do not understand, why we save the point of all
"dired-buffers-for-dir" but only the point of the windows showing the
current buffer.
I'd prefer to resolve this discrepancy by only saving the current
buffer's point (after all, the other buffer's won't be affected by the
revert, right)?


        Stefan





  reply	other threads:[~2009-12-05  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwv639fs71y.fsf-monnier+emacsbugreports@gnu.org>
2009-11-06 15:35 ` bug#4880: point moves in other dired windows Per Starbäck
2009-11-12 22:45   ` bug#4880: marked as done (point moves in other dired windows) Emacs bug Tracking System
     [not found] ` <87d42v8vhe.fsf@mail.jurta.org>
2009-12-04 21:49   ` bug#4880: point moves in other dired windows Juri Linkov
2009-12-05  5:00     ` Stefan Monnier [this message]
2009-12-05 19:42       ` Juri Linkov
2009-12-05 21:09         ` Stefan Monnier
2009-12-05 23:22           ` Juri Linkov

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=jwvfx7qj9te.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4880@emacsbugs.donarmstrong.com \
    --cc=juri@jurta.org \
    --cc=per@starback.se \
    /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.