From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: find-file-visit-truename Date: Wed, 31 May 2023 15:03:39 +0300 Message-ID: <83leh4g12c.fsf@gnu.org> References: <83mt1ngufg.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30306"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 31 14:03:14 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4KXo-0007Uz-GI for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 31 May 2023 14:03:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4KXa-0000V3-61; Wed, 31 May 2023 08:02:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4KXY-0000Ug-P0 for help-gnu-emacs@gnu.org; Wed, 31 May 2023 08:02:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4KXY-0005sf-0x for help-gnu-emacs@gnu.org; Wed, 31 May 2023 08:02:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rQ9BTqdQMTlcNafI2Lb2JWvaGvPOJ/wrnegVJU+kVJk=; b=CDe7CQCFOiWb s9I4xDGur0FyopiN7rqbMsuChmmc2uvI53+4KmkaqPiRzeYiCebwoRYSVrjpf5SOlJAkbGCcII7z1 6Wf5i5juvk1sRxJRQJt/G/o5e8OO2WQtGeKVlDWFE01UVRuSbAXNovYFh3LQIC+jHIFvJSUJb8rxe MwGpGC3pLzQILOZsH/47/NYWAcWekRs/jR6IjOMg229wsejxX37iQoxqa6FYHa3KK0N1dXT1aPCH+ MWMgmYTqtYDukt5pHHjWEw9VltsJAIemI2clUe6RwuBp5VQ6KRZg1+R0qpYiMZYbCFAw61E11X/qu N9gKAd2Q/xZOipc0sZU1bQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4KXX-0006k8-72 for help-gnu-emacs@gnu.org; Wed, 31 May 2023 08:02:55 -0400 In-Reply-To: (message from Samuel Wales on Tue, 30 May 2023 21:51:28 -0700) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143810 Archived-At: > From: Samuel Wales > Date: Tue, 30 May 2023 21:51:28 -0700 > Cc: help-gnu-emacs@gnu.org > > On 5/29/23, Eli Zaretskii 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.