all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Andrus <darthandrus@gmail.com>
To: 14339@debbugs.gnu.org
Subject: bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C
Date: Thu, 2 May 2013 22:29:30 -0600	[thread overview]
Message-ID: <88868CD8-E98F-4EDE-AAD6-3EE717098F96@gmail.com> (raw)

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@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	other threads:[~2013-05-03  4:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03  4:29 Ivan Andrus [this message]
2013-05-06  7:41 ` bug#14339: 24.3.50; [patch] ff-find-other-file doesn't understand Objective-C Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88868CD8-E98F-4EDE-AAD6-3EE717098F96@gmail.com \
    --to=darthandrus@gmail.com \
    --cc=14339@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.