[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-ali

From: Surya Gullapalli
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

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.

(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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]