bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24368: 25.1; Assertion failure in attach_marker


From: martin rudalics
Subject: bug#24368: 25.1; Assertion failure in attach_marker
Date: Mon, 05 Sep 2016 17:04:08 +0200

> The ensuing assertion failure should not happen though - somehow we
> don't recognize that we set a marker in the wrong buffer.

FWIW, in attach_marker if m->buffer != b the check

  if (BUF_Z (b) == BUF_Z_BYTE (b))
    eassert (charpos == bytepos);
  else
    eassert (charpos <= bytepos);

will fail when b has the same char and byte sizes but charpos and
bytepos differ in m->buffer (like *Help* with its various quotes).  A
thinko.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]