all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: "martin rudalics" <rudalics@gmx.at>,
	"Jan Djärv" <jan.h.d@swipnet.se>,
	"YAMAMOTO Mitsuharu" <mituharu@math.s.chiba-u.ac.jp>,
	"Emacs developers" <emacs-devel@gnu.org>
Subject: RE: x-display-pixel-width/height inconsistency
Date: Sat, 6 Jul 2013 12:25:58 -0700 (PDT)	[thread overview]
Message-ID: <7be66382-af02-4eae-a672-281cbe51a6a6@default> (raw)
In-Reply-To: <CAAeL0SQ7=08K0K3xa=hn9NXZ+Uxn-nyLRn-1pWaMFH9L=NBNaA@mail.gmail.com>

> > No - please, dear Emacs, learn to help lost users. ;-)
> 
> Emacs should not be a generic Windows-learning tool,

I certainly don't disagree there - but no one suggested that.

I said nothing about Emacs teaching users the Windows solution for the
problem cited.  I proposed a simple Emacs solution for it - and not
dependent on the platform.

> and having a window displayed outside the monitor is uncommon,
> but absolutely not Emacs-specific.

Agreed again.

But if a user uses Emacs with multiple frames, and especially if s?he
restores things using Desktop (which might never be 100% perfect), s?he
could benefit from a simple Emacs command to bring a lost frame back
to the playground.  And especially if the desktop-restoring session
involves a different monitor setup, resolution, platform...

> > In addition, beyond Emacs, I would even guess that most Windows users
> > have no idea how to move a window back on screen.  Google "how to move
> > window back onto screen"...
> 
> So that's what they should do if they find themselves in that
> circumstance. Is what I did, after all...

As do I, each time it happens (which is rare, which is why I forget).

But just because Windows does not make it obvious how to do this
(Google does, but not MS Windows) is no reason why Emacs should not do
so.  Emacs is self-documenting in a way that Windows is not, and it
can be easy for a user to find the open-sesame for this if we provide
an Emacs command for it.

> > And they generally do not need such knowledge.  Losing a window
> > off-screen does not happen every 30 minutes.
> 
> Losing a window off-screen *because* of frame restoration should not
> happen every 30 minutes, either.

Agreed.  I don't see this potential problem or its solution as being
related only to desktop restoration.  It is somewhat related but
essentially OT.

> It will be uncommon unless you happen to save & restore often in
> quite different monitor configurations, and if that's the case,
> and even if desktop.el tries its best to help,

Yes, we agree about the cases where one might lose a frame off-screen.

> the user should be prepared to accept some oddities (or some .emacs
> tweaking).

That's where we disagree.  Well, I don't actually disagree with that
statement, but I think that wrt an off-screen frame we can trivially
do something to help.

> > I think you mentioned that your use of MS Windows is mainly
> > command-line use.
> 
> No, I'm a heavy user of command line (for example, I almost never copy
> or move files with the Windows Explorer), but I'm also a heavy user of
> the Windows GUI.
> 
> >  That's great, but it is hardly the case of most Windows users.  (I
> > would even guess it is hardly the case for most Windows users of Emacs.)
> 
> That's an argument *for* them to know about moving windows back into
> the viewing area, not against.

No one argues that it is wrong or not useful for a user to know that.

What I disagree with is this previous statement of yours:

> But if a frame is off-screen and the user wants it on-screen, please
> dear user, learn to use Windows more effectively.

It can help the user to learn more about Windows, but that should not
be our only response.  Why?  Because Emacs can do better.  In this case,
better than Windows and just as well as Google.

