Bug#744905: js2-mode: Error on starting, “Symbol's function definition is void: prog-mode”

2014-04-15 Thread Vincent Bernat
 ❦ 16 avril 2014 06:01 CEST, Ben Finney  :

> When I attempt to manually invoke ‘js2-mode’ in Emacs, I get the error:
>
> Symbol's function definition is void: prog-mode
>
> When I open a “*.js” file, I get the error:
>
> File mode specification error: (void-function prog-mode)
>
> In both cases, the mode is not active and the buffer mode is unchanged
> (e.g. a “*.js” file remains in Fundamental mode).
>
> The version of ‘js2-mode’ in Debian should work correctly with the
> default Emacs in Debian.

Hi Ben!

I will fix that by depending on emacs24 and installing the startup
snippet for Emacs 24 only. I don't have time to pacth js2-mode for Emacs
23 compatibility.
-- 
panic("esp_handle: current_SC == penguin within interrupt!");
2.2.16 /usr/src/linux/drivers/scsi/esp.c


signature.asc
Description: PGP signature


Bug#744905: js2-mode: Error on starting, “Symbol's function definition is void: prog-mode”

2014-04-15 Thread Ben Finney
Package: js2-mode
Version: 0~20120726-4
Severity: normal
Control: forwarded -1 http://code.google.com/p/js2-mode/issues/detail?id=128

Dear Maintainer,

When I attempt to manually invoke ‘js2-mode’ in Emacs, I get the error:

Symbol's function definition is void: prog-mode

When I open a “*.js” file, I get the error:

File mode specification error: (void-function prog-mode)

In both cases, the mode is not active and the buffer mode is unchanged
(e.g. a “*.js” file remains in Fundamental mode).

The version of ‘js2-mode’ in Debian should work correctly with the
default Emacs in Debian.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages js2-mode depends on:
ii  emacs23 [emacsen]  23.4+1-4.1+b1
ii  emacsen-common 2.0.7

js2-mode recommends no packages.

js2-mode suggests no packages.

-- no debconf information

-- 
 \   “If [a technology company] has confidence in their future |
  `\  ability to innovate, the importance they place on protecting |
_o__) their past innovations really should decline.” —Gary Barnett |
Ben Finney 


signature.asc
Description: Digital signature