bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49466: 28.0.50; C-<mouse-2> is undefined


From: Juri Linkov
Subject: bug#49466: 28.0.50; C-<mouse-2> is undefined
Date: Sun, 11 Jul 2021 03:18:42 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> >> The patch below works for me, should I push it?
>> > Yes, please.
>> 
>> Done,
>
> Thanks.
>
> Juri, is there anything else to be done here, or can we close this
> bug?

What remains to do is this:

The documentation of the Enriched Mode in
(info "(emacs) Editing Format Info") says:

  The easiest way to alter properties is with the ‘Text Properties’ menu.
  You can get to this menu from the ‘Edit’ menu in the menu bar

But the documented ‘Text Properties’ menu is not displayed in enriched-mode.

This can be fixed by just requiring facemenu in enriched.el:

diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el
index ba8fac81f2..877658a5a5 100644
--- a/lisp/textmodes/enriched.el
+++ b/lisp/textmodes/enriched.el
@@ -38,7 +38,7 @@
 
 ;;; Code:
 
-(provide 'enriched)
+(require 'facemenu)
 
 ;;;
 ;;; Variables controlling the display
@@ -538,4 +538,6 @@ enriched-decode-display-prop
         (list start end 'display prop)
       (list start end 'display (list 'disable-eval prop)))))
 
+(provide 'enriched)
+
 ;;; enriched.el ends here





reply via email to

[Prev in Thread] Current Thread [Next in Thread]