>>>>> On Tue, 3 Jun 2008 13:00:04 -0400, Adrian Robert <[EMAIL PROTECTED]> said:

> Since consistency with cross-platform emacs is viewed as a virtue on  
> emacs-dev for merging purposes, I will leave these for later.

I've been really careful about that in the development of Carbon
Emacs.

>>> mac-dialog
>>> mac-dialog-y-or-n-p
>>> mac-hide-menubar
>>> mac-show-menu-bar
>>> mac-toggle-full-frame
>>> mac-toggle-max-window
>>> mac-toggle-input-method

Carbon Emacs doesn't have them, though some distributions based on it
may have them.

>>> mac-handle-font-selection
>> 
>> Is there going to be another function that is called after a font  
>> has been selected via the panel?

> Not sure what is meant here.  Responding to font panel changes is an  
> internal matter.  If lisp packages want to respond to changes in  
> fonts, a "hook" mechanism should be provided in generic emacs to do  
> this.

I introduced a Mac-specific function here because the font panel on
Mac is a floating panel unlike modal dialogs in other platforms.
Also, if there were some generic Lisp functions for font dialog
handling, they could be called from the Mac-specific handler in order
to provide a consistent interface, just as in drag-and-drop handling
in the current Carbon Emacs implementation.

>>> mac-font-panel-mode
>> 
>> This shows the font panel.

> But it is a "mode"?  So when you are in the mode the panel pops up,  
> then when you exit the mode it disappears, and also if you close the  
> panel manually, the mode is exited?  Are there then also "modes" for  
> all popup panels, e.g., open and save file, print, etc.?

Again, because the font dialog is not a modal dialog but a floating
panel, it is much similar to speedbar rather than the file dialog etc.
So I followed the convention of speedbar, i.e., providing it as a
global minor mode, for consistent integration.

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to