From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14548: 24.3.1; [PATCH] image-dired-dired-toggle-marked-thumbs conflicts with other modes using overlays Date: Thu, 13 Jun 2013 10:18:12 -0400 Message-ID: References: <1qr4g8lb29.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1371133152 30439 80.91.229.3 (13 Jun 2013 14:19:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 14:19:12 +0000 (UTC) Cc: esabof@gmail.com To: 14548@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 16:19:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Un8Mo-00019J-F5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 16:19:10 +0200 Original-Received: from localhost ([::1]:52815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8Mo-0003V1-0z for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 10:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8Mh-0003Ur-4F for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un8Mg-0005ax-2l for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:19:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8Mg-0005at-0e for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Un8Mf-00076U-LW for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jun 2013 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14548 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14548-submit@debbugs.gnu.org id=B14548.137113309627211 (code B ref 14548); Thu, 13 Jun 2013 14:19:01 +0000 Original-Received: (at 14548) by debbugs.gnu.org; 13 Jun 2013 14:18:16 +0000 Original-Received: from localhost ([127.0.0.1]:41467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Un8Lv-00074l-CG for submit@debbugs.gnu.org; Thu, 13 Jun 2013 10:18:15 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:62277) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Un8Lt-00074d-Gf for 14548@debbugs.gnu.org; Thu, 13 Jun 2013 10:18:13 -0400 Original-Received: from ceviche.home ([24.201.64.104]) by VL-VM-MR001.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MOC00FR352C9N10@VL-VM-MR001.ip.videotron.ca> for 14548@debbugs.gnu.org; Thu, 13 Jun 2013 10:18:13 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 2F89E6610B; Thu, 13 Jun 2013 10:18:12 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:75047 Archived-At: >> ! (let* ((cur-ovs (overlays-in (point) (1+ (point)))) >> ! (thumb-ov (car (cl-remove-if-not >> ! (lambda (ov) (overlay-get ov 'thumb-file)) >> ! cur-ovs)))) >> ! (if thumb-ov >> ! (delete-overlay thumb-ov) BTW, now that I actually look at the code, I twonder why it doesn't use remove-overlays. Stefan