Subject: bug#12343: align.el: Lisp error: (error "Marker does not point anywhere")

From: Dan Nicolaescu <[email-masked]>
Date: Mon, 03 Sep 2012 17:29:49 -0400

With the current trunk.

$ cat test.pl
$aaa_aa_aaa11          = "aa_aaa11";
$aaa_aa_a1_11          = "aa_a1_11";
$aaa_aa_a11_11         = "aa_a11_11";
$aaa_aa_a11            = "aa_a11";
$aaa_aa_aa1_11         = "aa_aa1_11";
$aaa_aa_aa11_11        = "aa_aa11_11";
$aaa_aa_aaaAa11        = "aa_aaaAa11";
$aaa_aa_aaaAaa1_11     = "aa_aaaAaa1_11";
$aaa_aa_aaaAaa11_11    = "aa_aaaAaa11_11";
$aaa_aa_aaaA_1aa11     = "aa_aaaA_1aa11";
$aaa_aa_aaaA_1aaa1_11  = "aa_aaaA_1aaa1_11";
$aaa_aa_aaaA_1aaa11_11 = "aa_aaaA_1aaa11_11";
$aaa_aa_aaaAaa11       = "aa_aaaAaa11";
$aaa_aa_aaaAaaa1_11    = "aa_aaaAaaa1_11";
$aaa_aa_aaaAaaa11_11   = "aa_aaaAaaa11_11";

$ emacs -Q test.pl
C-x h
C-u M-x align RET

signals an error:

Lisp error: (error "Marker does not point anywhere")

This works fine with emacs-24.1

It looks like the problem was introduced by this change:

------------------------------------------------------------
revno: 109529
fixes bug: http://debbugs.gnu.org/10047
committer: Chong Yidong <[email-masked]>
branch nick: trunk
timestamp: Thu 2012-08-09 15:34:53 +0800
message:
  * align.el (align-region): Delete temporary markers.
  Plus some code cleanups.

Loading the previous version of align.el from revno: 106891 make the test work just fine.