unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* font handling broken in cvs emacs --with-ns (MacOS X)
@ 2009-01-04 18:28 B Smith-Mannschott
  2009-01-04 18:52 ` Ian Eure
       [not found] ` <62131EE9-6999-42CA-A9E6-F53B41768586@Web.DE>
  0 siblings, 2 replies; 9+ messages in thread
From: B Smith-Mannschott @ 2009-01-04 18:28 UTC (permalink / raw)
  To: help-gnu-emacs

I've found what I believe to be a host of bugs and misbehaviors in the
font handling on Mac OS when built to use the native GUI toolkit
(--with-ns) from the current development sources. I'd like to gather
some feedback before filing a bug report. Have others observed this as
well?


* Font-related Bugs in CVS Emacs (--with-ns)

I've been seeing what appear to be font-related bugs in CVS Emacs.

*** Local Configuration

I'm running Mac OS X 10.5.6, and gcc 4.0.1:

    $ uname -a
    Darwin Meheadable.local 9.6.0
    Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
    root:xnu-1228.9.59~1/RELEASE_I386 i386

    $ gcc --version | head -n 1
    i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)

I am building from a git mirror (git://git.sv.gnu.org/emacs) of the
emacs CVS repository.  The most recent commit is:

    commit f9b236eddbb6d8a7f827cbd9321894a622206a27
    Author: Kenichi Handa <handa@m17n.org>
    Date:   Sun Jan 4 13:09:35 2009 +0000

        *** empty log message ***

Here's what I'm doing to build emacs:

    # Nuke build products from orbit. I don't trust make's ability to
    # build Emacs.app incrementally.  I've been screwed by it too
    # often.
    git clean -f
    git reset --hard HEAD
    for x in */*.dSYM ; do rm -rf "$x" ; done

    ./configure --with-ns # self-contained
    make
    make install

*** I expect to be able to use a font other than Monaco 12pt

Emacs comes up by default in Monaco 12pt. It's as good a choice as any
for the default. I'd like to change it (to Consolas-12). (Since this
isn't CarbonEmacs, i can't use mac-font-panel-mode, more's the pitty.)

I've found a work-around using some elisp, but all the Obvious
approaches seem broken.

***** First attempt: Preferences

  1. From the menu Emacs choose Preferences
  2. Click on the button "Default Font..."
  3. (Fonts panel opens)
  4. Choose "Consolas", "Regular", "12"
  5. Close Font Panel
  6. Dismiss "Emacs Preferences" by clicking "OK"
  7. (Observe that the font in the currently opened emacs buffers
     *has* *not* changed.)
  8. (restarting emacs after making this change doesn't help either.)

Setting the default font in emacs preferences has no effect. I would
expect it to change the default font.

***** Second attempt: M-x set-default-font

  1. M-x set-default-font
  2. (mode line prompts for font name:)
  3. Hitting tab for completion reveals that there are zero possible
     fonts. (no match)

I would expect there to be fonts in the completion list of
set-default-font, at the very least one might reasonably expect Monaco
to make an appearance. Instead, the list of candidates for default
font is empty.

***** Third attempt: M-x set-face-font

  1. M-x set-face-font
  2. Set font-related attributes of face: default
  3. Set font-related attriutes of face `default' from font:
  4. Hitting tab for completion at this point produces the following list:

    -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
    -apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset-startup
    -ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard

Clearly something is amiss. Where, for example is Courier? Or for that
matter, Consolas, which I have installed.

***** Fourth attempt: Via context menu

On the X11 version of emacs built from *the very same source*
S-mouse-1 pops up a menu "Change Default Buffer Face". I tried this on
my --with-ns build of emacs. No such menu is displayed.

CarbonEmacs still had this menu, or its equivalent. Emacs.app (CVS
HEAD --with-ns) doesn't, presumably because the rewritten font
handling makes it obsolete -- or rather, would make it obsolete if it
*worked*.

***** Fifth attempt: a little elisp

This is a work-around for the problems described above, which works.
I wrote the code used here while using an earlier version of emacs
(probably CarbonEmacs). I'd never have been able to guess the correct
values for the properties of 'default-face.

I've defined the following function:

    (defun bpsm-set-font-consolas ()
      (interactive)
      (set-face-attribute 'default nil
                      :background "#ffffff"
                      :family "consolas"
                      :foreground "#000000"
                      :foundry "apple"
                      :height 120
                      :inverse-video nil
                      :slant 'normal
                      :weight 'normal
                      :width 'semi-condensed))

  1. Execute M-x bpsm-set-font-consolas
  2. (observe that the font of all windows in all open frames has
     changed to consolas)

This is not a complete solution, however, as fonts which do not
inherit from 'default remain unchanged.  This is ok for faces like
'variable-path,link.

This is a problem for faces like 'org-column-face, which continues to
use Monaco despite the fact that I've set Consolas above.

(Earlier emacs builds and a more cluttered .emacs were giving me a
scrunched up rendition of some fat proportional serif font chosen
seemingly at random in place of org-column, so I'm thankful for small
blessings.)

    (defun bpsm-set-org-column-font-consolas ()
      (interactive)
      (set-face-attribute 'org-column nil
                          :background "grey90"
                          :family "consolas"
                          :foundry "apple"
                          :height 120
                          :slant 'normal
                          :weight 'medium))

--
// Ben Smith-Mannschott




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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-04 18:28 font handling broken in cvs emacs --with-ns (MacOS X) B Smith-Mannschott
@ 2009-01-04 18:52 ` Ian Eure
       [not found] ` <62131EE9-6999-42CA-A9E6-F53B41768586@Web.DE>
  1 sibling, 0 replies; 9+ messages in thread
From: Ian Eure @ 2009-01-04 18:52 UTC (permalink / raw)
  To: B Smith-Mannschott; +Cc: help-gnu-emacs

On Jan 4, 2009, at 10:28 AM, B Smith-Mannschott wrote:

> I've found what I believe to be a host of bugs and misbehaviors in the
> font handling on Mac OS when built to use the native GUI toolkit
> (--with-ns) from the current development sources. I'd like to gather
> some feedback before filing a bug report. Have others observed this as
> well?
>
I'm running my own Cocoa builds from CVS[1]. As of the 2009/01/02  
build, I'm able to change the font by:

1. Selecting an Emacs frame - in this case, containing one window with  
an ERC buffer visible.
2. Going to Options -> Set Default Font in the menubar.
3. Choosing Courier from the font menu.


I offer the following observations:

  - Changing the default font from preferences doesn't work for me.  
Perhaps it sets the default, but doesn't apply it? Have you tried  
setting it, saving customizations, quitting and restarting Emacs?

  - Changing via Options->Set Default Font works for me.

  - Changing via M-x set-default-font RET courier RET works for me.  
Also worked to switch back to Monaco.

Hope this helps,
  - Ian


[1]: http://atomized.org/wp-content/cocoa-emacs-nightly/




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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
       [not found] ` <62131EE9-6999-42CA-A9E6-F53B41768586@Web.DE>
@ 2009-01-04 22:22   ` B Smith-Mannschott
  2009-01-04 23:28     ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: B Smith-Mannschott @ 2009-01-04 22:22 UTC (permalink / raw)
  To: Peter Dyballa, help-gnu-emacs

On Sun, Jan 4, 2009 at 8:47 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 04.01.2009 um 19:28 schrieb B Smith-Mannschott:
>
>> Here's what I'm doing to build emacs:
>>
>>    # Nuke build products from orbit. I don't trust make's ability to
>>    # build Emacs.app incrementally.  I've been screwed by it too
>>    # often.
>>    git clean -f
>>    git reset --hard HEAD
>>    for x in */*.dSYM ; do rm -rf "$x" ; done
>
> Why are you doing it so complicatedly? Can you do it in Emacs? I once
> downloaded the sources with cvs in *shell* buffer. When I want to update
> (last eight hours ago) I do M-x cvs-up RET RET – and then *I* am doing it a
> bit complicated ...
>
>>
>>    ./configure --with-ns # self-contained
>>    make
>
> Documentation clearly states that after an update you need to do a 'make
> bootstrap' unless you wish to have a GNU mess.
>
>>    make install

I do it this way because it works. And I don't need the build to be
fast. It would be different if I were hacking on emacs myself because
the long edit-compile-run cycle would be terrible. The takeaway from
my my experience with
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1317 was
that at least this method is guaranteed to produce correct results.

I found the reference to make bootstrap in INSTALL.CVS (thanks grep).
I had been reading INSTALL, which doesn't breathe a word of it.
Scrubbing the source directory seems to force a make bootstrap, which
is good. If I find I need emacs to build faster, then I'll look into
INSTALL.CVS more carefully.

> I am used, from the X client version, a 'sudo make install' – but I am also
> used to configure with --disable-ns-self-contained so that most ELisp files
> are installed in /usr/local.
>
>>
>> Emacs comes up by default in Monaco 12pt. It's as good a choice as any
>> for the default. I'd like to change it (to Consolas-12). (Since this
>> isn't CarbonEmacs, i can't use mac-font-panel-mode, more's the pitty.)
>
> You don't need that Carbon stuff! Just choose from the Options menu "Set
> Default Font…"! Isn't it clearly documented?

I may have missed it among emacs' *1.9 million words* of documentation. ;-)

I almost never use the menus in emacs, so I didn't think to look there
as well. I only learned that Emacs has Preferences... item in its
application menu coincidentally because it was mentioned in some other
thread a few weeks ago.

But yes, Options >> Set Default Font works very nicely. It even saves
the setting when I choose Options >> Save Options. It writes something
about saving custom.el to the mode line, but that appears to be a lie:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

Is all that gets written. still, it's obviously storing the setting
somewhere, because the change I made is maintained across restarts of
emacs...

~/Library/Preferences/org.gnu.Emacs.plist

Fascinating. I see a lot of other stuff here too. settings for
org-mode, for example. Does Emacs.app write all customizations here
instead of custom.el? How will that jive with my attempts to keep a
single emacs configuration (in version control) across my Mac and
Linux machines?

>> ***** Fourth attempt: Via context menu
>>
>> On the X11 version of emacs built from *the very same source*
>> S-mouse-1 pops up a menu "Change Default Buffer Face". I tried this on
>> my --with-ns build of emacs. No such menu is displayed.
>
> Yes, this looks like a bug!
>

noted.

-- 
// Ben Smith-Mannschott

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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-04 22:22   ` B Smith-Mannschott
@ 2009-01-04 23:28     ` Peter Dyballa
  2009-01-05 11:31       ` B Smith-Mannschott
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2009-01-04 23:28 UTC (permalink / raw)
  To: B Smith-Mannschott; +Cc: help-gnu-emacs


Am 04.01.2009 um 23:22 schrieb B Smith-Mannschott:

>> Documentation clearly states that after an update you need to do a  
>> 'make
>> bootstrap' unless you wish to have a GNU mess.
>>
>>>    make install
>
> I do it this way because it works.

If your way would work, then you would not need to consider writing a  
bug report ...

> And I don't need the build to be fast.

A bootstrap built build is not faster – it just has up-to-date ELC  
files.

> It would be different if I were hacking on emacs myself because
> the long edit-compile-run cycle would be terrible.

There are experienced GNU Emacs developers who take that burden from  
you! And this makes the difference: you're not using the stable GNU  
Emacs 22.3 (also in Carbon available) but the not yet released GNU  
Emacs 23.0.60 *from CVS*. And therefore building it needs 'make  
bootstrap.'

> I found the reference to make bootstrap in INSTALL.CVS (thanks grep).
> I had been reading INSTALL, which doesn't breathe a word of it.
> Scrubbing the source directory seems to force a make bootstrap, which
> is good. If I find I need emacs to build faster, then I'll look into
> INSTALL.CVS more carefully.

You're mixing up a few things! In a regular and stable GNU Emacs  
release you won't see the INSTALL.CVS file. Does this help?

>> You don't need that Carbon stuff! Just choose from the Options  
>> menu "Set
>> Default Font…"! Isn't it clearly documented?
>
> I may have missed it among emacs' *1.9 million words* of  
> documentation. ;-)

Well, maybe you came too late to Emacs.app, because some weeks ago it  
has lost from the Help menu an entry to read the part on Emacs.app.  
Right now you can easily find in the Emacs node one on

	* Mac OS / GNUstep::    Using Emacs under Mac OS and GNUstep.

>
> Is all that gets written. still, it's obviously storing the setting
> somewhere, because the change I made is maintained across restarts of
> emacs...
>
> ~/Library/Preferences/org.gnu.Emacs.plist
>
> Fascinating. I see a lot of other stuff here too. settings for
> org-mode, for example. Does Emacs.app write all customizations here
> instead of custom.el?

I don't think so. Only its "options" are saved in this XML file. (The  
defaults command or Property List Editor also work on this file.)

> How will that jive with my attempts to keep a
> single emacs configuration (in version control) across my Mac and
> Linux machines?


Well, I make most of my changes into a *system* of init files. From  
~/.emacs particular init and customisation files are read, mostly  
depending on emacs-major-number and window-system.

--
Greetings

   Pete

What is this talk of 'release?' Klingons do not make software  
'releases.'  Our software 'escapes,' leaving a bloody trail of  
designers and quality assurance people in its wake.







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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-04 23:28     ` Peter Dyballa
@ 2009-01-05 11:31       ` B Smith-Mannschott
  2009-01-05 14:04         ` Peter Dyballa
  2009-01-06 12:34         ` B Smith-Mannschott
  0 siblings, 2 replies; 9+ messages in thread
From: B Smith-Mannschott @ 2009-01-05 11:31 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 7706 bytes --]

On Mon, Jan 5, 2009 at 12:28 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

> Am 04.01.2009 um 23:22 schrieb B Smith-Mannschott:
>
>>> Documentation clearly states that after an update you need to do a 'make
>>> bootstrap' unless you wish to have a GNU mess.
>>>
>>>>   make install
>>
>> I do it this way because it works.
>
> If your way would work, then you would not need to consider writing a bug
> report ...

Noted, see end of message

>> And I don't need the build to be fast.
>
> A bootstrap built build is not faster – it just has up-to-date ELC files.

Noted, see end of message

>> It would be different if I were hacking on emacs myself because
>> the long edit-compile-run cycle would be terrible.
>
> There are experienced GNU Emacs developers who take that burden from you!
> And this makes the difference: you're not using the stable GNU Emacs 22.3
> (also in Carbon available) but the not yet released GNU Emacs 23.0.60 *from
> CVS*. And therefore building it needs 'make bootstrap.'

Yes, I'm aware that I'm using the bleeding edge version. I'm also
aware that it will contain bugs, though on the whole it's been very
stable.

>> I found the reference to make bootstrap in INSTALL.CVS (thanks grep).
>> I had been reading INSTALL, which doesn't breathe a word of it.
>> Scrubbing the source directory seems to force a make bootstrap, which
>> is good. If I find I need emacs to build faster, then I'll look into
>> INSTALL.CVS more carefully.
>
> You're mixing up a few things! In a regular and stable GNU Emacs release you
> won't see the INSTALL.CVS file. Does this help?

Not really. I'm building form CVS. By force of habit the first thing I
look for when building unix software from source is INSTALL (or
failing that README).  If I find said document and it seems to
describe how to build the software, I generally stop looking and just
do what it says.

>>> You don't need that Carbon stuff! Just choose from the Options menu "Set
>>> Default Font…"! Isn't it clearly documented?
>>
>> I may have missed it among emacs' *1.9 million words* of documentation.
>> ;-)
>
> Well, maybe you came too late to Emacs.app, because some weeks ago it has
> lost from the Help menu an entry to read the part on Emacs.app. Right now
> you can easily find in the Emacs node one on
>
>        * Mac OS / GNUstep::    Using Emacs under Mac OS and GNUstep.

Thanks for the pointer. I remember skimming the info file for this (in
source), but obviously didn't remember everything I'd read.  I'll read
it again.

>> Is all that gets written. still, it's obviously storing the setting
>> somewhere, because the change I made is maintained across restarts of
>> emacs...
>>
>> ~/Library/Preferences/org.gnu.Emacs.plist
>>
>> Fascinating. I see a lot of other stuff here too. settings for
>> org-mode, for example. Does Emacs.app write all customizations here
>> instead of custom.el?
>
> I don't think so. Only its "options" are saved in this XML file. (The
> defaults command or Property List Editor also work on this file.)

The presence of org-mode entries seems to contradict this. (But either
way, this isn't causing problems for me.)

>> How will that jive with my attempts to keep a
>> single emacs configuration (in version control) across my Mac and
>> Linux machines?
>
>
> Well, I make most of my changes into a *system* of init files. From ~/.emacs
> particular init and customisation files are read, mostly depending on
> emacs-major-number and window-system.

I did something like that for a while, until it started to drive me
crazy because I was making the same config changes multiple times
(once for each window system, in my case). I switched to keeping most
customizations in my ~/.emacs.d/init.el and just using conditionals
there to, e.g. select the correct font depending on windowing
system. This limits the usefulness of customize and on balance I find
this only marginally better than what I was doing previously. live and
learn.


In summary, you seem to be making two assertions:

(1) running ( ./configure --with-ns ; make ; make install ) is not the
    same as running ( ./configure --with-ns ; make bootstrap ; make ;
    make install )

(2) This difference results in the misbehavior I am seeing. ("If your
    way would work, then you would not need to consider writing a bug
    report ...")

I've decided to take a more careful look at both of these points:

(1) The build logs with and without make bootstrap do differ. (see
    build-u.diff.)

- A large chunk of the difference is removing files which are not
  there. (Remember I'm starting from a clean checkout with no build
  products.)
- The next difference is the regeneration of the Makefiles, which is
  only necessary because the previous difference blew them away.
- The makeinfo runs for all the texi files occur earlier in the
  "bootstrap" build.
- There are two minor differences in the "List of all Regions"
  produced by temacs --batch --load loadup bootstrap. I don't know the
  significance of these.
- There is a sequence of "make all" calls in lib-src, src, lisp, leim
  which don't appear to actually do anything in my particular case.

The resulting build products do differ.

When I inspected a random sampling of the *.o and *.elc files that
differed, I found only differences in the compilation time stamp
(*.elc) and source directory path (*.o).

Given that the differences appear so minor, I would expect no
significant difference in the behavior of the two resulting builds of
Emacs.app.

(2) The behavior of Emacs.app wrt font handling issues under
    discussion does not differ.

Using the Emacs.app resulting from the build that *did* use "make
bootstrap":

(2.1) Emacs >> Preferences >> Default Font
      Does not set the default font.

This does not appear to be a bug; it's a documented misfeature:

    Note that if you use the 'Default Font' button on the Preferences
    panel, you must click on a frame before selecting a font,
    otherwise nothing will happen.                    (ns-emacs.info)

Normally (on a Mac), one would expect the default font set through the
*Application-Wide* Preferences window to be, well, an application-wide
default and not per-frame setting.  So really, this button in "Emacs
Preferences" is just a really clumbsy way of executing "Options >> Set
Default Font...". Is that sensible?

(2.2) set-default-font
      Offers no completions for setting the default font.

C-h f, however reveals that: This function is obsolete since 23.1; use
set-frame-font instead. I had not previously noticed this. My bad.

set-frame-font: Offers no completions. Is the user meant to guess?

(2.3) M-x set-face-font
      Offers only three possible completions, just as described in the
      initial posting on this thread.

   -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
   -apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset-startup
   -ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard

(2.4) Context menu (S-mouse-1)
      Menu still missing. This has already been identified as a bug.

Conclusion:

I've learned something about make bootstrap and INSTALL.CVS [1], which is
always nice.  Having known this earlier, however, would not have
prevented the issues I am describing here.

"make bootstrap" does not make the font-related misbehavior go away.

[1] Indeed, I remember "make bootstrap" dimly from the last time I
    regularly built emacs from sources which was probably five years
    ago. When I began building from source again a few months ago and
    didn't find it mentioned in INSTALL, I assumed (silly me) that
    "make bootstrap" kicking around in my head must have been
    obsoleted in the interim.

-- 
// Ben Smith-Mannschott

[-- Attachment #2: build-u.diff --]
[-- Type: application/octet-stream, Size: 18759 bytes --]

--- build-log.txt	2009-01-05 10:40:41.000000000 +0100
+++ build-bootstrap-log.txt	2009-01-05 10:43:54.000000000 +0100
@@ -1,9 +1,10 @@
 ### We are located in a fresh emacs source checkout.  There are no
 ### build products here.
 ###
 ### ./configure --with-ns
+### make bootstrap
 ### make
 ### make install
 checking build system type... i386-apple-darwin9.6.0
 checking host system type... i386-apple-darwin9.6.0
 checking for gcc... gcc
@@ -365,10 +366,136 @@
 config.status: creating src/config.h
 config.status: executing default commands
 creating src/epaths.h
 creating lib-src/Makefile
 creating src/Makefile
+(cd src;      make  bootstrap-clean)
+rm -f temacs prefix-args core *.core \#* *.o libXMenu11.a liblw.a
+rm -f ../etc/DOC
+rm -f bootstrap-emacs emacs-23.0.60
+rm -f buildobj.lst
+rm -f emacs-*.*.* emacs
+rm -fr /Users/bsmith/w/emacs.git/nextstep/Emacs.app/
+rm -f epaths.h config.h Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
+if test -f ./.gdbinit; then mv ./.gdbinit ./.gdbinit.save; if test -f "/Users/bsmith/w/emacs.git/src/.gdbinit"; then rm -f ./.gdbinit.save; else mv ./.gdbinit.save ./.gdbinit; fi; fi
+(cd oldXMenu; make  maintainer-clean)
+rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o
+rm -f Makefile
+(cd lwlib;    make  maintainer-clean)
+rm -f *.o core errs ,* *.a .emacs_* make.log MakeOut \#*
+rm -f Makefile
+rm -f TAGS
+(cd lib-src;  make  maintainer-clean)
+rm -f core *.o getopt.h getopt.h-t
+rm -f etags ctags emacsclient b2m ebrowse mac-fix-env profile digest-doc sorted-doc movemail cvtmail fakemail hexl update-game-score test-distrib make-docfile
+rm -f fns*.el *.tab.c *.tab.h
+rm -f TAGS
+rm -f Makefile Makefile.c blessmail
+true
+(cd doc/emacs &&   make  maintainer-clean)
+rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp *.core
+rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
+rm -f *.dvi
+for file in ../../info/emacs; do rm -f ${file}*; done
+(cd doc/misc &&   make  maintainer-clean)
+rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp \
+	*.tps *.core gnustmp.*
+rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
+rm -f *.dvi
+for file in ../../info/ada-mode ../../info/autotype ../../info/calc ../../info/ccmode ../../info/cl ../../info/dbus ../../info/dired-x ../../info/ebrowse ../../info/ediff ../../info/emacs-mime ../../info/epa ../../info/erc ../../info/eshell ../../info/eudc ../../info/efaq ../../info/flymake ../../info/forms ../../info/gnus ../../info/idlwave ../../info/info ../../info/mairix-el ../../info/message ../../info/mh-e ../../info/newsticker ../../info/nxml-mode ../../info/org ../../info/pcl-cvs ../../info/pgg ../../info/rcirc ../../info/remember ../../info/reftex ../../info/sasl ../../info/sc ../../info/ses ../../info/sieve ../../info/smtpmail ../../info/speedbar ../../info/tramp ../../info/url ../../info/vip ../../info/viper ../../info/widget ../../info/woman; do rm -f ${file}*; done
+(cd doc/lispref &&   make  maintainer-clean)
+rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
+              *.vr *.vrs *.pg *.pgs *.ky *.kys
+rm -f make.out core
+rm -f elisp.dvi elisp.oaux
+cd ../../info; rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
+(cd doc/lispintro &&   make  maintainer-clean)
+rm -f  *.log *.cp *.fn *.ky *.pg *.vr *.tp
+rm -f *.dvi
+rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
+cd ../../info; rm -f eintr eintr-[1-9]
+(cd leim;     make  maintainer-clean)
+rm -f quail/CCDOSPY.elc quail/Punct.elc quail/QJ.elc quail/SW.elc quail/TONEPY.elc quail/4Corner.elc quail/ARRAY30.elc quail/ECDICT.elc quail/ETZY.elc quail/Punct-b5.elc quail/PY-b5.elc quail/QJ-b5.elc quail/ZOZY.elc quail/tsang-b5.elc quail/quick-b5.elc quail/tsang-cns.elc quail/quick-cns.elc quail/PY.elc quail/ZIRANMA.elc quail/CTLau.elc quail/CTLau-b5.elc quail/CCDOSPY.el quail/Punct.el quail/QJ.el quail/SW.el quail/TONEPY.el quail/4Corner.el quail/ARRAY30.el quail/ECDICT.el quail/ETZY.el quail/Punct-b5.el quail/PY-b5.el quail/QJ-b5.el quail/ZOZY.el quail/tsang-b5.el quail/quick-b5.el quail/tsang-cns.el quail/quick-cns.el quail/PY.el quail/ZIRANMA.el quail/CTLau.el quail/CTLau-b5.el \
+		leim-list.el changed.tit changed.misc
+if test -f stamp-subdir; then rm -rf quail stamp-subdir; fi
+rm -f Makefile
+rm -f quail/CCDOSPY.elc quail/Punct.elc quail/QJ.elc quail/SW.elc quail/TONEPY.elc /Users/bsmith/w/emacs.git/leim/quail/py-punct.elc quail/4Corner.elc quail/ARRAY30.elc quail/ECDICT.elc quail/ETZY.elc quail/Punct-b5.elc quail/PY-b5.elc quail/QJ-b5.elc quail/ZOZY.elc /Users/bsmith/w/emacs.git/leim/quail/pypunct-b5.elc /Users/bsmith/w/emacs.git/leim/quail/japanese.elc /Users/bsmith/w/emacs.git/leim/ja-dic/ja-dic.elc /Users/bsmith/w/emacs.git/leim/quail/hangul.elc /Users/bsmith/w/emacs.git/leim/quail/hanja.elc /Users/bsmith/w/emacs.git/leim/quail/hanja3.elc /Users/bsmith/w/emacs.git/leim/quail/hanja-jis.elc /Users/bsmith/w/emacs.git/leim/quail/symbol-ksc.elc /Users/bsmith/w/emacs.git/leim/quail/thai.elc /Users/bsmith/w/emacs.git/leim/quail/viqr.elc /Users/bsmith/w/emacs.git/leim/quail/vntelex.elc /Users/bsmith/w/emacs.git/leim/quail/lao.elc /Users/bsmith/w/emacs.git/leim/quail/lrt.elc /Users/bsmith/w/emacs.git/leim/quail/indian.elc /Users/bsmith/w/emacs.git/leim/quail/tibetan.elc /Users/bsmith/w/emacs.git/leim/quail/latin-pre.elc /Users/bsmith/w/emacs.git/leim/quail/latin-post.elc /Users/bsmith/w/emacs.git/leim/quail/latin-alt.elc /Users/bsmith/w/emacs.git/leim/quail/latin-ltx.elc /Users/bsmith/w/emacs.git/leim/quail/welsh.elc /Users/bsmith/w/emacs.git/leim/quail/czech.elc /Users/bsmith/w/emacs.git/leim/quail/croatian.elc /Users/bsmith/w/emacs.git/leim/quail/slovak.elc /Users/bsmith/w/emacs.git/leim/quail/greek.elc /Users/bsmith/w/emacs.git/leim/quail/cyrillic.elc /Users/bsmith/w/emacs.git/leim/quail/cyril-jis.elc /Users/bsmith/w/emacs.git/leim/quail/arabic.elc /Users/bsmith/w/emacs.git/leim/quail/ethiopic.elc /Users/bsmith/w/emacs.git/leim/quail/ipa.elc /Users/bsmith/w/emacs.git/leim/quail/hebrew.elc /Users/bsmith/w/emacs.git/leim/quail/georgian.elc /Users/bsmith/w/emacs.git/leim/quail/sisheng.elc quail/tsang-b5.elc quail/quick-b5.elc quail/tsang-cns.elc quail/quick-cns.elc quail/PY.elc quail/ZIRANMA.elc quail/CTLau.elc quail/CTLau-b5.elc /Users/bsmith/w/emacs.git/leim/quail/sgml-input.elc /Users/bsmith/w/emacs.git/leim/quail/rfc1345.elc /Users/bsmith/w/emacs.git/leim/quail/uni-input.elc
+(cd lisp;     make  bootstrap-clean)
+cd /Users/bsmith/w/emacs.git/lisp; rm -f *.elc */*.elc loaddefs.el /Users/bsmith/w/emacs.git/lisp/calendar/cal-loaddefs.el /Users/bsmith/w/emacs.git/lisp/calendar/diary-loaddefs.el /Users/bsmith/w/emacs.git/lisp/calendar/hol-loaddefs.el /Users/bsmith/w/emacs.git/lisp/mh-e/mh-loaddefs.el cus-load.el finder-inf.el subdirs.el calc/calc-loaddefs.el eshell/esh-groups.el
+rm -f config.cache config.log
+if [ -x ./config.status ]; then           \
+	    ./config.status;                      \
+	else                                      \
+	    ./configure --enable-maintainer-mode; \
+	fi
+config.status: creating Makefile
+config.status: creating lib-src/Makefile.c
+config.status: creating oldXMenu/Makefile
+config.status: creating doc/emacs/Makefile
+config.status: creating doc/misc/Makefile
+config.status: creating doc/lispintro/Makefile
+config.status: creating doc/lispref/Makefile
+config.status: creating src/Makefile.c
+config.status: creating lwlib/Makefile
+config.status: creating lisp/Makefile
+config.status: creating leim/Makefile
+config.status: creating src/config.h
+config.status: executing default commands
+creating src/epaths.h
+creating lib-src/Makefile
+creating src/Makefile
+make  info all
+(cd doc/emacs; make  info)
+cd /Users/bsmith/w/emacs.git/doc/emacs; makeinfo --force emacs.texi
+(cd doc/misc; make  info)
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ada-mode.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force autotype.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force calc.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force cc-mode.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force cl.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force dbus.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force dired-x.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ebrowse.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ediff.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --enable-encoding emacs-mime.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force epa.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force erc.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force eshell.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force eudc.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force faq.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force flymake.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force forms.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force gnus.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --no-split idlwave.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --no-split info.texi -o ../../info/info
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force mairix-el.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force message.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force mh-e.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force newsticker.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force nxml-mode.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force org.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force pcl-cvs.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force pgg.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force rcirc.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force remember.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force reftex.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sasl.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sc.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ses.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sieve.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force smtpmail.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force speedbar.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force -D emacs tramp.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force url.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force vip.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force viper.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force widget.texi
+cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force woman.texi
+(cd doc/lispref; make  info)
+cd /Users/bsmith/w/emacs.git/doc/lispref; makeinfo --force -I. -I../../info elisp.texi -o ../../info/elisp
+(cd doc/lispintro; make  info)
+cd /Users/bsmith/w/emacs.git/doc/lispintro; makeinfo emacs-lisp-intro.texi -o ../../info/eintr
 boot=bootstrap-emacs;                         \
 	if [ -x "src/$boot" ]; then boot=""; fi;                   \
 	cd lib-src; make all                            \
 	  CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
 	  LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"
@@ -518,14 +645,14 @@
   0x71b000  0x1d000 rw   rwx
   0x738000  0x1e000 rw   rwx
   0x756000  0x13000 rw   rwx
   0x769000   0x1000 r    rw
   0x76a000   0x1000 rw   rwx
-  0x76b000   0x1000 rw   rwx
   0x76c000   0x5000 rw   rwx
   0x771000   0xa000 rw   rwx
   0x77b000   0x5000 rw   rwx
+  0x780000   0x1000 rw   rwx
   0x781000   0x1000 rw   rwx
   0x784000   0x4000 rw   rwx
   0x788000   0x4000 rw   rwx
   0x78c000   0x5000 rw   rwx
   0x791000   0x5000 rw   rwx
@@ -553,12 +680,12 @@
   0x429000   0x1000 rw   rwx
   0x42a000   0x1000 none rwx
   0x42b000   0x1000 r    rw
   0x42c000 0x33d000 rw   rwx
   0x769000   0x1000 r    rw
-  0x76a000  0x16000 rw   rwx
-  0x781000   0x1000 rw   rwx
+  0x76a000   0x1000 rw   rwx
+  0x76c000  0x16000 rw   rwx
   0x784000  0x21000 rw   rwx
   0x7a7000  0x55000 rw   rwx
   0x800000 0xc00000 rw   rwx
 --- Header Information ---
 Magic = 0xfeedface
@@ -2302,10 +2429,31 @@
 	else \
 	  EMACSLOADPATH=/Users/bsmith/w/emacs.git/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /Users/bsmith/w/emacs.git/leim/../lisp/international/quail \
 	    --eval "(update-leim-list-file \".\" \"/Users/bsmith/w/emacs.git/leim\")" ; \
 	fi
 sed -n '/^[^;]/ p' < /Users/bsmith/w/emacs.git/leim/leim-ext.el >> leim-list.el
+boot=bootstrap-emacs;                         \
+	if [ -x "src/$boot" ]; then boot=""; fi;                   \
+	cd lib-src; make all                            \
+	  CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
+	  LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"
+make[1]: Nothing to be done for `all'.
+boot=bootstrap-emacs;                         \
+	if [ -x "src/$boot" ]; then boot=""; fi;                   \
+	cd src; make all                            \
+	  CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
+	  LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"
+make[1]: Nothing to be done for `all'.
+boot=bootstrap-emacs;                         \
+	if [ -x "src/$boot" ]; then boot=""; fi;                   \
+	cd lisp; make all                            \
+	  CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
+	  LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"
+make  compile-last EMACS=../src/emacs
+(export PARALLEL; PARALLEL=0; cd leim; make all  \
+	  CC='gcc -I/sw/include -L/sw/lib' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
+	  LDFLAGS='' MAKE='make')
 if [ -d /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share ]; then true; else \
 	  /Users/bsmith/w/emacs.git/mkinstalldirs /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share; \
 	  chmod a+r /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share;\
 	fi
 mkdir /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share
@@ -2348,59 +2496,17 @@
 mkdir /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share/icons/hicolor/48x48/apps
 mkdir /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share/icons/hicolor/scalable
 mkdir /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share/icons/hicolor/scalable/apps
 mkdir /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share/icons/hicolor/scalable/mimetypes
 (cd doc/emacs; make  info)
-cd /Users/bsmith/w/emacs.git/doc/emacs; makeinfo --force emacs.texi
+make[2]: Nothing to be done for `info'.
 (cd doc/misc; make  info)
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ada-mode.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force autotype.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force calc.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force cc-mode.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force cl.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force dbus.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force dired-x.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ebrowse.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ediff.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --enable-encoding emacs-mime.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force epa.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force erc.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force eshell.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force eudc.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force faq.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force flymake.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force forms.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force gnus.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --no-split idlwave.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force --no-split info.texi -o ../../info/info
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force mairix-el.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force message.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force mh-e.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force newsticker.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force nxml-mode.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force org.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force pcl-cvs.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force pgg.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force rcirc.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force remember.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force reftex.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sasl.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sc.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force ses.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force sieve.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force smtpmail.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force speedbar.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force -D emacs tramp.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force url.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force vip.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force viper.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force widget.texi
-cd /Users/bsmith/w/emacs.git/doc/misc; makeinfo --force woman.texi
+make[2]: Nothing to be done for `info'.
 (cd doc/lispref; make  info)
-cd /Users/bsmith/w/emacs.git/doc/lispref; makeinfo --force -I. -I../../info elisp.texi -o ../../info/elisp
+make[2]: Nothing to be done for `info'.
 (cd doc/lispintro; make  info)
-cd /Users/bsmith/w/emacs.git/doc/lispintro; makeinfo emacs-lisp-intro.texi -o ../../info/eintr
+make[2]: Nothing to be done for `info'.
 /usr/bin/install -c -m 644 /Users/bsmith/w/emacs.git/etc/emacs.desktop \
 	  /Users/bsmith/w/emacs.git/nextstep/Emacs.app/Contents/Resources/share/applications/emacs.desktop
 for icon in /Users/bsmith/w/emacs.git/etc/images/icons/*/*/apps/*.* \
 	  /Users/bsmith/w/emacs.git/etc/images/icons/*/*/mimetypes/*.*; do \
 	  if [ -r ${icon} ]; then \

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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-05 11:31       ` B Smith-Mannschott
@ 2009-01-05 14:04         ` Peter Dyballa
  2009-01-06 13:28           ` B Smith-Mannschott
  2009-01-06 12:34         ` B Smith-Mannschott
  1 sibling, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2009-01-05 14:04 UTC (permalink / raw)
  To: B Smith-Mannschott; +Cc: help-gnu-emacs


Am 05.01.2009 um 12:31 schrieb B Smith-Mannschott:

> In summary, you seem to be making two assertions:
>
> (1) running ( ./configure --with-ns ; make ; make install ) is not the
>     same as running ( ./configure --with-ns ; make bootstrap ; make ;
>     make install )

Actually I think ./configure ...; make bootstrap; (sudo) make install  
is OK.

>
> Normally (on a Mac), one would expect the default font set through the
> *Application-Wide* Preferences window to be, well, an application-wide
> default and not per-frame setting.  So really, this button in "Emacs
> Preferences" is just a really clumbsy way of executing "Options >> Set
> Default Font...". Is that sensible?

Probably. It's meant as a workaround. Besides, in GNU Emacs 23.0.60,  
you can give every frame another font. And when you load a buffer  
from frame A in frame B this window (prove it by creating a second  
window in frame B) will habe frame A's font. Or fontset.

>
> (2.2) set-default-font
>       Offers no completions for setting the default font.
>
> C-h f, however reveals that: This function is obsolete since 23.1; use
> set-frame-font instead. I had not previously noticed this. My bad.
>
> set-frame-font: Offers no completions. Is the user meant to guess?

Seems to be a sign of missing adaptation to Cocoa. I don't use this,  
I prefer the font panel. You can report it as a bug.

>
> (2.3) M-x set-face-font
>       Offers only three possible completions, just as described in the
>       initial posting on this thread.
>
>    -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
>    -apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset- 
> startup
>    -ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard

These are the built-in defaults. Again, there is a link missing to  
Cocoa. You can report it as the same bug.

--
Greetings

   Pete

Increase the size of your bike by at least *five* inches!






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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-05 11:31       ` B Smith-Mannschott
  2009-01-05 14:04         ` Peter Dyballa
@ 2009-01-06 12:34         ` B Smith-Mannschott
  2009-01-06 16:03           ` Peter Dyballa
  1 sibling, 1 reply; 9+ messages in thread
From: B Smith-Mannschott @ 2009-01-06 12:34 UTC (permalink / raw)
  To: help-gnu-emacs

On Sun, Jan 4, 2009 at 8:47 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 04.01.2009 um 19:28 schrieb B Smith-Mannschott:
>
...
>> ***** Fourth attempt: Via context menu
>>
>> On the X11 version of emacs built from *the very same source*
>> S-mouse-1 pops up a menu "Change Default Buffer Face". I tried this on
>> my --with-ns build of emacs. No such menu is displayed.
>
> Yes, this looks like a bug!

On Mon, Jan 5, 2009 at 12:31 PM, B Smith-Mannschott
<bsmith.occs@gmail.com> wrote:
> On Mon, Jan 5, 2009 at 12:28 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
...
> (2.4) Context menu (S-mouse-1)
>      Menu still missing. This has already been identified as a bug.

This is not, in fact, a bug. It's a feature. It turns out that
S-mouse-1 extends the current selection, which is the usual convention
on Mac OS X. This is also documented:

   <S-Mouse-1> (i.e., clicking the left mouse button while holding down
   the <Shift> key) adjusts the region to the click position, just like
   <Mouse-3> (`mouse-save-then-kill'); it does not pop up a menu for
   changing the default face, as <S-Mouse-1> normally does (*note
   Temporary Face Changes::).  This change makes Emacs behave more like
   other Mac / GNUstep applications. ((--Mac / GNUStep Basics))

(silly me)
// Ben Smith-Mannschott




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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-05 14:04         ` Peter Dyballa
@ 2009-01-06 13:28           ` B Smith-Mannschott
  0 siblings, 0 replies; 9+ messages in thread
From: B Smith-Mannschott @ 2009-01-06 13:28 UTC (permalink / raw)
  To: help-gnu-emacs

bugs filed:

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1801
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1802
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1803
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1804

Thanks for the feedback.
// Ben Smith-Mannschott




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

* Re: font handling broken in cvs emacs --with-ns (MacOS X)
  2009-01-06 12:34         ` B Smith-Mannschott
@ 2009-01-06 16:03           ` Peter Dyballa
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2009-01-06 16:03 UTC (permalink / raw)
  To: B Smith-Mannschott; +Cc: help-gnu-emacs


Am 06.01.2009 um 13:34 schrieb B Smith-Mannschott:

> This is not, in fact, a bug. It's a feature. It turns out that
> S-mouse-1 extends the current selection, which is the usual convention
> on Mac OS X.


I wonder whether I could learn this! I am so good in separating Emacs  
and Mac OS X ...

BTW, I remember that earlier versions of Emacs.app offered Cmd-T to  
bring up the font panel – and it still does! Although not advertised  
in the Options menu ...

--
Greetings

   Pete

Genius may have its limitations, but stupidity is not thus handicapped.
				– Elbert Hubbard







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

end of thread, other threads:[~2009-01-06 16:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04 18:28 font handling broken in cvs emacs --with-ns (MacOS X) B Smith-Mannschott
2009-01-04 18:52 ` Ian Eure
     [not found] ` <62131EE9-6999-42CA-A9E6-F53B41768586@Web.DE>
2009-01-04 22:22   ` B Smith-Mannschott
2009-01-04 23:28     ` Peter Dyballa
2009-01-05 11:31       ` B Smith-Mannschott
2009-01-05 14:04         ` Peter Dyballa
2009-01-06 13:28           ` B Smith-Mannschott
2009-01-06 12:34         ` B Smith-Mannschott
2009-01-06 16:03           ` Peter Dyballa

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).