all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: rms@gnu.org
Cc: schwab@linux-m68k.org, emacs-devel@gnu.org
Subject: RE: Strange behavior editing a file from Dired
Date: Fri, 9 Dec 2016 14:32:23 -0800 (PST)	[thread overview]
Message-ID: <b68291dc-21c5-464d-a2bd-faae78d2750b@default> (raw)
In-Reply-To: <<E1cFT9O-0001ky-7m@fencepost.gnu.org>>

>   > My thought exactly.  It's a gotcha that I still fall into,
>   > even though I've been using many frames for a long time.
> 
>   > You put the cursor back where it was, and after trying to
>   > do something that depends on where it was, you see that it
>   > was moved somewhere else.
> 
> If it depends on multiple frames, it can't be the same bug I
> experience, but it might be another bug.  If you see it again,
> please report it.

I think it comes from having different window points when the
same buffer is displayed in different windows.  I'm not sure
that multiple _frames_ need to be involved, but perhaps Andreas
has an idea about that.  I use different frames, so I can't
really tell whether different windows are sufficient.

Possibly it's a bug in Dired.  What I think I see (sometimes)
is that Dired seems to be checking the window point in some
other window than the window that is selected when I request
the action.  It gets the buffer right, but not the window.
And by the end of the action it has moved point in the window
that was originally selected to the position it has in the
other window.

I'll try to pay more attention when it happens again and see
if I can notice what's involved.  In any case, I don't think
what I have seen is a new problem.  Dunno if it's the same
thing you're seeing.



  parent reply	other threads:[~2016-12-09 22:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 20:35 Strange behavior editing a file from Dired Richard Stallman
2016-12-09  7:46 ` Eli Zaretskii
2016-12-09 15:06   ` Richard Stallman
2016-12-09  9:24 ` Andreas Schwab
2016-12-09 15:06   ` Richard Stallman
2016-12-09 15:53   ` Drew Adams
2016-12-09 21:56     ` Richard Stallman
     [not found]   ` <<6f523b1f-71ab-4147-8d9d-7e7f1cb2b07d@default>
     [not found]     ` <<E1cFT9O-0001ky-7m@fencepost.gnu.org>
2016-12-09 22:32       ` Drew Adams [this message]
2016-12-11  9:32         ` Richard Stallman
2016-12-11 15:11 ` Simen Heggestøyl

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=b68291dc-21c5-464d-a2bd-faae78d2750b@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=schwab@linux-m68k.org \
    /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.