Stephen J. Turnbull wrote :
>>>>> "mb" == Martin Buchholz
<martin(a)xemacs.org> writes:
mb> This sort of simple thing [toggle .cpp v .h files] is
mb> something for users to define in their .emacs.
Your function doesn't work as a toggle, it only goes one way.
mb> Should support for something like this be in cc-mode?
Most of the time when Alt-S would be a convenience, C-x b RET does the
same thing, no?
If the user really wants
`find-file-corresponding-implementation-or-interface' we should give
it to them, but the first response should be "This is `tags'. Doesn't
tags do what you need, better?"
Frankly, I see no need.
I've got a vague memory of some package that did this kinda .c <=> .h
file swapping a few years ago, although since I didn't need it at the
time, its name escapes me...
--
Andrew J Cosgriff <ajc(a)polydistortion.net> may be susceptible to sunspots