From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SHz5LYXd6WKahQAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 04:29:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UK8TLoXd6WI0eAAA9RJhRA (envelope-from ) for ; Wed, 03 Aug 2022 04:29:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 00E881035F for ; Wed, 3 Aug 2022 04:29:25 +0200 (CEST) Received: from localhost ([::1]:44004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJ48S-0005u6-5j for larch@yhetil.org; Tue, 02 Aug 2022 22:29:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJ47w-0005tj-5K for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 22:28:52 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:45001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJ47u-0007X6-Kh for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 22:28:51 -0400 Received: by mail-pl1-x635.google.com with SMTP id d16so7027934pll.11 for ; Tue, 02 Aug 2022 19:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Yf37CvWLdzRoMVFVHe8G3fuwHGbVbyDFIJZQ0xa5RoE=; b=RCxb+fGpXInBodzObfPLpZS4J4UXWkecEhpRGeD9t+QCv0J/EjYnz466eDhG1bt6gc ZWSRMybZYX86Hq5KIQR3MjfrF7a5wHBEZ2WmLP8jebDw4L4M24CRdeblrPaMvbNbsoDY onxrYMNzYazinFY0RsaIyPY9VBKrGO7rI1dURMOHVLReulB+lTmR7rs6FYliL48H0muR 3BHyL5/CJdB7z5Eo2WcZWSGn1me2q5ejJHEXd80sjAPJv8YJEGvGTLjSIByxCSCJ/gCJ U8MWP4+Of5UxeHsm9CSYwlvwwRDm0QK6HN0FRUUiHed6uuyT3J/dtFp6g4Ca9V63a3Q1 D5Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Yf37CvWLdzRoMVFVHe8G3fuwHGbVbyDFIJZQ0xa5RoE=; b=Pg4ywJFwUVcfcktxknQ9tQu2G4TzU7mK8nRXfjVxpxD8tmOkMNebS9CNUlAwF0gWQG 4+t6XcCeANDqfnWMpgpLD994sUvmsgmRf3NWbbOFZi9lfIaUHSPuuyekCeV02urw8MAj MWYw15x3mZQziQ8F1gvdr7PyUM+nheeimw6fk71RthxmimmFwknD8yURynrfWS0knn1Y Ac25J7wg20eJOV3mOIUTSkkoZRTR4ukRWc+yR+0xHtZITv5fI++NhHo4nWGrsPwOuulR J5UoPcl6cODEXiTbzZaSD8kLPE2kedZeziFr0OYnPy3Y55EGkbDYVgSUsliLu5Mb/Gwv pZxw== X-Gm-Message-State: ACgBeo1f6p6YXx7/Im0rjMpE4vLus38+czXfnG4u2SITqQHavG34e8Z+ vJ0dFEbPulUay1Tp3ZUqRx8= X-Google-Smtp-Source: AA6agR5F7mm79P0xQBtjCwqITjo3wjcRkQscahbln1hwOUX2lWD6h+9rBjNEy9DzR5NMeo4E9nKlVw== X-Received: by 2002:a17:90a:bb18:b0:1f2:f715:60bc with SMTP id u24-20020a17090abb1800b001f2f71560bcmr2555050pjr.215.1659493729185; Tue, 02 Aug 2022 19:28:49 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id j68-20020a625547000000b0052c74a68eccsm11483075pfb.165.2022.08.02.19.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 19:28:48 -0700 (PDT) From: Ihor Radchenko To: Janek F Cc: "emacs-orgmode@gnu.org" Subject: Re: image-file-name-regexp: Wrong type argument: characterp In-Reply-To: References: Date: Wed, 03 Aug 2022 10:29:55 +0800 Message-ID: <87les6jbz0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yantar92@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659493765; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Yf37CvWLdzRoMVFVHe8G3fuwHGbVbyDFIJZQ0xa5RoE=; b=HybRsGiiGuctl3u04/GSf41NGNV10gYgW/IzqtQVHqCYa3U/sms44mMLqJkLXwT3r7iax0 S4YSao5wwX473kefp8I0abay2mE479SDizThXWWAbyzh2ecgJ2BOMyfSYXBUbKGVbOczBu jj29+9mgGpDxKB+/bIuAAjzonmJLgghoLXLWqjeAuPPw2v42A75azRTXJAKhpNDitHzpK9 zAP0YZO0PlOfUF7aLlTIWYFqZtDMUvpLZtCPkf3uLDYN5bkuG4amRvKTsZKP/fI/6MFZH9 IZxK7V7zWvEqOyDVUEKwt1nrQCgMtNJcPX6crYQC10AWS1nQpH/X4hQ6VrRe7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659493765; a=rsa-sha256; cv=none; b=lvCcf+PnZLv1j5NBNLVmxmy9vZ+1LOKS5ssMHBfc0MxuXb5Gx7UOWSdniGotVH5HYh9Hdg N5HRpQWSff7HeiSPnTPBEcaH5cL8AC0Y0SN/fiaR+wrsk706HnGsGfUJHUVXvYq6o0eU88 2IiNHwQWuccsyTobZuFKvcn6oDfN6hNnnVLCtAWjiM6jMtFLV+Em/SelmUBDpHGPS/LWzP UjUk6l+4h/ejpysY7BVtUlQdd+HESn9K09OcUsI7yWUvMBm8zxFaxmL8KoBZTciavQ1fYE pLlKoGUHiUwwiztQGsq1Wh0YBAjZc4Zqw1BdGeOKQPut3yZJhFBZhsvO8EpxOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RCxb+fGp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RCxb+fGp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 00E881035F X-Spam-Score: -8.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: YRWAiNcwMaLc Janek F writes: > I wanted to mark certain filenames as images and added this to my config.el: > > (add-to-list 'image-file-name-regexps "/preview/") > > But when I run `org-toggle-inline-images` now, I get the following error. > > image-file-name-regexp: Wrong type argument: characterp, "/preview/" This is likely because you are using the bleeding edge Emacs. Please update your Emacs to fix the issue, which is on Emacs side. See https://lists.gnu.org/archive/html/emacs-devel/2022-08/msg00004.html Best, Ihor