From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OOFOFa9bcGb3UAAA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 15:52:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OOFOFa9bcGb3UAAA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 17:52:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YzJQ9vG9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718639535; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iCfFR6jlt8rHO5qbTbTe9FFi81QFl9hBEduUv2mXMy0=; b=uQCOFDWyhuO19vuJXjHJ+fLcaT2j1pPFizrhHVV2+owzAfdVf/irXx5GM/oUPq+eJgkrQ2 YLI0vsnO3OlzpDPTzWvX6PZK1Wve+T5BNIWijvYM1ksPyHwXeqY4sC4vQdSSYM/D31qZW9 cOwXl+zB34JdoUqLSFiiRIf548ZFHA0Qjdk4bb552YiLYaMr8qcK+Rg9DiPcWCqpg/VKTR Uz5ZNVgeoDjlc7SWK/9lUprBMi22ZFof59+/0ogxvcE9Ic6xHXYWZwsighitpCxJtyUPGf pOmHv+aBzJxA/cs8UR7Nw47Uf6/gadJm2K4qPpmlysNoXvPVumbKmsbxZAqVbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YzJQ9vG9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718639535; a=rsa-sha256; cv=none; b=GO+nYR9L9mPyAGYWEHfjh6lALLapFoOGRcepCkc93P568OhvKAHWBhx1UpI7GJFww0V0GJ OmQ0Dq9vYUSDIJtpjIVOPwsfonml+d4pN0kWdVihEr9ltW7b0ztLKmuPL2koujE6siSPGp GWVpYMG8bH8uaTgOqgeaFkdIyT6oo8IPmPKaV2NYCRyz5w0UErBw7lASf+ypfGQSxhprNT xzbOKIbq7tPlr+9Cam+V7F71bE4W/kVncVyRyQ9XwpniJXR+xcT8sLOLGOsBUnSyv0djlS l3EQYl8apzg2/xil/xg3zJNCS60E0F1nH91abQ5WqyJdiWdZqn4k+mni90//ZA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2D43A6C811 for ; Mon, 17 Jun 2024 17:52:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJEe2-0004lC-Id; Mon, 17 Jun 2024 11:51:46 -0400 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 1sJEe1-0004l4-Bh for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 11:51:45 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJEdz-0003Nz-R8 for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 11:51:45 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-35f06861ae6so3911723f8f.2 for ; Mon, 17 Jun 2024 08:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718639502; x=1719244302; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=iCfFR6jlt8rHO5qbTbTe9FFi81QFl9hBEduUv2mXMy0=; b=YzJQ9vG9mIHuhOjGueEgSrxG9tU5VaALfXLzh4yOdcN8GGYNhQ9znONIwSSQJfVz3q ryWhmARrPTEpIRb+BoK9hBEwkDjBJUOQSqXfxRCnIT9zs+MT++6s6pS9mOhjmvzQ+qnM KZsTB0ot518ODbv3ngrmPTxT3gkgdo2eocdmx6FamVlOwyw88hlr4nIFKhARxNhyo5c4 TqRCwZ8qmB8NetJyB6UsCNGVvnFn9w3xOZgFHG+Ro7i/PSTRPrRAWID9QB2hCekdWTs+ 9FK3s49yTGJNoOUO4r7hSDRHbDMxOc8sLMMIzJXqHaaokZI4ztDSiTDY/vwBKfqxQOSp yghg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718639502; x=1719244302; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iCfFR6jlt8rHO5qbTbTe9FFi81QFl9hBEduUv2mXMy0=; b=IS5LbN7tyicRXv/Vyy1viiEUWon+h69OkQJujr7/OeRkxI1MlzmZ3jaKmbkMy6iEes k5c3VtcIue9U8khErILK4K1HsLbwjRwjc3i/IfkofgkLsJ8Suk2NeJt+ngpYqIo7reu+ u8fd6pH1pjLu8QNtu/tczSxkXHPAkGsGot6X994fpVqBkecXOhMRINRzQdHkvGVLxtJ4 cctdWMHGnznmGHUZIdGCbSgYCV53/Ro+uWR0hkK+fyaoX1AFHBfhS88IiXvrCSJRQti2 HXogcx3nMRmqON8xxPEY5g2/E56rzx8shOdNGzFd2x2uYqyXLMBVTQgKXwDCieCAOmlp x6og== X-Gm-Message-State: AOJu0YzpdwxgAey3c2Z4xnQnWksKgmrQvHewsW0y3P1WIKBzN3cfoUDz /DdkYDQYWphVikFEZr8L2nATZtmRbAILgP4dUKy3Hdc5qof08kXNhkNiuQ== X-Google-Smtp-Source: AGHT+IETEk0EiSF3x6vUMaomn2D7BFXSn0csaMatHjuTsOK1CSER96tR8cqO8+SJEt6kVLnfFa89cg== X-Received: by 2002:adf:e68e:0:b0:35f:2fd3:85c1 with SMTP id ffacd0b85a97d-3607a74e617mr7125621f8f.12.1718639501528; Mon, 17 Jun 2024 08:51:41 -0700 (PDT) Received: from localhost (sgyl-45-b2-v4wan-166941-cust3717.vm6.cable.virginm.net. [82.37.190.134]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3607509c8fbsm12072287f8f.43.2024.06.17.08.51.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 08:51:41 -0700 (PDT) From: Al Haji-Ali To: emacs-orgmode@gnu.org Subject: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)] Date: Mon, 17 Jun 2024 16:51:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.67 X-Migadu-Queue-Id: 2D43A6C811 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.67 X-TUID: K+pLoYc7pKN0 I have `org-refile-use-outline-path` set to t, expecting that when refiling, the filename should not appear in the list. However, because I am opening an org file using a symblink and I have `find-file-visit-truename` set to `t`, the test `(not (equal filename (nth 1 x)))` in `org-refile-get-location` always fails and the filename is displayed even when the current buffer and `(nth 1 x)` point to the same file. If I replace this condition by `(not (equal (file-truename filename) (file-truename (nth 1 x))))` The filename is not added to the list of refile targets as I would expect. -- Al -- Emacs : GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.5.0, Carbon Version 169 AppKit 2299.6) of 2023-09-09 Package: Org mode version 9.7-pre (release_9.6.29-1443-gb4d17c)