unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files
@ 2012-07-20 20:45 Surya Gullapalli
  2021-07-15 22:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Surya Gullapalli @ 2012-07-20 20:45 UTC (permalink / raw)
  To: 12016

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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files
  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
  2021-08-13 12:35   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-15 22:54 UTC (permalink / raw)
  To: Surya Gullapalli; +Cc: 12016

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12016: 24.1; ff-find-other-file is not considering cc-other-file-alist for .cxx files
  2021-07-15 22:54 ` Lars Ingebrigtsen
@ 2021-08-13 12:35   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-13 12:35 UTC (permalink / raw)
  To: Surya Gullapalli; +Cc: 12016

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-13 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-08-13 12:35   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).