unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 7834@debbugs.gnu.org
Subject: bug#7834: 24.0.50; doc of `put-image'
Date: Thu, 14 Jul 2011 19:21:52 +0200	[thread overview]
Message-ID: <m3oc0wu6a7.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <2A56F0D4658C4952B1A8CA2ED7F902C2@us.oracle.com> (Drew Adams's message of "Wed, 12 Jan 2011 14:43:45 -0800")

"Drew Adams" <drew.adams@oracle.com> writes:

> 1. The doc should mention the `put-image' property, which is the only
> way for you to recognize such an overlay AFAICT.

I've now done this.

> 2. Why not have `put-image' return the overlay itself?  That would
> simplify code such as that of `image-dired-dired-toggle-marked-thumbs',
> which, just after calling `put-image', tries to examine all overlays at
> point just to find the right one - the one with a `put-image' property.

That's a good idea.  Stefan, however, is really against primarily
side-effect-ey functions returning usable values, so we should check
with him first.

Stefan?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-07-14 17:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 22:43 bug#7834: 24.0.50; doc of `put-image' Drew Adams
2011-07-14 17:21 ` Lars Magne Ingebrigtsen [this message]
2011-07-15 14:42   ` Stefan Monnier
2011-07-15 14:51     ` Lars Magne Ingebrigtsen
2011-07-15 21:01       ` Stefan Monnier
2011-07-17 17:49         ` Lars Magne Ingebrigtsen
2012-04-10  2:35     ` Lars Magne Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oc0wu6a7.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=7834@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).