[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35536: 27.0.50; Expose buffer's marker list to Elisp
From: |
Drew Adams |
Subject: |
bug#35536: 27.0.50; Expose buffer's marker list to Elisp |
Date: |
Fri, 3 May 2019 09:38:02 -0700 (PDT) |
> When asked for a list of markers between BEG and END, it makes sense to
> me to return a list which ascends from BEG to END.
^^^^^^^^^^^^^^^^^^^^^^^
IOW, in buffer-position order.
> If it really matters, we could either return the
> order of BUF_MARKERS unchanged,
Unchanged from what?
> or accept an additional argument which tells the
> function how to sort.
Have not really been following this thread, and
not weighing in on whether such a function is
needed or whether users need access to markers
created by C.
But as for the order of such a list: It's trivial
for users (any Lisp code) to sort by buffer position
or anything else, so why would the default order
be by buffer position?
What's _not_ available to users or Lisp code, I
think, is the order of marker creation or even the
order of last setting. I'd think that
marker-creation order (either direction) would be
a better default sort order for this, no?
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Basil L. Contovounesios, 2019/05/02
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Eli Zaretskii, 2019/05/02
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Basil L. Contovounesios, 2019/05/02
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Eli Zaretskii, 2019/05/02
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Basil L. Contovounesios, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp,
Drew Adams <=
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Basil L. Contovounesios, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Drew Adams, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Stefan Monnier, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Drew Adams, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Stefan Monnier, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Drew Adams, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Richard Stallman, 2019/05/04
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Mauro Aranda, 2019/05/03
- bug#35536: 27.0.50; Expose buffer's marker list to Elisp, martin rudalics, 2019/05/04
bug#35536: 27.0.50; Expose buffer's marker list to Elisp, Stefan Monnier, 2019/05/02