all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* NTEmacs and multibyte character entry
@ 2004-05-26 13:45 David Abrahams
  0 siblings, 0 replies; 3+ messages in thread
From: David Abrahams @ 2004-05-26 13:45 UTC (permalink / raw)


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


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.

Can anyone help me with this problem?

Thanks in advance


[-- Attachment #2: shows em-dash --]
[-- Type: text/plain, Size: 38 bytes --]

.. -*- coding: windows-1252 -*-

—


[-- Attachment #3: Type: text/plain, Size: 68 bytes --]


-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

[-- Attachment #4: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: NTEmacs and multibyte character entry
       [not found] <mailman.7533.1085590106.1061.help-gnu-emacs@gnu.org>
@ 2004-05-26 21:36 ` Jason Rumney
  2004-05-27 13:54   ` David Abrahams
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Rumney @ 2004-05-26 21:36 UTC (permalink / raw)


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. Setting keyboard-coding-system to windows-1252
might help for typing, otherwise define a function to insert the
character (which you can paste in), and define a convenient
keybinding for it.

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

* Re: NTEmacs and multibyte character entry
  2004-05-26 21:36 ` NTEmacs and multibyte character entry Jason Rumney
@ 2004-05-27 13:54   ` David Abrahams
  0 siblings, 0 replies; 3+ messages in thread
From: David Abrahams @ 2004-05-27 13:54 UTC (permalink / raw)


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

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

end of thread, other threads:[~2004-05-27 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.7533.1085590106.1061.help-gnu-emacs@gnu.org>
2004-05-26 21:36 ` NTEmacs and multibyte character entry Jason Rumney
2004-05-27 13:54   ` David Abrahams
2004-05-26 13:45 David Abrahams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.