From zenitani at mac.com Wed Nov 1 21:48:44 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Wed, 1 Nov 2006 21:48:44 +0900 Subject: [macemacsjp-english 720] Carbon Emacs Package (Nov. '06) Message-ID: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> Hi all, The November build is available. http://homepage.mac.com/zenitani/emacs-e.html == Seiji Zenitani zenitani at mac.com ============ ?????? 11??????????????? http://homepage.mac.com/zenitani/emacs-j.html == ???? zenitani at mac.com From Peter_Dyballa at Web.DE Thu Nov 2 06:40:27 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 1 Nov 2006 22:40:27 +0100 Subject: [macemacsjp-english 721] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> Message-ID: Am 01.11.2006 um 13:48 schrieb Seiji Zenitani: > The November build is available. And there is one more thing available: a new TeX package for Mac OS X, based completely on TeX Live 2006, because teTeX is dead since nine months (or so). It might be beta now, being marked as *EXPERIMENTAL*. And this new software introduces a few new search path components: PATH is /usr/local/TeXLive/bin/`uname -p`-apple-darwin-current MANPATH is /usr/local/TeXLive/man INFOPATH is /usr/local/TeXLive/info -- Greetings Pete The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..." Isaac Asimov From zenitani at mac.com Thu Nov 2 22:01:27 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Thu, 2 Nov 2006 22:01:27 +0900 Subject: [macemacsjp-english 722] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> Message-ID: <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> Hi, On 2006/11/02, at 6:40, Peter Dyballa wrote: > > Am 01.11.2006 um 13:48 schrieb Seiji Zenitani: > >> The November build is available. > > And there is one more thing available: a new TeX package for Mac OS > X, based completely on TeX Live 2006, because teTeX is dead since > nine months (or so). It might be beta now, being marked as > *EXPERIMENTAL*. And this new software introduces a few new search > path components: > > PATH is /usr/local/TeXLive/bin/`uname -p`-apple-darwin-current > MANPATH is /usr/local/TeXLive/man > INFOPATH is /usr/local/TeXLive/info > I will add the PATH to our code in the repository. Is 'TeXLive' correct? ? TexLive? or texlive? -- Seiji From Peter_Dyballa at Web.DE Thu Nov 2 22:27:55 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Thu, 2 Nov 2006 14:27:55 +0100 Subject: [macemacsjp-english 723] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> Message-ID: <278AC478-FF8F-4461-81AA-23E763A1D164@Web.DE> Am 02.11.2006 um 14:01 schrieb Seiji Zenitani: > Is 'TeXLive' correct? Yes, that seems to be the right value. I haven't installed it yet, maybe later this month. The installation routine records PATH in /etc/profile and /etc/ csh.login and MANPATH in /usr/share/misc/man.conf (or /etc/ manpath.config or Panther and before). Why is it necessary to record PATH in Elisp files? Is there no way to read-in /etc/profile or /etc/ csh.login? Can't getenv retrieve the environment in which Carbon Emacs is launching? I know that some environment variables need to be set in ~/.MacOSX/ environment.plist for Carbon and Cocoa applications. Carbon Emacs, as one of them, has no better way to set itself up? -- Greetings Pete Who the fsck is "General Failure," and why is he reading my disk? From gnn at neville-neil.com Fri Nov 3 00:49:29 2006 From: gnn at neville-neil.com (George V. Neville-Neil) Date: Thu, 02 Nov 2006 16:49:29 +0100 Subject: [macemacsjp-english 724] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> Message-ID: At Thu, 2 Nov 2006 22:01:27 +0900, Seiji Zenitani wrote: > > And there is one more thing available: a new TeX package for Mac OS > > X, based completely on TeX Live 2006, because teTeX is dead since > > nine months (or so). It might be beta now, being marked as > > *EXPERIMENTAL*. And this new software introduces a few new search > > path components: > > > > PATH is /usr/local/TeXLive/bin/`uname -p`-apple-darwin-current > > MANPATH is /usr/local/TeXLive/man > > INFOPATH is /usr/local/TeXLive/info > > > I will add the PATH to our code in the repository. > Is 'TeXLive' correct? ? TexLive? or texlive? > Where does one actually get TexLive? Thanks, George From Peter_Dyballa at Web.DE Fri Nov 3 01:38:09 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Thu, 2 Nov 2006 17:38:09 +0100 Subject: [macemacsjp-english 725] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> Message-ID: <364A2890-F712-4B83-8D2B-A665F01A2529@Web.DE> Am 02.11.2006 um 16:49 schrieb George V. Neville-Neil: > Where does one actually get TexLive? On CD or DVD (in books for example), from CTAN, or, prepared particularly for Mac OS X via the i-Installer from here: http:// ii2.sourceforge.net/ Once you have the i-Installer put into /Applications/Utilities (!!) you can start to incrementally install TeX Live 2006. It is very buggy! It installs in /usr/local/TeXLive and changes PATH via /etc/ profile or /etc/csh.login, so can use TeX Live while your old TeX installation can have a break. Changing PATH in /etc/profile or /etc/ csh.login again, logging out and logging in again, you have your old TeX back. A bit problematic can be files in ~/Library/texmf/web2c ... (MAP file fragments particularly, because the names of these files have changed) -- Greetings Pete Ce qui ?t? compris n'existe plus. (Paul Eluard) From gnn at neville-neil.com Fri Nov 3 02:00:35 2006 From: gnn at neville-neil.com (George V. Neville-Neil) Date: Thu, 02 Nov 2006 18:00:35 +0100 Subject: [macemacsjp-english 726] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: <364A2890-F712-4B83-8D2B-A665F01A2529@Web.DE> References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> <364A2890-F712-4B83-8D2B-A665F01A2529@Web.DE> Message-ID: Thanks! Later, Goerge From zenitani at mac.com Fri Nov 3 11:58:13 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Fri, 3 Nov 2006 11:58:13 +0900 Subject: [macemacsjp-english 727] Re: Carbon Emacs Package (Nov. '06) In-Reply-To: <278AC478-FF8F-4461-81AA-23E763A1D164@Web.DE> References: <515024C9-D1F6-4F26-8157-3822A0169951@mac.com> <89955102-2C1D-400F-8BE7-53685ABA0CA3@mac.com> <278AC478-FF8F-4461-81AA-23E763A1D164@Web.DE> Message-ID: <06BD00B6-4EFE-453E-9BB8-AAF949984F33@mac.com> On 2006/11/02, at 22:27, Peter Dyballa wrote: > > Am 02.11.2006 um 14:01 schrieb Seiji Zenitani: > >> Is 'TeXLive' correct? > > Yes, that seems to be the right value. I haven't installed it yet, > maybe later this month. > > The installation routine records PATH in /etc/profile and /etc/ > csh.login and MANPATH in /usr/share/misc/man.conf (or /etc/ > manpath.config or Panther and before). Why is it necessary to record > PATH in Elisp files? Oh, so emacs automatically inherits PATH. I don't need to add it. -- Seiji From irodori at irodori.sakura.ne.jp Sat Nov 4 14:29:17 2006 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Sat, 04 Nov 2006 14:29:17 +0900 Subject: [macemacsjp-english 728] Carbon Emacs Package for Panther 2006/11 is out Message-ID: Hello everyone. Carbon Emacs Package for Panther 2006/11 is out. It is based on 20061101 source that maintained by Zenitani-san. It is available at: http://irodori.sakura.ne.jp/carbon-emacs/index.en.xhtml Regards. -- Eiji Honjoh irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From statmobile at gmail.com Sun Nov 5 06:16:20 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sat, 4 Nov 2006 16:16:20 -0500 Subject: [macemacsjp-english 729] Configuring Auctex and flyspell Message-ID: <20061104211620.GA2094@bjl> Hello Everyone, I keep having trouble configuring the newer version of Carbon Emacs to work with Auctex and flyspell. For some reason, if I try to run emacs with --debug-init it doesn't know those flags. What I want is to enable a bunch of options in Auctex as well as enable flyspell while in latex mode. The parts I have for text mode are: (setq default-major-mode 'text-mode) ;Set default mode to be text (add-hook 'text-mode-hook 'flyspell-mode) ; flyspell for text mode (add-hook 'text-mode-hook 'turn-on-auto-fill) ;Enable line breaks in text And what I want in LaTeX mode is: (require 'tex-site) ;(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook (function (lambda () (require 'reftex) (turn-on-reftex) (setq reftex-plug-into-AUCTeX t) (outline-minor-mode) (turn-on-auto-fill) (setq ispell-parser 'tex) (flyspell-mode) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) ))) Now it seems to run flyspell and auto-fill when in text mode, but neither of them seem to work when I'm in LaTeX mode. Could someone please help me, I think I'm going insane. Just when I thought I might actually understand my .emacs file, I just proved that I just created a cut-and-paste monster. I will enclose the full emacs for reference below this, so please ignore if if you don't want to parse the huge file. Thanks, Brian ===================================================================== ;MY .emacs FILE ;Note the extra lisp packages I downloaded to ~/.elisp ;This website is done using the htmlize package on emacs ;; Mark highlighted regions (in X) (setq-default transient-mark-mode t) (setq mark-even-if-inactive t) ;; OS X style text selection/movement (pc-selection-mode) (server-start) ;Start emacsclient server (setq inhibit-startup-messsage t) ;Go straight to file (not working on OS X) (setq default-major-mode 'text-mode) ;Set default mode to be text (add-hook 'text-mode-hook 'flyspell-mode) ; flyspell for text mode (add-hook 'text-mode-hook 'turn-on-auto-fill) ;Enable line breaks in text (add-hook 'html-mode-hook 'turn-off-auto-fill) ; Disable line breaks in html (display-time) ;;to display time (setq column-number-mode t) ; show column numbers (set-cursor-color "red") ;;to set the cursor color (defun fix-stupid-backspace-key-issue () "Fix this dumb terminal. Ugh." (interactive) (unless window-system ; No need to do this in them. :) ;; The following two lines are from the `Keyboard Translations' page ;; of the Emacs manual. ;; Translate `C-h' to . (keyboard-translate ?\C-h ?\C-?) (message "Backspce has been fixed."))) (if window-system (progn ; (pc-selection-mode) ;M$ Windows-like keybindings (blocks transient-mark-mode for some reason) ; (set-default-font "-*-*-medium-r-*-*-16-*-*-*-*-*-iso8859-1") ;Set default font (set-foreground-color "#aec2e3") ;;if X window set foreground color to carolina blue (set-background-color "#10224a")) ;;if X window set background to dark blue (progn ; (fix-stupid-backspace-key-issue) ;Call command automatically see below (Not necessary on OS X) (set-foreground-color "white");if using -nw then foreground white (set-background-color "black"))) ;;if using -nw then background black (global-set-key [(control tab)] 'other-window) ;set so that C-TAB cycles windows ;;;================= Use recommended R formatting ======================= ;;; C (add-hook 'c-mode-hook (lambda () (c-set-style "bsd"))) ;;; ESS (add-hook 'ess-mode-hook (lambda () (ess-set-style 'C++) ;; Because ;; DEF GNU BSD K&R C++ ;; ess-indent-level 2 2 8 5 4 ;; ess-continued-statement-offset 2 2 8 5 4 ;; ess-brace-offset 0 0 -8 -5 -4 ;; ess-arg-function-offset 2 4 0 0 0 ;; ess-expression-offset 4 2 8 5 4 ;; ess-else-offset 0 0 0 0 0 ;; ess-close-brace-offset 0 0 0 0 0 (add-hook 'local-write-file-hooks (lambda () (ess-nuke-trailing-whitespace))))) (setq ess-nuke-trailing-whitespace-p 'ask) ;; or even ;; (setq ess-nuke-trailing-whitespace-p t) ;;; Perl (add-hook 'perl-mode-hook (lambda () (setq perl-indent-level 4))) ;;;====================================================================== ;;Scrolling window display by arrow keys (defvar smooth-scroll-step 1 "Smooth scroll commands bound to + scroll window display as many characters as this value by default.") ;; Set up C-x and C-x for easy buffer movement ;; This use will be available in Emacs 22 as next/previous-buffer (if (< emacs-major-version 22) (progn (defalias 'switch-to-next-buffer 'bury-buffer) (defun switch-to-previous-buffer () "Switches to previous buffer" (interactive) (switch-to-buffer (nth (- (length (buffer-list)) 1) (buffer-list)))))) (if (< emacs-major-version 22) ; Use C-x and C-x (progn ; for buffer navigation (global-set-key [(control x) (left)] 'switch-to-previous-buffer) (global-set-key [(control x) (right)] 'switch-to-next-buffer))) ;;;;;;;;;;;EMACS LISP PACKAGES;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;You can use C-h p (for finder-by-keyword) for list of available packages on system (setq load-path (append load-path (list nil "/Applications/myapps/Emacs.app/Contents/Resources/lisp") load-path)) ; Look in Carbon Emacs lisp folder next (for Mac emacs) (setq load-path (append load-path (list nil "/Applications/myapps/Emacs.app/Contents/Resources/site-lisp") load-path)) ; Look in Carbon Emacs lisp folder next (for Mac emacs) (setq load-path (append load-path (list nil "~/.elisp") load-path)) ; Look in local elisp folder first ;; (setq load-path (append load-path (list nil "/Applications/myapps/Emacs.app/Contents/Resources/site-lisp") load-path)) ; Look in Carbon Emacs lisp folder next (for Mac emacs) ;; (setq load-path (append load-path (list nil "/Applications/myapps/Emacs.app/Contents/Resources/share/emacs/22.0.50/site-lisp") load-path)) ;; ripped from ;; http://www.tug.org/pipermail/macostex-archives/2004-September/009765.html ;; To load AUCTeX (Enhanced LaTeX editing) ;; tex/auctex stuff (require 'tex-site) ;(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook (function (lambda () (require 'reftex) (turn-on-reftex) (setq reftex-plug-into-AUCTeX t) (outline-minor-mode) (turn-on-auto-fill) (setq ispell-parser 'tex) (flyspell-mode) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) ))) ;; To load reverse-search on latex documents (require 'xdvi-search) ;; To load ispell for spell-checking (require 'ispell) ;; Html Helper Mode ;; http://www.nongnu.org/baol-hth/index.html ;; http://www.nongnu.org/baol-hth ; Great package, but I'm not a fan of their indentation (autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t) (setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\\.php$" . html-helper-mode) auto-mode-alist)) ;(setq html-helper-address-string "brlope at WNT.sas.com") (defvar html-helper-never-indent 1) ;Turn off indentation in html-helper-mode ;; CSS mode ;; http://www.garshol.priv.no/download/software/css-mode (autoload 'css-mode "css-mode") (setq auto-mode-alist (cons '("\\.css\\'" . css-mode) auto-mode-alist)) (setq cssm-indent-function #'cssm-c-style-indenter) ;; Convert the current buffer into colour HTML output ;; http://fly.srk.fer.hr/~hniksic/emacs (require 'htmlize) ;; To load sgml-mode for SGML & HTML editing (require 'sgml-mode) ;; Lisp packages only to be used on Carbon Emacs ;; They have problems with Apple emacs (when (eq window-system 'mac) ;; To load ess (Emacs Speaks Statistics) (require 'ess-site) ;; Use w3m mode in emacs (setq w3m-command "/sw/bin/w3m") (require 'w3m-load) ;; To load preview LaTeX (included in AucTeX) (load "preview.el" nil t t) ;; Set Mac Print dialog (when (fboundp 'mac-print-mode) (mac-print-mode 1) (global-set-key (kbd "C-c p") 'mac-print-buffer)) ) ;To set the default frame parameters in OS X Emacs Carbon (setq default-frame-alist (append (list '(active-alpha . 0.9) ;; active frame '(inactive-alpha . 0.8) ;; non active frame ) default-frame-alist) ) ;;;;;;;;;;;;;;;;;;;;;;OS X Tricks;;;;;;;;;;;;;;;;;;;;;;;;;; (defun tiger-speaks (beg end) "Read the text in the region using Tiger command 'say'" (interactive "r") (shell-command-on-region beg end "say")) ;;; Macintosh fonts ;(set-terminal-coding-system 'iso-8859-1) ;(setq mac-keyboard-text-encoding kTextEncodingMacRoman) ;(setq mac-keyboard-text-encoding =20 kTextEncodingISOLatin2) ;(setq default-frame-alist '((width . 126) ; (height . 48) ; (font . "fontset-mac"))) ;;; This is to set fonts for Carbon emacs (when (eq window-system 'mac) (require 'carbon-font) (fixed-width-set-default-fontset "-*-*-medium-r-normal--16-*-*-*-*-*-fontset-hiraginomin") ;; disable Mac anti-aliasing fonts (setq mac-allow-anti-aliasing nil) ;; turn off anti-aliasing ;; set location of Emacs in OS X (set-frame-position (selected-frame) 40 20) ;; Set dimensions (set-frame-size (selected-frame) 90 39) ) From statmobile at gmail.com Sun Nov 5 13:54:00 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sat, 4 Nov 2006 23:54:00 -0500 Subject: [macemacsjp-english 730] Re: Configuring Auctex and flyspell In-Reply-To: <20061104211620.GA2094@bjl> References: <20061104211620.GA2094@bjl> Message-ID: <20061105045400.GA3698@bjl> Okay, I don't want to overwhelm people. It seems quite clear to me that configuring AUCTeX is the problem. I have a .emacs file with just: (require 'tex-site) (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) And I'm not even getting auto-fill turned on. Is anybody else having this problem with the November build of Carbon Emacs 1.6.0? If it's as stupid as telling me to go through the AUCTeX manual again, I would appreciate that. I'm just wondering where the problem is. LaTeX is my lifeblood on Emacs, and I've always relied on Carbon Emacs to be my "money maker" when it comes to my dissertation work. This solid build has helped my move to OS X, and made me never turn back from Windows on my laptop. Thanks for even reading the message, even if you don't have much input. I know I mostly only learn from this listserv, because my understanding of Emacs can be so limited at times. Just when I think I might be a GNU/Linux l33t, I can't even configure my text editor to work the way I want. So much to learn. -- Brian J. Lopes PhD Student Department of Statistics and Operations Research University of North Carolina at Chapel Hill To know that we know what we know, and that we do not know what we do not know, that is true knowledge --Henry David Thoreau (quoting Confucius): Walden From zenitani at mac.com Sun Nov 5 17:16:59 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Sun, 05 Nov 2006 00:16:59 -0800 Subject: [macemacsjp-english 731] Re: Configuring Auctex and flyspell Message-ID: <30059DB1-010E-1000-F234-96CE18C4511C-Webmail-10013@mac.com> Hi, On 2006/11/05, at 13:54, Brian J. Lopes wrote: > > (require 'tex-site) > (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) I tried the above two lines. When I open a test.tex file, auto-fill-mode is successfully turned on. I find "Fill" in the mode line. How about launching Emacs.app without your own .emacs.el file? Examining messages in the *Messages* buffer is also helpful. Sincerely, Seiji Zenitani zenitani at mac.com From Peter_Dyballa at Web.DE Sun Nov 5 20:11:00 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun, 5 Nov 2006 12:11:00 +0100 Subject: [macemacsjp-english 732] Re: Configuring Auctex and flyspell In-Reply-To: <20061104211620.GA2094@bjl> References: <20061104211620.GA2094@bjl> Message-ID: <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> Am 04.11.2006 um 22:16 schrieb Brian J. Lopes: > Hello Everyone, > (add-hook 'LaTeX-mode-hook > (function (lambda () > (require 'reftex) This statement does not belong into a hook. Require makes Emacs remember to load something in case it's needed. Since Emacs does not forget as easily as humans do it's OK to write this statement once and outside of a hook. > (turn-on-reftex) > (setq reftex-plug-into-AUCTeX t) > (outline-minor-mode) > (turn-on-auto-fill) > (setq ispell-parser 'tex) > (flyspell-mode) > (setq TeX-auto-save t) > (setq TeX-parse-self t) > (setq-default TeX-master nil) > ))) Have you read the documentation about AUCTeX and flyspell? Could be they provide better clues. > > (if window-system > (progn > ; (pc-selection-mode) ;M$ Windows-like keybindings (blocks > transient-mark-mode for some reason) > ; (set-default-font "-*-*-medium-r-*-*-16-*-*-*-*-*- > iso8859-1") ;Set default font > (set-foreground-color "#aec2e3") ;;if X window set foreground > color to carolina blue > (set-background-color "#10224a")) ;;if X window set background > to dark blue > (progn > ; (fix-stupid-backspace-key-issue) ;Call command automatically > see below (Not necessary on OS X) > (set-foreground-color "white");if using -nw then foreground white > (set-background-color "black"))) ;;if using -nw then background > black There is no progn needed for the else part. It's treated as kind of a default, so it's interpreted in sequence. The if part is assumed to be an exception ? would you otherwise (for no exception) use an if clause? > ;;;;;;;;;;;EMACS LISP PACKAGES;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > ;You can use C-h p (for finder-by-keyword) for list of available > packages on system > > (setq load-path (append load-path (list nil "/Applications/myapps/ > Emacs.app/Contents/Resources/lisp") load-path)) ; Look in Carbon > Emacs lisp folder next (for Mac emacs) > (setq load-path (append load-path (list nil "/Applications/myapps/ > Emacs.app/Contents/Resources/site-lisp") load-path)) ; Look in > Carbon Emacs lisp folder next (for Mac emacs) I think these are not needed. You can check in emacs with these lines commented. Another way to extend load-path: (setq load-path (mapcar 'expand-file-name (append '( "/Library/Application Support/Emacs" "/Library/Application Support/Emacs/reftex" "/Library/Application Support/Emacs/auctex" "/Library/Application Support/Emacs/auctex/images" "/Library/Application Support/Emacs/preview") load-path))) (add-to-list 'load-path (concat "/Library/Application Support/ Emacs/calendar" (number-to-string emacs-major-version))) > > ;; To load ispell for spell-checking > (require 'ispell) I think this is not needed. You should bare in mind that "ispell" now stands for "aspell." > ;; Set Mac Print dialog > (when (fboundp 'mac-print-mode) > (mac-print-mode 1) This also should be set by default. It's a good thing to first check whether some object is already in a desirable state before you copy from somewhere. -- Greetings Pete If all else fails read the instructions. - Donald Knuth From david.reitter at gmail.com Sun Nov 5 20:37:55 2006 From: david.reitter at gmail.com (David Reitter) Date: Sun, 5 Nov 2006 11:37:55 +0000 Subject: [macemacsjp-english 733] Re: Configuring Auctex and flyspell In-Reply-To: <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> Message-ID: <6EEAF73D-E850-4A9E-B791-6FD597464796@gmail.com> On 5 Nov 2006, at 11:11, Peter Dyballa wrote: > > Am 04.11.2006 um 22:16 schrieb Brian J. Lopes: > >> Hello Everyone, >> (add-hook 'LaTeX-mode-hook >> (function (lambda () >> (require 'reftex) > > This statement does not belong into a hook. Require makes Emacs > remember to load something in case it's needed. Since Emacs does not > forget as easily as humans do it's OK to write this statement once > and outside of a hook. Require will load a feature-providing file if that feature hasn't already been provided. Emacs does not just "remember to load it" at that point - it actually loads the file if needed. Because loading takes time, you will only want to run "require" on demand. (The other mechanism to achieve this is to define an `autoload'.) Different considerations apply when developing preloaded core (e.g. for GNU Emacs proper). However, I would define a function, give it a name and put that into the hook - adding an anonymous function makes things harder to manage (cf `remove-hook'). D -- David Reitter Blog: http://www.davids-world.com Homepage: http://www.david- reitter.com From statmobile at gmail.com Mon Nov 6 02:44:55 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sun, 05 Nov 2006 12:44:55 -0500 Subject: [macemacsjp-english 734] Re: Configuring Auctex and flyspell In-Reply-To: <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> Message-ID: <454E2317.3070506@gmail.com> This is to respond to Peter's comments, thanks for taking the time to go through my .emacs file, Peter! I also have a few questions in here, but overall it helped save my configuration. I will be sending another email asking about the lingering flyspell problems. Peter Dyballa wrote: > Am 04.11.2006 um 22:16 schrieb Brian J. Lopes: > >> Hello Everyone, >> (add-hook 'LaTeX-mode-hook >> (function (lambda () >> (require 'reftex) > > This statement does not belong into a hook. Require makes Emacs remember to load something in case it's needed. Since Emacs does not forget as easily as humans do it's OK to write this statement once and outside of a hook. I got the impression that this would mean that I would only load the configuration when necessary, and hence help speed up my already slow loading time for Carbon Emacs. > >> (if window-system >> (progn >> ... >> (set-background-color "black"))) ;;if using -nw then background black > > There is no progn needed for the else part. It's treated as kind of a default, so it's interpreted in sequence. The if part is assumed to be an exception ? would you otherwise (for no exception) use an if clause? I use this so that I have different settings for when I open in -nw mode, it's more handy on my Linux installations, but does that answer your question for why it's an if statement? >> (setq load-path (append load-path (list nil "/Applications/myapps/ Emacs.app/Contents/Resources/site-lisp") load-path)) ; Look in Carbon Emacs lisp folder next (for Mac emacs) > > I think these are not needed. You can check in emacs with these lines commented. Another way to extend load-path: > > (setq load-path > (mapcar 'expand-file-name > (append '( > "/Library/Application Support/Emacs" > "/Library/Application Support/Emacs/reftex" > "/Library/Application Support/Emacs/auctex" > "/Library/Application Support/Emacs/auctex/images" > "/Library/Application Support/Emacs/preview") > load-path))) > > (add-to-list 'load-path (concat "/Library/Application Support/ Emacs/calendar" > (number-to-string emacs-major-version))) Disco! This was the main problem in my configuration file, so I commented that stuff out. It works fine, although wait for the following email about a lingering problem. For now, all I want to do is add my personal $HOME/.elisp directory into the path, so can I just use: (add-to-list 'load-path (concat "~/.elisp" \ (number-to-string emacs-major-version))) From statmobile at gmail.com Mon Nov 6 02:45:46 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sun, 05 Nov 2006 12:45:46 -0500 Subject: [macemacsjp-english 735] Re: Configuring Auctex and flyspell In-Reply-To: <6EEAF73D-E850-4A9E-B791-6FD597464796@gmail.com> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <6EEAF73D-E850-4A9E-B791-6FD597464796@gmail.com> Message-ID: <454E234A.1@gmail.com> Thanks everyone, I really appreciate the comments. Let's see, I've taken the advice of Seiji (actually tried this last night, but I pursued it more aggressively today) and made a new .emacs file piece by piece. Clearly the main problem I was having was trying to add the paths to the lisp files. I've already asked Peter something about this in the previous email I sent out. Now for the lingering flyspell problem I keep having. If I only put the following in a .emacs file I do get flyspell loaded when in text mode, but it will not turn on automatically when I open a LaTeX file. Is there something I'm doing wrong with loading flyspell in text-mode? ================================================================== (setq default-major-mode 'text-mode) ;Set default mode to be text (add-hook 'text-mode-hook 'flyspell-mode) ; flyspell for text mode (add-hook 'text-mode-hook 'turn-on-auto-fill) ;Enable line breaks (require 'tex-site) (add-hook 'LaTeX-mode-hook (function (lambda () (require 'reftex) (turn-on-reftex) (setq reftex-plug-into-AUCTeX t) (outline-minor-mode) (turn-on-auto-fill) (setq ispell-parser 'tex) (flyspell-mode) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) ))) ================================================================== Thanks, Brian From Peter_Dyballa at Web.DE Mon Nov 6 05:41:13 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun, 5 Nov 2006 21:41:13 +0100 Subject: [macemacsjp-english 736] Re: Configuring Auctex and flyspell In-Reply-To: <454E2317.3070506@gmail.com> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <454E2317.3070506@gmail.com> Message-ID: Am 05.11.2006 um 18:44 schrieb Brian J. Lopes: > I use this so that I have different settings for when I open in -nw > mode, it's more handy on my Linux installations, but does that answer > your question for why it's an if statement? No. I meant: *if* there's an exception, then. Usually do something completely different ... -- Greetings Pete There are three types of people in this world: those who can count, and those who cannot. From zenitani at mac.com Mon Nov 6 07:05:08 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Mon, 6 Nov 2006 07:05:08 +0900 Subject: [macemacsjp-english 737] Re: Configuring Auctex and flyspell In-Reply-To: <454E234A.1@gmail.com> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <6EEAF73D-E850-4A9E-B791-6FD597464796@gmail.com> <454E234A.1@gmail.com> Message-ID: <6FD7282F-F103-4192-9746-B77D61F04329@mac.com> Hi, On 2006/11/06, at 2:45, Brian J. Lopes wrote: > > ================================================================== > (setq default-major-mode 'text-mode) ;Set default mode to be text > (add-hook 'text-mode-hook 'flyspell-mode) ; flyspell for text mode > (add-hook 'text-mode-hook 'turn-on-auto-fill) ;Enable line breaks > > (require 'tex-site) > (add-hook 'LaTeX-mode-hook > (lambda () > (require 'reftex) > (turn-on-reftex) > (setq reftex-plug-into-AUCTeX t) > (outline-minor-mode 1) > (turn-on-auto-fill) > (setq ispell-parser 'tex) > (flyspell-mode 1) > (setq TeX-auto-save t) > (setq TeX-parse-self t) > (setq-default TeX-master nil) > )) > ================================================================== If I assume that AUCTeX runs both text-mode-hook and LaTeX-mode-hook, you toggle (flyspell-mode) twice, therefore it is turned off. To turn it on explicitly, use (flyspell-mode 1) instead. Actually (turn-on- auto-fill) is an alias for (auto-fill-mode 1). -- Seiji From statmobile at gmail.com Mon Nov 6 07:46:48 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sun, 05 Nov 2006 17:46:48 -0500 Subject: [macemacsjp-english 738] Re: Configuring Auctex and flyspell In-Reply-To: References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <454E2317.3070506@gmail.com> Message-ID: <454E69D8.9070103@gmail.com> Peter Dyballa wrote: > Am 05.11.2006 um 18:44 schrieb Brian J. Lopes: > >> I use this so that I have different settings for when I open in -nw >> mode, it's more handy on my Linux installations, but does that answer >> your question for why it's an if statement? > > No. > > I meant: *if* there's an exception, then. Usually do something > completely different ... Pete, I'm sorry, but I don't quite understand what you're getting at. In your first response you told me that the "progn" was not necessary in the else statement. Yet, when I open emacs in the terminal with the progn removed it give an error and doesn't set the background to black and foreground to white. What I have seems to work, if I open emacs as a window it is light blue on dark blue, and in the terminal is white on black. I'm sorry, I hope my ignorance is not frustrating you here. As I said, I have a dangerous knowledge of my .emacs file, just enough to really screw things up. Pura Vida, Brian From statmobile at gmail.com Mon Nov 6 07:52:54 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sun, 05 Nov 2006 17:52:54 -0500 Subject: [macemacsjp-english 739] Re: Configuring Auctex and flyspell In-Reply-To: <6FD7282F-F103-4192-9746-B77D61F04329@mac.com> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <6EEAF73D-E850-4A9E-B791-6FD597464796@gmail.com> <454E234A.1@gmail.com> <6FD7282F-F103-4192-9746-B77D61F04329@mac.com> Message-ID: <454E6B46.1050402@gmail.com> Seiji Zenitani wrote: > Hi, > > On 2006/11/06, at 2:45, Brian J. Lopes wrote: >> ================================================================== >> (setq default-major-mode 'text-mode) ;Set default mode to be text >> (add-hook 'text-mode-hook 'flyspell-mode) ; flyspell for text mode >> (add-hook 'text-mode-hook 'turn-on-auto-fill) ;Enable line breaks >> >> (require 'tex-site) >> (add-hook 'LaTeX-mode-hook >> (lambda () >> (require 'reftex) >> (turn-on-reftex) >> (setq reftex-plug-into-AUCTeX t) >> (outline-minor-mode 1) >> (turn-on-auto-fill) >> (setq ispell-parser 'tex) >> (flyspell-mode 1) >> (setq TeX-auto-save t) >> (setq TeX-parse-self t) >> (setq-default TeX-master nil) >> )) >> ================================================================== > > If I assume that AUCTeX runs both text-mode-hook and LaTeX-mode-hook, > you toggle (flyspell-mode) twice, therefore it is turned off. To turn > it on explicitly, use (flyspell-mode 1) instead. Actually (turn-on- > auto-fill) is an alias for (auto-fill-mode 1). Seiji, YOU DA MAN!!! I knew it was something stupid I did in there, but for the life of me I couldn't figure it out. Thanks ever so much, it works like a charm!!! Pura Vida, Brian From Peter_Dyballa at Web.DE Mon Nov 6 08:12:01 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Mon, 6 Nov 2006 00:12:01 +0100 Subject: [macemacsjp-english 740] Re: Configuring Auctex and flyspell In-Reply-To: <454E69D8.9070103@gmail.com> References: <20061104211620.GA2094@bjl> <69FDDD19-0AA5-46B8-86BC-AFCE00CE2179@Web.DE> <454E2317.3070506@gmail.com> <454E69D8.9070103@gmail.com> Message-ID: <47AC5E40-8DDA-4D48-A7E2-801CBD70223C@Web.DE> Am 05.11.2006 um 23:46 schrieb Brian J. Lopes: > I'm sorry, but I don't quite understand what you're getting at. In > your > first response you told me that the "progn" was not necessary in the > else statement. Yet, when I open emacs in the terminal with the progn > removed it give an error and doesn't set the background to black and > foreground to white. Before I wrote my recommendation I already had used before, as documented in Emacs Lisp, this structure ? and also created a little test file: (if window-system (progn (message "Mit Fenster") (message "Mit Fenstern") ) (message "Ohne Fenster") (message "Ohne Fensterln") ) In Terminal it gave me the last two messages in *Messages* buffer, in a fast launching X client it gave me the first two messages ... -- Greetings Pete The human animal differs from the lesser primates in his passion for lists of "Ten Best". -- H. Allen Smith From pa.news at free.fr Tue Nov 7 05:57:51 2006 From: pa.news at free.fr (Pierre Albarede) Date: Mon, 6 Nov 2006 21:57:51 +0100 Subject: [macemacsjp-english 741] =?iso-8859-1?q?ls_-v_does_not_display_co?= =?iso-8859-1?q?rrectly_=E9_=28e_acute=29?= Message-ID: <60a16cfe618f3225d89037e0cc604677@free.fr> Hi, In Emacs shell (M-x shell), ls -v does not display correctly ? (e acute) and other accented latin letters, see: http://pierre.albarede.free.fr/technique/emacs/ls-vEmacs.tiff Content of .emacs : (custom-set-variables '(current-language-environment "UTF-8") ) The shell is zsh. GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0) of 2006-06-19 on woodstock.local.mac (I cannot try the most recent build as I do not have Mac OS X.4 yet.) ls -v in Terminal works better, see http://pierre.albarede.free.fr/technique/emacs/ls-vTerminal.tiff I guess this should be fixed in carbon emacs. Best regards. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence From Peter_Dyballa at Web.DE Tue Nov 7 06:56:23 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Mon, 6 Nov 2006 22:56:23 +0100 Subject: =?ISO-8859-1?Q?Re:_[macemacsjp-english_741]_ls_-v_does_not_displ?= =?ISO-8859-1?Q?ay_correctly_=E9_=28e_acute=29?= In-Reply-To: <60a16cfe618f3225d89037e0cc604677@free.fr> References: <60a16cfe618f3225d89037e0cc604677@free.fr> Message-ID: Am 06.11.2006 um 21:57 schrieb Pierre Albarede: > In Emacs shell (M-x shell), ls -v does not display correctly ? (e > acute) and other accented latin letters, UTF-8 file names are stored in HFS+ as de-composed, i.e. ? becomes e ?. ls -v prints them exactly this decomposed way (ls -w is another method to achieve UTF-8 output). The utf-8m encoding corrects this in text and dired buffers, but fails in *shell* ... What we need are ls commands (from Apple/FreeBSD and GNU) that compose the proper characters! (In Terminal, I think, libncurses does the re-composing.) -- Greetings Pete "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein From xah at xahlee.org Tue Nov 7 15:09:27 2006 From: xah at xahlee.org (xah lee) Date: Mon, 6 Nov 2006 22:09:27 -0800 Subject: [macemacsjp-english 743] setting a font in .emacs Message-ID: probably a FAQ... i want always to use ?hiraginokaku: 14-dot medium? when i start emacs. What should i put in my .emacs? Thanks. PS is it possible to have carbon emacs use Mac OS X's fonts? Xah xah at xahlee.org ? http://xahlee.org/ ? From Peter_Dyballa at Web.DE Tue Nov 7 19:02:22 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 7 Nov 2006 11:02:22 +0100 Subject: [macemacsjp-english 744] Re: setting a font in .emacs In-Reply-To: References: Message-ID: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> Am 07.11.2006 um 07:09 schrieb xah lee: > i want always to use ?hiraginokaku: 14-dot medium? when i start > emacs. What should i put in my .emacs? (set-default-font "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- hiraginokaku") ? (setq initial-frame-alist '( ; (foreground-color . "midnightblue") ; (background-color . "antiquewhite1") ; (mouse-color . "midnightblue") ; (cursor-color . "purple") ; (cursor-type . box) ; (vertical-scroll-bars . left) ; (active-alpha . 0.875) ; (inactive-alpha . 0.75) (font . "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- hiraginokaku") )) Also for default frame. > > PS is it possible to have carbon emacs use Mac OS X's fonts? Do you use non-system fonts? How do you achieve this? -- Mit friedvollen Gr??en Pete The future will be much better tomorrow. -- George W. Bush From zenitani at mac.com Tue Nov 7 22:07:40 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 7 Nov 2006 22:07:40 +0900 Subject: [macemacsjp-english 745] Re: setting a font in .emacs In-Reply-To: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> References: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> Message-ID: Hi, On 2006/11/07, at 19:02, Peter Dyballa wrote: > Am 07.11.2006 um 07:09 schrieb xah lee: > >> i want always to use ?hiraginokaku: 14-dot medium? when i start >> emacs. What should i put in my .emacs? > > (set-default-font "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- > hiraginokaku") ? > For more detail, read /Applications/Emacs.app/Contents/Resources/site- lisp/mac/carbon-font.el. >> PS is it possible to have carbon emacs use Mac OS X's fonts? > > Do you use non-system fonts? How do you achieve this? You can also use "Options > Show/Hide > Font Panels" in the menu bar. I don't know .emacs lines equivalent to the panel. -- Seiji From Peter_Dyballa at Web.DE Wed Nov 8 05:08:32 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 7 Nov 2006 21:08:32 +0100 Subject: [macemacsjp-english 746] Re: setting a font in .emacs In-Reply-To: References: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> Message-ID: <0883F6B2-891F-4CBB-92B9-E402D4E540BA@Web.DE> Am 07.11.2006 um 14:07 schrieb Seiji Zenitani: >>> PS is it possible to have carbon emacs use Mac OS X's fonts? >> >> Do you use non-system fonts? How do you achieve this? > > You can also use "Options > Show/Hide > Font Panels" in the menu bar. > I don't know .emacs lines equivalent to the panel. These are Mac OS X fonts, too. xah lee suggests in his PS that Carbon Emacs would be using non-system fonts. -- Greetings Pete We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others. (Blaise Pascal) From pa.news at free.fr Wed Nov 8 05:42:36 2006 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 7 Nov 2006 21:42:36 +0100 Subject: [macemacsjp-english 747] Re: ls -v does not display correctly e acute In-Reply-To: <20061107030014.DF6544B0928@lists.sourceforge.jp> References: <20061107030014.DF6544B0928@lists.sourceforge.jp> Message-ID: <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> Hi, Le 7 nov. 06, ? 04:00, Peter Dyballa a ?crit : > Am 06.11.2006 um 21:57 schrieb Pierre Albarede: > >> In Emacs shell (M-x shell), ls -v does not display correctly ? (e >> acute) and other accented latin letters, > > UTF-8 file names are stored in HFS+ as de-composed, i.e. ? becomes e > ?. ls -v prints them exactly this decomposed way (ls -w is another > method to achieve UTF-8 output). > The utf-8m encoding corrects this in > text and dired buffers, but fails in *shell* ... Let me try: (in Emacs shell) % ls -v >ls.txt (to open with utf-8m encoding:) C-x RTN c utf-8m C-x C-f ls.txt and I see the right thing, as you implied. > What we need are ls commands (from Apple/FreeBSD and GNU) that > compose the proper characters! (In Terminal, I think, libncurses does > the re-composing.) Probably we need even less, as shown above. -->>In order to make these remarks as useful as possible, whom should they be directed to ? Cheers. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence From Peter_Dyballa at Web.DE Wed Nov 8 07:36:28 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 7 Nov 2006 23:36:28 +0100 Subject: [macemacsjp-english 748] Re: ls -v does not display correctly e acute In-Reply-To: <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> Message-ID: <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> Am 07.11.2006 um 21:42 schrieb Pierre Albarede: > Probably we need even less, as shown above. This might be sufficient: (require 'utf-8m) (require 'carbon-font) (set-default-coding-systems 'utf-8) (setq default-file-name-coding-system 'utf-8m) (setq file-name-coding-system 'utf-8m) ; gesetzt in term/mac-win.el (prefer-coding-system 'utf-8m) ; (modify-coding-system-alist 'process "\\*shell\\*\\'" 'utf-8) At least it works for me with all Carbon Emacsen 22.0.50, October version of Carbon Emacs package. And one of the next days I'll compile a Carbon Emacs 22.0.90. -- Greetings Pete "If we don't succeed, we run the risk of failure." George W. Bush From pa.news at free.fr Thu Nov 9 02:05:26 2006 From: pa.news at free.fr (Pierre Albarede) Date: Wed, 8 Nov 2006 18:05:26 +0100 Subject: [macemacsjp-english 749] Re: ls -v does not display correctly e acute In-Reply-To: <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> Message-ID: Hi, Le 7 nov. 06, ? 23:36, Peter Dyballa a ?crit : > This might be sufficient: > > (require 'utf-8m) > (require 'carbon-font) > (set-default-coding-systems 'utf-8) > (setq default-file-name-coding-system 'utf-8m) > (setq file-name-coding-system 'utf-8m) ; > gesetzt in term/mac-win.el > (prefer-coding-system 'utf-8m) > ; (modify-coding-system-alist 'process "\\*shell\\*\\'" 'utf-8) > > At least it works for me with all Carbon Emacsen 22.0.50, October > version of Carbon Emacs package. And one of the next days I'll > compile a Carbon Emacs 22.0.90. > Apparently we use the same build GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0) of 2006-06-19 on woodstock.local.mac MacOS X.3.9 Following your advice I try this .emacs : --- (custom-set-variables '(current-language-environment "UTF-8") ) (require 'utf-8m) (require 'carbon-font) (set-default-coding-systems 'utf-8) (setq default-file-name-coding-system 'utf-8m) (setq file-name-coding-system 'utf-8m) --- (I also tried without custom-set-variables.) At the end of /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/lisp/ term/mac-win.el I copy (prefer-coding-system 'utf-8m) ; (modify-coding-system-alist 'process "\\*shell\\*\\'" 'utf-8) (I also tried without comment in front the second line.) I restart emacs M-x shell ls -v Documents I still get the decomposed form (e. g. e` instead of e grave), not what we expect. Ah I see /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/lisp/ term/mac-win.elc probably I need to recompile something. I won't do it :=)) > The utf-8m encoding corrects this in > text and dired buffers, but fails in *shell* ... I find that it is quite simple to impose utf-8m on the shell: if the shell is not already open, then C-x RTN c utf-8m M-x shell else C-x RTN p utf-8m RTN utf-8 This can be customized in .emacs: (set-default-coding-systems 'utf-8m) Now, with my real .emacs : (custom-set-variables ;; custom-set-variables 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. [..............] (set-default-coding-systems 'utf-8m) [...........] utf-8m seems to overrides utf-8 without trouble (I will see in a longer term). I need no more. For somebody who wants another default-coding-system, a more refined customization is required (possibly following your steps). To make our effort useful, whom this problem should be reported to ? Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence From Peter_Dyballa at Web.DE Thu Nov 9 04:08:09 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 8 Nov 2006 20:08:09 +0100 Subject: [macemacsjp-english 750] Re: ls -v does not display correctly e acute In-Reply-To: References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> Message-ID: <03F42936-3BD8-4ED0-A821-210955918178@Web.DE> Am 08.11.2006 um 18:05 schrieb Pierre Albarede: > (custom-set-variables > '(current-language-environment "UTF-8") > ) ?Never, never, never do this! And I mean you all. ================================================= Current-language-environment, set-language-environment come from Emacs' Stone Age. They were OK until GNU Emacs 20. With GNU Emacs 22 it's contra-productive, bombing you back into Stone Age. -- Greetings Pete The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners. Ernest Jan Plugge From Peter_Dyballa at Web.DE Thu Nov 9 04:34:33 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 8 Nov 2006 20:34:33 +0100 Subject: [macemacsjp-english 751] Re: ls -v does not display correctly e acute In-Reply-To: References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> Message-ID: <93593CA0-A285-49BD-ADC1-BC1A63FA4148@Web.DE> Am 08.11.2006 um 18:05 schrieb Pierre Albarede: > I restart emacs > > M-x shell > ls -v Documents > > I still get the decomposed form (e. g. e` instead of e grave), not > what > we expect. > > Ah I see > > /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/lisp/ > term/mac-win.elc > > probably I need to recompile something. I won't do it :=)) There is nothing needed to be re-compiled. All things you set happen in the end of the process of Emacs launching. Until then it has interpreted all built-in code and loaded external Elisp. So your settings always override some "defaults." There is probably one more difference between our environments: I have in ~/.MacOSX/environment.plist LANG and LC_CTYPE set. So even a Carbon Emacs is able to set itself up in the way it is supposed to happen ? on other operating systems/environments. There is a way to test my environment, in Terminal, for example: env LANG=fr_FR.UTF-8 LC_CTYPE=fr_FR.UTF-8 /Applications/ EmacsJCVS.app/Contents/MacOS/Emacs & In Terminal you can easily "complete" a name by typing the first few correct characters and then pressing TAB (btw., RTN is in Emacs speak RET). With a few steps you can reach the end. -- Greetings Pete A morning without coffee is like something without something else. From pa.news at free.fr Sat Nov 11 17:34:38 2006 From: pa.news at free.fr (Pierre Albarede) Date: Sat, 11 Nov 2006 09:34:38 +0100 Subject: [macemacsjp-english 752] mouse arrow (insertion point) disappears for a while Message-ID: <749C3318-C259-43D1-B687-03B184B7FF5F@free.fr> Hi, GNU Emacs 22.0.90.1 (i386-apple-darwin8.8.1, Carbon Version 1.6.0) of 2006-10-28 on petit.local Mac OS X.4.8 the mouse arrow (that becomes an insertion point when dragged over text) dissappears for a while after editing a html file (HTML helper mode). In Apple Mail the mouse arrow freezes for a few seconds once upon a time (although it does not dissappear). Do you see anything like that ? Cheers From pa.news at free.fr Tue Nov 14 05:13:35 2006 From: pa.news at free.fr (Pierre Albarede) Date: Mon, 13 Nov 2006 21:13:35 +0100 Subject: [macemacsjp-english 753] Re: mouse arrow (insertion point) disappears for a while In-Reply-To: <749C3318-C259-43D1-B687-03B184B7FF5F@free.fr> References: <749C3318-C259-43D1-B687-03B184B7FF5F@free.fr> Message-ID: <99A9F2F3-4551-4FE5-9FAF-345BA4C9CE9A@free.fr> Le 11 nov. 06 ? 09:34, Pierre Albarede a ?crit : > the mouse arrow (that becomes an insertion point when dragged over > text) dissappears for a while after editing a html file (HTML helper > mode). This was a problem with the system, Carbons emacs is not the cause of it. Sorry for the noise. From pa.news at free.fr Tue Nov 14 21:48:51 2006 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 14 Nov 2006 13:48:51 +0100 Subject: [macemacsjp-english 754] utf-8m auto-completion Message-ID: <0A8D5CCB-3FF0-4036-9F99-7DA07CF1B59F@free.fr> Hi, another latin script problem INTRODUCTION GNU Emacs 22.0.90.1 (i386-apple-darwin8.8.1, Carbon Version 1.6.0) of 2006-10-28 on petit.local zsh alias ls-'ls -v' % more ~/.emacs (set-default-coding-systems 'utf-8m) utf-8m filenames (Mac OS X) are displayed correctly, for example % ls ls AppleScript mac.txt Boot_Camp_Beta_Setup_Guide.pdf m?moire.txt C mma Dave Raggett's HTML guide p?riph?riques GPS powerbook PCD rabot.PDF dessin r?seau g77 texte ibook unix java.html vid?o.txt lisp TAB commands auto-completion in zsh. Let us try it in Emacs. M-x shell %ls m? TAB yields no completion, of course, because the utf-8m code for ? is e acute, beginning by e. THE BUG %ls me TAB auto-completion yields % ls memoire.txt ls memoire.txt ls: memoire.txt: No such file or directory where Emacs has eaten away the accent. The same command would work in (properly configured) Terminal. CONCLUSION Either there is a bug in Emacs shell or I miss some more emacs customization. Your advice ? Thanks. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061114/231a5aeb/attachment.htm From Peter_Dyballa at Web.DE Wed Nov 15 04:26:47 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 14 Nov 2006 20:26:47 +0100 Subject: [macemacsjp-english 755] Re: utf-8m auto-completion In-Reply-To: <0A8D5CCB-3FF0-4036-9F99-7DA07CF1B59F@free.fr> References: <0A8D5CCB-3FF0-4036-9F99-7DA07CF1B59F@free.fr> Message-ID: <29C54277-D818-4A51-A62B-950DF29A94C8@Web.DE> Am 14.11.2006 um 13:48 schrieb Pierre Albarede: > CONCLUSION > > Either there is a bug in Emacs shell or I miss some more emacs > customization. Your advice ? > I think this is either a bug in utf-8m.el or a bug in our .emacs files ? in the X client's *shell* buffer it works better, but it understands ? in UTF-8. -- Greetings Pete A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. From etiffany at alum.mit.edu Tue Nov 21 04:56:57 2006 From: etiffany at alum.mit.edu (Eric Tiffany) Date: Mon, 20 Nov 2006 14:56:57 -0500 Subject: [macemacsjp-english 756] CarbonEmacs-Tiger-20061101 uses 100% of CPU Message-ID: Hi, I downloaded and installed the CarbonEmacs-Tiger-20061101.dmg verETsion of Emacs which was listed on the Apple Unix website. I quickly noticed that this application starts using approx 100% of my cpu as reported by Activity Monitor. When I did a snapshot of the process in Activity Monitor, I saw that a lot of time was being spent in markup_object (I don't have the trace anymore, but I can reproduce later). I installed the earlier version of CarbonEmacs (from 20060901) and it does not exhibit this same behavior. Both are loading my .emacs file and the exact same external packages, so I don't think it is a problem with the extra packages I load. It seems like it must be a problem with either the base emacs distribution or one (or more) of the packages that are included in the later distribution. ET From pa.news at free.fr Tue Nov 21 05:27:32 2006 From: pa.news at free.fr (Pierre Albarede) Date: Mon, 20 Nov 2006 21:27:32 +0100 Subject: [macemacsjp-english 757] Re: CarbonEmacs-Tiger-20061101 uses 100% of CPU In-Reply-To: References: Message-ID: <7FB684A6-39AD-4F3F-B055-2199F4B56F83@free.fr> Hi, Le 20 nov. 06 ? 20:56, Eric Tiffany a ?crit : > I quickly noticed that this application starts using approx 100% of > my cpu > as reported by Activity Monitor. If no other job is running, this is no wonder. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence From pa.news at free.fr Tue Nov 21 23:47:22 2006 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 21 Nov 2006 15:47:22 +0100 Subject: [macemacsjp-english 758] Re: utf-8m auto-completion In-Reply-To: <29C54277-D818-4A51-A62B-950DF29A94C8@Web.DE> References: <0A8D5CCB-3FF0-4036-9F99-7DA07CF1B59F@free.fr> <29C54277-D818-4A51-A62B-950DF29A94C8@Web.DE> Message-ID: Hi, Le 14 nov. 06 ? 20:26, Peter Dyballa a ?crit : > I think this is either a bug in utf-8m.el or a bug in our .emacs > files ? in the X client's *shell* buffer it works better, but it > understands ? in UTF-8. This is the file: /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.90/lisp/ international/utf-8m.el ;; Author: Seiji Zenitani ;; $Id: utf-8m.el 31 2006-10-20 21:46:12Z zenitani $ ;; Keywords: mac, multilingual, Unicode, UTF-8 ;; Created: 2004-02-20 ... ;; This package provides a modified utf-8 encoding (utf-8m) for Mac OSX ;; hfs plus volume format. By setting utf-8m as the file-name-coding- system, ;; emacs can read the following characters in filenames. ... ;; In order to use, add the below line to your .emacs file. ;; ;; (set-file-name-coding-system 'utf-8m) ;; ... ;; ref. http://lists.gnu.org/archive/html/emacs-devel/2005-07/ msg01067.html Indeed, I see one mistake in this file, not in the code itself but in the comments. With only (set-file-name-coding-system 'utf-8m) in .emacs, non ASCII filenames are not correctly displayed by M-! ls. However, they are correctly displayed with only (set-default-coding-systems 'utf-8m) in .emacs. This is the same with carbon emacs, emacs in Terminal and emacs in X11. Can we hope that fixing this will affects positively auto-completion ? Thanks. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence From zenitani at mac.com Wed Nov 22 00:11:24 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Wed, 22 Nov 2006 00:11:24 +0900 Subject: [macemacsjp-english 759] Re: utf-8m auto-completion In-Reply-To: References: <0A8D5CCB-3FF0-4036-9F99-7DA07CF1B59F@free.fr> <29C54277-D818-4A51-A62B-950DF29A94C8@Web.DE> Message-ID: On 2006/11/21, at 23:47, Pierre Albarede wrote: > Le 14 nov. 06 ? 20:26, Peter Dyballa a ?crit : >> I think this is either a bug in utf-8m.el or a bug in our .emacs >> files ? in the X client's *shell* buffer it works better, but it >> understands ? in UTF-8. > > This is the file: > /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.90/lisp/ > international/utf-8m.el 8< > > Indeed, I see one mistake in this file, not in the code itself but in > the comments. > Didn't you read the below lines? Theoretically it break the consistency, therefore I shall not use utf-8m as default coding system. Wait for Emacs 23, if you need perfect support for MacOSX filenames. > ;; Note that utf-8m does not restore the above characters when > ;; it exports the filenames. > With only > (set-file-name-coding-system 'utf-8m) > in .emacs, non ASCII filenames are not correctly displayed by M-! ls. > > However, they are correctly displayed with only > (set-default-coding-systems 'utf-8m) > in .emacs. In this case, probably (set-process-coding-systems 'utf-8m) is called via (set-default-coding-systems 'utf-8m). -- Seiji From ryanmcgeary at hotmail.com Wed Nov 22 02:00:33 2006 From: ryanmcgeary at hotmail.com (Ryan McGeary) Date: Tue, 21 Nov 2006 12:00:33 -0500 Subject: [macemacsjp-english 760] Re: CarbonEmacs-Tiger-20061101 uses 100% of CPU In-Reply-To: References: Message-ID: Eric, Do you use semantic? There seems to be a problem with emacs 22.0.90combined with the latest version of semantic. Applying this patch fixed the CPU load problem for me. http://xrl.us/rztp More information can be found here: http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-10/msg00016.html -Ryan On 11/20/06, Eric Tiffany wrote: > > Hi, > > I downloaded and installed the CarbonEmacs-Tiger-20061101.dmg verETsion of > Emacs which was listed on the Apple Unix website. > > I quickly noticed that this application starts using approx 100% of my cpu > as reported by Activity Monitor. > > When I did a snapshot of the process in Activity Monitor, I saw that a lot > of time was being spent in markup_object (I don't have the trace anymore, > but I can reproduce later). > > I installed the earlier version of CarbonEmacs (from 20060901) and it does > not exhibit this same behavior. Both are loading my .emacs file and the > exact same external packages, so I don't think it is a problem with the > extra packages I load. It seems like it must be a problem with either the > base emacs distribution or one (or more) of the packages that are included > in the later distribution. > > ET > > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061121/7fa7b8fa/attachment.htm From pa.news at free.fr Wed Nov 22 02:15:05 2006 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 21 Nov 2006 18:15:05 +0100 Subject: [macemacsjp-english 761] language environment In-Reply-To: <03F42936-3BD8-4ED0-A821-210955918178@Web.DE> References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> <03F42936-3BD8-4ED0-A821-210955918178@Web.DE> Message-ID: <9E033C49-1CDF-449F-A5AD-9B410930BA62@free.fr> Hi, Le 8 nov. 06 ? 20:08, Peter Dyballa a ?crit : >> (custom-set-variables >> '(current-language-environment "UTF-8") >> ) > > ?Never, never, never do this! And I mean you all. > ================================================= > > Current-language-environment, set-language-environment come from > Emacs' Stone Age. They were OK until GNU Emacs 20. With GNU Emacs 22 > it's contra-productive, bombing you back into Stone Age. If I do not customize this variable, it is set by default to French (I cannot find out how !) Do you suggest anything? Thanks. Pierre Albar?de bat A res Valvert 12 rue Fourane F-13090 Aix en Provence -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061121/f37c559f/attachment.htm From Peter_Dyballa at Web.DE Wed Nov 22 04:44:32 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 21 Nov 2006 20:44:32 +0100 Subject: [macemacsjp-english 762] Re: language environment In-Reply-To: <9E033C49-1CDF-449F-A5AD-9B410930BA62@free.fr> References: <20061107030014.DF6544B0928@lists.sourceforge.jp> <7d12fa221ea56ead90d2cb7a9c0d4784@free.fr> <34189612-8676-4A89-9208-23E4ECDAE401@Web.DE> <03F42936-3BD8-4ED0-A821-210955918178@Web.DE> <9E033C49-1CDF-449F-A5AD-9B410930BA62@free.fr> Message-ID: <25F5DA49-28F0-42A7-9616-AD162C4D4EED@Web.DE> Am 21.11.2006 um 18:15 schrieb Pierre Albarede: > Current-language-environment, set-language-environment come from > Emacs' Stone Age. They were OK until GNU Emacs 20. With GNU Emacs 22 > it's contra-productive, bombing you back into Stone Age. > > If I do not customize this variable, it is set by default to French > (I cannot find out how !) > Do you suggest anything? This seems to be a side-effect! I have set German ? but it works! As good as can be with a non-Unicode application. I had set actively language-environment for the X client version of GNU Emacs. And as long as this statement was executed in .emacs I had much more trouble with encodings and UTF-8. -- Greetings Pete <\ \__ O __O | O\ _\\/\-% _`\<, '()-'-(_)--(_) (_)/(_) From xah at xahlee.org Wed Nov 22 14:12:06 2006 From: xah at xahlee.org (xah lee) Date: Tue, 21 Nov 2006 21:12:06 -0800 Subject: [macemacsjp-english 763] Re: setting a font in .emacs In-Reply-To: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> References: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> Message-ID: <39F3581A-1A80-473E-ACAC-245EF45E901E@xahlee.org> Peter, Thanks. >> PS is it possible to have carbon emacs use Mac OS X's fonts? > > Do you use non-system fonts? How do you achieve this? umm.... not sure what i mean. I thought the carbon-specific fonts (e.g. hiraginokaku are not system fonts) By system font, i meant those in /Library/Fonts/ or ~/Library/Fonts. btw, where is the actual font hiraginokaku located? Perhaps a lazy question, but i remember once i searched for it and couldn't find it in Emacs.app. Xah xah at xahlee.org ? http://xahlee.org/ On 2006 Nov 7, at 2:02 AM, Peter Dyballa wrote: Am 07.11.2006 um 07:09 schrieb xah lee: > i want always to use ?hiraginokaku: 14-dot medium? when i start > emacs. What should i put in my .emacs? (set-default-font "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- hiraginokaku") ? (setq initial-frame-alist '( ; (foreground-color . "midnightblue") ; (background-color . "antiquewhite1") ; (mouse-color . "midnightblue") ; (cursor-color . "purple") ; (cursor-type . box) ; (vertical-scroll-bars . left) ; (active-alpha . 0.875) ; (inactive-alpha . 0.75) (font . "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- hiraginokaku") )) Also for default frame. > > PS is it possible to have carbon emacs use Mac OS X's fonts? Do you use non-system fonts? How do you achieve this? -- Mit friedvollen Gr??en Pete The future will be much better tomorrow. -- George W. Bush _______________________________________________ macemacsjp-english mailing list macemacsjp-english at lists.sourceforge.jp http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english ? From xah at xahlee.org Wed Nov 22 14:13:49 2006 From: xah at xahlee.org (xah lee) Date: Tue, 21 Nov 2006 21:13:49 -0800 Subject: [macemacsjp-english 764] Re: setting a font in .emacs In-Reply-To: References: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> Message-ID: Seiji Zenitani, > For more detail, read /Applications/Emacs.app/Contents/Resources/site- > lisp/mac/carbon-font.el. Thanks! Good to know. This line works for me: (fixed-width-set-default-fontset "-*-*-medium-r-normal--14-*-*-*-*-*- fontset-hiraginokaku") Xah xah at xahlee.org ? http://xahlee.org/ On 2006 Nov 7, at 5:07 AM, Seiji Zenitani wrote: Hi, On 2006/11/07, at 19:02, Peter Dyballa wrote: > Am 07.11.2006 um 07:09 schrieb xah lee: > >> i want always to use ?hiraginokaku: 14-dot medium? when i start >> emacs. What should i put in my .emacs? > > (set-default-font "-*-*-medium-r-normal--14-*-*-*-*-*-fontset- > hiraginokaku") ? > For more detail, read /Applications/Emacs.app/Contents/Resources/site- lisp/mac/carbon-font.el. >> PS is it possible to have carbon emacs use Mac OS X's fonts? > > Do you use non-system fonts? How do you achieve this? You can also use "Options > Show/Hide > Font Panels" in the menu bar. I don't know .emacs lines equivalent to the panel. -- Seiji _______________________________________________ macemacsjp-english mailing list macemacsjp-english at lists.sourceforge.jp http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english ? From Peter_Dyballa at Web.DE Wed Nov 22 19:42:16 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 22 Nov 2006 11:42:16 +0100 Subject: [macemacsjp-english 765] Re: setting a font in .emacs In-Reply-To: <39F3581A-1A80-473E-ACAC-245EF45E901E@xahlee.org> References: <158F0153-AFB4-47E7-9D0A-272E2FA744FD@Web.DE> <39F3581A-1A80-473E-ACAC-245EF45E901E@xahlee.org> Message-ID: Am 22.11.2006 um 06:12 schrieb xah lee: > By system font, i meant those in /Library/Fonts/ or ~/Library/Fonts. > > btw, where is the actual font hiraginokaku located? Perhaps a lazy > question, but i remember once i searched for it and couldn't find it > in Emacs.app. It is constructed in carbon-font.el as a fontset from a few fonts: (defvar carbon-font-encode-family-list-hiraginokaku `((ascii . "monaco") (japanese-jisx0208 . "??????*") (katakana-jisx0201 . "??????*") (japanese-jisx0212 . "hiragino kaku gothic pro") (thai-tis620 . "ayuthaya") (chinese-gb2312 . ,(if (x-list-fonts "*????*") "?? ??*" "????*")) (chinese-big5-1 . "??*") (korean-ksc5601 . "applegothic*"))) -- Greetings Pete === -Q ==<__/% >> _____________(_)____ at _____________________________ From kirill.kuvaldin at gmail.com Thu Nov 23 17:16:28 2006 From: kirill.kuvaldin at gmail.com (Kirill Kuvaldin) Date: Thu, 23 Nov 2006 11:16:28 +0300 Subject: [macemacsjp-english 766] Font rendering issues in Carbon Emacs Message-ID: <2d42915c0611230016y6f047da1r5d4a593e8e9edfbb@mail.gmail.com> Hello, [NB: please CC me on reply] I'm using Monaco 12pt. font both in Carbon Emacs and Terminal.app with antialiasing turned off. My question is why this font is being rendered in different ways in these application? There is a couple of screenshots: http://img120.imageshack.us/my.php?image=monacoterminalce8.png http://img399.imageshack.us/my.php?image=monacoemacspi2.png I suspect maybe there is sort of different font rendering libraries, engines and such like. I'm not an expert in font rendering mechanisms though, so please don't overload me with technical details. And what particularly I'd like to do is to get exactly the same font in Terminal.app as Emacs has. And there is a related discussion in macosx lj community: http://community.livejournal.com/macosx/5223980.html Thanks in advance. Kirill From njriley at uiuc.edu Thu Nov 23 18:15:09 2006 From: njriley at uiuc.edu (Nicholas Riley) Date: Thu, 23 Nov 2006 03:15:09 -0600 Subject: [macemacsjp-english 767] Re: Font rendering issues in Carbon Emacs In-Reply-To: <2d42915c0611230016y6f047da1r5d4a593e8e9edfbb@mail.gmail.com> References: <2d42915c0611230016y6f047da1r5d4a593e8e9edfbb@mail.gmail.com> Message-ID: <20061123091508.GA2174@uiuc.edu> On Thu, Nov 23, 2006 at 11:16:28AM +0300, Kirill Kuvaldin wrote: > I'm using Monaco 12pt. font both in Carbon Emacs and Terminal.app with > antialiasing turned off. My question is why this font is being > rendered in different ways in these application? > > There is a couple of screenshots: > http://img120.imageshack.us/my.php?image=monacoterminalce8.png > http://img399.imageshack.us/my.php?image=monacoemacspi2.png > > I suspect maybe there is sort of different font rendering libraries, > engines and such like. I'm not an expert in font rendering mechanisms > though, so please don't overload me with technical details. > > And what particularly I'd like to do is to get exactly the same font > in Terminal.app as Emacs has. This is not possible. Carbon Emacs' "Mac Allow Anti Aliasing" option is actually poorly named; when disabled, Emacs uses QuickDraw Text with font smoothing turned on (if you zoom in on the characters you'll notice they actually are antialiased). QuickDraw is deprecated in Tiger and is only going to get less well supported over time, so its use isn't encouraged, and I'd imagine the "off" setting will disappear from Emacs in the future. Terminal is actually turning antialiasing off and is correctly rendering a 12 point Monaco bitmap. -- Nicholas Riley | From uayebforever at gmail.com Fri Nov 24 16:42:21 2006 From: uayebforever at gmail.com (Andy Green) Date: Fri, 24 Nov 2006 20:42:21 +1300 Subject: [macemacsjp-english 768] Freezing Problem Message-ID: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> Hi, I'm having a very annoying problem with Carbon Emacs. Every few (5-10) seconds, emacs stops updating the display and seems completely unresponsive. Then, after a pause of as much as 10 seconds, it begins working normally, and react to all keypresses during the unresponsive period. It is most noticable whenever I scroll using the keyboard or type. I have disabled my .emacs file, but still have the same effect. Activity monitor does not show any noticable change in Emac's processor usage. The An old version (late 2005) worked perfectly. I have tried both 2006-09-01 and 2006-11-01, and both have the same problem. I'm going to have to revert to my old version until I solve this problem (which doesn't have Rails support which I need...) Thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061124/a36f516e/attachment.htm From zenitani at mac.com Wed Nov 29 09:35:45 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 28 Nov 2006 19:35:45 -0500 Subject: [macemacsjp-english 769] =?iso-2022-jp?b?RndkOiBbTWFjZW1hY3NqcC11?= =?iso-2022-jp?b?c2VycyAxMjU1XSAbJEIlSSUtJWUlYSVzJUhNUSUiJSQlMyVzGyhC?= References: <20061125.201719.42032785.nanasess@gmail.com> Message-ID: <44F8217D-B217-4106-BABA-F5FC693A85A1@mac.com> Hi, The attachments are document icons, designed by Ohkouchi-san. The next major release will contain these beautiful icons. Sincerely, Seiji ?? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061128/913248f9/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: document-default.png Type: image/png Size: 13378 bytes Desc: not available Url : http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061128/913248f9/attachment.png -------------- next part -------------- A non-text attachment was scrubbed... Name: document-el.png Type: image/png Size: 14623 bytes Desc: not available Url : http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061128/913248f9/attachment-0001.png From zenitani at mac.com Thu Nov 30 10:06:58 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Wed, 29 Nov 2006 20:06:58 -0500 Subject: [macemacsjp-english 770] Re: Freezing Problem In-Reply-To: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> References: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> Message-ID: <54F516ED-54C7-45B8-ABFB-6E8FD7808F28@mac.com> Hi, Turn off "Help > Carbon Emacs Package > OSX Native Input Method", "Save Changes" and restart Emacs. Then, is your situation improved? Seiji On 2006/11/24, at 2:42, Andy Green wrote: > Hi, > > I'm having a very annoying problem with Carbon Emacs. Every few > (5-10) seconds, emacs stops updating the display and seems > completely unresponsive. Then, after a pause of as much as 10 > seconds, it begins working normally, and react to all keypresses > during the unresponsive period. It is most noticable whenever I > scroll using the keyboard or type. > > I have disabled my .emacs file, but still have the same effect. > Activity monitor does not show any noticable change in Emac's > processor usage. > > The An old version (late 2005) worked perfectly. I have tried both > 2006-09-01 and 2006-11-01, and both have the same problem. I'm > going to have to revert to my old version until I solve this > problem (which doesn't have Rails support which I need...) > > Thanks, > Andy > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From uayebforever at gmail.com Thu Nov 30 16:29:18 2006 From: uayebforever at gmail.com (Andy Green) Date: Thu, 30 Nov 2006 20:29:18 +1300 Subject: [macemacsjp-english 771] Re: Freezing Problem In-Reply-To: <54F516ED-54C7-45B8-ABFB-6E8FD7808F28@mac.com> References: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> <54F516ED-54C7-45B8-ABFB-6E8FD7808F28@mac.com> Message-ID: <334fcf0e0611292329v702f177cudee40f7bea10fec8@mail.gmail.com> Seiji, Actually, I had "OSX Native Input Method" turned off, and turning it on resulted in immediate improvement. Switching it off again brought the problem back, so clearly it works much better with it turned on. I imagined this was something simple, but I couldn't find hints anywhere for the life of me. Thanks, Andy On 11/30/06, Seiji Zenitani wrote: > > Hi, > > Turn off "Help > Carbon Emacs Package > OSX Native Input Method", > "Save Changes" and restart Emacs. Then, is your situation improved? > > Seiji > > On 2006/11/24, at 2:42, Andy Green wrote: > > > Hi, > > > > I'm having a very annoying problem with Carbon Emacs. Every few > > (5-10) seconds, emacs stops updating the display and seems > > completely unresponsive. Then, after a pause of as much as 10 > > seconds, it begins working normally, and react to all keypresses > > during the unresponsive period. It is most noticable whenever I > > scroll using the keyboard or type. > > > > I have disabled my .emacs file, but still have the same effect. > > Activity monitor does not show any noticable change in Emac's > > processor usage. > > > > The An old version (late 2005) worked perfectly. I have tried both > > 2006-09-01 and 2006-11-01, and both have the same problem. I'm > > going to have to revert to my old version until I solve this > > problem (which doesn't have Rails support which I need...) > > > > Thanks, > > Andy > > _______________________________________________ > > macemacsjp-english mailing list > > macemacsjp-english at lists.sourceforge.jp > > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20061130/415a9b72/attachment.htm From pa.news at free.fr Thu Nov 30 18:24:18 2006 From: pa.news at free.fr (Pierre Albarede) Date: Thu, 30 Nov 2006 10:24:18 +0100 Subject: [macemacsjp-english 772] Re: Freezing Problem In-Reply-To: <334fcf0e0611292329v702f177cudee40f7bea10fec8@mail.gmail.com> References: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> <54F516ED-54C7-45B8-ABFB-6E8FD7808F28@mac.com> <334fcf0e0611292329v702f177cudee40f7bea10fec8@mail.gmail.com> Message-ID: Hello, Le 30 nov. 06 ? 08:29, Andy Green a ?crit : > Seiji, > Actually, I had "OSX Native Input Method" turned off, and turning > it on resulted in immediate improvement. Switching it off again > brought the problem back, so clearly it works much better with it > turned on. I imagined this was something simple, but I couldn't > find hints anywhere for the life of me. Me too. I would never have looked for options in the Help menu ! From zenitani at mac.com Thu Nov 30 20:39:01 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Thu, 30 Nov 2006 06:39:01 -0500 Subject: [macemacsjp-english 773] Re: Freezing Problem In-Reply-To: References: <334fcf0e0611232342p4ecbc592i4cdb0214ccb030f2@mail.gmail.com> <54F516ED-54C7-45B8-ABFB-6E8FD7808F28@mac.com> <334fcf0e0611292329v702f177cudee40f7bea10fec8@mail.gmail.com> Message-ID: Hi, On 2006/11/30, at 4:24, Pierre Albarede wrote: > Hello, > > Le 30 nov. 06 ? 08:29, Andy Green a ?crit : > >> Seiji, >> Actually, I had "OSX Native Input Method" turned off, and turning >> it on resulted in immediate improvement. Switching it off again >> brought the problem back, so clearly it works much better with it >> turned on. I imagined this was something simple, but I couldn't >> find hints anywhere for the life of me. > > Me too. > I would never have looked for options in the Help menu ! Andy and Pierre, thank you for your reports. On my powerbook emacs is stable with the option off, but I forwarded this issue to the Japanese mailing list. Please report to this mailing list if you find any other clues. Seiji