all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Steven W. Orr" <steveo@syslang.net>
To: help-gnu-emacs@gnu.org
Subject: Copying to unicode.
Date: Wed, 03 Nov 2010 12:27:45 -0400	[thread overview]
Message-ID: <4CD18D81.1080309@syslang.net> (raw)

People send me stuff from Outlook all the time. I sometimes want to copy some 
of the text to a file I'm editing in emacs. The text displays fine in emacs, 
but what I really want to do is to set myself up so that *funny* characters 
end up being pasted in using unicode.

I see that there's something called the nonascii-translation-table. I'm 
looking for low-hanging fruit. Has anyone already written something cool that 
translates funny characters to keep me in unibyte? Examples would be:

Open or close double quotes ==> " ( \042 )
enspace, mspace, etc        ==> ' ' ( \040 )
Funny single quotes         ==> ' ( \047 )
etc...

Anyone? Or is this a dumb idea?

Thanks.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



             reply	other threads:[~2010-11-03 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 16:27 Steven W. Orr [this message]
2010-11-07  8:35 ` Copying to unicode Daniel Pittman
     [not found] <mailman.7.1288812009.12865.help-gnu-emacs@gnu.org>
2010-11-03 21:34 ` Andreas Politz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD18D81.1080309@syslang.net \
    --to=steveo@syslang.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.