Skip to content

various image content-type does not work #2277

@stardiviner

Description

@stardiviner

Expected behavior

CIDER REPL should display image like this example #1510 (comment)

Actual behavior

CIDER print object only:

user> (do (println "foo")
    (binding [*out* *err*]
      (println "bar"))
    (println "baz")
    (clojure.java.io/file "~/Pictures/Beauty/2015-05-04 070354.jpg"))
foo
bar
baz
;; => #object[java.io.File 0x2f763da "~/Pictures/Beauty/2015-05-04 070354.jpg"]
user> (clojure.java.io/file "~/Pictures/Beauty/2015-05-04 070354.jpg")
;; => #object[java.io.File 0x1aa925f6 "~/Pictures/Beauty/2015-05-04 070354.jpg"]

Steps to reproduce the problem

Environment & Version information

CIDER version information

;; CIDER 0.17.0snapshot (package: 20180428.658), nREPL 0.2.12
;; Clojure 1.8.0, Java 9.0.4

Lein/Boot version

Emacs version

GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-04-22

Operating system

Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions