* Re: utf-16-le-pre-write-conversion missing
[not found] <mailman.1351.1062350204.29551.help-gnu-emacs@gnu.org>
@ 2003-09-10 13:39 ` Kai Grossjohann
2003-09-11 12:04 ` Reiner Steib
2003-09-11 18:01 ` Peter J. Acklam
0 siblings, 2 replies; 4+ messages in thread
From: Kai Grossjohann @ 2003-09-10 13:39 UTC (permalink / raw)
Dave Evans <root@hclb.demon.co.uk> wrote in message news:<mailman.1351.1062350204.29551.help-gnu-emacs@gnu.org>...
> When set-buffer-file-coding-system is set to utf-16-le,
> I get error
> "symbol's function definition is void: utf-16-pre-write-conversion"
> in the minibuffer when attempting to save a file.
AFAIK, Emacs 21.3 does not support utf-16. So it must be coming from
some kind of package, perhaps you installed Mule-UCS?
Alas, I don't have an Emacs 21.3 at the moment to check. Please bear
with me if it is wrong.
Kai
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: utf-16-le-pre-write-conversion missing
2003-09-10 13:39 ` utf-16-le-pre-write-conversion missing Kai Grossjohann
@ 2003-09-11 12:04 ` Reiner Steib
2003-09-11 18:01 ` Peter J. Acklam
1 sibling, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2003-09-11 12:04 UTC (permalink / raw)
On Wed, Sep 10 2003, Kai Grossjohann wrote:
> Dave Evans <root@hclb.demon.co.uk> wrote:
>> When set-buffer-file-coding-system is set to utf-16-le,
>> I get error
>> "symbol's function definition is void: utf-16-pre-write-conversion"
>> in the minibuffer when attempting to save a file.
I can reproduce this with GNU Emacs 21.3.1.
> AFAIK, Emacs 21.3 does not support utf-16. So it must be coming from
> some kind of package, perhaps you installed Mule-UCS?
>
> Alas, I don't have an Emacs 21.3 at the moment to check. Please bear
> with me if it is wrong.
,----[ C-x C-m c utf-16 TAB TAB ]
| Possible completions are:
| utf-16-be utf-16-be-dos
| utf-16-be-mac utf-16-be-unix
| utf-16-le utf-16-le-dos
| utf-16-le-mac utf-16-le-unix
`----
It seems to me that either the function
`utf-16-le-pre-write-conversion' is missing or the line should be
removed from `utf-16.el' (same for -be-, probably):
(pre-write-conversion . utf-16-le-pre-write-conversion)
I did a quick test with the dummy function "(defun
utf-16-le-pre-write-conversion (from to))": With this defun, I could
read Markus Kuhn's UTF-8 demo file[1] in Emacs 21.3, save it as
`utf-16-le'. The result is readable in Emacs 21.3.50 (CVS HEAD).
But I'm not at all an expert in this, so it probably better to report
this as a bug: `M-x report-emacs RET'.
Bye, Reiner.
[1] <URL:http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt>
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: utf-16-le-pre-write-conversion missing
2003-09-10 13:39 ` utf-16-le-pre-write-conversion missing Kai Grossjohann
2003-09-11 12:04 ` Reiner Steib
@ 2003-09-11 18:01 ` Peter J. Acklam
1 sibling, 0 replies; 4+ messages in thread
From: Peter J. Acklam @ 2003-09-11 18:01 UTC (permalink / raw)
Kai.Grossjohann@gmx.net (Kai Grossjohann) wrote:
> Dave Evans <root@hclb.demon.co.uk> wrote:
>
> > When set-buffer-file-coding-system is set to utf-16-le, I get
> > error "symbol's function definition is void:
> > utf-16-pre-write-conversion" in the minibuffer when attempting
> > to save a file.
>
> AFAIK, Emacs 21.3 does not support utf-16. So it must be coming
> from some kind of package, perhaps you installed Mule-UCS?
The etc/NEWS file says:
** UTF-16 coding systems are available, encoding the same characters
as mule-utf-8. Coding system `utf-16-le-dos' is useful as the value
of `selection-coding-system' in MS Windows, allowing you to paste
multilingual text from the clipboard. Set it interactively with
C-x RET x or in .emacs with `(set-selection-coding-system 'utf-16-le-dos)'.
I have tried using
(set-selection-coding-system 'utf-16-le-dos)
but I only end up getting an error when I save files.
Peter
--
Everyone has a blind spot in each eye. I also have a deaf spot
in each ear. If you stand at a certain place, I can't hear you.
^ permalink raw reply [flat|nested] 4+ messages in thread
* utf-16-le-pre-write-conversion missing
@ 2003-08-31 17:14 Dave Evans
0 siblings, 0 replies; 4+ messages in thread
From: Dave Evans @ 2003-08-31 17:14 UTC (permalink / raw)
When set-buffer-file-coding-system is set to utf-16-le,
I get error
"symbol's function definition is void: utf-16-pre-write-conversion"
in the minibuffer when attempting to save a file.
Any idea where I can find this function?
Emacs 21.3.1 i386--freebsd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-11 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1351.1062350204.29551.help-gnu-emacs@gnu.org>
2003-09-10 13:39 ` utf-16-le-pre-write-conversion missing Kai Grossjohann
2003-09-11 12:04 ` Reiner Steib
2003-09-11 18:01 ` Peter J. Acklam
2003-08-31 17:14 Dave Evans
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).