Subject: 24.3.50; Improve facemenu.el: Better "integration" with other libraries

From: Jambunathan K <[email-masked]>
Date: Mon, 08 Apr 2013 11:22:31 +0530

Improve facemenu.el: Better "integration" with other libraries.

History junkies can lookup
        http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13686#101

----------------------------------------------------------------

facemenu.el highlights text, so does hi-lock.el.

        facemenu.el => Highlight "this text"
        hi-lock.el  => Highlight all text that "has" "this content".

----------------------------------------------------------------
        
1. Same prefix keys.  Why have two prefixes
        C-x w h and M-o

   Can we merge them into same prefix?

    ,----
    | Global Bindings Starting With M-o:
    | key             binding
    | ---             -------
    | 
    | M-o ESC		Prefix Command
    | M-o b		facemenu-set-bold
    | M-o d		facemenu-set-default
    | M-o i		facemenu-set-italic
    | M-o l		facemenu-set-bold-italic
    | M-o o		facemenu-set-face
    | M-o u		facemenu-set-underline
    | 
    | M-o M-S		center-paragraph
    | M-o M-o		font-lock-fontify-block
    | M-o M-s		center-line
    `----

    ,----
    | `hi-lock-mode' Minor Mode Bindings Starting With C-x w:
    | key             binding
    | ---             -------
    | 
    | C-x w b		hi-lock-write-interactive-patterns
    | C-x w h		highlight-regexp
    | C-x w i		hi-lock-find-patterns
    | C-x w l		highlight-lines-matching-regexp
    | C-x w p		highlight-phrase
    | C-x w r		unhighlight-regexp
    `----

2. Provide default bindings for
     M-x facemenu-set-foreground RET
     M-x facemenu-set-background RET

----------------------------------------------------------------     

In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-04-06 on debian-6.05
Bzr revision: 112232 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t