Subject: bug#5604: 23.1; Two problems in emacs23

From: Glenn Morris <[email-masked]>
Date: Sat, 20 Feb 2010 13:59:09 -0500

[email-masked] wrote:

> Hello. I encountered two problems when moving from emacs22 to emacs23.

OK, but in future please make a separate report for each issue when
you have more than one.

> 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"\
> )

This is already fixed. Try the trunk from

http://savannah.gnu.org/projects/emacs/

or the 23.2 pretest from

http://alpha.gnu.org/gnu/emacs/pretest/emacs-23.1.92.tar.gz

> 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

Details are lacking, but this appears to be a problem with "highlight
completion" from http://www.math.washington.edu/~palmieri/Emacs/hlc.html.
Since this isn't part of Emacs, please explain exactly how to
reproduce the error, starting from `emacs -Q'.