From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 8542f66 2/3: Automatically rotate images in image-mode based on Exif data Date: Wed, 30 Oct 2019 17:56:04 +0100 Message-ID: References: <20190922122352.13822.75583@vcs0.savannah.gnu.org> <20190922122354.5232A207FC@vcs0.savannah.gnu.org> <87tv7qthqi.fsf@gnus.org> <87r22uqk9v.fsf@gnus.org> <87imo6qj12.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="227447"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 17:56:25 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPrGi-000x35-GQ for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 17:56:24 +0100 Original-Received: from localhost ([::1]:42754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPrGg-0000Bd-W1 for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 12:56:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33915) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPrGT-00008R-Sp for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:56:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPrGS-0007fz-Ss for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:56:09 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:54261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPrGS-0007cP-Mr for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:56:08 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id n7so2874885wmc.3 for ; Wed, 30 Oct 2019 09:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=m5m8jSfdv12lGBO84byfXAcl+OwiNS1ykCNjQKMMRCo=; b=BmlaA1Adm8LdkpP+GKq/RsuNwrcn2neohcC9aV+hiv9dfEMmAnaYmpQrYftLzURJK9 19DFnOldr4ADRZwv0/93Iakd8hIEtRxFQAk03vnE/W2vr6YhfhoV2T6SXorAo9mRasrX LYdKSP9ImPhkRjQlO7euR9a+zBv/oJZDKAQ59h9K0XhJmsUicbdDxDgwiLZDNGVixyRk Vzn7dA0IbwRq2L0CltldXkUaxyN72tvcasZk1Q7LUiKnby+4EkrxAHXTv+xRZF3P9Irr fIMHRyaeNBX4kEAJdhQcHypSxCcx1vqpLUta7HU/Ou97S6jTX2sRDAjwty0h9XT1aFjq N66Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=m5m8jSfdv12lGBO84byfXAcl+OwiNS1ykCNjQKMMRCo=; b=A6Z2JJ/atK4PjpTxj5Bw/wl2wvWN0UuRoYWXGNIOw701BIjA2cPMfHWco8BVsQByHd KqNwXONAgPrsrzwRduHSUaPzkNI6SFWPQ6S1Lc+x/h0dTwIKQCVJwIK9gIO6NKGftm5u DMSfZNIVlmnxjpj9u+japaop9AlC6UhOpCPFa2gC5XcN4LVz+d5UrOYaznA0z/458Frj hKhtTK4H4NO2/nHFQ7iMKUM7z4JiJh9W2WdSArp18yyoZcga2rkRbETFC9ipCOgZP+m2 Rv6kGQ7jxCEL+zeXw3q0Z7fzdxYyDGFWXgKtK3Sg7vWh5GNxR/3/8/F7HLVnniZdNJXT UHFQ== X-Gm-Message-State: APjAAAWUP0GKN3PMcKIj0W2or3wBB0Q9yG1TIMkOztFVI3G/ZWlH8by+ NPB/F4AaZRhQATEhX7kUejW8X5+r X-Google-Smtp-Source: APXvYqzwBBAEUxDMyXoFyXQyOxfkdVmCw2n2MMu+L9SxVhwV1Murn8Dt1NjBjV87VZmyDJy6heeAYA== X-Received: by 2002:a7b:cc89:: with SMTP id p9mr370890wma.99.1572454566893; Wed, 30 Oct 2019 09:56:06 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:10a:f31e:f8db:2aab]) by smtp.gmail.com with ESMTPSA id l18sm993327wrn.48.2019.10.30.09.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 09:56:05 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87imo6qj12.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 17:45:29 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241639 Archived-At: >>>>> On Wed, 30 Oct 2019 17:45:29 +0100, Lars Ingebrigtsen said: Lars> Robert Pluim writes: Lars> Uhm... try (setq major-mode 'image-mode) first or something? >> >> Uhm, yes, of course. Bit of a senior moment there :-) >> >> Debugger entered--Lisp error: (invalid-function (app1 (cdr (assq 65505 >> (exif--parse-jpeg))))) >> (app1 (cdr (assq 65505 (exif--parse-jpeg))))() >> exif-parse-buffer() Lars> I think you may have a build error -- it sounds like exif.el was Lars> compiled in an Emacs that didn't have when-let ;;;###autoloaded. Lars> Try deleting exif.elc, or say "make bootstrap" and see whether the bug Lars> goes away. That was it. Compiling exif.el complained about when-let being undefined, so I did 'make -C lisp autoloads', and now emacs displays PNG fine. Sorry for the noise. Robert