Subject: bug#24368: 25.1; Assertion failure in attach_marker

From: Eli Zaretskii <[email-masked]>
Date: Tue, 06 Sep 2016 18:52:29 +0300

> From: Noam Postavsky <[email-masked]>
> Date: Tue, 6 Sep 2016 10:50:49 -0400
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> > IMHO
> > ‘goto-char’ should not signal an error in that case - it's perfectly
> > legitimate to use the position from another buffer's marker as value.
> 
> If you want to ignore the marker's buffer you can do (goto-char
> (marker-position marker)); if you pass the whole marker object, it
> makes sense that the buffer is checked.

The error doesn't come from got-char, it comes from a utility function
it calls.  So this isn't an application-level issue, and cannot be
solved by a specially-formatted call to got-char.