[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NTEmacs and multibyte character entry
From: |
David Abrahams |
Subject: |
Re: NTEmacs and multibyte character entry |
Date: |
Thu, 27 May 2004 09:54:02 -0400 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) |
jasonr (Jason Rumney) @ f2s.com writes:
> David Abrahams <dave@boost-consulting.com> writes:
>
>> I'm trying to edit a document in windows-1252 encoding, though I would
>> be happy to use any encoding that allows me to enter an em-dash
>> character along with "regular" ascii text. I can build a document
>> that contains the em-dash (enclosed) and have it display properly in
>> emacs, but I can't enter the em-dash directly in emacs using the
>> keyboard (AFAICT), If I try to yank it into emacs after copying it to
>> the clipboard from another application or copying it to the kill
>> buffer within emacs, I just see a question mark.
>
> For the clipboard problem, try setting selection-coding-system to
> windows-1252-dos.
Worked, thanks!
> Setting keyboard-coding-system to windows-1252
> might help for typing
Naw, Emacs seems to interfere with the keyboard handling of the ALT
key and [ALT]+0151 is the only way I know how to type this character.
> , otherwise define a function to insert the character (which you can
> paste in), and define a convenient keybinding for it.
Will do. Thanks again. I also found
http://www.tbray.org/ongoing/When/200x/2003/09/27/UniEmacs, which
looks like it'll help when I have time to implement it.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com