From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anakreon@csd.auth.gr Newsgroups: gmane.emacs.bugs Subject: bug#5604: 23.1; Two problems in emacs23 Date: Fri, 19 Feb 2010 18:57:46 +0200 Message-ID: <87k4u9yxh1.fsf@mathind.csd.auth.gr> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1266641172 6339 80.91.229.12 (20 Feb 2010 04:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2010 04:46:12 +0000 (UTC) To: 5604@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 20 05:46:10 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NihEH-0003Uf-9w for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2010 05:46:09 +0100 Original-Received: from localhost ([127.0.0.1]:38434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NihEG-0001MC-PL for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 23:46:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiWZe-0005pG-TP for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 12:23:30 -0500 Original-Received: from [140.186.70.92] (port=50955 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiWZY-0005om-VE for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 12:23:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiWZV-0005O3-Vd for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 12:23:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33257) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiWZV-0005Nx-TW for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 12:23:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NiWMd-0004mJ-4r; Fri, 19 Feb 2010 12:10:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: anakreon@csd.auth.gr Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2010 17:10:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5604 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126659939118352 (code B ref -1); Fri, 19 Feb 2010 17:10:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2010 17:09:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiWMD-0004lo-45 for submit@debbugs.gnu.org; Fri, 19 Feb 2010 12:09:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiW6w-0004ZW-Ae for submit@debbugs.gnu.org; Fri, 19 Feb 2010 11:53:51 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:44251) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiW6r-00072X-QZ for submit@debbugs.gnu.org; Fri, 19 Feb 2010 11:53:45 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NiW6o-00079u-9R for submit@debbugs.gnu.org; Fri, 19 Feb 2010 11:53:43 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:58812) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NiW6o-00079o-4A for submit@debbugs.gnu.org; Fri, 19 Feb 2010 11:53:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiW6n-0002PM-SS for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 11:53:41 -0500 Original-Received: from [140.186.70.92] (port=36713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiW6m-0002PC-Su for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 11:53:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiW6j-00005g-Vz for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 11:53:40 -0500 Original-Received: from hermes3.ccf.auth.gr ([155.207.1.69]:49872) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiW6j-0008Vi-JE for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 11:53:37 -0500 Original-Received: from mathind.csd.auth.gr (mathind.csd.auth.gr [155.207.128.16]) by hermes3.ccf.auth.gr (8.14.3/8.14.3) with ESMTP id o1JGrMe6030081 for ; Fri, 19 Feb 2010 18:53:22 +0200 X-Virus-Scanned: clamav-milter 0.95.3 at hermes1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 19 Feb 2010 12:09:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Feb 2010 12:10:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 19 Feb 2010 23:46:05 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35209 Archived-At: Hello. I encountered two problems when moving from emacs22 to emacs23. The first one concernes the js2 javascript mode distributed from: http://code.google.com/p/js2-mode If the mode is enabled, the following is printed from the debuger: Debugger entered--Lisp error: (error "`c-lang-defconst' must be used in a file"\ ) signal(error ("`c-lang-defconst' must be used in a file")) error("`c-lang-defconst' must be used in a file") c-define-lang-constant(c-mode-menu ((t cons ["Comment Out Region" comment-reg\ ion ...]4(cons ["Uncomment Region" ... ...] ...)))) =c7=c6!\204 require(cc-langs) byte-code("=c2=c3!\210=c2=c4!\210=c2=c5 Perhaps the problem is in js2 and not in emacs. Note however that the mode was functioning fine for emacs22. The second problem is caused from option: (highlight-completion-mode t nil (highlight-completion)) C-x C-f failes with message hc-expand-file-name: Wrong type argument: stringp, nil I rather liked this feature. I hope the problem is resolved. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2009-11-02 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10704000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: show-paren-mode: t iswitchb-mode: t global-hl-line-mode: t desktop-save-mode: t delete-selection-mode: t auto-insert-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x k Recent messages: WARNING from msf-abbrev.el: no abbrev table shell-mode-abbrev-table and no hook shell-mode-hook, abbrevs for mode shell-mode will not be loaded Loading autoinsert...done Loading delsel...done Loading desktop...done Loading hl-line...done Loading iswitchb...done Loading paren...done Wrote /home/anakreon/.emacs.desktop.lock Desktop: 2 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a.