From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Surya Gullapalli 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, 20 Jul 2012 13:45:38 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342905049 28542 80.91.229.3 (21 Jul 2012 21:10:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2012 21:10:49 +0000 (UTC) To: 12016@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 21 23:10:48 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ssgwo-0003D7-QK for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 23:10:47 +0200 Original-Received: from localhost ([::1]:60711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ssgwo-0000Jn-15 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 17:10:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ssgwk-0000DP-EN for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 17:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ssgwi-0001sM-CN for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 17:10:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ssgwi-0001sG-96 for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 17:10:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ssh2u-000176-Kz for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 17:17:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Surya Gullapalli Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Jul 2012 21:17:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13429054144206 (code B ref -1); Sat, 21 Jul 2012 21:17:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2012 21:16:54 +0000 Original-Received: from localhost ([127.0.0.1]:56286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ssh2i-00015h-R7 for submit@debbugs.gnu.org; Sat, 21 Jul 2012 17:16:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46683) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsKZV-00089V-CG for submit@debbugs.gnu.org; Fri, 20 Jul 2012 17:17:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsKTI-0004Cf-TM for submit@debbugs.gnu.org; Fri, 20 Jul 2012 17:10:54 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:39966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKTI-0004Cb-NZ for submit@debbugs.gnu.org; Fri, 20 Jul 2012 17:10:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKTB-0005Lh-Ex for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 17:10:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsKT4-00040D-RR for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 17:10:41 -0400 Original-Received: from na3sys009aob131.obsmtp.com ([74.125.149.138]:33613) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SsKT4-0003ya-JI for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 17:10:34 -0400 Original-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 Original-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 ; Fri, 20 Jul 2012 13:45:38 -0700 Original-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 ; Fri, 20 Jul 2012 13:45:38 -0700 Original-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 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-Mailman-Approved-At: Sat, 21 Jul 2012 17:16:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62253 Archived-At: 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: C-x k y e s C-x k C-x 0 M-x r e p o r t - e m a c s - b u g - q f f - f i d - n f - f d - f i l e , c c - o t h e r - f i l e - l i a l i s t M-x b r e p o r t - e m a c s - b u g - i n e m a c s - b u g r e p o r t - q e m a c s - b u g - q u e r y f f - f i d - n - d - o h t h e r - f i l e , M-x e r e p o r t - e 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: # 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)