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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12016 in the body.
You can then email your comments to 12016 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12016; Package emacs. (Sat, 21 Jul 2012 21:17:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Surya Gullapalli <suryakiran.gullapalli <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 21 Jul 2012 21:17:04 GMT) Full text and rfc822 format available.

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

From: Surya Gullapalli <suryakiran.gullapalli <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
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
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)




Severity set to 'minor' from 'normal' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 15:21:02 GMT) Full text and rfc822 format available.

Merged 9445 12016 24842. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 15:21:02 GMT) Full text and rfc822 format available.

Disconnected #12016 from all other report(s). Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 16:17:02 GMT) Full text and rfc822 format available.

Severity set to 'normal' from 'minor' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 16:17:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12016; Package emacs. (Thu, 15 Jul 2021 22:55:01 GMT) Full text and rfc822 format available.

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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 15 Jul 2021 22:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12016; Package emacs. (Fri, 13 Aug 2021 12:36:01 GMT) Full text and rfc822 format available.

Message #21 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, 13 Aug 2021 14:35:02 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm unable to reproduce this problem in Emacs 25.1 (and Emacs 28).
>
> Are you still seeing this issue in recent Emacs versions?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 12016 <at> debbugs.gnu.org and Surya Gullapalli <suryakiran.gullapalli <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 13 Aug 2021 12:36:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Sep 2021 11:24:05 GMT) Full text and rfc822 format available.

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.