GNU bug report logs - #909
not finding etc/charsets/ should give some error/warning

Previous Next

Package: emacs;

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

From: Glenn Morris <rgm <at> gnu.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 909 <at> debbugs.gnu.org
Subject: bug#909: not finding etc/charsets/ should give some error/warning
Date: Wed, 10 Sep 2008 16:59:59 -0400
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);
! 
!   Vcharset_map_path = Fcons (tempdir, Qnil);
  }
  




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.