emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: RE: add Help item to Text Properties menu -> Emacs manua


From: Richard Stallman
Subject: address@hidden: RE: add Help item to Text Properties menu -> Emacs manual node EditingFormat Information]
Date: Fri, 28 Dec 2007 08:55:10 -0500

What do people think about this proposed patch?
Drew thinks that the Text Properties menu is hard to understand,
and that an item to bring up the relevant section of the Emacs Manual
would be useful.


From: "Drew Adams" <address@hidden>
To: <address@hidden>
Subject: RE: add Help item to Text Properties menu -> Emacs manual node 
EditingFormat Information
Date: Thu, 27 Dec 2007 11:12:52 -0800
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-15"
In-Reply-To: <address@hidden>

Thanks for working on this.

Here's a patch for #1. I just added a `Help' item; I didn't try any of the
possible enhancements mentioned, which are beyond my ken and might need to
be done with C, not Lisp.

Thx - Drew

---8<-------------

*** facemenu-CVS-2007-12-27-.el Thu Dec 27 10:42:00 2007
--- facemenu-patched-2007-12-27.el      Thu Dec 27 11:06:46 2007
***************
*** 254,259 ****
--- 254,262 ----
  (setq facemenu-menu (make-sparse-keymap "Text Properties"))
  ;;;###autoload
  (let ((map facemenu-menu))
+   (define-key map [help] (cons (purecopy "Help")
+                                (lambda () (interactive) (info
"(emacs)Editing Format Info"))))
+   (define-key map [s0] (list (purecopy "--")))
    (define-key map [dc] (cons (purecopy "Display Colors")
'list-colors-display))
    (define-key map [df] (cons (purecopy "Display Faces")
'list-faces-display))
    (define-key map [dp] (cons (purecopy "Describe Properties")

---8<-------------




reply via email to

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