Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7660871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:31:26+00:00 2026-05-31T13:31:26+00:00

If I place (insert-image (create-image /tmp/test.png)) in a buffer, place the cursor after the

  • 0

If I place

(insert-image (create-image "/tmp/test.png"))

in a buffer, place the cursor after the last parenthesis and evaluate it with C-x C-e, then the image /tmp/test.png is displayed in the buffer:

enter image description here

Pretty neat. But,

  1. I had to put the final parenthesis on a separate line, so the image
    is close to the left-hand side of the buffer. Is there a way to hide
    the (insert-image ...) text altogether?
  2. The text file contains the (insert-image ...) text only, not the
    image. I’m happy with that, but is there a way to tell emacs to
    automatically replace all the (insert-image ...) expressions by
    their corresponding images (after the file is opened) without me having to type C-x C-e after
    each one?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:31:26+00:00Added an answer on May 31, 2026 at 1:31 pm

    Take a look at iimage-mode, the inline image minor mode. It’s included since Emacs-23, IIRC.

    M-xiimage-mode

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to insert an image into a table cell based off a
How can I insert an image to an RTF file. Inside the RTF file
I would like to create my font that use image icon instead of font
I have a JTable , and I am trying to insert an image behind
My code below gives me a problem, the image comes after the text I
I am using the function, Shapes.AddPicture to insert an image in an excel file.
I have a place holder image saying something like: Your rating is: [rating here]
My Delphi 6 program need to place an image on each row of my
I have written the following code to place the image path into sql server
Tip me plase, how to insert a null value into table using Trolltech Qt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.