From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Listing markers in buffer
Date: Fri, 29 Apr 2016 19:13:23 +0200 [thread overview]
Message-ID: <871t5o1gp8.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 39ea9931-1237-48e2-ae24-a14e465a56d6@googlegroups.com
"ian.tegebo" <ian.tegebo@gmail.com> writes:
> I see that `buffer-has-markers-at` will at least tell if there are
> markers pointing to a position, but not only has it been marked
> obsolete since 24.3, it doesn't provide one a means to actually get a
> marker object.
>
> Looking at the C source, I can see that buffer to buffer_text structs
> point to a singly linked list of Lisp_marker structs, but I can't find
> any Elisp functions to access them. Also, there's a related thread
> from 1999:
>
> https://groups.google.com/forum/#!topic/gnu.emacs.help/vNG9y5qCaxc/discussion
Markers belong to their owners, and it would be very dangerous if you
could get them and set or reset them behind the back of their owners.
That said, you can always patch GNU emacs C sources to provide a lisp
access to them.
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
next prev parent reply other threads:[~2016-04-29 17:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 23:18 Listing markers in buffer ian.tegebo
2016-04-29 17:13 ` Pascal J. Bourguignon [this message]
2016-04-29 21:14 ` ian.tegebo
2016-04-30 9:16 ` Pascal J. Bourguignon
2016-04-30 18:36 ` ian.tegebo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t5o1gp8.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.