Yes, setting tree-widget-image-enable to t makes recentf-open-file work correctly in my system, too. On Sun, 9 Jun 2019 at 20:37, Noam Postavsky wrote: > Andrea Greselin writes: > > > Yes it does! Thank you! > > > > On Sun, 9 Jun 2019 at 16:30, Noam Postavsky wrote: > >> > >> I guess the problem is that tree-widget-image-enable is set just once on > >> load, based on the current display (and the daemon has no display so it > >> doesn't support displaying images). Does it help to explicitly set > >> tree-widget-image-enable to non-nil? > > Looks like we could solve this bug just by making > tree-widget-image-enable default to t unconditionally then. It seems to > do the right thing in that case, e.g., I tried > > ;; from > https://stackoverflow.com/questions/25104291/change-text-of-tree-widget-node > (widget-create > 'tree-widget :open t :tag "one" > :args > (list (widget-convert > 'tree-widget > :tag "two" > :args (mapcar (apply-partially #'widget-convert 'item) > '("three" "four"))))) > > it shows image when looking at it in a graphic frame, and text when > looking at the same buffer in a tty frame. > >