From: Juri Linkov <juri@linkov.net>
To: Evgeny Zajcev <lg.zevlg@gmail.com>
Cc: 33241-done@debbugs.gnu.org
Subject: bug#33241: image-mode in non-file buffer
Date: Mon, 05 Nov 2018 22:57:25 +0200 [thread overview]
Message-ID: <87efbz44zu.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAO=W_ZoUUW7q0oqUFQfoR4tm6sOkLwXEQe79=y=3ctT9ixb-=w@mail.gmail.com> (Evgeny Zajcev's message of "Fri, 2 Nov 2018 14:37:26 +0300")
> I've got problems with image-mode triggered by scad-preview, but I have
> tiny code example to trigger it:
>
> (pop-to-buffer
> (with-current-buffer (get-buffer-create "mybuf")
> (insert-file-contents "~/pics/nav1.jpg")
> (major-mode-suspend)
> (setq major-mode 'image-mode)
> (image-toggle-display-image)
> (current-buffer)))
>
> ===>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-nondirectory(nil)
> file-name-extension(nil)
> image--imagemagick-wanted-p(nil)
Thanks for the bug report, this is now fixed.
prev parent reply other threads:[~2018-11-05 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-02 11:37 bug#33241: image-mode in non-file buffer Evgeny Zajcev
2018-11-03 9:33 ` Eli Zaretskii
2018-11-05 20:57 ` Juri Linkov [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efbz44zu.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=33241-done@debbugs.gnu.org \
--cc=lg.zevlg@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.