* Removal of facemenu preload - Text Properties menu
@ 2021-03-25 15:27 Drew Adams
2021-05-10 20:57 ` Juri Linkov
0 siblings, 1 reply; 9+ messages in thread
From: Drew Adams @ 2021-03-25 15:27 UTC (permalink / raw)
To: emacs-devel@gnu.org
Apologies for not (much) following the threads
about facemenu. I think I gathered that facemenu
will no longer be preloaded - is that right?
If so, I guess it will be a loss for the Edit menu,
submenu Text Properties, in particular. Was that
discussed/considered?
It's one thing to not keep the `M-o' behavior by
default. It's another thing to remove or bridle
the Text Properties menu. I'm guessing that's a
main way that users can discover its features.
If this was already discussed and considered, then
sorry for the noise. If not, maybe it could be
considered (belatedly)?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-03-25 15:27 Removal of facemenu preload - Text Properties menu Drew Adams
@ 2021-05-10 20:57 ` Juri Linkov
2021-05-11 11:57 ` Lars Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2021-05-10 20:57 UTC (permalink / raw)
To: Drew Adams; +Cc: emacs-devel@gnu.org
> Apologies for not (much) following the threads
> about facemenu. I think I gathered that facemenu
> will no longer be preloaded - is that right?
>
> If so, I guess it will be a loss for the Edit menu,
> submenu Text Properties, in particular. Was that
> discussed/considered?
>
> It's one thing to not keep the `M-o' behavior by
> default. It's another thing to remove or bridle
> the Text Properties menu. I'm guessing that's a
> main way that users can discover its features.
>
> If this was already discussed and considered, then
> sorry for the noise. If not, maybe it could be
> considered (belatedly)?
I don't use menus, but while testing emacs -Q noticed that
the menu Text Properties currently is broken with
Wrong type argument: commandp, facemenu-menu
Maybe it could be moved to mode-specific menus
that support facemenu?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-10 20:57 ` Juri Linkov
@ 2021-05-11 11:57 ` Lars Ingebrigtsen
2021-05-11 15:23 ` [External] : " Drew Adams
2021-05-11 18:12 ` Juri Linkov
0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-11 11:57 UTC (permalink / raw)
To: Juri Linkov; +Cc: Drew Adams, emacs-devel@gnu.org
Juri Linkov <juri@linkov.net> writes:
> I don't use menus, but while testing emacs -Q noticed that
> the menu Text Properties currently is broken with
>
> Wrong type argument: commandp, facemenu-menu
>
> Maybe it could be moved to mode-specific menus
> that support facemenu?
Yes, that'd make sense. I guess it's basically only enriched-mode
where facemenu makes sense? But enriched-mode doesn't even have a menu,
as far as I can tell.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [External] : Re: Removal of facemenu preload - Text Properties menu
2021-05-11 11:57 ` Lars Ingebrigtsen
@ 2021-05-11 15:23 ` Drew Adams
2021-05-11 18:12 ` Juri Linkov
1 sibling, 0 replies; 9+ messages in thread
From: Drew Adams @ 2021-05-11 15:23 UTC (permalink / raw)
To: Lars Ingebrigtsen, Juri Linkov; +Cc: emacs-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
> > Maybe it could be moved to mode-specific menus
> > that support facemenu?
>
> Yes, that'd make sense. I guess it's basically
> only enriched-mode where facemenu makes sense?
I've replied to this at least once. No, it's not
only enriched-mode that makes use of facemenu.el
code. Not at all.
In particular it adds menu `Text Properties', which
lets you add/remove/describe/change/... text
properties. See attached image (vanilla).
And I've pointed to library `facemenu+.el', which
extends menu `Text Properties'. See other attached
screenshot (and note that there are also submenus).
Enriched mode is a small part of what facemenu offers.
[-- Attachment #2: throw-Text-Properties-menu.png --]
[-- Type: image/png, Size: 25592 bytes --]
[-- Attachment #3: throw-vanilla-Text-Properties-menu.png --]
[-- Type: image/png, Size: 7477 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-11 11:57 ` Lars Ingebrigtsen
2021-05-11 15:23 ` [External] : " Drew Adams
@ 2021-05-11 18:12 ` Juri Linkov
2021-05-11 18:49 ` Lars Ingebrigtsen
1 sibling, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2021-05-11 18:12 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Drew Adams, emacs-devel@gnu.org
>> I don't use menus, but while testing emacs -Q noticed that
>> the menu Text Properties currently is broken with
>>
>> Wrong type argument: commandp, facemenu-menu
>>
>> Maybe it could be moved to mode-specific menus
>> that support facemenu?
>
> Yes, that'd make sense. I guess it's basically only enriched-mode
> where facemenu makes sense? But enriched-mode doesn't even have a menu,
> as far as I can tell.
I tried to visit etc/enriched.txt and it has a "Text" menu
with such items "Center Line", "Center Paragraph"…
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-11 18:12 ` Juri Linkov
@ 2021-05-11 18:49 ` Lars Ingebrigtsen
2021-05-11 18:54 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-11 18:49 UTC (permalink / raw)
To: Juri Linkov; +Cc: Drew Adams, emacs-devel@gnu.org
Juri Linkov <juri@linkov.net> writes:
> I tried to visit etc/enriched.txt and it has a "Text" menu
> with such items "Center Line", "Center Paragraph"…
That's the normal `text-mode' menu, isn't it? But I guess it'd make
sense to just move the text property menu over there, and disable it
unless we have `enriched-mode' enabled...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-11 18:49 ` Lars Ingebrigtsen
@ 2021-05-11 18:54 ` Eli Zaretskii
2021-05-11 19:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-05-11 18:54 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel, drew.adams, juri
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 11 May 2021 20:49:26 +0200
> Cc: Drew Adams <drew.adams@oracle.com>,
> "emacs-devel@gnu.org" <emacs-devel@gnu.org>
>
> Juri Linkov <juri@linkov.net> writes:
>
> > I tried to visit etc/enriched.txt and it has a "Text" menu
> > with such items "Center Line", "Center Paragraph"…
>
> That's the normal `text-mode' menu, isn't it? But I guess it'd make
> sense to just move the text property menu over there, and disable it
> unless we have `enriched-mode' enabled...
Please don't move the Text Properties menu to Enriched -- it has
nothing special to do with Enriched mode (although users of Enriched
mode are supposed to use this menu). It is a separate feature that
can be used independently of Enriched mode.
It is, of course, okay to disable/remove it when facemenu isn't
loaded, provided that loading facemenu enables/adds it back to the
Edit menu.
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-11 18:54 ` Eli Zaretskii
@ 2021-05-11 19:15 ` Lars Ingebrigtsen
2021-05-11 20:19 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-11 19:15 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel, drew.adams, juri
Eli Zaretskii <eliz@gnu.org> writes:
> Please don't move the Text Properties menu to Enriched -- it has
> nothing special to do with Enriched mode (although users of Enriched
> mode are supposed to use this menu). It is a separate feature that
> can be used independently of Enriched mode.
Sorry; didn't see this until after I moved it. But I think it makes a
lot more sense in the Text menu than in the Edit menu. (Except for the
few items that seem to have nothing to do with text property editing,
like "Display Faces" and "Display Colors", which should perhaps be moved
somewhere else.
> It is, of course, okay to disable/remove it when facemenu isn't
> loaded, provided that loading facemenu enables/adds it back to the
> Edit menu.
I think having it automatically in the Text menu (with enriched mode) is
more helpful than not having it at all in the menu bar -- unless the
user loads facemenu.el.
But I have no strong opinions here -- feel free to move this around as
you wish.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Removal of facemenu preload - Text Properties menu
2021-05-11 19:15 ` Lars Ingebrigtsen
@ 2021-05-11 20:19 ` Eli Zaretskii
0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-05-11 20:19 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel, drew.adams, juri
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: juri@linkov.net, drew.adams@oracle.com, emacs-devel@gnu.org
> Date: Tue, 11 May 2021 21:15:10 +0200
>
> > It is, of course, okay to disable/remove it when facemenu isn't
> > loaded, provided that loading facemenu enables/adds it back to the
> > Edit menu.
>
> I think having it automatically in the Text menu (with enriched mode) is
> more helpful than not having it at all in the menu bar -- unless the
> user loads facemenu.el.
>
> But I have no strong opinions here -- feel free to move this around as
> you wish.
Done.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-05-11 20:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-25 15:27 Removal of facemenu preload - Text Properties menu Drew Adams
2021-05-10 20:57 ` Juri Linkov
2021-05-11 11:57 ` Lars Ingebrigtsen
2021-05-11 15:23 ` [External] : " Drew Adams
2021-05-11 18:12 ` Juri Linkov
2021-05-11 18:49 ` Lars Ingebrigtsen
2021-05-11 18:54 ` Eli Zaretskii
2021-05-11 19:15 ` Lars Ingebrigtsen
2021-05-11 20:19 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.