GNU bug report logs -
#909
not finding etc/charsets/ should give some error/warning
Previous Next
Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>
Date: Sun, 7 Sep 2008 11:30:03 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris <rgm <at> gnu.org> writes:
> Dan Nicolaescu wrote:
>
> > It would be great if some warning/error would be shown if
> > etc/charsets/* is not found.
>
> *** charset.c 3 Jun 2008 04:22:55 -0000 1.163
> --- charset.c 10 Sep 2008 21:00:06 -0000
> ***************
> *** 2044,2052 ****
> void
> init_charset ()
> {
> ! Vcharset_map_path
> ! = Fcons (Fexpand_file_name (build_string ("charsets"), Vdata_directory),
> ! Qnil);
> }
>
>
> --- 2044,2055 ----
> void
> init_charset ()
> {
> ! Lisp_Object tempdir;
> ! tempdir = Fexpand_file_name (build_string ("charsets"), Vdata_directory);
> ! if (access (SDATA (tempdir), 0) < 0)
> ! dir_warning ("Warning: charsets directory (%s) does not exist.\n",
> ! tempdir);
Thanks.
How about saying something like "Emacs will not function correctly in
this condition", or something of the sort, to emphasize that the
situation is quite bad?
This bug report was last modified 16 years and 253 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.