[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9054: [External] : bug#9054: 24.0.50; show source in other window
From: |
Drew Adams |
Subject: |
bug#9054: [External] : bug#9054: 24.0.50; show source in other window |
Date: |
Wed, 22 Sep 2021 16:49:55 +0000 |
> > >> All I do is check whether there is such a thing-at-point.
> > >> If not, I don't enable the menu item for acting on that
> > >> kind of thing-at-point.
> > >
> > > If the thing-at-point is nowhere defined, its context
> > > menu should not show an entry for going to the
> > > definition of the thing-at-point.
> >
> > The choice between :visible and :enable is
> > just that: a choice. Do what you want.
>
> That's not the issue at hand, because the time it takes to decide
> whether a menu item should be :enable'd is as long as the time it
> takes to decide whether it should be :visible. That time _is_ the
> issue.
Of course it takes the same amount of time - for
the same test. That's not the issue at hand.
Please read the rest of what I wrote. Martin
said you shouldn't show a menu item unless it
tests OK (in his case with a strict test that
takes too long, but that's beside the point
about :enable/:visible).
The text you quote responds to his statement
that an item shouldn't be shown if a test
fails. I said there's no such rule; it's a
design choice whether to show a particular
item as disabled or to not show it at all.
We have :enable, and not only :visible, for
a reason.
Again, do what you want. I've done what I
think is helpful, in my code. And I've let
you know about that experience. You're
welcome.
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, (continued)
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Eli Zaretskii, 2021/09/19
- bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/20
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Drew Adams, 2021/09/20
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/21
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Drew Adams, 2021/09/21
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Drew Adams, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Drew Adams, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Eli Zaretskii, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window,
Drew Adams <=
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Eli Zaretskii, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Drew Adams, 2021/09/22
- bug#9054: [External] : bug#9054: 24.0.50; show source in other window, Eli Zaretskii, 2021/09/22
- bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/20
- bug#9054: 24.0.50; show source in other window, Juri Linkov, 2021/09/20
- bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/21
- bug#9054: 24.0.50; show source in other window, Juri Linkov, 2021/09/21
- bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/22
- bug#9054: 24.0.50; show source in other window, Juri Linkov, 2021/09/22
- bug#9054: 24.0.50; show source in other window, martin rudalics, 2021/09/23