GNU bug report logs -
#24147
emacsclient should pass frame-parameters to tty frames
Previous Next
Reported by: Michael Shields <shields <at> msrl.com>
Date: Wed, 3 Aug 2016 23:52:02 UTC
Severity: minor
Tags: fixed, patch
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24147 in the body.
You can then email your comments to 24147 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Wed, 03 Aug 2016 23:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Shields <shields <at> msrl.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 03 Aug 2016 23:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Currently, emacsclient's --frame-parameters argument is silently
ignored when creating frames on a tty. This prevents emacsclient from
giving the new frame a name.
I've attached a patch that corrects this.
My employer, Google, has an existing contributor license agreement
that covers this change.
[0001-Pass-frame-parameters-to-server-create-tty-frame.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Sat, 06 Aug 2016 10:07:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 24147 <at> debbugs.gnu.org (full text, mbox):
> From: Michael Shields <shields <at> msrl.com>
> Date: Wed, 3 Aug 2016 16:51:06 -0700
>
> Currently, emacsclient's --frame-parameters argument is silently
> ignored when creating frames on a tty. This prevents emacsclient from
> giving the new frame a name.
>
> I've attached a patch that corrects this.
Thanks. But I think, for compatibility with the GUI use case, the
additional parameter should be &optional, not mandatory.
Are there other arguments we currently pass to GUI frames, but not to
TTY frames, which might make sense on TTY frames as well? If so, I
think we should make these two types of use more similar.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Wed, 24 Aug 2016 15:09:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 24147 <at> debbugs.gnu.org (full text, mbox):
On Sat, Aug 6, 2016 at 3:06 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Thanks. But I think, for compatibility with the GUI use case, the
> additional parameter should be &optional, not mandatory.
Isn't server-process-filter the only caller of server-create-tty-frame?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Wed, 24 Aug 2016 15:16:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 24147 <at> debbugs.gnu.org (full text, mbox):
> From: Michael Shields <shields <at> msrl.com>
> Date: Wed, 24 Aug 2016 08:08:15 -0700
> Cc: 24147 <at> debbugs.gnu.org
>
> On Sat, Aug 6, 2016 at 3:06 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Thanks. But I think, for compatibility with the GUI use case, the
> > additional parameter should be &optional, not mandatory.
>
> Isn't server-process-filter the only caller of server-create-tty-frame?
Sorry, I don't see how that fact is relevant. As I said, I'd like
server-create-window-system-frame and server-create-tty-frame be
compatible wrt their argument lists. I think it's better for
long-term maintainability.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Wed, 24 Aug 2016 15:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 24147 <at> debbugs.gnu.org (full text, mbox):
On Wed, Aug 24, 2016 at 8:15 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Sorry, I don't see how that fact is relevant. As I said, I'd like
> server-create-window-system-frame and server-create-tty-frame be
> compatible wrt their argument lists. I think it's better for
> long-term maintainability.
I don't know why the argument is optional in either of them. There is
only one caller, and it always passes all the arguments.
But, I'll change it if you like.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Wed, 24 Aug 2016 15:58:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 24147 <at> debbugs.gnu.org (full text, mbox):
> From: Michael Shields <shields <at> msrl.com>
> Date: Wed, 24 Aug 2016 08:20:37 -0700
> Cc: 24147 <at> debbugs.gnu.org
>
> On Wed, Aug 24, 2016 at 8:15 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Sorry, I don't see how that fact is relevant. As I said, I'd like
> > server-create-window-system-frame and server-create-tty-frame be
> > compatible wrt their argument lists. I think it's better for
> > long-term maintainability.
>
> I don't know why the argument is optional in either of them. There is
> only one caller, and it always passes all the arguments.
That argument was optional since it was introduced 5 years ago, so I
see no reason to change it now.
> But, I'll change it if you like.
Please do, and thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24147
; Package
emacs
.
(Tue, 25 Jun 2019 11:59:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 24147 <at> debbugs.gnu.org (full text, mbox):
Michael Shields <shields <at> msrl.com> writes:
> Currently, emacsclient's --frame-parameters argument is silently
> ignored when creating frames on a tty. This prevents emacsclient from
> giving the new frame a name.
>
> I've attached a patch that corrects this.
I've now applied the patch to the Emacs trunk, adjusting for Eli's
comments about the PARAMETERS argument being optional.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Jun 2019 11:59:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.1, send any further explanations to
24147 <at> debbugs.gnu.org and Michael Shields <shields <at> msrl.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Jun 2019 11:59:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 24 Jul 2019 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 276 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.