emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Janek F <xerusx@pm.me>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: image-file-name-regexp: Wrong type argument: characterp
Date: Wed, 03 Aug 2022 10:29:55 +0800	[thread overview]
Message-ID: <87les6jbz0.fsf@localhost> (raw)
In-Reply-To: <NWhr2aPO9a8iFMRz3SXQzyOwqCw6QI00aahNEuWV8qmWEf86Es_OfICTctGnTAUGjkkKKd475pLzTUjkjYoiPoDCzzGqcG8epwKfowZVPmc=@pm.me>

Janek F <xerusx@pm.me> 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


  reply	other threads:[~2022-08-03  2:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02 22:21 image-file-name-regexp: Wrong type argument: characterp Janek F
2022-08-03  2:29 ` Ihor Radchenko [this message]
     [not found]   ` <O_MbdZ9GgaA1AOGJG4A_vm3BKPLE658o9Youb3IRx0iLJwo-3RbtJnFOOt4xW5XGMpwoZNXAcaPuBaeo4cfPmVClYirADtxLlNKHvExw13g=@pm.me>
2022-08-03 22:01     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87les6jbz0.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xerusx@pm.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).