From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#7834: 24.0.50; doc of `put-image' Date: Thu, 14 Jul 2011 19:21:52 +0200 Message-ID: References: <2A56F0D4658C4952B1A8CA2ED7F902C2@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310665856 27692 80.91.229.12 (14 Jul 2011 17:50:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 17:50:56 +0000 (UTC) Cc: 7834@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 19:50:52 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhQ3m-00014P-Q6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 19:50:50 +0200 Original-Received: from localhost ([::1]:48159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhQ3l-0003uU-Bt for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 13:50:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhPyM-0002a6-Lm for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 13:45:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhPyE-0006l3-Vo for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 13:45:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhPyE-0006kl-UL for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 13:45:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhPyE-0007nQ-9n; Thu, 14 Jul 2011 13:45:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 17:45:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7834 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7834-submit@debbugs.gnu.org id=B7834.131066550329929 (code B ref 7834); Thu, 14 Jul 2011 17:45:06 +0000 Original-Received: (at 7834) by debbugs.gnu.org; 14 Jul 2011 17:45:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhPy7-0007m5-0Q for submit@debbugs.gnu.org; Thu, 14 Jul 2011 13:45:02 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhPxg-0007kJ-Na for 7834@debbugs.gnu.org; Thu, 14 Jul 2011 13:44:39 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhPxS-0005h3-QL; Thu, 14 Jul 2011 19:44:18 +0200 In-Reply-To: <2A56F0D4658C4952B1A8CA2ED7F902C2@us.oracle.com> (Drew Adams's message of "Wed, 12 Jan 2011 14:43:45 -0800") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Court and Spark_: "Trouble Child" X-Hashcash: 1:23:110714:7834@debbugs.gnu.org::7zXEL99NYm3tLamh:00000000000000000000000000000000000000000GJDg X-Hashcash: 1:23:110714:drew.adams@oracle.com::ui2gdfjngO0q/NRC:0000000000000000000000000000000000000000gupS X-MailScanner-ID: 1QhPxS-0005h3-QL MailScanner-NULL-Check: 1311270259.29167@pJW4kzKZ4Af4oMQ0WK5jlg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 13:45:06 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49048 Archived-At: "Drew Adams" 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/