When skipping a generic comment backwards `forward-comment' doesn't
update count1.  As a consequence (forward-comment -1) skips all generic
comments preceding point.  The trivial patch below should resolve this.

2006-04-29  Martin Rudalics  <[EMAIL PROTECTED]>

        * syntax.c (Fforward_comment): Count generic comments when
        moving backwards.

*** syntax.c    Sat Nov  5 19:46:40 2005
--- syntax.c    Sat Apr 29 23:15:24 2006
***************
*** 2140,2145 ****
--- 2140,2146 ----
                  from_byte = ini_byte;
                  goto leave;
                }
+             else break;
            }
          else if (code == Sendcomment)
            {


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to