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: Tue, 12 Jul 2022 20:13:01 +0300 Message-ID: <83lesyw8yq.fsf@gnu.org> References: <82y1wy8hrh.fsf@gmail.com> <83zghewcaf.fsf@gnu.org> <82h73m8f8i.fsf@gmail.com> <83r12qwa0w.fsf@gnu.org> <825yk28doq.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29975"; 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 Tue Jul 12 19:13:35 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 1oBJS3-0007eg-Mu for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 19:13:35 +0200 Original-Received: from localhost ([::1]:36530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBJS2-0005l2-7q for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 13:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBJRf-0005kp-6c for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 13:13:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBJRe-0005zX-U8 for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 13:13:10 -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=r6FX3ogtyR2y71Es+mMOlKDqQ47GqfsV+UzAZMa/fKE=; b=FdV/q6FZInzt ZZwNnJrJyBXzr+PJqJ3DxVvHSpRM5tIEJzO/BPL3271O6VBt0TfgL9qrdLfekJdkj5bC6inejZUjG 0hQhH5FQCeXRRBoCIIDziGxgjMos8kXI2cSXieNiqndk+OY01WzsbbFafzbYIu+lUHpS3fZ4WtNFz E3u4ZYedz0+/a2tqQWxdokdxfryej5bYP6yXmiGaTm3gJPmsCWRnW2wU7l+zw67xAU9am/eRobvzO oymj3oBw3fjBwD9eBN9X7sE0PqzdaglMizs/hK1iS3QPtf27asVzN9BwtR9V+Ub/QOWJ/P/7vWVny 9biIgAaMx+cu7DR7nFDABg==; Original-Received: from [87.69.77.57] (port=1284 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 1oBJRe-0000KF-DV for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 13:13:10 -0400 In-Reply-To: <825yk28doq.fsf@gmail.com> (message from Pascal Quesseveur on Tue, 12 Jul 2022 19:04:53 +0200) 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:138445 Archived-At: > From: Pascal Quesseveur > Date: Tue, 12 Jul 2022 19:04:53 +0200 > > EZ> Is the command that you have shown something you actually type from > EZ> Emacs? If so, for what purpose? > > It is a build command using ant. When I launch the build from a file > whose path is the symlink it works, when I launch the build from a > file whose path is the real one it doesn't work. Then I guess "M-x cd" before invoking the build command should fix the problem? Or maybe you could write a simple find-file-hook which would set default-directory in each buffer of the files you visit to use the symlink name?