From dann@ics.uci.edu Sun Sep 7 04:20:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Sep 2008 11:20:30 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m87BKQom030626 for ; Sun, 7 Sep 2008 04:20:28 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcIJe-00032Q-92 for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 07:20:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcIJd-000324-Le for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 07:20:25 -0400 Received: from [199.232.76.173] (port=47109 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcIJd-00031z-Bt for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 07:20:25 -0400 Received: from sallyv1.ics.uci.edu ([128.195.1.109]:54711) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KcIJc-0002cT-Tc for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 07:20:25 -0400 X-ICS-MailScanner-Watermark: 1221391170.70667@5qUgCQdEVTMxXyZA9jXMGQ Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m87BJSoB026156 for ; Sun, 7 Sep 2008 04:19:29 -0700 (PDT) Message-Id: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs Subject: not finding etc/charsets/ should give some error/warning Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Sep 2008 04:19:28 -0700 Sender: dann@ics.uci.edu X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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. From rgm@gnu.org Wed Sep 10 14:01:51 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909) by emacsbugs.donarmstrong.com; 10 Sep 2008 21:01:51 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8AL1lY8015026 for <909@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 14:01:48 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdWn9-0000Su-Dm; Wed, 10 Sep 2008 16:59:59 -0400 From: Glenn Morris To: Dan Nicolaescu Cc: 909@debbugs.gnu.org Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> X-Spook: Bruxelles industrial intelligence counter terrorism JUWTF X-Ran: SQ\YHcMkh:D_;`ywa`{IKWY?(O_VNQ*us*p6`60\.c;gR2dG_I&mL!XtiSsnV#*sz;|f.' X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 10 Sep 2008 16:59:59 -0400 In-Reply-To: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 07 Sep 2008 04:19:28 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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); } From dann@ics.uci.edu Wed Sep 10 23:40:10 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909) by emacsbugs.donarmstrong.com; 11 Sep 2008 06:40:10 +0000 Received: from sallyv1.ics.uci.edu (sallyv1.ics.uci.edu [128.195.1.109]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B6e7E8028422 for <909@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 23:40:08 -0700 X-ICS-MailScanner-Watermark: 1221719844.30919@+BXzcBSKDStj6cFRO/dDUA Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m8B6bNm1023329; Wed, 10 Sep 2008 23:37:23 -0700 (PDT) Message-Id: <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> From: Dan Nicolaescu To: Glenn Morris Cc: 909@debbugs.gnu.org Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> In-Reply-To: (Glenn Morris's message of "Wed, 10 Sep 2008 16:59:59 -0400") Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Sep 2008 23:37:23 -0700 Sender: dann@ics.uci.edu X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Glenn Morris 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? From rgm@gnu.org Thu Sep 11 00:13:33 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909) by emacsbugs.donarmstrong.com; 11 Sep 2008 07:13:33 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B7DUuw008481 for <909@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 00:13:31 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdgL7-0005P6-8F; Thu, 11 Sep 2008 03:11:41 -0400 From: Glenn Morris To: Dan Nicolaescu Cc: 909@debbugs.gnu.org Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> X-Spook: Mafia Marxist ASO credit card Nazi SWAT Arnett Echelon X-Ran: =?us-ascii?Q?2nL^1=28VYO=3C=5BX$=283$C*F6as=5CD9IL=3BsX=3BKNM=3DL!6?= =?us-ascii?Q?lh=3Cz59X0NR=2FqbI^A=3BS=3D=3Fd=5BJ1Ftb!'=29*3?= X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 11 Sep 2008 03:11:41 -0400 In-Reply-To: <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 10 Sep 2008 23:37:23 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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? From schwab@suse.de Thu Sep 11 01:37:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_HI autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909) by emacsbugs.donarmstrong.com; 11 Sep 2008 08:37:12 +0000 Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B8b7Z8006579 for <909@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 01:37:09 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A704C416E7; Thu, 11 Sep 2008 10:37:06 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Cc: 909@debbugs.gnu.org, Dan Nicolaescu Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> X-Yow: TONY RANDALL! Is YOUR life a PATIO of FUN?? Date: Thu, 11 Sep 2008 10:37:05 +0200 In-Reply-To: (Glenn Morris's message of "Thu, 11 Sep 2008 03:11:41 -0400") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Glenn Morris 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@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." From rgm@gnu.org Thu Sep 11 09:11:40 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,UNRESOLVED_TEMPLATE,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909) by emacsbugs.donarmstrong.com; 11 Sep 2008 16:11:40 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8BGBYtI010515 for <909@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 09:11:35 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kdojo-0001wL-RF; Thu, 11 Sep 2008 12:09:44 -0400 From: Glenn Morris To: Andreas Schwab Cc: 909@debbugs.gnu.org, Dan Nicolaescu Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> X-Spook: Geraldton War on Terrorism Elvis threat Venezuela X-Ran: q`u#'Z!Q" (Andreas Schwab's message of "Thu, 11 Sep 2008 10:37:05 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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? From rgm@gnu.org Thu Sep 11 20:12:52 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 909-done) by emacsbugs.donarmstrong.com; 12 Sep 2008 03:12:52 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C3Cn48016855 for <909-done@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 20:12:50 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kdz3j-0003VI-CI; Thu, 11 Sep 2008 23:10:59 -0400 From: Glenn Morris To: 909-done@debbugs.gnu.org Cc: Andreas Schwab , Dan Nicolaescu Subject: Re: bug#909: not finding etc/charsets/ should give some error/warning References: <200809071119.m87BJSoB026156@sallyv1.ics.uci.edu> <200809110637.m8B6bNm1023329@sallyv1.ics.uci.edu> X-Spook: SRI wire transfer Mole terrorist Forte Khaddafi bullion X-Ran: +kGU(?U+{4}JX:rY3}"od=lRR3$3L!Q>}?p)>nmt)rehRRCh-A7Rp`c!^xxWKQ{0B'{/zL X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 11 Sep 2008 23:10:59 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 11 Sep 2008 12:09:44 -0400") Message-ID: <34iqt2jby4.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've installed a (louder) warning. Someone can make it exit if they wish. From unknown Mon Jun 16 23:57:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Oct 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator