all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Make font menu available in menu bar
@ 2003-06-03  8:01 Kai Großjohann
  2003-06-04  8:53 ` Richard Stallman
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Großjohann @ 2003-06-03  8:01 UTC (permalink / raw)


It just occurred to me that the S-down-mouse-1 font menu should be
available in the menu bar somewhere.

Hm.  C-h k tells me it's already there.

Before that, I started searching under File, then Edit, then
Options.  But I didn't think to look under Mule.

WDYT about moving it outside of Options/Mule?  I'd expect to find it
either under Options or under Edit, though I'm not sure why I'd look
under Edit.  Maybe because other programs have an Edit/Preferences
menu item.

(I did look under Edit/Text Properties, interestingly enough.)
-- 
This line is not blank.

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

* Re: Make font menu available in menu bar
  2003-06-03  8:01 Make font menu available in menu bar Kai Großjohann
@ 2003-06-04  8:53 ` Richard Stallman
  2003-06-04  9:15   ` Jason Rumney
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2003-06-04  8:53 UTC (permalink / raw)
  Cc: emacs-devel

    It just occurred to me that the S-down-mouse-1 font menu should be
    available in the menu bar somewhere.

    Hm.  C-h k tells me it's already there.

    Before that, I started searching under File, then Edit, then
    Options.  But I didn't think to look under Mule.

    WDYT about moving it outside of Options/Mule?  I'd expect to find it
    either under Options or under Edit, though I'm not sure why I'd look
    under Edit.

This is probably under Mule because it uses font sets, but I agree it
belongs in Edit.  I'd put it at directly under Edit, not in a submenu.

Would you like to move it?

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

* Re: Make font menu available in menu bar
  2003-06-04  8:53 ` Richard Stallman
@ 2003-06-04  9:15   ` Jason Rumney
  2003-06-09  0:22     ` Richard Stallman
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2003-06-04  9:15 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman wrote:

> This is probably under Mule because it uses font sets, but I agree it
> belongs in Edit.  I'd put it at directly under Edit, not in a submenu.

In what way is changing the default font "Edit"ing?

If we had a function to change the font of the text at point (or
selected text), then I agree it is a kind of Edit, but then it
should go under Text Properties. But changing the default font seems
more like an Option to me.

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

* Re: Make font menu available in menu bar
  2003-06-04  9:15   ` Jason Rumney
@ 2003-06-09  0:22     ` Richard Stallman
  2003-06-27 20:21       ` Kai Großjohann
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2003-06-09  0:22 UTC (permalink / raw)
  Cc: emacs-devel

    If we had a function to change the font of the text at point (or
    selected text), then I agree it is a kind of Edit, but then it
    should go under Text Properties. But changing the default font seems
    more like an Option to me.

That seems plausible.  Ok, I will put it directly under Options.
Having it under Mule does not make sense.

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

* Re: Make font menu available in menu bar
  2003-06-09  0:22     ` Richard Stallman
@ 2003-06-27 20:21       ` Kai Großjohann
  2003-06-27 21:15         ` Kevin Rodgers
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Großjohann @ 2003-06-27 20:21 UTC (permalink / raw)


Richard Stallman <rms@gnu.org> writes:

> That seems plausible.  Ok, I will put it directly under Options.
> Having it under Mule does not make sense.

I've now done that.  I hope it was okay.

Index: lisp/international/mule-cmds.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/international/mule-cmds.el,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -u -r1.234 -r1.235
--- lisp/international/mule-cmds.el	21 Jun 2003 02:26:58 -0000	1.234
+++ lisp/international/mule-cmds.el	27 Jun 2003 20:19:21 -0000	1.235
@@ -64,7 +64,7 @@
 (define-key-after mule-menu-keymap [set-language-environment]
   (list 'menu-item  "Set Language Environment" setup-language-environment-map
 	:help "Multilingual environment suitable for a specific language"))
-(define-key-after mule-menu-keymap [mouse-set-font]
+(define-key-after menu-bar-options-menu [mouse-set-font]
   '(menu-item "Set Font/Fontset" mouse-set-font
 	       :visible (fboundp 'generate-fontset-menu)
 	       :help "Select a font from list of known fonts/fontsets"))


-- 
~/.signature

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

* Re: Make font menu available in menu bar
  2003-06-27 20:21       ` Kai Großjohann
@ 2003-06-27 21:15         ` Kevin Rodgers
  2003-06-28 14:10           ` Kai Großjohann
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Rodgers @ 2003-06-27 21:15 UTC (permalink / raw)


Kai Großjohann wrote:

> Richard Stallman <rms@gnu.org> writes:
>>That seems plausible.  Ok, I will put it directly under Options.
>>Having it under Mule does not make sense.
>>
> 
> I've now done that.  I hope it was okay.
> 
> Index: lisp/international/mule-cmds.el
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/international/mule-cmds.el,v
> retrieving revision 1.234
> retrieving revision 1.235
> diff -u -u -r1.234 -r1.235
> --- lisp/international/mule-cmds.el	21 Jun 2003 02:26:58 -0000	1.234
> +++ lisp/international/mule-cmds.el	27 Jun 2003 20:19:21 -0000	1.235
> @@ -64,7 +64,7 @@
>  (define-key-after mule-menu-keymap [set-language-environment]
>    (list 'menu-item  "Set Language Environment" setup-language-environment-map
>  	:help "Multilingual environment suitable for a specific language"))
> -(define-key-after mule-menu-keymap [mouse-set-font]
> +(define-key-after menu-bar-options-menu [mouse-set-font]
>    '(menu-item "Set Font/Fontset" mouse-set-font
>  	       :visible (fboundp 'generate-fontset-menu)
>  	       :help "Select a font from list of known fonts/fontsets"))

Why not move the whole (define-key-after ...) form to lisp/menu-bar.el, with

all the other references to menu-bar-options-menu?

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: Make font menu available in menu bar
  2003-06-27 21:15         ` Kevin Rodgers
@ 2003-06-28 14:10           ` Kai Großjohann
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2003-06-28 14:10 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Why not move the whole (define-key-after ...) form to lisp/menu-bar.el, with
> all the other references to menu-bar-options-menu?

It seems my version didn't compile, and Richard fixed this by doing
what you suggested.  Thanks, Richard.

Sorry for the goof-up.
-- 
~/.signature

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

end of thread, other threads:[~2003-06-28 14:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-03  8:01 Make font menu available in menu bar Kai Großjohann
2003-06-04  8:53 ` Richard Stallman
2003-06-04  9:15   ` Jason Rumney
2003-06-09  0:22     ` Richard Stallman
2003-06-27 20:21       ` Kai Großjohann
2003-06-27 21:15         ` Kevin Rodgers
2003-06-28 14:10           ` Kai Großjohann

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.