[Top][All Lists]

[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" <address@hidden> wrote in message
> "Mickey Ferguson" <address@hidden> 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)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]