[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reading binary, non-unix file
From: |
Mickey Ferguson |
Subject: |
Re: reading binary, non-unix file |
Date: |
Wed, 27 Oct 2004 09:20:58 -0700 |
Indeed, it does work. Thanks, Mathias!
Can someone explain the operation of the 'let*' operation? My lisp
understanding is about pre-school level, maybe not even that. I've seen the
'let' operation, but never a 'let*' one. And it's not in my (copyright
1981! - from college days) LISP book.
"Mathias Dahl" <brakjoller@gmail.com> wrote in message
u654w61tf.fsf@gmail.com">news:u654w61tf.fsf@gmail.com...
> "Mickey Ferguson" <MFerguson@peinc.com> writes:
>
> I looked at how universal-coding-system-argument works and hacked
> together the following, which seems to do what you want:
>
> (defun find-unicode-file ()
> "Run find-file on a unicode (utf-16-le encoding) file."
> (interactive)
> (let* ((coding-system 'utf-16-le)
> (coding-system-for-read coding-system)
> (coding-system-require-warning t))
> (call-interactively 'find-file)))
- reading binary, non-unix file, Mickey Ferguson, 2004/10/22
- Re: reading binary, non-unix file, J. David Boyd, 2004/10/22
- Message not available
- Re: reading binary, non-unix file, Mickey Ferguson, 2004/10/22
- Re: reading binary, non-unix file, Mathias Dahl, 2004/10/25
- Re: reading binary, non-unix file, Mickey Ferguson, 2004/10/25
- Re: reading binary, non-unix file, Daniel Pittman, 2004/10/25
- Re: reading binary, non-unix file, Mathias Dahl, 2004/10/26
- Re: reading binary, non-unix file, Mickey Ferguson, 2004/10/26
- Re: reading binary, non-unix file, Mathias Dahl, 2004/10/27
- Re: reading binary, non-unix file,
Mickey Ferguson <=
- RE: reading binary, non-unix file, Drew Adams, 2004/10/27
- Re: reading binary, non-unix file, Reiner Steib, 2004/10/27
- Re: reading binary, non-unix file, Mickey Ferguson, 2004/10/26
- Re: reading binary, non-unix file, Kevin Rodgers, 2004/10/26
Re: reading binary, non-unix file, Daniel Pittman, 2004/10/23