News for hackers. Stuff that matters.
Re:Cool desktops don’t change by nextos on Thursday June 16, 2022 @11:34PM (#31773842)
Same here. I use Emacs to write tons of notes. I rely heavily on tables, hyperlinks, timestamps and tags. Images are also possible, just not part of my workflow. All this is trivial, out of the box and I know it will still work many years down the road.

Even custom hyperlinks and text notes that refer to chunks inside PDFs are easy to do.

Re:Cool desktops don’t change by strongbond on Friday June 17, 2022 @06:19AM (#31776188)
Your phrase 'Images are also possible' worries me. But then you go on to say 'All of this is trivial ...', which makes me feel a lot better.

I've had many well-intentioned but ultimately abortive attempts to get on board with Emacs.

So, are images 'possible' or 'trivial'? Not trolling, and I do note that you say it's not part of your workflow.

Re:Cool desktops don’t change by klibertp on Friday June 17, 2022 @08:00AM (#31776868)
You cannot embed images in Org documents. Or rather, you can, but would need to code the support for this for yourself. On the other hand, displaying images within the Org documents is trivial. You just need to have the image file saved somewhere. Then you insert a link to the image file and, with the default settings, you should be able to see the image rendered inline in the document. You can also generate the image from within the document. You write a ditaa code block, execute it, and the png with your UML (or whatever) is inserted or updated.

On the other hand: no, Emacs is not a WYSIWYG word processor. The need to support terminal as a display backend weights heavily on the pace of GUI improvements. That's because all interface elements need to be renderable on all backends (not strictly true, but the prejudice against GUI-only elements is significant). So if you hope to be able to easily and conveniently display something like this: https://klibert.pl/statics/vw-doc-view.png then Emacs is empathically not the best tool for the job.

Re:Cool desktops don’t change by Avshalom on Friday June 17, 2022 @07:39AM (#31776715)
eehh...

so (out of the box) in org mode if you type [[./file/path/to.png]] it will turn into a link, if you hit Ctrl-c-x-v it will toggle between showing images as a link (which will open in a new emacs buffer) and just showing the images inline.

ALSO you can just drag an image file onto an emacs window and it will display it in a new buffer.

however getting it so that A) images are displayed automatically when you finish typing the [[path]] and/or B) dragging an image into emacs will result in a new link in orgmode... that's probably possible

Re:Cool desktops don’t change by codemonkey-zeta on Friday June 17, 2022 @09:54AM (#31778196)
https://github.com/abo-abo/org-download

This is the package you're looking for. Just drag and drop images into the org mode buffer and you're done. I've been using it for years to take lecture / book notes in org mode where I have to constantly take screenshots and embed them in my notes.

Re:Cool desktops don’t change by Avshalom on Friday June 17, 2022 @08:26PM (#31786188)
that's part B.

part A is still annoying though. if you have inline images toggled and type in a new image it still turns into a link instead of an inline image.

Re:Cool desktops don’t change by codemonkey-zeta on Sunday June 19, 2022 @04:53PM (#31803393)
That's an org mode setting, can be added to the #+startup declaration at the top of the file.
Re:Cool desktops don’t change by Siira on Saturday June 18, 2022 @05:33AM (#31788458)
It’s as trivial as images in markdown, but there are more optional config options and extensions to, e.g., just paste from the clipboard.
Re:Cool desktops don’t change by deepnet on Thursday June 16, 2022 @11:36PM (#31773852)
My life and work would be impoverished without emacs.

Thank you Richard

Re:Cool desktops don’t change by bbarnett on Friday June 17, 2022 @02:34AM (#31774774)
I personally dislike emacs, but say the same.

Why?

vim would not be what it is, without emacs to rage against.

Re:Cool desktops don’t change by glumpsoff on Friday June 17, 2022 @04:06AM (#31775395)
vim would not be what it is without having become a shallow emacs.

Emacs is emacs because its extensible, between vim, neovim and vim9, im starting to think people might enjoy the extensibility seeing as that brings vim up to 3 scripting languages to write things in.

vim has become what it purported to hate

Re:Cool desktops don’t change by bb010g on Friday June 17, 2022 @04:03PM (#31783525)
I don't think Vim ever hated extensibility. Vim is defined by its modality and vocabulary and grammar, which Emacs lacks without extensions like evil.