GNU bug report logs - #18632
24.3.94; image-dired fail when `image-dired-dir' doesn't exist

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Thierry Volpiatto <thierry.volpiatto@HIDDEN>; Keywords: confirmed; dated Sun, 5 Oct 2014 13:33:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 26 Sep 2019 16:37:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 12:37:52 2019
Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iDWm8-0006Kg-Lt
	for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 12:37:52 -0400
Received: from quimby.gnus.org ([80.91.231.51]:35812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iDWm6-0006KU-3S
 for 18632 <at> debbugs.gnu.org; Thu, 26 Sep 2019 12:37:51 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iDWm1-0005D9-9G; Thu, 26 Sep 2019 18:37:47 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#18632: 24.3.94; image-dired fail when `image-dired-dir'
 doesn't exist
References: <871tqmskw1.fsf@HIDDEN>
 <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
 <83sgpj9nbn.fsf@HIDDEN>
 <CADwFkmn1b2JExuw6eT+q-b4KEJ0Z=bxSY9H+E-tM1qbrQhKT3w@HIDDEN>
Date: Thu, 26 Sep 2019 18:37:45 +0200
In-Reply-To: <CADwFkmn1b2JExuw6eT+q-b4KEJ0Z=bxSY9H+E-tM1qbrQhKT3w@HIDDEN>
 (Stefan Kangas's message of "Fri, 30 Aug 2019 12:41:51 +0200")
Message-ID: <871rw3ovxi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Stefan Kangas <stefan@HIDDEN> writes: > Eli Zaretskii
 <eliz@HIDDEN> writes: > >> How about recreating the missing directory in
 this case, after asking >> for user's permission? > > Yes, that would be a
 good solution. I actually had somet [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 18632
Cc: Eli Zaretskii <eliz@HIDDEN>,
 Thierry Volpiatto <thierry.volpiatto@HIDDEN>, 18632 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefan@HIDDEN> writes:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> How about recreating the missing directory in this case, after asking
>> for user's permission?
>
> Yes, that would be a good solution.  I actually had something like
> that in mind when I wrote my original message, but I see now that I
> never spelled it out.  Thanks for pointing it out.

I'm not familiar with image-dired at all, but the original patch did
create the missing directory.  But what it didn't do was recreating the
thumbnails -- but can that be done in a sensible fashion?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 30 Aug 2019 10:42:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 06:42:10 2019
Received: from localhost ([127.0.0.1]:53359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3eM5-0004MG-QE
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2019 06:42:10 -0400
Received: from mail-pl1-f178.google.com ([209.85.214.178]:33081)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1i3eM4-0004M4-GN
 for 18632 <at> debbugs.gnu.org; Fri, 30 Aug 2019 06:42:08 -0400
Received: by mail-pl1-f178.google.com with SMTP id go14so3196503plb.0
 for <18632 <at> debbugs.gnu.org>; Fri, 30 Aug 2019 03:42:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=r3yTqoFnSDK3uscFoUth6n1cA//asR4ZSHAAuAj30Dc=;
 b=jAzS4ZzyXxmaRfWX7iAQs7NJCWqmlQ321wrq/1G825kVUTIJN5eyhW5FOBKRjz3csv
 JxR7Vt9rAhYJPAxHDQ+MzIDzXTkCZWgso4MUUKSwMWAWjWtp4lZipDynjqkzcSnp+ssN
 zzWMRw4KAuWlm86g6NFw1wIxDmTcbE1AEa6vVIzWfQpeGWNnp/bSVC/dno/ph5F6+2hU
 dosbh42Kzp/7Znxc3d8pagTIw7LuL8w2Rx8hOOYgBID9RubQ8UekF8tvt7H9MMDqeb/n
 t2AUVo+fGsj9m2+d//nZNlgYonlirIwUJlDRtfwmfegNqcPnOFjgyg8mTXUSv/3og4ov
 mW5w==
X-Gm-Message-State: APjAAAVw5vCCKWdmImXRUg+z8ASYR3GOHqThRQ6dE4jTj+lCbdM04lQD
 WJnmurVSBVXH5YcbJXsbggUPuU1TCIf1AlGk2Gw=
X-Google-Smtp-Source: APXvYqxp9eID6G2V9F8GRqyBPKwWB1JS/lnFIqrAbpNcIUeV+lY1qXNeSqWTYEV/N7AvDbRtRleFm4DHxR0UTaXeX2o=
X-Received: by 2002:a17:902:8b8c:: with SMTP id
 ay12mr14228604plb.251.1567161722713; 
 Fri, 30 Aug 2019 03:42:02 -0700 (PDT)
MIME-Version: 1.0
References: <871tqmskw1.fsf@HIDDEN>
 <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
 <83sgpj9nbn.fsf@HIDDEN>
In-Reply-To: <83sgpj9nbn.fsf@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Fri, 30 Aug 2019 12:41:51 +0200
Message-ID: <CADwFkmn1b2JExuw6eT+q-b4KEJ0Z=bxSY9H+E-tM1qbrQhKT3w@HIDDEN>
Subject: Re: bug#18632: 24.3.94; image-dired fail when `image-dired-dir'
 doesn't exist
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 18632
Cc: 18632 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

> How about recreating the missing directory in this case, after asking
> for user's permission?

Yes, that would be a good solution.  I actually had something like
that in mind when I wrote my original message, but I see now that I
never spelled it out.  Thanks for pointing it out.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 30 Aug 2019 10:39:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 06:39:59 2019
Received: from localhost ([127.0.0.1]:53355 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3eJz-0004Ic-Dd
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2019 06:39:59 -0400
Received: from mail-pg1-f177.google.com ([209.85.215.177]:34341)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1i3eJx-0004IO-0F
 for 18632 <at> debbugs.gnu.org; Fri, 30 Aug 2019 06:39:57 -0400
Received: by mail-pg1-f177.google.com with SMTP id n9so3370591pgc.1
 for <18632 <at> debbugs.gnu.org>; Fri, 30 Aug 2019 03:39:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=R/ZjFX5e5CFbRhndQrHfL0CMGEEDv7S8amn7jPhfezk=;
 b=j7YyGMNIARnwppRkPoXdggWDkg5dbYdJkUx8Yl1RLcaWZWK75RK7VXMJhlUwstTW/x
 Pn+w67ZFNCW7jiiE75cVGaqF5k5a9K/qtcAN1Tzfba3jWimW0AbeidvQ3336Owvppfc0
 J0KBQuB6snu4qhrobXDCTBDtFYqJcYFwArQj+GhvmrZ6R7xUv2XrvMwrxxl7xCZo+cW3
 UgKfDdwVqSBNRi8aw7Mv2DEJWYePJaPJU1doOcJONCjE1RG2Pn/E+zvVmD4rd3ktRqiI
 T0T6EZ1nV54Eo3DX9gq9D7WAvg4vyBq83mAGibQ9NwxhH4wsxg5gawzRyWulJ0c66boQ
 CQeQ==
X-Gm-Message-State: APjAAAW94YJI8cSXMZZ6deY+KkiANEk8x+zW810vpV3PTOisaIiy1XGI
 OJAYgUywFG3HoCGXBqqZtTYZBMZA2qECY/F0Bts=
X-Google-Smtp-Source: APXvYqyqq+ha6Eihq6puZEvvfSs+9207axtpdtHXtVAxx6IDo1Z4fshC6AJMUywPUqj0K6xhYxtDup0v9OnRnlOOo50=
X-Received: by 2002:aa7:8b46:: with SMTP id i6mr16897870pfd.190.1567161590195; 
 Fri, 30 Aug 2019 03:39:50 -0700 (PDT)
MIME-Version: 1.0
References: <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
 <87mufr2p44.fsf@HIDDEN>
In-Reply-To: <87mufr2p44.fsf@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Fri, 30 Aug 2019 12:39:39 +0200
Message-ID: <CADwFkmkrDc1oQcQjAZBBPjwTafXTWDkW=d4kWwQ0tZfXkF21cg@HIDDEN>
Subject: Re: bug#18632: 24.3.94; image-dired fail when `image-dired-dir'
 doesn't exist
To: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 18632
Cc: 18632 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Thierry Volpiatto <thierry.volpiatto@HIDDEN> writes:

> Stefan Kangas <stefan@HIDDEN> writes:
>
> > However, I think the above patch is only part of the solution.  After
> > applying it, I can indeed open an image successfully.  But I'm now
> > seeing a different problem: After opening an image (step 3 above), all
> > the thumbnails are suddenly missing from the *image-dired* buffer.
>
> Of course you removed the image-dired directory that was containing the
> thumbnails, now you have to create again all your thumbnails.

Yes, I agree with that, but I'm saying that it would be best if that
was done automatically.

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 30 Aug 2019 06:31:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 02:31:12 2019
Received: from localhost ([127.0.0.1]:53194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3aRE-0004Ol-Fy
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2019 02:31:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1i3aRC-0004OV-EY
 for 18632 <at> debbugs.gnu.org; Fri, 30 Aug 2019 02:31:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52383)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1i3aR1-0006VF-Br; Fri, 30 Aug 2019 02:31:01 -0400
Received: from [176.228.60.248] (port=3059 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1i3aR0-0003Me-Ms; Fri, 30 Aug 2019 02:30:59 -0400
Date: Fri, 30 Aug 2019 09:31:08 +0300
Message-Id: <83sgpj9nbn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-reply-to: <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
 (message from Stefan Kangas on Fri, 30 Aug 2019 00:32:52 +0200)
Subject: Re: bug#18632: 24.3.94;
 image-dired fail when `image-dired-dir' doesn't exist
References: <871tqmskw1.fsf@HIDDEN>
 <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 18632
Cc: 18632 <at> debbugs.gnu.org, thierry.volpiatto@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Fri, 30 Aug 2019 00:32:52 +0200
> Cc: 18632 <at> debbugs.gnu.org
> 
> I can reproduce this on current master.  The problem happens when the
> user removes the image-dired-dir directory (normally
> ~/.emacs.d/image-dired).
> 
> Steps to reproduce:
> 
> 0. emacs -Q
> 1. C-x C-f ~/my-image-dir
> 2. (in shell) rm -rf ~/.emacs.d/image-dired/  # value of (image-dired-dir)
> 3. (in emacs): RET
> 
> Now I see the error message "Unable to resize".

How about recreating the missing directory in this case, after asking
for user's permission?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 30 Aug 2019 05:34:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 01:34:30 2019
Received: from localhost ([127.0.0.1]:53169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3ZYM-0000Yu-DX
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2019 01:34:30 -0400
Received: from mail-wm1-f54.google.com ([209.85.128.54]:53854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1i3ZYK-0000Yg-Hb
 for 18632 <at> debbugs.gnu.org; Fri, 30 Aug 2019 01:34:29 -0400
Received: by mail-wm1-f54.google.com with SMTP id 10so5903019wmp.3
 for <18632 <at> debbugs.gnu.org>; Thu, 29 Aug 2019 22:34:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=bx7mSQGAEDJJnMzCZttfqAAa2E8MuNwa+tkLM2z4ugg=;
 b=C9U4FyLZZN2N8le9gkbM6lxSpzrwveP4bLT77k2dR5ZRrAZBca902LYpzVJfBmDp4B
 4Sk5dvqRBE0rK1ASMIS95VwHlNY2AIUGAaFvlYg2m8UX6g3yx0wa25dshuR5O59KdKLY
 XWYzIBQHS5GVUubzAbJ6/Kgp2JiMz8dDx2HfXtpC/hKstmgh/GRWa32mN6PRPTThkGuF
 eoF5JND5y7hGcisDtC8iFQ/3TJ38dPfmXc+sC+gWzDvi1xWGxlq8vlxSXpojF7D5zDIT
 vOeFUgV2HRkMBB4NBrUOlCbLdLRseC/d7ScKjkQ2PWOUMULdGinfdo1Y2map0yFVSh4/
 3Wgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=bx7mSQGAEDJJnMzCZttfqAAa2E8MuNwa+tkLM2z4ugg=;
 b=kYUUbbzIX/dp52k9sRgDpqj11DxGrCHIRIhYRxBTPcUJWXL4QzwyZP6wpx4+7xqq10
 OBsYUlURA8xjx5QeBvQ3g7iQHtQLAAAdSDbEYSXUNFrfiWX2XcK/Cy3wH+6lnrLWNsOm
 9l72KpV+hXL9dHQGFc/U6Q2WYhqz3eRH6bmNkShJ1wJbGnsY6s0eHTFGf01v8HvFaAdU
 QkNY+ZOB1OO65CZJvpTmAWWgD+uCdH//DFK/2IdConrTLDN7sq5jnTplELRRYPlpEwgC
 zjleAAvuNPOJ7Xd/4Y0VM6p8bSJlZCWvEyYOzfryje2gxQ8hW5WOHksSO/doL0U+eQ18
 proA==
X-Gm-Message-State: APjAAAX0UA4GPyj2AJAQ9iPqhVbAccQHIYXNk7tiWpId7UAdKhEbykYB
 l1zv3eMwpSRoZjtRC27GaNzWwVrh8iA=
X-Google-Smtp-Source: APXvYqz34rzYirjph1lAxbomgDGI8PMewG9I9orwNSZL+dGNEoiDa8n5CSf45uQYJYYyuGfTVln8WQ==
X-Received: by 2002:a1c:f910:: with SMTP id x16mr15175383wmh.173.1567143262343; 
 Thu, 29 Aug 2019 22:34:22 -0700 (PDT)
Received: from dell-14z ([193.176.86.123])
 by smtp.gmail.com with ESMTPSA id i18sm7229499wrp.91.2019.08.29.22.34.20
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 29 Aug 2019 22:34:21 -0700 (PDT)
References: <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
User-agent: mu4e 1.3.4; emacs 26.3
From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#18632: 24.3.94;
 image-dired fail when `image-dired-dir' doesn't exist
In-reply-to: <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
Date: Fri, 30 Aug 2019 07:34:19 +0200
Message-ID: <87mufr2p44.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 18632
Cc: 18632 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Stefan Kangas <stefan@HIDDEN> writes:

> However, I think the above patch is only part of the solution.  After
> applying it, I can indeed open an image successfully.  But I'm now
> seeing a different problem: After opening an image (step 3 above), all
> the thumbnails are suddenly missing from the *image-dired* buffer.

Of course you removed the image-dired directory that was containing the
thumbnails, now you have to create again all your thumbnails.

-- 
Thierry

Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug Marked as found in versions 27.0.50. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 18632 <at> debbugs.gnu.org:


Received: (at 18632) by debbugs.gnu.org; 29 Aug 2019 22:33:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 29 18:33:11 2019
Received: from localhost ([127.0.0.1]:53001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3Syc-0002xl-Sg
	for submit <at> debbugs.gnu.org; Thu, 29 Aug 2019 18:33:11 -0400
Received: from mail-pl1-f170.google.com ([209.85.214.170]:35292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1i3Syb-0002xU-Bl
 for 18632 <at> debbugs.gnu.org; Thu, 29 Aug 2019 18:33:09 -0400
Received: by mail-pl1-f170.google.com with SMTP id gn20so2287961plb.2
 for <18632 <at> debbugs.gnu.org>; Thu, 29 Aug 2019 15:33:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=VZ700wD6L0NKd7tCLrJnTjf7E78th/zikIm2zp1K+xE=;
 b=MnGkx8X1j5SdgpX6rOa1Hx0MJdoBz9RUyYQZBfVr3Lv6xSpy1TSKUHAGfAaH5K0/3u
 SKzVbIM9xLOdUBwVx34M85hIP/ErYMCayQy9PHbpOyafWkKD9NypPb5DKGo6+Ox/bBCG
 5dWpbTCA7Dq0jgNN46ixT9Teslh4AScZT17LDXolaiVuaazxdYGj6LOurgZsUt7BCKjA
 9nJaHQ/QdthAQ4xS9rdpFqQ6EnyXtRAcjSFDC6/R7WaRi/oNOVAEQ5QUwpThnaehGDxi
 4Nc/zbzRp19Z9KSIjzLwZ2+ccu5sdlUQ0ucBpFTNjdlwEsyDgm68tmXGL1jtCuo0NDpV
 mOKw==
X-Gm-Message-State: APjAAAW463y43c5PD4Ee+jayzQYf3WEUb1+QiYAsCaszeOqurqYsSLnR
 SdeVz7ypUiY9zJtCG8hZF+NJlvBe6a/tvgAx3ns=
X-Google-Smtp-Source: APXvYqzm3d62Au3BwlRpur6NZaYZWAEL5stqduSMZZWX0hp01QkG5QoVRQsS/NB6CIfGtLm8MtdvdNA6L3iI6Agpluk=
X-Received: by 2002:a17:902:8b8c:: with SMTP id
 ay12mr11765746plb.251.1567117983189; 
 Thu, 29 Aug 2019 15:33:03 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Fri, 30 Aug 2019 00:32:52 +0200
Message-ID: <CADwFkm=9aQNqiuZ_oT2GoP7k7DU45j+cvjBAgRDyE-4YVhrHnA@HIDDEN>
Subject: Re: bug#18632: 24.3.94; image-dired fail when `image-dired-dir'
 doesn't exist
To: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 18632
Cc: 18632 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Thierry Volpiatto <thierry.volpiatto@HIDDEN> writes:

>> If `image-dired-dir' doesn't exists, image-dired fail with
>> something like "could not resize image" with no indications on what is happening.
>> IOW image-dired should create its directory when this one doesn't
>> exists, or at least send a helpful message to notify user he have first
>> to create manually this directory.
>
> diff --git a/lisp/image-dired.el b/lisp/image-dired.el
> index 114deab..01f88c2 100644
> --- a/lisp/image-dired.el
> +++ b/lisp/image-dired.el
> @@ -1800,7 +1800,8 @@ should feel snappy enough.
>
>  If optional argument ORIGINAL-SIZE is non-nil, display image in its
>  original size."
> -  (let ((new-file (expand-file-name image-dired-temp-image-file))
> +  (let ((new-file (expand-file-name image-dired-temp-image-file
> +                                    (image-dired-dir)))
>          width height command ret
>          (image-type 'jpeg))
>      (setq file (expand-file-name file))

I can reproduce this on current master.  The problem happens when the
user removes the image-dired-dir directory (normally
~/.emacs.d/image-dired).

Steps to reproduce:

0. emacs -Q
1. C-x C-f ~/my-image-dir
2. (in shell) rm -rf ~/.emacs.d/image-dired/  # value of (image-dired-dir)
3. (in emacs): RET

Now I see the error message "Unable to resize".

However, I think the above patch is only part of the solution.  After
applying it, I can indeed open an image successfully.  But I'm now
seeing a different problem: After opening an image (step 3 above), all
the thumbnails are suddenly missing from the *image-dired* buffer.

I subjectively think that the original error is less severe than the
new one.  Without the fix, at least the images stay as they are in the
*image-dired* buffer.

If anyone disagrees, they could easily install the above patch on
master and we would arguably be no worse off than we are now.  But we
would still need to fix the second problem.

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2014 14:13:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 05 10:13:16 2014
Received: from localhost ([127.0.0.1]:34802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XamYl-0005Lg-PJ
	for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 10:13:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33890)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYi-0005LW-WF
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 10:13:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYY-0004wl-Vy
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 10:13:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50749)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYY-0004we-Sm
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 10:13:02 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35556)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYR-0001kD-Bo
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 10:13:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYJ-0004r7-Ry
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 10:12:55 -0400
Received: from plane.gmane.org ([80.91.229.3]:52490)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYJ-0004qT-Li
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 10:12:47 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1XamYI-0007z1-77
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 16:12:46 +0200
Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sun, 05 Oct 2014 16:12:46 +0200
Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with
 local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sun, 05 Oct 2014 16:12:46 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Subject: Re: bug#18632: 24.3.94;
 image-dired fail when `image-dired-dir' doesn't exist
Date: Sun, 05 Oct 2014 16:12:30 +0200
Organization: Emacs Helm
Lines: 27
Message-ID: <874mvi7ghd.fsf@HIDDEN>
References: <871tqmskw1.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (gnu/linux)
Cancel-Lock: sha1:ewsSIVJUmbpjGOMhJClk8yMTJE4=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Thierry Volpiatto <thierry.volpiatto@HIDDEN> writes:

> If `image-dired-dir' doesn't exists, image-dired fail with 
> something like "could not resize image" with no indications on what is happening.
> IOW image-dired should create its directory when this one doesn't
> exists, or at least send a helpful message to notify user he have first
> to create manually this directory.

diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index 114deab..01f88c2 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -1800,7 +1800,8 @@ should feel snappy enough.
 
 If optional argument ORIGINAL-SIZE is non-nil, display image in its
 original size."
-  (let ((new-file (expand-file-name image-dired-temp-image-file))
+  (let ((new-file (expand-file-name image-dired-temp-image-file
+                                    (image-dired-dir)))
         width height command ret
         (image-type 'jpeg))
     (setq file (expand-file-name file))

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2014 13:32:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 05 09:32:12 2014
Received: from localhost ([127.0.0.1]:33567 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xalv1-00045M-Jl
	for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 09:32:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57390)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xaluv-00045A-IQ
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 09:32:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xalup-0001xL-7U
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 09:32:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50,
 FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34288)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xalup-0001xH-4z
 for submit <at> debbugs.gnu.org; Sun, 05 Oct 2014 09:31:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59105)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xaluj-0007ld-28
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 09:31:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xalud-0001j2-04
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 09:31:52 -0400
Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:63439)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Xaluc-0001ip-Jc
 for bug-gnu-emacs@HIDDEN; Sun, 05 Oct 2014 09:31:46 -0400
Received: by mail-wi0-f177.google.com with SMTP id fb4so2366250wid.16
 for <bug-gnu-emacs@HIDDEN>; Sun, 05 Oct 2014 06:31:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type
 :content-transfer-encoding;
 bh=AfPr1zXMKSZfCJnOozDLl/yycD7I2MtMi0rgIoL52BM=;
 b=kQOak1OumfGFx4kkvm3uPsFPMtMWXzpFCCywZP8kusave7MRGj53Qe6dHxBLz8gleb
 MFA1i9j5fMZ21Zm7vd4rBbxr05X3JUpdwZwJzk6ULZ7F0EvP+WYnLog585yHdbEim/bS
 sYc6wOu1bywj3fjUapyvhYibsNwH1xQgcrxHZ4jxtH7oeWqS9Ws6vPhghtJAxPADFXI7
 e5qKx3Z+SMfULBO0pON+CF25q1Iu81SQMyOFaSd9D4jR1GL6vkF/ieDy0i8bCl2szByx
 af4KFWfE/6B9WZA/oBnAmwiMLSyZAI+yYWtP3GEzzaem1I/bTPe70/+DDkZoOZ6YseEa
 HAFA==
X-Received: by 10.180.107.5 with SMTP id gy5mr12321180wib.67.1412515905148;
 Sun, 05 Oct 2014 06:31:45 -0700 (PDT)
Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net.
 [78.243.104.167])
 by mx.google.com with ESMTPSA id pk9sm13957745wjb.16.2014.10.05.06.31.43
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Sun, 05 Oct 2014 06:31:44 -0700 (PDT)
From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.94; image-dired fail when `image-dired-dir' doesn't exist
Date: Sun, 05 Oct 2014 15:31:42 +0200
Message-ID: <871tqmskw1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.0 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.0 (---)


If `image-dired-dir' doesn't exists, image-dired fail with 
something like "could not resize image" with no indications on what is happening.
IOW image-dired should create its directory when this one doesn't
exists, or at least send a helpful message to notify user he have first
to create manually this directory.




In GNU Emacs 24.3.94.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2014-10-03 on dell-14z
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.1 LTS

Configured using:
 `configure --with-x-toolkit=lucid --without-toolkit-scroll-bars
 --without-gconf --without-gsettings'

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  git-gutter-mode: t
  psession-mode: t
  golden-ratio-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  auto-image-file-mode: t
  eldoc-in-minibuffer-mode: t
  show-paren-mode: t
  display-time-mode: t
  recentf-mode: t
  savehist-mode: t
  eldoc-mode: t
  minibuffer-depth-indicate-mode: t
  helm-mode: t
  helm-descbinds-mode: t
  shell-dirtrack-mode: t
  helm-adaptive-mode: t
  helm-match-plugin-mode: t
  helm-occur-match-plugin-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<right> <right> <right> <right> <right> <right> C-u 
C-: C-g C-g C-x C-f <left> <left> <left> t é é <left> 
i m a <down> <up> <right> <down> d i c <backspace> 
v <right> <left> <down> <right> <down> <down> M-i C-n 
C-n C-n M-i C-g <f8> U b u q q <f11> s c C-x C-b <return> 
<up> <down> <down> C-x C-f <left> <left> <left> <left> 
<left> <left> t m p <left> M-i C-g <down-mouse-1> <mouse-1> 
C-h C-f C-g <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> C-a <tab> C-u 
C-: C-g C-x C-f <left> <left> <left> e m s d <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <right> 
C-g M-x r e p o r t <return> i m <tab> g <backspace> 
<backspace> a g e - d i r e d SPC i s SPC n o t SPC 
c r e a t i n g <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> f a u <backspace> i l SPC w 
h e n SPC i t s SPC t e m p SPC d i r SPC i s <backspace> 
<backspace> d o e s n ' t SPC e x i s t C-g C-s d i 
r e <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <right> <left> <left> <left> 
<left> <left> <left> <left> C-M-SPC M-w M-x r e p o 
r t <return>

Recent messages:
image-dired-display-image-mode enabled [9 times]
Loading package list...
Loading package list done
Starting Firefox...
[mu4e] Retrieving mail...done
[mu4e] Indexing... processed 14000, updated 0
[mu4e] Indexing completed; processed 14853, updated 0, cleaned-up 6
[mu4e] mu4e-main-mode
Quit
Mark set

Load-path shadows:
~/elisp/auctex/lpath hides ~/elisp/emacs-wget/lpath
/usr/local/share/emacs/24.3.94/lisp/emacs-lisp/tq hides ~/elisp/emms/lisp/tq

Features:
(shadow epa-mail emacsbug helm-command cl-indent mule-util edebug
helm-apt find-cmd generic smiley gnus-cite mail-extr gnus-async
gnus-bcklg gnus-ml nndraft nnmh nnml nnfolder parse-time netrc gnutls
network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
nntp gnus-cache org-agenda org-element org-rmail org-mhe org-irc
org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m
tramp-cache tramp-sh cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs make-mode markdown-mode
vc-rcs sh-script smie executable vc-git naquadah-theme em-unix em-script
em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic
em-banner em-alias align-let git-gutter server psession golden-ratio
winner undo-tree diff slime-xref-browser slime-banner slime-tramp
slime-asdf slime-fancy slime-trace-dialog slime-fontifying-fu
slime-package-fu slime-references slime-compiler-notes-tree
slime-scratch slime-presentations bridge slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl elp slime-parse slime gud apropos etags arc-mode archive-mode
image-file xdvi-search preview-latex tex-site auto-loads
pcomplete-extension pcmpl-unix pcmpl-gnu em-term term disp-table ehelp
helm-ipython helm-elisp helm-eval python json eldoc-eval warnings
whitespace paren time recentf tree-widget savehist mu4e-config org-mu4e
helm-mu mu4e-contrib mu4e mu4e-speedbar speedbar sb-image ezimage dframe
mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions
ido rfc2368 mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils
mu4e-lists mu4e-about mu4e-vars mu4e-meta gnus-dired nnir gnus-sum
gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int
gnus-range gnus-win nnoo config-w3m w3m-search w3m doc-view jka-compr
image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl
w3m-favicon w3m-image w3m-proc w3m-util w3m-load smtpmail-async smtpmail
sendmail dired-async iterator lacarte iedit-rect iedit iedit-lib
smallurl mm-url gnus gnus-ems nnheader wid-edit rectangle-utils rect
ledger-config ledger esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
eldoc esh-groups eshell esh-module esh-mode esh-arg esh-util tv-utils
pcvs vc-cvs pcvs-parse pcvs-info pcvs-defs pcvs-util ewoc mb-depth
cl-info hyperspec slime-autoloads esh-toggle flymake no-word htmlize cl
dired-extension emms-mpd-config emms-playlist-limit emms-volume
emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info
emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon
emms-browser sort emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics emms-url hl-line
emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo
emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mplayer
emms-info emms-streams later-do emms-source-playlist emms-source-file
emms-player-simple emms-setup emms emms-compat org-config-thierry ob-sh
org-crypt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew
holidays hol-loaddefs appt diary-lib diary-loaddefs
org-annotation-helper addressbook-bookmark message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol
bookmark-firefox-handler bookmark-extensions org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline
easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs init-helm-thierry
helm-mode helm-dictionary helm-ls-git helm-descbinds helm-ls-hg
helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell
pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers
helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info helm-net
browse-url xml url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse url-vars mailcap
helm-plugin bookmark pp helm-help helm-match-plugin helm-grep wgrep-helm
wgrep helm-regexp grep helm-external helm-utils dired compile comint
ansi-color ring helm-locate helm helm-source vc vc-dispatcher
helm-config helm-autoloads async-bytecomp cl-macs gv async helm-aliases
epa-file epa derived epg auth-source eieio byte-opt bytecomp
byte-compile cconv eieio-core gnus-util mm-util mail-prsvr
password-cache package epg-config time-date avoid cus-start cus-load
w3m-wget info easymenu edmacro kmacro advice help-fns net-utils
cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty
emacs)

Memory information:
((conses 16 724007 49760)
 (symbols 48 66167 10)
 (miscs 40 1434 1068)
 (strings 32 175011 14740)
 (string-bytes 1 8389372)
 (vectors 16 58567)
 (vector-slots 8 1026544 33130)
 (floats 8 2330 460)
 (intervals 56 20549 9533)
 (buffers 960 170)
 (heap 1024 83726 3443))
-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




Acknowledgement sent to Thierry Volpiatto <thierry.volpiatto@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18632; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.