20 May 2011 00:02
Problem with c-beginning-of-defun.
HARVEY STEIN, BLOOMBERG/ 731 LEXIN <hjstein <at> bloomberg.net>
2011-05-19 22:02:31 GMT
2011-05-19 22:02:31 GMT
I'm having trouble with c-beginning-of-defun in a C++ file (GNU Emacs 23.1.1 (sparc-sun-solaris2.10, X
toolkit)). The code I'm viewing is wrapped with 2 namespaces, as in:
namespace X
{
namespace Y
{
void classname::memberfcn1(...)
{
...
}
void classname::memberfcn2(...)
{
...
}
}
}
The problem is that when I'm within a fcn, sometimes c-beginning-of-defun backs up to the beginning of the
function, sometimes to the namespace X line, and sometimes to the namespace Y line. Why is this, and how do I
get it to only go back to the beginning of the function?
Thanks,
Harvey
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
(Continue reading)
RSS Feed