From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Inaccurate doc-string for org-image-actual-width [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)] Date: Wed, 05 Jun 2019 22:50:23 +0200 Message-ID: <878sufu580.fsf@nicolasgoaziou.fr> References: <877ea02y4z.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYcru-0000NB-R0 for emacs-orgmode@gnu.org; Wed, 05 Jun 2019 16:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYcrs-0004V7-Hq for emacs-orgmode@gnu.org; Wed, 05 Jun 2019 16:50:45 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:50907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYcrs-0003jI-7y for emacs-orgmode@gnu.org; Wed, 05 Jun 2019 16:50:44 -0400 In-Reply-To: <877ea02y4z.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> (Ihor Radchenko's message of "Wed, 05 Jun 2019 17:13:16 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: 'Ihor Radchenko' Cc: emacs-orgmode@gnu.org Hello, 'Ihor Radchenko' writes: > The doc-string for org-image-actual-width states that image width can > be set using #+ATTR.* keyword (note that it is all capital letters). > However, org-display-inline-images only looks for lower-case #+attr_: > > (re-search-forward "^[ \t]*#\\+attr_.*?: +.*?:width +\\(\\S-+\\)" > (org-element-property :post-affiliated paragraph) > t) > > If case-fold-search is set to 't, and the value of > org-image-actual-width is set to a list, #+ATTR_ORG: :width > specifications are always ignored, while they should not. Fixed. Thank you. Regards, -- Nicolas Goaziou