GNU bug report logs - #12016
24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files

Previous Next

Package: emacs;

Reported by: Surya Gullapalli <suryakiran.gullapalli <at> gmail.com>

Date: Sat, 21 Jul 2012 21:17:04 UTC

Severity: normal

Tags: moreinfo

Found in versions 24.0.50, 24.1, 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 12016 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Surya Gullapalli <suryakiran.gullapalli <at> gmail.com>
Cc: 12016 <at> debbugs.gnu.org
Subject: Re: 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
Surya Gullapalli <suryakiran.gullapalli <at> gmail.com> 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




This bug report was last modified 3 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.