[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function to find symlink target
From: |
Jean Louis |
Subject: |
Re: Function to find symlink target |
Date: |
Mon, 23 May 2022 12:05:46 +0300 |
User-agent: |
Mutt/+ () (2022-05-21) |
* Emanuel Berg <incal@dataswamp.org> [2022-05-22 21:04]:
> 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.
When I evaluate it, I get t only, I do not understand. Tell me more
about the idea of finding particular file in dired list and placing
cursor on it.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- 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, 2022/05/22
- Re: Function to find symlink target,
Jean Louis <=
- 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
- Re: Function to find symlink target, Michael Heerdegen, 2022/05/26