!rUhEinythPhVTdddsb:matrix.org

org-mode

841 Members
Digital and analog. | "Any sufficiently advanced hobby is indistinguishable from work." | https://orgmode.org121 Servers

Load older messages


SenderMessageTime
6 Feb 2025
@inkbottle:matrix.orgzebrag I've just been dragging images into an org buffer, and clicked on attachment and a link like [[attachement:screenshot.png]] as been created, along with some :PROPERTIES: :ID: <uuid> :END: drawer, and :ATTACH: tag, and I've been running some org-redisplay-inline-images and the images did show.
But the command was not showing in my command history so I restarted my emacs.
Now I know that ‘org-redisplay-inline-images’ is an obsolete command (as of 9.8); use ‘org-link-preview-refresh’ (C-c C-x C-M-v) instead.
But the problem now is that emacs says: [current section] No images to display inline
I'm puzzled because it always worked perfectly well.
org-link-preview (replacing org-toggle-inline-images) => "no images to display at point".
17:16:50
@yantar92:matrix.orgyantar92 (Org maintainer)
In reply to @inkbottle:matrix.org
I've just been dragging images into an org buffer, and clicked on attachment and a link like [[attachement:screenshot.png]] as been created, along with some :PROPERTIES: :ID: <uuid> :END: drawer, and :ATTACH: tag, and I've been running some org-redisplay-inline-images and the images did show.
But the command was not showing in my command history so I restarted my emacs.
Now I know that ‘org-redisplay-inline-images’ is an obsolete command (as of 9.8); use ‘org-link-preview-refresh’ (C-c C-x C-M-v) instead.
But the problem now is that emacs says: [current section] No images to display inline
I'm puzzled because it always worked perfectly well.
org-link-preview (replacing org-toggle-inline-images) => "no images to display at point".
Maybe it is a bug. Or not. Hard to say without details
17:29:50
@yantar92:matrix.orgyantar92 (Org maintainer)Maybe you are simply not expecting the new default behaviour of the preview to preview current section only17:31:42
@inkbottle:matrix.orgzebragOkay, that must be the second point, possibly, looking into it17:36:28
@inkbottle:matrix.orgzebrag I've just dragged a new image and did org-link-preview-refresh, and all the images went visible.
So possibly it's a bug.
Not sure what "section" is, but every time I did the tests, the point was in the vicinity of an attachment link.
17:45:49
@inkbottle:matrix.orgzebragNot critical though17:46:23
@yantar92:matrix.orgyantar92 (Org maintainer)
In reply to @inkbottle:matrix.org
I've just dragged a new image and did org-link-preview-refresh, and all the images went visible.
So possibly it's a bug.
Not sure what "section" is, but every time I did the tests, the point was in the vicinity of an attachment link.
Section is under current heading
18:09:08
@yantar92:matrix.orgyantar92 (Org maintainer)If point is say before heading, the link will not be displayed unless you call the preview with prefix arg18:09:49
@yantar92:matrix.orgyantar92 (Org maintainer)Check out the news file. It is one of breaking changes18:10:07
@inkbottle:matrix.orgzebragWill do18:10:40
7 Feb 2025
@bleachdogwood:matrix.orgbleachdogwood joined the room.07:54:33
@anlar:matrix.organlar left the room.10:03:38
@suckless_shill:matrix.orgvizIs there a function/package out there that would ensure the no. of empty lines before/after each entry before save? I remember seeing such a function in the wild but fail to recall where I saw it11:16:51
@herbert:envs.netHerbert changed their profile picture.11:31:49
@herbert:envs.netHerbert removed their profile picture.11:42:23
@jwwiegley:matrix.orgJohn WiegleyMany changes to https://github.com/jwiegley/dot-emacs/blob/master/lisp/org-hash.el, including a command to insert hashes for all entries in a file, or confirm the hash for every entry that already has one.22:25:55
@jwwiegley:matrix.orgJohn Wiegley viz: You could build a command using org-map-entries and org-N-empty-lines-before-current, and add it to your before-save-hook. 22:27:05
8 Feb 2025
@karthink:matrix.orgkarthink Is there a way to org-refile an entry as the first child of the destination instead of the last? This would be the equivalent of using :prepend in an org-capture template. 00:57:22
@ilazaric1:matrix.orgIvan Lazaric joined the room.02:10:33
@oantolin:matrix.orgoantolinI think that's what the variable org-reverse-note-order is for.02:55:55
@karthink:matrix.orgkarthink I found this option but it reads like it applies to notes (org-add-note), not refiled headings? 02:56:49
@karthink:matrix.orgkarthink Ah, you're correct, but it looks like you have to call org-refile-reverse, a separate command, for this setting to apply. 02:58:14
@karthink:matrix.orgkarthink *

~~Ah, you're correct, but it looks like you have to call org-refile-reverse, a separate command, for this setting to apply.~~

It works with org-refile, my bad. Thanks oantolin!

02:59:16
@karthink:matrix.orgkarthink * It works with org-refile too, my bad. Thanks oantolin! 02:59:32
@oantolin:matrix.orgoantolinGlad it works! (I wasn't sure it did. :)03:01:01
@arni-birdsnail:matrix.orgArni! (sick) changed their display name from Arni! to Arni! (sick).05:50:30
@suckless_shill:matrix.orgviz
In reply to John Wiegley
viz: You could build a command using org-map-entries and org-N-empty-lines-before-current, and add it to your before-save-hook.
I had no Org had already a function like this, thanks! I was thinking of unpackaged BTW: https://github.com/alphapapa/unpackaged.el/?tab=readme-ov-file#ensure-blank-lines-between-headings-and-before-contents
07:25:20
@suckless_shill:matrix.orgvizno idea*07:25:38
@zandr:matrix.orgZandr joined the room.14:46:02
@abolter79:matrix.orgWorld's gone mad joined the room.20:55:40

There are no newer messages yet.


Back to Room ListRoom Version: 1