GNU bug report logs - #35536
27.0.50; Expose buffer's marker list to Elisp

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Thu, 2 May 2019 15:46:01 UTC

Severity: wishlist

Tags: patch, wontfix

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 35536 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz <at> gnu.org>, maurooaranda <at> gmail.com
Subject: RE: bug#35536: 27.0.50; Expose buffer's marker list to Elisp
Date: Fri, 3 May 2019 13:05:01 -0700 (PDT)
> > Whether or not one should be able to depend on such
> > an order is a separate question.
> 
> I'm fine with a `markers-in` which returns markers in the order found in
> the C code.  But the docstring should state clearly that you can't rely
> on this ordering.
> 
> I expect many uses won't care about the ordering anyway, so we don't
> need to bother `sort`ing, although the performance cost of `sort`ing will
> likely always be negligible.

Agreed on both counts.




This bug report was last modified 5 years and 253 days ago.

Previous Next


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