[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-visit-truename
From: |
Eli Zaretskii |
Subject: |
Re: find-file-visit-truename |
Date: |
Wed, 31 May 2023 15:03:39 +0300 |
> From: Samuel Wales <samologist@gmail.com>
> Date: Tue, 30 May 2023 21:51:28 -0700
> Cc: help-gnu-emacs@gnu.org
>
> On 5/29/23, Eli Zaretskii <eliz@gnu.org> wrote:
> > By contrast, the default mode line shows the _buffer_ name, not the
> > _file_ name. If you want to see the file name, you need to customize
> > mode-line-buffer-identification to show that; by default it uses %b,
> > which shows the buffer name. I suspect that this is how it used to
>
> i tried f and it showd a full path name. i'm not sure if a full path
> name is always needed? can a basename suffice?
I don't know, but if that is what you want, you can use :eval instead
of just %f.
> i do seem to recall the truename showing there but who knows.
Maybe some customization or something.