[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function to find symlink target
From: |
Emanuel Berg |
Subject: |
Re: Function to find symlink target |
Date: |
Sun, 22 May 2022 20:02:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Louis wrote:
> Example is this one:
>
> S lrwxrwxrwx 1 8 May 22 16:15 test1.pdf -> test.pdf
> -rw-r--r-- 1 90 May 22 15:24 basic.yml
> -rw-r--r-- 1 15K May 22 15:13 test.pdf
>
> as if I invoke function on first line it will come to ->
> test.pdf which is not what I would like.
Right, I see. Okey then, put the search in a loop and upon
every hit goto the beginning of the match and do
(get-text-property (point) 'dired-filename)
this will be true for the third line's test.pdf but not
the first.
--
underground experts united
https://dataswamp.org/~incal
- Function to find symlink target, Jean Louis, 2022/05/18
- Re: Function to find symlink target, Emanuel Berg, 2022/05/18
- Re: Function to find symlink target, Jean Louis, 2022/05/22
- Re: Function to find symlink target,
Emanuel Berg <=
- Re: Function to find symlink target, Jean Louis, 2022/05/23
- Re: Function to find symlink target, Emanuel Berg, 2022/05/23
- Re: Function to find symlink target, Emanuel Berg, 2022/05/23
- Re: Function to find symlink target, Michael Heerdegen, 2022/05/23
- Re: Function to find symlink target, Emanuel Berg, 2022/05/23
- Re: Function to find symlink target, Michael Heerdegen, 2022/05/23
- Re: Function to find symlink target, Emanuel Berg, 2022/05/24
- Re: Function to find symlink target, Michael Heerdegen, 2022/05/24
- Re: Function to find symlink target, Michael Heerdegen, 2022/05/25
- Re: Function to find symlink target, Jean Louis, 2022/05/26