unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: find-file-visit-truename
Date: Wed, 31 May 2023 15:03:39 +0300	[thread overview]
Message-ID: <83leh4g12c.fsf@gnu.org> (raw)
In-Reply-To: <CAJcAo8uRbL-PCOUvp39-keZVSoKAht5GxEcKmvWCMJkP3a-uvA@mail.gmail.com> (message from Samuel Wales on Tue, 30 May 2023 21:51:28 -0700)

> 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.



      parent reply	other threads:[~2023-05-31 12:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29  4:15 find-file-visit-truename Samuel Wales
2023-05-29 13:04 ` find-file-visit-truename Eli Zaretskii
2023-05-31  4:51   ` find-file-visit-truename Samuel Wales
2023-05-31  5:43     ` find-file-visit-truename Samuel Wales
2023-05-31 12:03     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83leh4g12c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).