From unknown Mon Aug 18 11:15:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6965: 23.2; tags search/replace order no longer sensitive to starting file Resent-From: "Daniel B." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2010 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6965 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6965@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128335584610763 (code B ref -1); Wed, 01 Sep 2010 15:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2010 15:44:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTp-0002nW-KW for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:44:06 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpRo-0002lg-NG for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:42:01 -0400 Received: from lists.gnu.org ([199.232.76.165]:44477) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OqpTR-00053k-LT for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:43:41 -0400 Received: from [140.186.70.92] (port=51398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqpTP-0001WF-DC for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqpTN-0000l4-N7 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:39 -0400 Received: from sovenix.net ([216.127.152.227]:4031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTN-0000kd-HR for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:37 -0400 Received: from 216.1.16.126 [216.1.16.126] by sovenix.net with ESMTP (SMTPD-11.0) id 1c08001539c74354; Wed, 1 Sep 2010 11:00:21 -0400 Message-ID: <4C7E6A71.8080503@smart.net> Date: Wed, 01 Sep 2010 11:00:01 -0400 From: "Daniel B." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-Mailman-Approved-At: Wed, 01 Sep 2010 11:44:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) The order in which tags tables files are searched is broken (relative to previous versions of Emacs and the current documentation): It no longer is sensitive to the starting file, as specified in the info documentation (32.2.6): These commands scan the list of tags tables starting with the first tags table (if any) that describes the current file, proceed from there to the end of the list, and then scan from the beginning of the list until they have covered all the tables in the list." That is, if you have a tags file for dir1/... and a tags file for dir2/... and load both using visit-tags-table and choose to add to the current list (rather than replacing), then starting a tags-search from a file dir2/f should start searching per the tags table file for dir2/..., and starting from a file dir1/f should start searching per the tags file for dir1/.... However, Emacs 23.2 seems to always start with the same tags table file, regardless of which file is the current file. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Java/l Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: k x t g t a g s s c l a s s . * f i e l d > , C-x k C-x k C-x k C-g C-g C-x s ! x b u r C-x k x t x r e e p r e p e - m a t a g s y x b u r x i n f o , , C-g m t a g s C-g C-x 1 m e m a c s s t a g s C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-f C-f C-f C-f SPC u C-p C-p u < < s t a g s C-a C-f C-f C-f SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC C-x 2 C-x b x t a g s s s x x b u r C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e C-p C-n C-e M-b M-b C-SPC C-e w x t a g s s C-y x r e p o r Recent messages: Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/0Notes.txt... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/Accumulator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/BodiesComparator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/BodiesComparatorNEW.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/Decider.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/DuplicateMessageRecordRemover.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparatorNEW.java... Scanning file c:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparatorNEW.java...found Making completion list... Load-path shadows: None found. Features: (info warnings compare-w shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug dired-aux apropos help-mode view sh-script executable chistory ansi-color shell mule-util cc-mode cc-fonts cc-menus cc-cmds etags multi-isearch parse-time vc-cvs nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok compile comint ring dired cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Daniel From unknown Mon Aug 18 11:15:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6965: 23.2; tags search/replace order no longer sensitive to starting file References: <4C7E6A71.8080503@smart.net> In-Reply-To: <4C7E6A71.8080503@smart.net> Resent-From: Josiah Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2016 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6965 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6965@debbugs.gnu.org Received: via spool by 6965-submit@debbugs.gnu.org id=B6965.148018219823244 (code B ref 6965); Sat, 26 Nov 2016 17:44:02 +0000 Received: (at 6965) by debbugs.gnu.org; 26 Nov 2016 17:43:18 +0000 Received: from localhost ([127.0.0.1]:42595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAh0P-00062q-Ti for submit@debbugs.gnu.org; Sat, 26 Nov 2016 12:43:18 -0500 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAh0O-00062e-On for 6965@debbugs.gnu.org; Sat, 26 Nov 2016 12:43:17 -0500 Received: by mail-pf0-f170.google.com with SMTP id c4so18543524pfb.1 for <6965@debbugs.gnu.org>; Sat, 26 Nov 2016 09:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version; bh=tsRqsxUFH+0Jts9oci3mkyLYeMmsbtqmU31bU8kLDd4=; b=bBWa+KXTdl48yYVhevN4Kpmelygu2wJwlxG8ybWBzbsz+pg+xYAvaeU9L7LpD1dmaX WtVrbvGa74IaESoSxzYJLvZ0DZnnYQNnEHrLIiMLUMuPypIRFyf8FHmbMIEgQvjhfB8w JV0E4d+7yYH2NMwLdHLHVWQfzGl+FOLJIa5eKF9tcjdUGR29iqm9HOv6p5xxiFmmYfDj HsqygI14by5vXMemA4pAHPTadTJcgWgnNdFLpzFDw/zNqmOXQjzNre0I5z/ITPZSQYd+ xLcurpNEeeSIBUgfAcD8VG0wNXgBHIpj4GUVVdXX/g6p+5MmIgWOTpMIuBXY8WCon5+I 9dPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=tsRqsxUFH+0Jts9oci3mkyLYeMmsbtqmU31bU8kLDd4=; b=E+Ra2EnqvaD65QA20QgZuNsi8SBceCsXiCzxo44H8BMya44Dnq3rBABDm+Zm6nNtNs SQpcnQI1AWDUPGnH1ZzsBJS9ePyeJKsAYRwYv9W68E+ET9Nz2pxV7z6zbsGPwbuh68oM NWqtQZspMhyWE4r0uUX5cvtYWD4UDU5+DWidBcvShUOJZ2hnIQaXezq2P2V9Sfk7lQ8l dzr6b8YfutVSj9rh9KogaPdUAFCHigQw9XxmXEEX6mqCcyTe5OE8ZS9nsdmE6TPKk0Tv 0ZHygvJlwJaitv7A4hGIDJc3rHIdFqFPhxofESkepFlL5Wrd9QrLMVrWm0jU7NE/GgIs EkAQ== X-Gm-Message-State: AKaTC03lscQtzrUY37gC4ohYhULprPg4k4KwT8guHs4ImsjIG2mDLaNpnsHrsGiPBBasLQ== X-Received: by 10.84.216.20 with SMTP id m20mr30860697pli.126.1480182190704; Sat, 26 Nov 2016 09:43:10 -0800 (PST) Received: from localhost (c-50-156-118-102.hsd1.ca.comcast.net. [50.156.118.102]) by smtp.gmail.com with ESMTPSA id o29sm39907309pgn.28.2016.11.26.09.43.09 for <6965@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 26 Nov 2016 09:43:10 -0800 (PST) User-agent: mu4e 0.9.17; emacs 25.1.1 From: Josiah Schwab Date: Sat, 26 Nov 2016 09:41:50 -0800 Message-ID: <87oa123zq9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I attempted to reproduce this bug using emacs 25.1, but was unable to. Josiah From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 17 20:01:05 2020 Received: (at control) by debbugs.gnu.org; 18 Jan 2020 01:01:05 +0000 Received: from localhost ([127.0.0.1]:40335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iscU5-0001yc-4x for submit@debbugs.gnu.org; Fri, 17 Jan 2020 20:01:05 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:56364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iscU3-0001xt-TU for control@debbugs.gnu.org; Fri, 17 Jan 2020 20:01:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6MI/hDEvZemBOXtC7m8CEn623mgQC1Cugg7r8x2ZCQs=; b=D4yGv1U8XqcTpsc3yfdOd/2lqt diWwaVDEasPxmfLf6Qx8BUnvyRsxHeDBtjCOSaGXmkexiolhZEQstwXczRt5BHWskINEcSsR1pt9m rwlssV6JKscuTDVfB2m1DCfxULCbJsS7k7nVPtE+LdFrNV6cXx9n5ry4PMmpCerKJqb1jNyF2gkKp m6XK2v/OsWhqssH+T46RAAq7GllmXOx1rC+SKHFEaoBA6v8ZkcAbHF7CnRjhT+eaeDuZCZ6ax/D24 /cs1Leq7A6blxF88AL3TWDhldq9HE92aEa6Lsg7HMtSVCSAODS957q3hxBDPMS9r1o8lsj78/lm5k p5Oa1m1g==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:34984 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iscTy-00078f-9S for control@debbugs.gnu.org; Fri, 17 Jan 2020 20:00:58 -0500 Date: Sat, 18 Jan 2020 02:00:56 +0100 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #6965 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -1.0 (-) tags 6965 + unreproducible quit From unknown Mon Aug 18 11:15:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6965: 23.2; tags search/replace order no longer sensitive to starting file Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 May 2020 01:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6965 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible To: "Daniel B." Cc: 6965@debbugs.gnu.org Received: via spool by 6965-submit@debbugs.gnu.org id=B6965.15884690333294 (code B ref 6965); Sun, 03 May 2020 01:24:02 +0000 Received: (at 6965) by debbugs.gnu.org; 3 May 2020 01:23:53 +0000 Received: from localhost ([127.0.0.1]:54316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3ME-0000qv-4a for submit@debbugs.gnu.org; Sat, 02 May 2020 21:23:53 -0400 Received: from ted.gofardesign.uk ([67.225.143.91]:40660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3MD-0000qj-2H for 6965@debbugs.gnu.org; Sat, 02 May 2020 21:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0bY56UKpUEo68gK7hjp8D2/23Z5AHWpJ8If4hYiQIRQ=; b=YkVBDPR5u6ZrDJMTGVTeTQr3ZN vxxdjtoMqT81+14Q/A4xO5BjT1CJ0fk+59HmB1u7ZMT3TtTDA6a4HjTESb2VG1IG62QzxYR9KBtD6 fJMCi21AyO1M6ILt5GQ/XU76SnnV6hDOKuLCpnB/Df96aKy47gnTU8a5zE/zJLTmEP1/eg3uJkyJ4 of23eFsB0ZDKqReDNOMzm4Ytb2jLzUKpcNkiVbfKElTktLd2CLuR070uQPBzpIYE9leXyPzDvf+Ze XWw8PgXEOSpLFYBn5CHCGHN1nzTQ18GNG3TfNsJQIFJeX5eSLFviOcb/lxQ/GJWYnYrmQzsJKiWCr zZky54Ew==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:58760 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jV3M6-001EqV-KI; Sat, 02 May 2020 21:23:42 -0400 From: Stefan Kangas In-Reply-To: <4C7E6A71.8080503@smart.net> (Daniel B.'s message of "Wed, 01 Sep 2010 11:00:01 -0400") References: <4C7E6A71.8080503@smart.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 03 May 2020 03:23:40 +0200 Message-ID: <87bln53j6r.fsf@stefankangas.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Daniel B." writes: > The order in which tags tables files are searched is broken (relative > to previous versions of Emacs and the current documentation): > > It no longer is sensitive to the starting file, as specified in the > info documentation (32.2.6): > > These commands scan the list of tags tables starting with the first > tags table (if any) that describes the current file, proceed from there > to the end of the list, and then scan from the beginning of the list > until they have covered all the tables in the list." > > That is, if you have a tags file for dir1/... and a tags file for > dir2/... and load both using visit-tags-table and choose to add to the > current list (rather than replacing), then starting a tags-search from > a file dir2/f should start searching per the tags table file for > dir2/..., and starting from a file dir1/f should start searching per the > tags file for dir1/.... > > However, Emacs 23.2 seems to always start with the same tags table file, > regardless of which file is the current file. (This old bug unfortunately never got a reply at the time.) Are you still seeing this on a modern version of Emacs? We have a message to the bug from 2016 saying that one user was unable to reproduce this on Emacs 26.1. Thanks in advance. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 21:24:09 2020 Received: (at control) by debbugs.gnu.org; 3 May 2020 01:24:09 +0000 Received: from localhost ([127.0.0.1]:54320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3MI-0000rC-R5 for submit@debbugs.gnu.org; Sat, 02 May 2020 21:24:08 -0400 Received: from ted.gofardesign.uk ([67.225.143.91]:40666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3MG-0000qm-PT for control@debbugs.gnu.org; Sat, 02 May 2020 21:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=taUay1XeNPFLvKlo3OxJZ/I1SUFAE5CiiTitzIu4Y9A=; b=G8PUT3KbLaKnYorAyZmTxGYAwc 4m+iSXLKL01ZhYtGOVSKmXZm3tJ23Oadpfh4OoJnIl+qCsJsfOKE5HJSabS5BpfUrTY6iW25zeTBm ECt4wnyD2w63gChybMdKuF3aPPapNemw0Mg0Yo790fxGndv3O3/gOO97OveFcGPS5M1xNC/CIkpo0 rYtWXYJ9904m77c7e+/chbIV+pfHZx9ic4DfPdHgDfzjNnk/xT0IRIdXzrXgIssgGPotUBZoeSS/T k4Vc/2/akzjg/b8Pipzni2wCqHC4sL6IeiYk/cdRwj9G5hHNk8m3qW9kaG/OFM39M50XVaIEitH53 MTdJBOWw==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:58766 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jV3MB-001ErD-7d for control@debbugs.gnu.org; Sat, 02 May 2020 21:23:47 -0400 Date: Sun, 03 May 2020 03:23:45 +0200 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #6965 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -1.0 (-) tags 6965 + moreinfo quit From unknown Mon Aug 18 11:15:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Daniel B." Subject: bug#6965: closed (Re: bug#6965: 23.2; tags search/replace order no longer sensitive to starting file) Message-ID: References: <4C7E6A71.8080503@smart.net> X-Gnu-PR-Message: they-closed 6965 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo unreproducible Reply-To: 6965@debbugs.gnu.org Date: Tue, 04 Aug 2020 15:54:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1596556443-691-1" This is a multi-part message in MIME format... ------------=_1596556443-691-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6965: 23.2; tags search/replace order no longer sensitive to starting file which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6965@debbugs.gnu.org. --=20 6965: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6965 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596556443-691-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6965-done) by debbugs.gnu.org; 4 Aug 2020 15:53:26 +0000 Received: from localhost ([127.0.0.1]:48902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2zFm-00009k-9n for submit@debbugs.gnu.org; Tue, 04 Aug 2020 11:53:26 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:40832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2zFk-00009Y-Vq for 6965-done@debbugs.gnu.org; Tue, 04 Aug 2020 11:53:25 -0400 Received: by mail-yb1-f194.google.com with SMTP id q3so2715557ybp.7 for <6965-done@debbugs.gnu.org>; Tue, 04 Aug 2020 08:53:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=QL7z7kEZLk3ECbJMGaCBnFo0UGIb899Sb+NoerJpxbs=; b=ST6TtusasuLw3LFNallKcK9SfkzGUmTnIwOJsE5ZQARUQqPxncp0+Ap9Odk1W4Fo7I 3htum/6mrX3/k+ErXsBWZg3phyJ9UI4tmAg+jETzvH4SS/xxdrej81ztqx4Q6bjjQsb8 AtEVBI8m/Xpt8ogoCAPABIeUkyCkv5LC0cgWCq6RhzbdtJaaMMdGJMZIrpHnnYwhhdj9 GXW9ZSd6pRCiABK6AHdjK0g8a0WN5DdmdVkZlcuSKkOwQxnS0QruyvcaQKJbltIRuZ2g Ec9KbvmDAVssq3RAUQIIXLP4csUCNhP3vilvib0ZGkpug8yL2Bs1IW7DkCIDhVmqsFyZ 5c6A== X-Gm-Message-State: AOAM530cZoIxB91AQHXCHhjPBHzPtQCm90bUEPK2SMQIgPLIPWr9dqu7 wIlQpPOO5g591F/hcVxNtIGtsRQxiXxUNMqRSYE= X-Google-Smtp-Source: ABdhPJzwOXdvEUbCfKyRZKt3KQYMP4ZS9wy2QHra5Rnr6DkLdm6l/LjRiTr0kVayTtFJQ21mpNV4cyDfdqiAgwuRm1g= X-Received: by 2002:a25:7007:: with SMTP id l7mr30960590ybc.85.1596556399370; Tue, 04 Aug 2020 08:53:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 4 Aug 2020 08:53:18 -0700 From: Stefan Kangas In-Reply-To: <87bln53j6r.fsf@stefankangas.se> (Stefan Kangas's message of "Sun, 03 May 2020 03:23:40 +0200") References: <4C7E6A71.8080503@smart.net> <87bln53j6r.fsf@stefankangas.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 4 Aug 2020 08:53:18 -0700 Message-ID: Subject: Re: bug#6965: 23.2; tags search/replace order no longer sensitive to starting file To: "Daniel B." Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 6965-done Cc: 6965-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: >> The order in which tags tables files are searched is broken (relative >> to previous versions of Emacs and the current documentation): >> >> It no longer is sensitive to the starting file, as specified in the >> info documentation (32.2.6): >> >> These commands scan the list of tags tables starting with the first >> tags table (if any) that describes the current file, proceed from there >> to the end of the list, and then scan from the beginning of the list >> until they have covered all the tables in the list." >> >> That is, if you have a tags file for dir1/... and a tags file for >> dir2/... and load both using visit-tags-table and choose to add to the >> current list (rather than replacing), then starting a tags-search from >> a file dir2/f should start searching per the tags table file for >> dir2/..., and starting from a file dir1/f should start searching per the >> tags file for dir1/.... >> >> However, Emacs 23.2 seems to always start with the same tags table file, >> regardless of which file is the current file. > > (This old bug unfortunately never got a reply at the time.) > > Are you still seeing this on a modern version of Emacs? We have a > message to the bug from 2016 saying that one user was unable to > reproduce this on Emacs 26.1. More information was requested, but none was given within 13 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas ------------=_1596556443-691-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2010 15:44:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTp-0002nW-KW for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:44:06 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpRo-0002lg-NG for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:42:01 -0400 Received: from lists.gnu.org ([199.232.76.165]:44477) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OqpTR-00053k-LT for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:43:41 -0400 Received: from [140.186.70.92] (port=51398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqpTP-0001WF-DC for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqpTN-0000l4-N7 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:39 -0400 Received: from sovenix.net ([216.127.152.227]:4031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTN-0000kd-HR for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:37 -0400 Received: from 216.1.16.126 [216.1.16.126] by sovenix.net with ESMTP (SMTPD-11.0) id 1c08001539c74354; Wed, 1 Sep 2010 11:00:21 -0400 Message-ID: <4C7E6A71.8080503@smart.net> Date: Wed, 01 Sep 2010 11:00:01 -0400 From: "Daniel B." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.2; tags search/replace order no longer sensitive to starting file Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 Sep 2010 11:44:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) The order in which tags tables files are searched is broken (relative to previous versions of Emacs and the current documentation): It no longer is sensitive to the starting file, as specified in the info documentation (32.2.6): These commands scan the list of tags tables starting with the first tags table (if any) that describes the current file, proceed from there to the end of the list, and then scan from the beginning of the list until they have covered all the tables in the list." That is, if you have a tags file for dir1/... and a tags file for dir2/... and load both using visit-tags-table and choose to add to the current list (rather than replacing), then starting a tags-search from a file dir2/f should start searching per the tags table file for dir2/..., and starting from a file dir1/f should start searching per the tags file for dir1/.... However, Emacs 23.2 seems to always start with the same tags table file, regardless of which file is the current file. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Java/l Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: k x t g t a g s s c l a s s . * f i e l d > , C-x k C-x k C-x k C-g C-g C-x s ! x b u r C-x k x t x r e e p r e p e - m a t a g s y x b u r x i n f o , , C-g m t a g s C-g C-x 1 m e m a c s s t a g s C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-f C-f C-f C-f SPC u C-p C-p u < < s t a g s C-a C-f C-f C-f SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC C-x 2 C-x b x t a g s s s x x b u r C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e C-p C-n C-e M-b M-b C-SPC C-e w x t a g s s C-y x r e p o r Recent messages: Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/0Notes.txt... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/Accumulator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/BodiesComparator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/BodiesComparatorNEW.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/Decider.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/DuplicateMessageRecordRemover.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparator.java... Scanning file C:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparatorNEW.java... Scanning file c:/Daniel/util/MailCleaner/work/src/dsb/inet/mail/cleaner/HeadersComparatorNEW.java...found Making completion list... Load-path shadows: None found. Features: (info warnings compare-w shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug dired-aux apropos help-mode view sh-script executable chistory ansi-color shell mule-util cc-mode cc-fonts cc-menus cc-cmds etags multi-isearch parse-time vc-cvs nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok compile comint ring dired cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Daniel ------------=_1596556443-691-1--