all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>, 19012@debbugs.gnu.org
Subject: bug#19012: 25.0.50; `help-window-select'
Date: Mon, 17 Nov 2014 10:29:15 +0100	[thread overview]
Message-ID: <5469BFEB.6060506@gmx.at> (raw)
In-Reply-To: <4ea1b6ca-cab4-4d61-97a5-5e17933c9f89@default>

 > How so?  Can you discuss those problems?  Is adding that sexp
 > to `help-window-setup' worse than if the equivalent behavior
 > were done in `with-output-to-temp-buffer'?  IOW, if a user
 > fiddles with the temp-buffer hooks, is that workaround any
 > less problematic?

Not for the user.  But users fiddling with these hooks affect their own
systems only.

 > If so, maybe you can fix the problem by doing the equivalent
 > of a user fiddling with hooks that way.  IOW, maybe put that
 > code in the code that runs the hooks, instead of telling
 > users put it in the hooks.

Again I would affect users who don't work with multiple frames.

 > I'm speculating, because you have said nothing about what
 > the problems are that make things "less simple than [you]
 > thought initially".

I initially thought (like you did too) that Emacs would not send a
request to focus a frame that already has focus.  After looking into
this I noticed that it does send a request unconditionally.

 >> It sends a request to the window manager because Emacs doesn't
 >> necessarily check whether the frame already has focus.  This
 >> might not harm on Windows but it might harm on other platforms.
 >
 > Then either (1) do it and wait to see if problems are reported
 > for other platforms or (2) do it just for Windows (that's simple
 > enough to do).

It's not nice to do that even for Windows only.

 > IOW why make the ideal into the enemy of the good?  And why
 > assume that there will be problems on other platforms?

Because I try to be as minimally invasive as possible.

 > I appreciate your efforts on this (whether you think so or
 > not).  I am certain that if you try to improve the situation
 > for this use case you can do so, and without spoiling other
 > behavior, even if the fix might not be 100% perfect.  Please
 > give it a try.

I'll do that.

martin





  reply	other threads:[~2014-11-17  9:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 16:42 bug#19012: 25.0.50; `help-window-select' Drew Adams
2014-11-10 17:28 ` martin rudalics
2014-11-10 18:23   ` Drew Adams
2014-11-11  8:29     ` martin rudalics
2014-11-11 14:26       ` Drew Adams
2014-11-11 18:31         ` martin rudalics
2014-11-11 19:01           ` Drew Adams
2014-11-11 21:04             ` Drew Adams
2014-11-13  5:12               ` Drew Adams
2014-11-13  7:44                 ` martin rudalics
2014-11-13 15:23                   ` Drew Adams
2014-11-13 16:28                     ` martin rudalics
2014-11-13 16:56                       ` Drew Adams
2014-11-13 18:47                         ` martin rudalics
2014-11-13 19:21                           ` Drew Adams
2014-11-14 11:37                             ` martin rudalics
2014-11-14 15:11                               ` Drew Adams
2014-11-14 16:38                                 ` martin rudalics
2014-11-14 17:09                                   ` Drew Adams
2014-11-14 17:39                                     ` martin rudalics
2014-11-14 17:47                                       ` Drew Adams
2014-11-14 18:10                                         ` martin rudalics
2014-11-14 18:28                                           ` Drew Adams
2014-11-14 18:33                                             ` martin rudalics
2014-11-14 18:44                                               ` Drew Adams
2014-11-14 19:08                                                 ` martin rudalics
2014-11-14 21:21                                                   ` Drew Adams
2014-11-15 11:24                                                     ` martin rudalics
2014-11-15 14:40                                                       ` Drew Adams
2014-11-16 11:36                                                         ` martin rudalics
2014-11-16 16:20                                                           ` Drew Adams
2014-11-16 17:36                                                             ` martin rudalics
2014-11-16 20:06                                                               ` Drew Adams
2014-11-17  9:29                                                                 ` martin rudalics [this message]
2014-11-17 14:29                                                                   ` Drew Adams
2014-12-25 19:30                                                                     ` martin rudalics
2014-11-11 22:16             ` Stefan Monnier
2014-11-11 23:10               ` Drew Adams
2014-11-12  1:49                 ` Stefan Monnier
2014-11-12  2:36                   ` Drew Adams
2014-11-12  4:11                     ` Stefan Monnier
2014-11-12  7:18                       ` Drew Adams

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=5469BFEB.6060506@gmx.at \
    --to=rudalics@gmx.at \
    --cc=19012@debbugs.gnu.org \
    --cc=drew.adams@oracle.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.