GNU bug report logs - #14339
24.3.50; [patch] ff-find-other-file doesn't understand Objective-C

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Fri, 3 May 2013 04:31:01 UTC

Severity: minor

Tags: patch

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.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 14339 in the body.
You can then email your comments to 14339 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#14339; Package emacs. (Fri, 03 May 2013 04:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Andrus <darthandrus <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 May 2013 04:31:02 GMT) Full text and rfc822 format available.

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

From: Ivan Andrus <darthandrus <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C
Date: Thu, 2 May 2013 22:29:30 -0600
Below is a simple patch to support Objective-C files (.m extension) for
ff-find-other-file and a sample ChangeLog entry.  There are Obj-C files
in the Emacs distribution and I think this would be useful to several
people.

I have copyright assignment papers on file.

Thanks,
Ivan


2013-05-  Ivan Andrus  <darthandrus <at> gmail.com>

	* lisp/find-file.el (cc-other-file-alist): Add .m extension for
      Objective-C files.



=== modified file 'lisp/find-file.el'
*** lisp/find-file.el	2013-01-01 09:11:05 +0000
--- lisp/find-file.el	2013-05-03 04:17:58 +0000
*************** the preceding slash.  The star represent
*** 245,251 ****
      ("\\.hh\\'"  (".cc" ".C"))

      ("\\.c\\'"   (".h"))
!     ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))

      ("\\.C\\'"   (".H"  ".hh" ".h"))
      ("\\.H\\'"   (".C"  ".CC"))
--- 245,252 ----
      ("\\.hh\\'"  (".cc" ".C"))

      ("\\.c\\'"   (".h"))
!     ("\\.m\\'"   (".h"))
!     ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".m"))

      ("\\.C\\'"   (".H"  ".hh" ".h"))
      ("\\.H\\'"   (".C"  ".CC"))




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 06 May 2013 07:43:02 GMT) Full text and rfc822 format available.

Notification sent to Ivan Andrus <darthandrus <at> gmail.com>:
bug acknowledged by developer. (Mon, 06 May 2013 07:43:02 GMT) Full text and rfc822 format available.

Message #10 received at 14339-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 14339-done <at> debbugs.gnu.org
Subject: Re: bug#14339: 24.3.50;
	[patch] ff-find-other-file doesn't understand Objective-C
Date: Mon, 06 May 2013 03:41:19 -0400
Version: 24.4

Thanks; applied.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Jun 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 330 days ago.

Previous Next


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