I don't know whether the same problem of losing frames off screen exists
potentially for platforms besides Windows (I'm guessing yes).  But I do
know that there is a trivial, any-platform Emacs solution for bringing
such stray frames back to the playground.

I don't see this (relatively minor) problem as a Windows problem.  I see
it as a potential (and minor) gotcha that an Emacs user might get bit by,
and one for which there is a simple Emacs solution.



  reply	other threads:[~2013-07-06 19:25 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  0:58 x-display-pixel-width/height inconsistency grischka
2013-03-21  1:05 ` YAMAMOTO Mitsuharu
2013-03-21  1:09   ` grischka
2013-03-21  1:44     ` YAMAMOTO Mitsuharu
2013-03-21 23:29       ` YAMAMOTO Mitsuharu
2013-03-22 10:33         ` Eli Zaretskii
2013-03-23  0:32           ` YAMAMOTO Mitsuharu
2013-03-23  6:15             ` Eli Zaretskii
2013-03-23 13:35               ` Jan Djärv
2013-03-23 23:58               ` YAMAMOTO Mitsuharu
2013-03-24  3:53                 ` Eli Zaretskii
2013-03-24  4:36                   ` YAMAMOTO Mitsuharu
2013-03-24 16:19                     ` Eli Zaretskii
2013-04-27  5:13                     ` YAMAMOTO Mitsuharu
2013-04-27  8:04                       ` Jan Djärv
2013-04-28  1:40                         ` YAMAMOTO Mitsuharu
2013-04-28 17:16                           ` Jan D.
2013-04-29  2:27                             ` YAMAMOTO Mitsuharu
2013-04-29  2:42                               ` YAMAMOTO Mitsuharu
2013-05-01  9:58                               ` Jan Djärv
2013-05-02  4:09                                 ` YAMAMOTO Mitsuharu
2013-05-06  1:04                                   ` YAMAMOTO Mitsuharu
2013-05-06  1:55                                     ` Stefan Monnier
2013-05-06  6:15                                       ` YAMAMOTO Mitsuharu
2013-05-06 13:37                                         ` Stefan Monnier
2013-05-08 10:46                                         ` YAMAMOTO Mitsuharu
2013-05-08 11:24                                           ` YAMAMOTO Mitsuharu
2013-05-08 17:41                                           ` Eli Zaretskii
2013-05-09  0:09                                             ` YAMAMOTO Mitsuharu
2013-05-09  1:52                                               ` Glenn Morris
2013-05-09  3:19                                                 ` YAMAMOTO Mitsuharu
2013-05-09  6:27                                                   ` Glenn Morris
2013-05-09  2:53                                               ` Eli Zaretskii
2013-05-09  8:14                                               ` Jan Djärv
2013-05-09  8:43                                                 ` YAMAMOTO Mitsuharu
2013-05-09 15:18                                                   ` Jan Djärv
2013-05-09 20:03                                               ` Eli Zaretskii
2013-05-09 21:28                                                 ` Stefan Monnier
2013-05-10  6:00                                                 ` YAMAMOTO Mitsuharu
2013-05-10  6:05                                                   ` YAMAMOTO Mitsuharu
2013-05-10  7:06                                                   ` Eli Zaretskii
2013-05-10  7:47                                                     ` YAMAMOTO Mitsuharu
2013-05-10  8:41                                                       ` Eli Zaretskii
2013-05-10  8:55                                                         ` YAMAMOTO Mitsuharu
2013-05-10  9:15                                                           ` Eli Zaretskii
2013-05-10  9:27                                                             ` YAMAMOTO Mitsuharu
2013-05-14 10:39                                                               ` YAMAMOTO Mitsuharu
2013-07-01  6:49                                                                 ` martin rudalics
2013-07-02  1:30                                                                   ` YAMAMOTO Mitsuharu
2013-07-02 10:38                                                                     ` martin rudalics
2013-07-02 10:53                                                                       ` Juanma Barranquero
2013-07-02 13:11                                                                         ` martin rudalics
2013-07-02 14:05                                                                           ` Juanma Barranquero
2013-07-03  9:27                                                                             ` martin rudalics
2013-07-03 10:49                                                                               ` Juanma Barranquero
2013-07-03 12:44                                                                                 ` martin rudalics
2013-07-03 13:43                                                                                   ` Juanma Barranquero
2013-07-04  9:34                                                                                     ` martin rudalics
     [not found]                                                                                       ` <5987E3>
2013-07-04 22:32                                                                                       ` Juanma Barranquero
2013-07-05  7:44                                                                                         ` martin rudalics
2013-07-05  9:32                                                                                           ` Juanma Barranquero
2013-07-05  9:34                                                                                         ` Jan Djärv
2013-07-05  9:41                                                                                           ` Juanma Barranquero
2013-07-05 11:25                                                                                             ` Jan Djärv
2013-07-05 11:56                                                                                               ` Juanma Barranquero
2013-07-05 12:12                                                                                                 ` Jan Djärv
2013-07-05 12:16                                                                                                   ` Juanma Barranquero
2013-07-05 15:30                                                                                                     ` Drew Adams
2013-07-05 15:53                                                                                                       ` Juanma Barranquero
2013-07-05 16:58                                                                                                         ` Drew Adams
2013-07-06 14:48                                                                                                           ` Juanma Barranquero
2013-07-06 19:25                                                                                                             ` Drew Adams [this message]
2013-07-05 15:27                                                                                                   ` Drew Adams
2013-07-04 10:28                                                                                     ` YAMAMOTO Mitsuharu
2013-05-10  7:44                                                   ` Jan Djärv
2013-04-28  1:48                       ` YAMAMOTO Mitsuharu
  -- strict thread matches above, loose matches on Subject: below --
2013-03-19  0:39 YAMAMOTO Mitsuharu
2013-03-19  1:34 ` Leo Liu
2013-03-19  4:54   ` Xue Fuqiao
2013-03-19 15:41     ` Drew Adams
2013-03-19 15:51       ` Leo Liu
2013-03-19 15:58         ` Drew Adams
2013-03-20  0:55           ` Leo Liu
2013-03-19 22:25 ` YAMAMOTO Mitsuharu
2013-03-19 23:15   ` Dmitry Gutov
2013-03-19 23:52     ` YAMAMOTO Mitsuharu
2013-03-20  0:12       ` Dmitry Gutov
2013-03-20  0:20         ` YAMAMOTO Mitsuharu
2013-03-20  1:41           ` Dmitry Gutov
2013-03-20  3:58             ` YAMAMOTO Mitsuharu
2013-03-20 14:05               ` Dmitry Gutov
2013-03-20 23:28                 ` YAMAMOTO Mitsuharu
2013-03-21  1:27                   ` Dmitry Gutov
2013-03-21  1:51                     ` YAMAMOTO Mitsuharu
2013-03-21  2:43                       ` Dmitry Gutov
2013-03-21  3:47                         ` YAMAMOTO Mitsuharu
2013-03-21  4:22                           ` YAMAMOTO Mitsuharu

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=7be66382-af02-4eae-a672-281cbe51a6a6@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=lekktu@gmail.com \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=rudalics@gmx.at \
    /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.