Parenthesis matching corrupts text files when running emacs22-nox in java-mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs22 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs22
The parenthesis matching functionality in emacs is broken when running emacs22-nox (or with the -nw input arg) in java-mode. When emacs is indicating a match, the cursor jumps a few positions before the opening parenthesis. The text behind the cursor get corrupted and I cannot correct the text without restarting emacs.
I can only recreate the problem in java-mode. When switching to c++-mode the problem disappears. And I haven't been able to recreate it in a file with a single line, but it appears in rather small source files with many parenthesises.
I'm running emacs-nox in a gnome-terminal on a Desktop Ubuntu. I've tried both emacs22-nox and emacs23-nox.
The GUI versions (emacs22-x and emacs22-gtk) are working fine, but I really prefer the nox version as I'm using an IDE for more complex tasks.
Summary
========
Error: Parenthesis matching corrupts text files when running emacs22-nox in java-mode.
Ubuntu: 10.04 Desktop
apt-get: emacs22-nox, emacs23-nox
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: emacs22-nox 22.2-0ubuntu9
ProcVersionSign
Uname: Linux 2.6.32-23-generic i686
NonfreeKernelMo
Architecture: i386
Date: Sat Jul 17 23:37:47 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: emacs22