all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Surya Gullapalli <suryakiran.gullapalli@gmail.com>
Cc: 12016@debbugs.gnu.org
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	[thread overview]
Message-ID: <87k0lrdw8j.fsf@gnus.org> (raw)
In-Reply-To: <tzzliie6u19.fsf@redfury.anim.dreamworks.com> (Surya Gullapalli's message of "Fri, 20 Jul 2012 13:45:38 -0700")

Surya Gullapalli <suryakiran.gullapalli@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





  reply	other threads:[~2021-07-15 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-20 20:45 bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files Surya Gullapalli
2021-07-15 22:54 ` Lars Ingebrigtsen [this message]
2021-08-13 12:35   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0lrdw8j.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=12016@debbugs.gnu.org \
    --cc=suryakiran.gullapalli@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.