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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Surya Gullapalli <suryakiran.gullapalli@HIDDEN>; dated Sat, 21 Jul 2012 21:17:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'normal' from 'minor' Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Disconnected #12016 from all other report(s). Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 9445 12016 24842. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'minor' from 'normal' Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jul 2012 21:16:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 21 17:16:54 2012
Received: from localhost ([127.0.0.1]:56286 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ssh2i-00015h-R7
	for submit <at> debbugs.gnu.org; Sat, 21 Jul 2012 17:16:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46683)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKZV-00089V-CG
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2012 17:17:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKTI-0004Cf-TM
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2012 17:10:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:39966)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKTI-0004Cb-NZ
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2012 17:10:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38409)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKTB-0005Lh-Ex
	for bug-gnu-emacs@HIDDEN; Fri, 20 Jul 2012 17:10:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKT4-00040D-RR
	for bug-gnu-emacs@HIDDEN; Fri, 20 Jul 2012 17:10:41 -0400
Received: from na3sys009aob131.obsmtp.com ([74.125.149.138]:33613)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <sgullapal@HIDDEN>) id 1SsKT4-0003ya-JI
	for bug-gnu-emacs@HIDDEN; Fri, 20 Jul 2012 17:10:34 -0400
Received: from fairchild.anim.dreamworks.com ([208.71.62.25]) (using TLSv1) by
	na3sys009aob131.postini.com ([74.125.148.12]) with SMTP
	ID DSNKUAnJRGMWifqqMcxxVxr2XOGo4PjlIhl/@postini.com;
	Fri, 20 Jul 2012 14:10:29 PDT
Received: from redfury.anim.dreamworks.com (redfury.anim.dreamworks.com
	[192.168.94.133])
	by fairchild.anim.dreamworks.com (8.14.3/8.14.3) with ESMTP id
	q6KKjcQf004071
	for <bug-gnu-emacs@HIDDEN>; Fri, 20 Jul 2012 13:45:38 -0700
Received: from redfury.anim.dreamworks.com (localhost [127.0.0.1])
	by redfury.anim.dreamworks.com (8.14.3/8.13.8) with ESMTP id
	q6KKjcxT002303
	for <bug-gnu-emacs@HIDDEN>; Fri, 20 Jul 2012 13:45:38 -0700
Received: (from sgullapal@localhost)
	by redfury.anim.dreamworks.com (8.14.3/8.14.3/Submit) id q6KKjcCI002302;
	Fri, 20 Jul 2012 13:45:38 -0700
From: Surya Gullapalli <suryakiran.gullapalli@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.1;
	ff-find-other-file is not considering cc-other-file-alist for .cxx
	files
Date: Fri, 20 Jul 2012 13:45:38 -0700
Message-ID: <tzzliie6u19.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.2 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 21 Jul 2012 17:16:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.2 (------)

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.

In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
 of 2012-07-05 on redfury.anim.dreamworks.com
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
Configured using:
 `configure '--prefix=/usr/pic1/packages' '--with-x-toolkit=gtk''

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: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  cua-mode: t
  global-linum-mode: t
  icomplete-mode: t
  yas/global-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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <M-down> <M-up> C-x k <return> y e s <return> 
<M-down> C-x k <return> C-x 0 M-x r e p o r t - e m 
a c s - b u g - q <return> f f - f i d - <backspace> 
<backspace> n f - <backspace> <backspace> f <backspace> 
d - f i l e , c c - o t h e r - f i l e - l i <backspace> 
<backspace> a l i s t <return> M-x b <backspace> r 
e p o r t - e m a c s - b u g - i n <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> e m a c s - b u g <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> r e p o r t - q 
<backspace> e m a c s - b u g - q u e r y <return> 
f f - f i d - <backspace> <backspace> n - <backspace> 
d - o h <backspace> t h e r - f i l e , <backspace> 
<return> <down> <help-echo> <help-echo> <down-mouse-3> 
<mouse-3> <down-mouse-1> <help-echo> <mouse-movement> 
<mouse-2> <help-echo> <down-mouse-1> <mouse-1> M-x 
e <backspace> r e p o r t - e <return>

Recent messages:
Checking 24 files in /usr/pic1/packages/share/emacs/24.1/lisp/cedet...
Checking 57 files in /usr/pic1/packages/share/emacs/24.1/lisp/calendar...
Checking 87 files in /usr/pic1/packages/share/emacs/24.1/lisp/calc...
Checking 65 files in /usr/pic1/packages/share/emacs/24.1/lisp/obsolete...
Checking 1 files in /usr/pic1/packages/share/emacs/24.1/leim...
Checking for load-path shadows...done
byte-code: End of buffer [18 times]
Using a proxy for http...
Contacting host: proxyrr.anim.dreamworks.com:3128 [2 times]
Mark set
call-interactively: Buffer is read-only: #<buffer *Existing Emacs Bugs*>

Load-path shadows:
None found.

Features:
(browse-url wid-edit network-stream starttls url-cache url-http tls
url-gw url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-util url-parse auth-source eieio byte-opt
bytecomp byte-compile cconv macroexp assoc password-cache url-vars
mailcap windmove shadow sort gnus-util mail-extr emacsbug message
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt magit-autoloads package tabulated-list thingatpt paren
cua-base linum icomplete ido tango-dark-theme yasnippet dropdown-list
derived advice help-fns advice-preload easy-mmode edmacro kmacro
help-mode view easymenu cl server time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
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
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)




Acknowledgement sent to Surya Gullapalli <suryakiran.gullapalli@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12016; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 1 Nov 2016 16:30:01 UTC

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