> The problem is triggered in vhdl-template-field, it seems that
> read-from-minibuffer switches to the point position of the wrong window.

I don't know how to fix it, but I've traced it to the following problem:

  % emacs -Q
  [ type in some random text]
  C-x 2
  [ move point elsewhere ]
  M-: (save-window-excursion (select-window (next-window))) RET

after the M-: command, point in the second window is set back to the same
position as it is in the first window.

If we do

   M-: (save-window-excursion
         (let ((win (selected-window)))
           (select-window (next-window)) (select-window win))) RET

instead, it works correctly.
So it seems to be a problem in set-window-configuration, but the code there
is sufficiently tricky that I can't find the problem off hand.  And I won't
have time to delve into it any time soon.  Can someone else take a look
at it?


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to