unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* M-o M-g
@ 2005-03-27  3:44 Luc Teirlinck
  2005-03-27  4:06 ` Luc Teirlinck
  0 siblings, 1 reply; 3+ messages in thread
From: Luc Teirlinck @ 2005-03-27  3:44 UTC (permalink / raw)


`goto-line' has recently gotten the convenient binding `M-g g'.  But
now `font-lock-fontify-block', which I personally use _way_ more often
than goto-line has the inconvenient binding `M-o M-g".  What about the
small patch below, which would make it `M-o M-o'.  I can install if desired.


===File ~/font-lock-diff====================================
*** font-lock.el	21 Mar 2005 14:09:05 -0600	1.235
--- font-lock.el	26 Mar 2005 21:09:48 -0600	
***************
*** 1097,1103 ****
  	  ((error quit) (message "Fontifying block...%s" error-data)))))))
  
  (if (boundp 'facemenu-keymap)
!     (define-key facemenu-keymap "\M-g" 'font-lock-fontify-block))
  
  ;;; End of Fontification functions.
  \f
--- 1097,1103 ----
  	  ((error quit) (message "Fontifying block...%s" error-data)))))))
  
  (if (boundp 'facemenu-keymap)
!     (define-key facemenu-keymap "\M-o" 'font-lock-fontify-block))
  
  ;;; End of Fontification functions.
  \f
============================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: M-o M-g
  2005-03-27  3:44 M-o M-g Luc Teirlinck
@ 2005-03-27  4:06 ` Luc Teirlinck
  2005-03-27 10:14   ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Luc Teirlinck @ 2005-03-27  4:06 UTC (permalink / raw)
  Cc: emacs-devel

What is strange is that the NEWS _already_ says:

+++
** M-o now is the prefix key for setting text properties;
M-o M-o requests refontification.

But `C-h C-k M-o M-o' says: M-o M-o is undefined

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: M-o M-g
  2005-03-27  4:06 ` Luc Teirlinck
@ 2005-03-27 10:14   ` David Kastrup
  0 siblings, 0 replies; 3+ messages in thread
From: David Kastrup @ 2005-03-27 10:14 UTC (permalink / raw)
  Cc: emacs-devel

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> What is strange is that the NEWS _already_ says:
>
> +++
> ** M-o now is the prefix key for setting text properties;
> M-o M-o requests refontification.
>
> But `C-h C-k M-o M-o' says: M-o M-o is undefined

We had discussed this previously, so this is very definitely just an
oversight.

Just install the keymap change you proposed: the discussion had
already settled on the solution that is also documented in NEWS.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-27 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27  3:44 M-o M-g Luc Teirlinck
2005-03-27  4:06 ` Luc Teirlinck
2005-03-27 10:14   ` David Kastrup

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).