Juri Linkov writes: > M-: (buffer-substring (- (point-max) 2) (- (point-max) 1)) > => #("7" 0 1 (fontified nil invisible dired-hide-details-link)) > > M-> ;; (end-of-buffer) > > M-: (buffer-substring (- (point-max) 2) (- (point-max) 1)) > => #("7" 0 1 (face default dired-symlink-filename t fontified t > invisible dired-hide-details-link)) > > And indeed, after going to the end of the Dired buffer > the last file gets an additional property `dired-symlink-filename' > used by Isearch/Replace. So, the properties we use are of different types: some are already attached by `dired-insert-set-properties', others later by font-lock (see `dired-font-lock-keywords'). AFAIR this is because some tests are more expensive than others (e.g. the test whether a link is broken) and are intentionally delayed. Would something like this be good?