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: Xref oddness Date: Wed, 29 Apr 2020 12:00:27 -0700 Message-ID: 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="55540"; 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 Apr 29 21:01:30 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 1jTrxZ-000EKc-Bu for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 21:01:29 +0200 Original-Received: from localhost ([::1]:57132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTrxY-000403-91 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 15:01:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTrws-0003zM-M9 for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:00:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTrwm-00074b-PE for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:00:46 -0400 Original-Received: from mail-vs1-xe2e.google.com ([2607:f8b0:4864:20::e2e]:37451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTrwm-00074N-8n for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:00:40 -0400 Original-Received: by mail-vs1-xe2e.google.com with SMTP id g2so2121881vsb.4 for ; Wed, 29 Apr 2020 12:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bwWOuAe3tP7+PMr2X+Mu9P4ymJ3Ct85smck508H5Tis=; b=Cde5hhIy7EhxG+USz6kO2Y2F1ex1SJ3wLR5MPja1pG/dl3nEVtecV6c9k6jHf8aS/x 9gkUph7r7GhjddzwetKCFmJy9BSlL6bNHkjDm1cIpn2QEYw5jgfIVLkzLK3Js+lKagk5 G3zmn66aQSC1MYfOIFUxZFrTNwY1SdSnoYmVWU7nuZkegtznAjlglRQA+wBTjuVGUxMj LoUbfGHW9BKo8oc8gkkPdFQoId7p1nDGswA5BlE0Fp1xWtO2l75nT8dvA5syynzOaFyt 2ir0HMys0ZVavXoPy/XsTJg+sC4TLzPBsWPHHAxVyMq+QDE76WSPLyr1fU4BFQISGdSW ZUBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bwWOuAe3tP7+PMr2X+Mu9P4ymJ3Ct85smck508H5Tis=; b=hEDqmJXSXwavRmSJLBrqp2esTyJI/CMHq93Rn6iLvZnb6sSeyflbYnN1KHk+uOQcL6 3gbRywfTCTCcM4aPFiYb2Pwer4rkfF9TQ8cMjEsFCre5FbsFcTznZDoumX3AjLqnS6nh eVNko0j/kvA7+mZ294hNcFDpivAQwLsyVepChJPlj36BJYvQpy9bgJ4o9UfLAszS1gTt cMa7fXA/Ow/lobxeCw+hL7Ne6gzwgc1vGS81iB9ZZ4KWQFkHlWjtAh9vUgxKWnTMf5Zs uA+UnftZlznCLZf62xr+7S+B2eQAc9pqdV5JLklMxUA/HcH23gStsMm3rr5foTTSDmTK CkQg== X-Gm-Message-State: AGi0Pua6hvWJknEa6SfxOP+vhXlXT9J28kpvxV8KfOVnbx08dAMdBE4G q1Zs5rC4chdh1AkgKPm6J8ZiD4wOCXqUvMPKSmz3arJ0 X-Google-Smtp-Source: APiQypKMalR4kMGCn0pxkNdW0Bp8zYX0q69fysh1F2WrhhkaOpsBNTbE2mqpEQ204SMXMXKzVSzyrgo7U0NSgnkxESU= X-Received: by 2002:a67:7d4b:: with SMTP id y72mr13141098vsc.59.1588186838023; Wed, 29 Apr 2020 12:00:38 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2e; envelope-from=plmahan@gmail.com; helo=mail-vs1-xe2e.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::e2e 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:122975 Archived-At: We have just recently upgraded some of our development machines to Ubuntu 18.04 which includes emacs 25.2 (we were on Ubuntu 16.04 and emacs 24.5). I notice that emacs 25 brings with it changes to TAGS handling that have been moved under Xref. But I am now seeing some odd behavior Our sysadmins have setup where our home directories and development directories are on multiple drives but are all symlinked through the same top-level directory. For example, my actual home directory is on /home2/patrick but it is access via /home/patrick (patrick under /home is sym-linked to /home2/patrick). The same occurs for our development directories (/development/patrick is sym-linked to /development5/patrick). Now since our development directories are setup as multiple directories, I was using the following method for finding TAGS files - (setq tags-table-list (list "./" "../" (concat (getenv "WORK") "/src/lib") (concat (getenv "WORK") "/src/bin") (concat (getenv "WORK") "/src/include") (concat (getenv "WORK") "/src"))) WORK is defined as the top of my current development sandbox and changes as I jump between sandboxes. This worked great in 24.5, but now in 25.2 I am seeing multiple definitions everytime I try to find a tag (M-.) (which is 'xref-find-definitions'). One for '/development5/..." and one for "/development/...". Now that documentation mentions something about 'xref-etags-mode' as a minor mode, but I cannot seem to invoke that mode in emacs. Is there a way to fix this in Xref? Or should I just go back to redefining those keys to the old 'find-tag' et.al.? Thanks, Patrick