unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Juri Linkov <juri@linkov.net>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: Horrible File menu
Date: Mon, 31 Jan 2022 14:36:54 +0100	[thread overview]
Message-ID: <878ruwc9hl.fsf@gmail.com> (raw)
In-Reply-To: <8735l4dozd.fsf@yahoo.com> (Po Lu's message of "Mon, 31 Jan 2022 21:16:54 +0800")

>>>>> On Mon, 31 Jan 2022 21:16:54 +0800, Po Lu <luangruo@yahoo.com> said:

    Po> Stefan Monnier <monnier@iro.umontreal.ca> writes:
    >>> If anything needs deleting from that menu, itʼs 'Make frame on
    >>> display'.  Thatʼs useful to a vanishingly small percentage of users,
    >>> and I doubt they'd use the menu to do it.
    >> 
    >> But that's also a nice way to advertise this feature that's obviously
    >> not shared by very many applications.

    Po> It could use some clarification of what consistutes a "display", though,
    Po> since these days most computer users expect that to mean "monitor".

Would it make sense to say "remote display"? And since weʼre at it,
how about filling in some sensible defaults?

diff --git a/lisp/frame.el b/lisp/frame.el
index 86c52dc438..49f18f8522 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -702,7 +702,9 @@ make-frame-on-display
 The optional argument PARAMETERS specifies additional frame parameters."
   (interactive (if (fboundp 'x-display-list)
                    (list (completing-read "Make frame on display: "
-                                          (x-display-list)))
+                                          (x-display-list) nil
+                                          nil (car (x-display-list))
+                                          nil (car (x-display-list))))
                  (user-error "This Emacs build does not support X displays")))
   (make-frame (cons (cons 'display display) parameters)))
 
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 849d400be6..3040103eb6 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -121,7 +121,7 @@ menu-bar-file-menu
                   :visible (fboundp 'make-frame-on-monitor)
                   :help "Open a new frame on another monitor"))
     (bindings--define-key menu [make-frame-on-display]
-      '(menu-item "New Frame on Display..." make-frame-on-display
+      '(menu-item "New Frame on Remote Display..." make-frame-on-display
                   :visible (fboundp 'make-frame-on-display)
                   :help "Open a new frame on another display"))
     (bindings--define-key menu [make-frame]

Robert
-- 



  reply	other threads:[~2022-01-31 13:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30 20:59 Horrible File menu Juri Linkov
2022-01-30 21:45 ` Lars Ingebrigtsen
2022-01-31  1:01   ` Phil Sainty
2022-01-31  0:48 ` Po Lu
2022-01-31  8:13   ` Juri Linkov
2022-01-31  9:46     ` Po Lu
2022-01-31 10:38       ` Robert Pluim
2022-01-31 11:08         ` Po Lu
2022-01-31 13:04         ` Stefan Monnier
2022-01-31 13:16           ` Robert Pluim
2022-01-31 13:16           ` Po Lu
2022-01-31 13:36             ` Robert Pluim [this message]
2022-01-31 13:48               ` Po Lu
2022-01-31 15:01                 ` Robert Pluim
2022-02-01  1:03                   ` Po Lu
2022-02-01  8:56                     ` Robert Pluim
2022-02-01 10:20                       ` Po Lu
2022-01-31 12:37     ` Eli Zaretskii
2022-01-31 14:45     ` [External] : " Drew Adams
2022-02-01 21:27 ` Rudolf Adamkovič
2022-02-02  1:16 ` chad
2022-02-02  4:45   ` Po Lu

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ruwc9hl.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=luangruo@yahoo.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).