From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#10050: 24.0.90; image files display image data only after drag and drop Date: Wed, 22 Feb 2012 12:05:57 +0100 Message-ID: <5EA6F0D1-0425-44ED-9FE3-E7FB09F7BFA4@swipnet.se> References: <30613E33-2AD2-427C-915B-27453F70F20F@gmail.com> <6424E76B-907E-4C5D-B959-5BA0ECA4C64D@swipnet.se> <8yvcmzmgru.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329908815 8737 80.91.229.3 (22 Feb 2012 11:06:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 11:06:55 +0000 (UTC) Cc: "10050@debbugs.gnu.org" <10050@debbugs.gnu.org>, Adam Winiecki To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 12:06:54 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S0A29-0002fT-Pe for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 12:06:53 +0100 Original-Received: from localhost ([::1]:57663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0A25-0001zu-LQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 06:06:49 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:60793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0A22-0001tv-1b for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 06:06:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0A1w-00051r-8N for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 06:06:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0A1w-00051k-5M for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 06:06:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S0A4D-000859-Kp for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2012 06:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2012 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10050 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 10050-submit@debbugs.gnu.org id=B10050.132990891131026 (code B ref 10050); Wed, 22 Feb 2012 11:09:01 +0000 Original-Received: (at 10050) by debbugs.gnu.org; 22 Feb 2012 11:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:49995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0A3i-00084N-NQ for submit@debbugs.gnu.org; Wed, 22 Feb 2012 06:08:30 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:58216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0A3f-000849-Ou for 10050@debbugs.gnu.org; Wed, 22 Feb 2012 06:08:29 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 8D0B1C66B for <10050@debbugs.gnu.org>; Wed, 22 Feb 2012 12:06:00 +0100 (CET) Original-Received: (qmail 9126 invoked by uid 89); 22 Feb 2012 11:03:49 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 22 Feb 2012 11:03:49 -0000 Original-Received: from [172.20.199.248] (janiphone [172.20.199.248]) by coolsville.localdomain (Postfix) with ESMTPSA id 24B6D7FA06C; Wed, 22 Feb 2012 12:06:00 +0100 (CET) In-Reply-To: <8yvcmzmgru.fsf@fencepost.gnu.org> X-Mailer: iPhone Mail (9A405) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57094 Archived-At: Hello. 22 feb 2012 kl. 09:08 skrev Glenn Morris : > Jan Dj=C3=A4rv wrote: >=20 >> The big problem is that dragging a file to Emacs on NS inserts the >> contents of that file to the current buffer instead of opening it as >> people normally expect, and indeed is what all other Emacs versions >> does. It is like that in Emacs 23 also, so this is not a regression. >> But as we are in a feature freeze this will have to wait, even if the >> behaviour is stupid. If Emacs would open dragged files in a new >> buffer, images would be shown as images. >=20 > Is it just a question of doing what it says in the manual, or is more > needed? >=20 No, that and changing the manual.=20 The bindning to change is in ns-win.el > The default behavior when a user drags files from another application > into an Emacs frame is to insert the contents of all the dragged files > into the current buffer. To remap the `ns-drag-file' event to open the= > dragged files in the current frame use the following line: >=20 > (define-key global-map [ns-drag-file] 'ns-find-file) >=20 > Maybe that change is sensible and safe enough for 24.1. > (I can't even test it so I wouldn't know.) If you want I can do it. I have been running with that change in my local c= opy for about a year now. Jan D.=20=