>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> %% does not work for auctex, so I think I try @@, I hope it does not collide with anything fancy...... > You can also set a text string, like _ftags_, and to hide it when you're > in Dired, add a function to the dired-mode-hook that displays an overlay > instead of that string, with some fancy unicode symbol separated by > spaces. Something like this: > (defun overlay-dired-filetags () > (save-excursion > (goto-char (point-min)) > (while > (re-search-forward "\\(_ftag_\\)" nil t) > (let > ((ov (make-overlay (match-beginning 1) (match-end 1))) > (tag (propertize " ⚜ " 'face 'bold))) > (overlay-put ov 'overlay-tag t) > (overlay-put ov 'display tag))))) Very nice thanks, I might try that out later....