From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Patrick Mahan Newsgroups: gmane.emacs.help Subject: Re: Xref oddness Date: Wed, 6 May 2020 16:17:37 -0700 Message-ID: References: <83blnaxfms.fsf@gnu.org> <83o8r6u19a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42856"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 07 01:18:15 2020 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 1jWTIt-000B4F-Dc for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 01:18:15 +0200 Original-Received: from localhost ([::1]:43380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWTIs-0001xX-A1 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 19:18:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWTIV-0001xK-Jh for help-gnu-emacs@gnu.org; Wed, 06 May 2020 19:17:51 -0400 Original-Received: from mail-ua1-x92d.google.com ([2607:f8b0:4864:20::92d]:37503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWTIU-0005S6-Dz; Wed, 06 May 2020 19:17:51 -0400 Original-Received: by mail-ua1-x92d.google.com with SMTP id s5so1186753uad.4; Wed, 06 May 2020 16:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=m3KyeBHlgE9ia5XNaAzVYr5w8jQUXzp6KKfSBEnQ9wA=; b=B/Xm1B1EJvBu/3ZJpkg/zwoapNOz7oFRefyNvL8uA6iF559p/YaKOroMrZ+qhzAJW+ 1RSfKDiOC6PP/IozSwsGQW9PM+GCv/ssGbGBEVLHVvaOUME/QbjlC7rgKIORw1HygAOR ar7ZJlRuukqB9adKbpv2fvgwQIntHw4pMr604iHyh6iJ3iW9sJcBDAAolBeu4CRZaBNO mWn+e2r6ee8UIZXiPchxLgkpbHsrO84aggcc6PiOVagmUiQ8XFIVZlR5GLksbdFzPsdN xQva6f6ZCA0S9UE8UQoyx+ChUA70MzQ5vkYBXfLOAYUPz/S20znlW809KFRfzp3L9svA LdRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m3KyeBHlgE9ia5XNaAzVYr5w8jQUXzp6KKfSBEnQ9wA=; b=FxgS+nHSon/3o0AJTWl7x023hURqc5FGyhBuI0PTK/hqRYsrcvl0622/tVe5Md6h5Z 8RRSzYWBVU8+Q6oEx3vPbaJ3L9KGD7j0zq/tThHqOy1QP+59FoNhGMwF3ZdqU1C3GBYk D028WRU7Pxm0jUdg9RnHsVQyFp3PPjEHKEegJlfz6p8ZfRVcPewIH/y/M2bgNPucbLPM qZ7NKXkhNQOERxcypMJs8zP+5KuI5pJQVkd4cc99SrvUyU0NUmDabgz3ZM46DxDS1xiT xITQxEslUfcwWhvVy74TIlh8wy3fekYWSAvzigxGJYzpL0HG+pFKSZCNwXY1w7IYi173 jlbA== X-Gm-Message-State: AGi0PuZUelKZC58NPq9XGAvV4bikftWVaehwY0rw9Z/ZFwTzkAZVtYKN k96pW+vm14SDvuEIVz82nu7RHnQ0kDui4ZeWNqUoYxr6 X-Google-Smtp-Source: APiQypL1l9f/xG67OynzCcT9qwoDv1rPJ+e7DOooXUcD4H54j09X31AHRUXPquM1oh5bMxky6NlqTnVJQaflTceHEXs= X-Received: by 2002:ab0:b13:: with SMTP id b19mr9441829uak.91.1588807068597; Wed, 06 May 2020 16:17:48 -0700 (PDT) In-Reply-To: <83o8r6u19a.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::92d; envelope-from=plmahan@gmail.com; helo=mail-ua1-x92d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:123043 Archived-At: On Sat, May 2, 2020 at 2:39 AM Eli Zaretskii wrote: > > From: Patrick Mahan > > Date: Wed, 29 Apr 2020 12:32:30 -0700 > > Cc: help-gnu-emacs@gnu.org > > > > I realized I forgot to describe the problem I am seeing. If I am > editing a file in a sandbox, for example, emacs > > $WORK/src/bin/app1/main.c, then need to find a tag (M-.) under 25.2 it > always gives me two choices, both > > are same, except one shows the sym-linked directory and the other shows > the realpath directory. Forcing > > me to have to chose. > > What do you see in the TAGS file in this case? Are there 2 entries > there for each function/variable, one for the real directory and > another for the symlink, or is there only one entry? > > Sorry, IRL is intruding here. In all TAGS files I only see 1 entry for the tag and the file is shown as /home/pmahan/... not /home2/pmahan. But again, when I attempt to xref-find-tag-other-window, it is giving me two options to choose from and then it bounces back to the original window and displays the output there instead of just using the new window (or creating a new window). This is becoming annoying because it is breaking finding a tag that exists inside the current source file. If I override these settings back to the original 'find-tag' and 'find-tag-other-window' it works as expected. Patrick