unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: 74740@debbugs.gnu.org
Subject: bug#74740: 31.0.50; tty menus not displaying separators
Date: Sun, 08 Dec 2024 21:04:56 +0200	[thread overview]
Message-ID: <86y10qdmhz.fsf@gnu.org> (raw)
In-Reply-To: <m2plm2xbas.fsf@gmail.com> (message from Gerd Möllmann on Sun, 08 Dec 2024 19:46:35 +0100)

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: 74740@debbugs.gnu.org
> Date: Sun, 08 Dec 2024 19:46:35 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> >> 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.





  reply	other threads:[~2024-12-08 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-08 17:34 bug#74740: 31.0.50; tty menus not displaying separators Gerd Möllmann
2024-12-08 18:33 ` Eli Zaretskii
2024-12-08 18:46   ` Gerd Möllmann
2024-12-08 19:04     ` Eli Zaretskii [this message]
2024-12-09  4:29       ` Gerd Möllmann
2024-12-09 13:54         ` Eli Zaretskii
2024-12-09 14:20           ` Gerd Möllmann

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=86y10qdmhz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74740@debbugs.gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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).