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: Change in 28.1 in opening a file from grep results on Windows Date: Wed, 13 Jul 2022 15:14:24 +0300 Message-ID: <838roxw6ov.fsf@gnu.org> References: <82y1wy8hrh.fsf@gmail.com> <83tu7mwbav.fsf@gnu.org> <82czea8e1w.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37280"; 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 Jul 13 14:15:17 2022 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 1oBbGu-0009VN-GW for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 14:15:16 +0200 Original-Received: from localhost ([::1]:42248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBbGs-0005h3-WD for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 08:15:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBbGD-0005gq-U4 for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 08:14:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBbGD-0002OA-Lc for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 08:14:33 -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=SsvvvW8KS6llZNuOZ7BWOocwpcWDDGjtj3LfZWIEkR8=; b=r/oQsLm7377W rNaZ6tbWlI5XGTuMgB8lTMbVdXhswS0ugDNdlCzr9j3OQaY4QC4D4i7t21qVqB+JIlv0o50/Gtpb4 0dlo0n6MBasj8Cf+ErzNNvcIjGq5fcEsj6ViVJ8c/Q4kAbe5PWI440LSaJF/4f/iGCEnAmzOgslM+ fzP6BWERzrXBEbNMrKIrTJ4SRhPGKcukEBI/ns1tBBcEuoXKg2g53FgSU7ewgY/524LGS27CFrO2o xQfZiDs9Db8q3QKGczvp+T+UkyfuCHbPZ382Qyg4pvxG9A5yrp1ZyEtpsTT1cFlPJQR9papFmz9tc pnz/YqA6at3rwGOM2kwCpQ==; Original-Received: from [87.69.77.57] (port=3778 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 1oBbGC-0008Un-Ea for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 08:14:33 -0400 In-Reply-To: (message from Stefan Monnier via Users list for the GNU Emacs text editor on Tue, 12 Jul 2022 16:07:23 -0400) 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" Xref: news.gmane.io gmane.emacs.help:138456 Archived-At: > Date: Tue, 12 Jul 2022 16:07:23 -0400 > From: Stefan Monnier via Users list for the GNU Emacs text editor > > > It's still not very consistent in Emacs. If I open a dired buffer on > > the linked directory, and open a file from the dired buffer, its path > > is that of the linked directory. If I open a file from the compilation > > buffer its path is that of the target directory. > > Can you try setting up `directory-abbrev-alist`? > > AFAIK it was introduced for similar purposes (e.g. for people using the > old `amd` automounter which turned /net/ into a symlink to > /tmp_mnt/, but if you stopped using the symlink `amd` would then > unmount /tmp_mnt/ after a timeout and your direct access to > /tmp_mnt/ would then fail). That variable is supposed to be set up for each symlinked directory? I think that is only reasonable to expect if a symlink never changes, which is not what happens in this case, AFAIU.