[macemacsjp-english 467] Re: Carbon Emacs Package (Mar. '06)

Back to archive index

Seiji Zenitani zenit****@mac*****
Wed Mar 15 02:17:34 JST 2006


Hi,

On 2006/03/14, at 2:08, Peter Dyballa wrote:
>
> C-h k ESC BACKSPACE =>
>
> 	M-DEL (translated from <escape> <backspace>) runs the command undo
> 	   which is an interactive compiled Lisp function in `redo.el'.
> 	It is bound to A-z, C-_, <undo>, C-/, M-DEL, <menu-bar> <edit>  
> <undo>.
> 	(undo &optional arg)
> 	
> 	Undo some previous changes.
> 	Repeat this command to undo more changes.
> 	A numeric argument serves as a repeat count.
>
> I nowhere re-define undo. *BUT* I have:
>
> 	(global-set-key "\377"	'backward-kill-word)		; M-BS
> 	(global-set-key "\343"	'clipboard-kill-ring-save)	; M-c
> 	(global-set-key "\366"	'clipboard-yank)		; M-v
>
I reproduced. M-DEL is undo on a mac, but it's not undo on another mac.
At present, I don't understand the difference.

>>> /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/site-
>>> lisp/site-start.el has
>>>
>>>        (mac-preview-mode 1))
>>>
>>> So I get in *Backtrace*:
>>>
>>> 	Debugger entered--Lisp error: (void-variable mac-preview-mode)
>>
>> mac-preview-mode is defined in /Applications/Emacs.app/Contents/
>> Resources/site-lisp/mac/mac-print.el, but it seems that Emacs cannot
>> find the right mac-print.el in your case.
>
> I was obviously using a function from mac-print.el in the .emacs
> lines for this Emacs version, trying to make it behave more like in
> the unchanged set-up.
>
I see, "mac-print" causes name-collision. I'll rename it.


> I had a (prefer-coding-system	'iso-latin-9-unix) too much! Adding
> utf-8-unix makes in dired the month's abbreviated name look correct,
> but the file name ending in € still ends in ¤ instead. As in
> *shell*. C-s € finds ¤ instead.
>
> When I press in *shell* alt-e (or Option-e) first ¤ appears. When I
> then press RETURN, ¤ becomes € (I did this in ls -l | grep € --
> but the file's name still ends in ¤).
>
>
> *shell* mode still has no encoding (- in mode-line) and so file names
> are listed as de-composed UTF-8 strings à la a´U^i¨Ǔa`.txt
>
(set-default-coding-systems 'utf-8-unix)
$ ls | iconv -f utf-8-MAC -t utf-8

>
> Although hightlight-region is on, a region that I start with C-SPACE
> is *not* highlighted. Only the mouse activates the highlighted
> background.

If you use "Mac-Style Key Binding" or mac-key-mode, pc-selection-mode  
is turned on.
Compare pc-selection-mode and transient-mark-mode.


-- Seiji




More information about the macemacsjp-english mailing list
Back to archive index