unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tom.tulinsky@gmail.com
Subject: single function to open utf-16 file?
Date: 10 Jul 2006 10:45:39 -0700	[thread overview]
Message-ID: <1152553539.512324.82140@b28g2000cwb.googlegroups.com> (raw)

can tell me how to easily open a utf-16 file, or a function for me that
will open a utf-16 file in PC-win32 Emacs 21.3.1? Currently I have to
do

   'C-x C-m c utf-16-le RET' followed by C-x C-f

I have tried to write a function or create a keyboard macro to do this,
but they did not work because

     C-x C-m c (universal-coding-system-argument)

is some kind of special function and demands the next command be
entered from the keyboard.

I want a single elisp function that I can bind to a key.

Thanks.

tt 

On Windows XP Pro.

             reply	other threads:[~2006-07-10 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10 17:45 tom.tulinsky [this message]
2006-07-10 22:16 ` single function to open utf-16 file? Kevin Rodgers
     [not found] ` <mailman.3947.1152569868.9609.help-gnu-emacs@gnu.org>
2006-07-10 23:59   ` Johan Bockgård

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1152553539.512324.82140@b28g2000cwb.googlegroups.com \
    --to=tom.tulinsky@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).