Roussanka Loukanova
rlouk****@stp*****
Wed Jan 24 03:10:23 JST 2007
Hi Kasper, On Tue, 23 Jan 2007, Kasper Daniel Hansen wrote: > Roussanka > > The font-identifier string has to be on one line I think, it is > essentially one long identifier. > > I am using a "large" font for my powerbook > (fixed-width-set-default-fontset > "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-hiraginokaku") > > Unless my mail program wraps the lines, there should be two lines, > the second one merely containing the font code. Yes, when I tied it, I had it in exactly the same way as you are giving it above. (Sorry, when I described the steps in the email, I copied and pasted it from the email [macemacsjp-english 764] and missed to be careful for the splits.) And my question is, in which file do you put the above statement? If I put it in .emacs, I get the following: "An error has occurred while loading `/Users/rosi/.emacs': Symbol's function definition is void: fixed-width-set-default-fontset" I tried it also in the file: /Applications/Emacs.app/Contents/Resources/site-lisp/mac/carbon-font.el by placing it about the end of the file, just before the comment ;;; carbon-font.el ends here > Now the problem of course is how to get the identifier when you have > selected a font using SHIFT+CLICK. I have forgot how to do that on > top of my head :) If you remember I would appreciate it: it is somewhat irritating that all you got it, while I can't. Roussanka > Kasper > > > On Jan 23, 2007, at 6:41 AM, Roussanka Loukanova wrote: > >> Hi, >> >> On Mon, 22 Jan 2007, Seiji Zenitani wrote: >> >>>> >>>> 1. If I select larger font in an open buffer, e.g. with Shift-Click >>>> and >>>> select Courier 18, then I can not get this saved for future Emacs >>>> sessions with Options -> SaveOptions; and I do not know how to get >>>> this >>>> with Customize Emacs. >>> >>> Please read [macemacsjp-english 764]. >> >> I tried several options, only the last from the described ones >> below works >> satisfactory (may be in the first two I do not do something properly): >> >> A. I read that email and >> /Applications/Emacs.app/Contents/Resources/site-lisp/mac/carbon- >> font.el >> >> The descriptions are not clear in which file to put the suggested >> lines: >> >> I tried putting the line >> (fixed-width-set-d efault-fontset "-*-*-medium-r-normal--14-*-*-*-*-*- >> fontset-hiraginokaku") >> >> - in .emacs >> Emacs complains for errors upon start-up >> >> - in >> /Applications/Emacs.app/Contents/Resources/site-lisp/mac/carbon- >> font.el >> >> Emacs starts up with no complains, but there is no effect on the >> font in >> the buffers. >> >> B. From Emacs' menu bar (after having a buffer with some file): >> >> Options -> Show/Hide -> Font Panel >> >> brings up Mac's Font Panel: I select desired font size, e.g. >> Monaco -> Regular -> 14 >> >> This makes the font in the buffer to that size. Then, I select >> Options -> Save Options >> >> But this has no effect on the next new emacs sessions. >> >> C. This option is described by Jean-Christophe Helary >> Date: Thu, 4 Jan 2007 15:05:58 +0900 >> From: Jean-Christophe Helary... >> To: Emacs on Mac OS X <macos****@email*****> >> Subject: Re: [OS X Emacs] changing default fonts on aquamacs 0.9.9d >> >> from emacs' menu >> Options -> Customize Options -> Specific Face... >> >> type in the minibuffer "default": >> >> Customize face (default font-lock-comment-face): default RET >> >> under Default face: ... >> >> I replaced only 120 with 140: >> >> .... >> Choice: Value Menu >> Attributes: [X] Font Family: apple-monaco >> [X] Width: Value Menu medium >> [X] Height: Value Menu Height in 1/10 pt: 140 >> ... >> >> Then selecting Save for Future Sessions, does so. In .emacs, I get the >> following statement, which apparently, if put in there "by hand," >> without >> the above steps via emacs' menu, should do the job: >> >> (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. >> '(default ((t (:stipple nil :background "white" :foreground "black" >> :inverse-video nil :box nil :strike-through nil :overline >> nil :underline >> nil :slant normal :weight normal :height 140 :width normal :family >> "apple-monaco"))))) >> >> _______________________________________________ >> macemacsjp-english mailing list >> macem****@lists***** >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > > _______________________________________________ > macemacsjp-english mailing list > macem****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -- ------------------------------------------------ Roussanka Loukanova Computational Linguistics Dept. of Linguistics and Philology Uppsala University P.Box 635, Uppsala 751 26, Sweden Tel: +46 18 471 1342 (office) +46 18 750 0340 Email: rlouk****@stp***** URL: http://stp.ling.uu.se/~rloukano/ --------------------------------------------------