From: npostavs@users.sourceforge.net
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Dima Kogan <dima@secretsauce.net>, 20192@debbugs.gnu.org
Subject: bug#20192: [PATCH] for C or C++ sources (ff-find-other-file) now has a symmetric mapping
Date: Sun, 21 May 2017 19:25:21 -0400 [thread overview]
Message-ID: <87pof1g5cu.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87fuwjso2s.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 23 Feb 2016 21:44:43 +1100")
tags 20192 fixed
close 20192 26.1
quit
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Dima Kogan <dima@secretsauce.net> writes:
>
>> `cc-other-file-alist' has a mapping of file extensions to switch
>> between headers and sources, but the mappings weren't completely
>> symmetric. In particular .cpp would map to .hh, but .hh would NOT map
>> to .cpp. This patch updates the mappings to always contain symmetric
>> pairs so that repeated invocations of (ff-find-other-file) can toggle
>> between all pairs of sources/headers.
>
> I think this sounds like a reasonable addition, but that's not a
> function I've ever used, so I can't really say. Does anybody object to
> this change?
Seems like a straightforward improvement, pushed to master [1: 08848e33ba].
[1: 08848e33ba]: 2017-05-21 17:43:02 -0400
Make ff-find-other-file symmetric for C++ (Bug#20192)
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=08848e33baf16d3137b171205f51839d8fcf7d06
prev parent reply other threads:[~2017-05-21 23:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 19:54 bug#20192: [PATCH] for C or C++ sources (ff-find-other-file) now has a symmetric mapping Dima Kogan
2016-02-23 10:44 ` Lars Ingebrigtsen
2017-05-21 23:25 ` npostavs [this message]
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=87pof1g5cu.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=20192@debbugs.gnu.org \
--cc=dima@secretsauce.net \
--cc=larsi@gnus.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.