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:26:10 +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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="101654"; 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:27:03 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 1iPqoI-000QJ8-Fj for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 17:27:02 +0100 Original-Received: from localhost ([::1]:42498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqoH-0007zE-D5 for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 12:27:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqnX-0007tr-A1 for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPqnW-0002wc-4z for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:26:15 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:38340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPqnV-0002vN-T9 for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:26:14 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id v9so3026784wrq.5 for ; Wed, 30 Oct 2019 09:26:13 -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=G/s7/GL9iEbd9LMdn3EgXdVaNIFr9MqnJpHOT3qJEL8=; b=ZxECaQ/w6M+dYA7bJfsO9mIKCLayl8DRs/S0oYhTCn9LC5PF2WmUjIiSMboYbo1QG7 GjMHxf5cvv6ciShY4r3Vr0SF/og2dPwLumafq5bZzEkUGwHX4PQKNHQYYYdru875tQWU +qsaYWIGYb0MLLOYYrXp5Bh61AMkNnS4xxCR3nJr1sMk20VB9jQ626JM54x2rAxYFlmA zSh/KF3rmYh9MTwAsr/Li13eHXB9wk9IXt8jReKO2rTYNoGph+lBHblTozgXpsS9w6Ia eM/fRifYDxRPti5shBtZbEgy3ck15mYdrfhXu8t+CUyqVuItPn9mqCjED3h7NXQguYTR Rj9A== 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=G/s7/GL9iEbd9LMdn3EgXdVaNIFr9MqnJpHOT3qJEL8=; b=JzsFlVMx6Btn0wWJ9X0Y0Nk2AmvgY/QyATAE1czPH92vAqam7KnVtJ9XyhMLV4cyTy CZXmGrDz0clpn1NbQy9Eg4tn4xab0uOot8svJTH1UYyFUYnVNjUzJigbEZBHq/2Y2ccP 27zRr+BZcoepj/NT6F3SsD1+VDHGS7XhJV96OoVwrHdSgm65YVuGqeklZ96braddXspm woE0Z86y7JC1xy++9BtVmnZ0E1SmUHMaeV+6XEI2rwxY0EN4FdN2ZNi4oUCnM6VlrdWW aF9mYMzF398fzSA/mpdzhsI3hZkDQS2pcDF+vpHzwFLC/LAijZsDsdNuWYd9qzr89Aq4 4Atw== X-Gm-Message-State: APjAAAVDDAnl3KJQLd9UMNvQYpFGWzkwIAWXukxQkHn/CRYHvuu1k0SR oiU4PS1zUnRZzOlde+zjjhr3yX6N X-Google-Smtp-Source: APXvYqwo+/ySVMHhuEGu2OPEztpWhxrqeMl9kHQTlCIpwTw3tvEpB4w/O29KJOU7cG1etCXNl+3yew== X-Received: by 2002:a5d:6689:: with SMTP id l9mr678270wru.44.1572452772128; Wed, 30 Oct 2019 09:26:12 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:10a:f31e:f8db:2aab]) by smtp.gmail.com with ESMTPSA id b196sm557435wmd.24.2019.10.30.09.26.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 09:26:11 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87r22uqk9v.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 17:18:36 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 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:241636 Archived-At: >>>>> On Wed, 30 Oct 2019 17:18:36 +0100, Lars Ingebrigtsen said: Lars> Robert Pluim writes: Lars> Could you post a backtrace? The easiest is probably to say >> Lars> M-: (image-toggle-display-image) >> >> Debugger entered--Lisp error: (error "The buffer is not in Image mode") >> signal(error ("The buffer is not in Image mode")) >> error("The buffer is not in Image mode") 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() image-toggle-display-image() eval((image-toggle-display-image) t) eval-expression((image-toggle-display-image) nil nil 127) funcall-interactively(eval-expression (image-toggle-display-image) nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression)