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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 909 in the body.
You can then email your comments to 909 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Currently if etc/charsets/ is not found at runtime no warning/error
is shown. Not having that directory results in strange behavior, and we
have had a few instances of such problems reported to the list.
It would be great if some warning/error would be shown if etc/charsets/*
is not found.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Message #8 received at 909 <at> emacsbugs.donarmstrong.com (full text, mbox):
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);
}
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #13 received at 909 <at> emacsbugs.donarmstrong.com (full text, mbox):
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?
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Message #16 received at 909 <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu wrote:
> 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?
Should it cause an abort?
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Andreas Schwab <schwab <at> suse.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #21 received at 909 <at> emacsbugs.donarmstrong.com (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Dan Nicolaescu wrote:
>
>> 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?
>
> Should it cause an abort?
It's an external condition that Emacs has no control over (it could be a
temporary NFS problem, for example). Just aborting does not give any
clue what is wrong.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab <at> suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#909
; Package
emacs
.
Full text and
rfc822 format available.
Message #24 received at 909 <at> emacsbugs.donarmstrong.com (full text, mbox):
Andreas Schwab wrote:
> It's an external condition that Emacs has no control over (it could be a
> temporary NFS problem, for example). Just aborting does not give any
> clue what is wrong.
I meant: after a helpful, descriptive error message is printed, should
Emacs continue to run, or is this problem so severe that it should
refuse to start?
Reply sent to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #29 received at 909-done <at> emacsbugs.donarmstrong.com (full text, mbox):
I've installed a (louder) warning. Someone can make it exit if they wish.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 10 Oct 2008 14:24:03 GMT)
Full text and
rfc822 format available.
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.