From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74740: 31.0.50; tty menus not displaying separators Date: Sun, 08 Dec 2024 21:04:56 +0200 Message-ID: <86y10qdmhz.fsf@gnu.org> References: <864j3ef2ii.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74740@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 08 20:06:56 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tKMcJ-0003SW-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Dec 2024 20:06:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKMbW-0002lb-TY; Sun, 08 Dec 2024 14:06:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKMbT-0002lR-Ut for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 14:06:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKMbT-0000SB-CN for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 14:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=TUxa0f6mtiZKSZe4nkLxXyg82vyPhfnMRu9x9TDcpjU=; b=SohmMx8wmZvFJJE39u1p7/cwb1GTFQjEfj7M8/Flp9wqaO5Nbnw+x5+nfZXHqlFzqTbleV6Q/b5BmMyMBw24yl+WpLbHsnhjBntbo9UBDT4DG8Bh4TjwitYaoToT0tgVlVzJDpZ2sw/Av4BWkCm82sIVQcKixJJvTWG8GoxKCYQs0pvoayHxeS/BWlhUvK0/Gql9uJtr0ExOuaL4+DpgxBlTgdjCWlKDbugjSmCYcw2AjSk14DA8Cc1aSvQPAizLpi2NSPDj/7iewvRI/KV5YmLNfJEerQxKE5Z5DKx+o4xV1dQqY0WrxAqv75pu1XxyWES4+kGcSuALo0jZFx/9Ww==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKMbS-0001D5-AQ for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 14:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Dec 2024 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74740 X-GNU-PR-Package: emacs Original-Received: via spool by 74740-submit@debbugs.gnu.org id=B74740.17336847164583 (code B ref 74740); Sun, 08 Dec 2024 19:06:02 +0000 Original-Received: (at 74740) by debbugs.gnu.org; 8 Dec 2024 19:05:16 +0000 Original-Received: from localhost ([127.0.0.1]:51711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKMah-0001Br-TB for submit@debbugs.gnu.org; Sun, 08 Dec 2024 14:05:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKMaf-00019z-JX for 74740@debbugs.gnu.org; Sun, 08 Dec 2024 14:05:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKMaY-0000BG-DY; Sun, 08 Dec 2024 14:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TUxa0f6mtiZKSZe4nkLxXyg82vyPhfnMRu9x9TDcpjU=; b=Vv3Vx6uIHEWRH8EeSWgg 8wN56O32btFFk5CVlEFdIqjrKKZmUjDa5fQsjKbOzxSROkETN1DT2BLhHM4dtDI8kCi+k0mdHKGHU X0e8dtyn/HHRLfarHZerJYYfhnOKcGI2XakP3Ky4SB/iFtEDaOTsoTAYufyuGVQxXk3EVGunIPOvm pre2B/MIpDMyXdMXnvXZdrjz9LfVDkvboYtXON5yIbYq4fh3KtGSLzn5U0XsAUnsh8QOX9+4W3Tz/ TzgovCV9RR/7KQSJPYShKwdwmf0y9q6d2+NepcR7LAB6BdDf8b7V/q0XYhPmxArawThgykCqQ7Qnp KPh+AvlqbYpMyw==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sun, 08 Dec 2024 19:46:35 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296661 Archived-At: > From: Gerd Möllmann > Cc: 74740@debbugs.gnu.org > Date: Sun, 08 Dec 2024 19:46:35 +0100 > > Eli Zaretskii writes: > > >> From: Gerd Möllmann > >> Date: Sun, 08 Dec 2024 18:34:33 +0100 > >> > >> To see this, emacs -nw -q and open a menu from the menubar. Simple > >> separators there are displayed as "--". > > > > What did you expect instead? I think this always worked like that on > > TTY frames. > > > >> More generally, all separator types are displayed as they appear in the > >> menu item definition, '--double-line' as "--double-line" and so on. > > I expected a horizontal line for "--". > > > What do you mean by that? where do we have such separators, and how do > > you display the menus which show them? I don't think I see them in > > the default menu bar. > > Concerning the separator types, Elisp Info says > > 23.18.1.3 Menu Separators > ......................... > > A menu separator is a kind of menu item that doesn't display any > text--instead, it divides the menu into subparts with a horizontal line. > A separator looks like this in the menu keymap: > > (menu-item SEPARATOR-TYPE) > > where SEPARATOR-TYPE is a string starting with two or more dashes. > > followed by a list of separator types, among them the --double-line I > mentioned. > > One can get these from 3rd-party packages. Minion is an example, where > --double-line appears in a popup menu on the mode line. This was never supported in TTY menus (I think I was completely unaware of this feature when I wrote the code). Patches to support it will be most welcome.