From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files Date: Fri, 16 Jul 2021 00:54:04 +0200 Message-ID: <87k0lrdw8j.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10131"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 12016@debbugs.gnu.org To: Surya Gullapalli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 16 00:55:11 2021 Return-path: Envelope-to: geb-bug-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 1m4AG6-0002PT-85 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jul 2021 00:55:10 +0200 Original-Received: from localhost ([::1]:52594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4AG5-0002zk-9n for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 18:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4AFy-0002wy-5L for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 18:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4AFx-0003aS-QY for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 18:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4AFx-00045w-Oy for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 18:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 22:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12016 X-GNU-PR-Package: emacs Original-Received: via spool by 12016-submit@debbugs.gnu.org id=B12016.162638965415670 (code B ref 12016); Thu, 15 Jul 2021 22:55:01 +0000 Original-Received: (at 12016) by debbugs.gnu.org; 15 Jul 2021 22:54:14 +0000 Original-Received: from localhost ([127.0.0.1]:49985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4AFC-00044g-H2 for submit@debbugs.gnu.org; Thu, 15 Jul 2021 18:54:14 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:33556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4AFB-00044R-4r for 12016@debbugs.gnu.org; Thu, 15 Jul 2021 18:54:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=0PhYmcKUgKuPZtnSpWQ1yPoe8lXWsglTARYOc0yjeSg=; b=EDQbF7WXuRQHpJlWaLjza+VuCb kHewEU9inO2DCjOMsokt6Rz5H6Q8oUXHfNKLM2fm8OIYr4cyArH4MYpK0R+S9wdOkEZvpMdiiQlQz sbrpNlxsJEA/asLkLLyWNlYiTBlvAmd1eJMS2XYfa6pcAOkmASJyDCO+b+jA5/ZPyHSc=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4AF2-0005o3-Jq; Fri, 16 Jul 2021 00:54:07 +0200 X-Now-Playing: Colored Music's _Individual Beauty_: "Tamare Kurawanka (Previously Unreleased Version)" In-Reply-To: (Surya Gullapalli's message of "Fri, 20 Jul 2012 13:45:38 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210058 Archived-At: Surya Gullapalli writes: > I've set cc-other-file-alist like this > > (setq cc-other-file-alist > '( > ("\\.cxx$" my-cxx-hxx-convert-fun) > ("\\.hxx$" my-cxx-hxx-convert-fun) > ("\\.c$" (".h")) > ("\\.h$" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp")) > )) > > When calling ff-find-other-file for a .hxx file, my-cxx-hxx-convert-fun > is getting called properly and I'm getting the expected list of > items. But when called ff-find-other-file for .cxx file, > my-cxx-hxx-convert-fun is not getting called at all and hence emacs is > uanble to determine the candidate files. (I'm going through old bug reports that unfortunately got no response at the time.) I'm unable to reproduce this problem in Emacs 25.1 (and Emacs 28). Are you still seeing this issue in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no