unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51850: 27.2; No way to configure mm-external-terminal-program command switch
@ 2021-11-14 16:49 Kevin Foley
  2021-11-15  6:17 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Foley @ 2021-11-14 16:49 UTC (permalink / raw)
  To: 51850

When calling `mm-display-external', the switch to pass a command to
`mm-external-terminal-program' is hard coded to "-e".

However this switch is deprecated in `gnome-terminal` and "--" should be
used instead.  In my testing "-e" didn't work at all with
`gnome-terminal` (I tested the same command outside of Emacs as well).

I think it would be useful to make this configurable via a user option.

Thanks,
Kevin Foley





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#51850: 27.2; No way to configure mm-external-terminal-program command switch
  2021-11-14 16:49 bug#51850: 27.2; No way to configure mm-external-terminal-program command switch Kevin Foley
@ 2021-11-15  6:17 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-15  6:17 UTC (permalink / raw)
  To: Kevin Foley; +Cc: 51850

Kevin Foley <kevin@kevinjfoley.me> writes:

> When calling `mm-display-external', the switch to pass a command to
> `mm-external-terminal-program' is hard coded to "-e".
>
> However this switch is deprecated in `gnome-terminal` and "--" should be
> used instead.  In my testing "-e" didn't work at all with
> `gnome-terminal` (I tested the same command outside of Emacs as well).
>
> I think it would be useful to make this configurable via a user option.

I've now fixed this in Emacs 29 by allowing mm-external-terminal-program
to be a list like ("gnome-terminal" "--").

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-15  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 16:49 bug#51850: 27.2; No way to configure mm-external-terminal-program command switch Kevin Foley
2021-11-15  6:17 ` Lars Ingebrigtsen

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).