unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Saving and loading file with images?
@ 2021-06-02  6:07 Jean Louis
  0 siblings, 0 replies; only message in thread
From: Jean Louis @ 2021-06-02  6:07 UTC (permalink / raw)
  To: Help GNU Emacs


Let us say I do:
M-: (insert-image-file "/home/data1/protected/Media/Pictures/Clipart/openclipart-2.0-full/clipart/massimo/massimo_Kaktus.png")

so that inserts nicen kleinen grünen Kaktus in my buffer.

I can capture that all:
(setq a (buffer-substring (point-min) (point-max)))

and insert the kaktus again:
(insert a)

And I wish to find modus operandi how to do that as I would like using
notes with images like that in the database.

I can save enriched mode by using similar technique in the database,
and I can read it from the database. But buffer with image is not
working, it would be very nice to get it to work.

Any tips appreciated.

Thank you,
Jean Louis



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-02  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-02  6:07 Saving and loading file with images? Jean Louis

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).