GNU bug report logs - #24368
25.1; Assertion failure in attach_marker

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Mon, 5 Sep 2016 07:26:02 UTC

Severity: normal

Found in version 25.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 24368 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 24368 <at> debbugs.gnu.org
Subject: Re: bug#24368: 25.1; Assertion failure in attach_marker
Date: Tue, 6 Sep 2016 10:50:49 -0400
On Tue, Sep 6, 2016 at 2:44 AM, martin rudalics <rudalics <at> gmx.at> wrote:
> We can either make these fail as in the ‘goto-char’ case or handle them
> as with attach_marker.
>
> The former is simpler but would have to be motivated somehow.  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.




This bug report was last modified 8 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.