From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: C++ qualified method names Date: Tue, 30 May 2017 17:10:36 +0000 Message-ID: <20170530171036.GB14370@acm.fritz.box> References: <83mva0j6tn.fsf@gnu.org> <20170526102101.GB4643@acm.fritz.box> <83fufrkbot.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1496164340 29895 195.159.176.226 (30 May 2017 17:12:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 17:12:20 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 30 19:12:15 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFkgp-0007XW-Eq for ged-emacs-devel@m.gmane.org; Tue, 30 May 2017 19:12:15 +0200 Original-Received: from localhost ([::1]:55117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFkgu-0000G7-RL for ged-emacs-devel@m.gmane.org; Tue, 30 May 2017 13:12:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFkgI-0000CL-03 for emacs-devel@gnu.org; Tue, 30 May 2017 13:11:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFkgC-0003EK-Su for emacs-devel@gnu.org; Tue, 30 May 2017 13:11:41 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:22975 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1dFkgC-0003Dg-GH for emacs-devel@gnu.org; Tue, 30 May 2017 13:11:36 -0400 Original-Received: (qmail 71515 invoked by uid 3782); 30 May 2017 17:11:35 -0000 Original-Received: from acm.muc.de (p548C74D4.dip0.t-ipconnect.de [84.140.116.212]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 30 May 2017 19:11:34 +0200 Original-Received: (qmail 14832 invoked by uid 1000); 30 May 2017 17:10:36 -0000 Content-Disposition: inline In-Reply-To: <83fufrkbot.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215352 Archived-At: Hello, Eli. On Fri, May 26, 2017 at 16:08:34 +0300, Eli Zaretskii wrote: > > Date: Fri, 26 May 2017 10:21:01 +0000 > > Cc: emacs-devel@gnu.org > > From: Alan Mackenzie > > > void > > > regcache::raw_supply_integer (int foo) > > > { > > > whatever (foo); > > > } > > > invoking "M-: (c-defun-name) RET" produces "raw_supply_integer". Why > > > does it exclude the class qualification? Is there a way to have that > > > included? This is important e.g. when producing a ChangeLog entry for > > > such methods. > > Please try the following: it has the disadvantage that it doesn't strip > > WS when somebody writes the declaration as "regcache :: \n > > raw_supply_integer". But it should work in the vast majority of cases. > Yes, it works well enough, thanks. I've committed it. -- Alan Mackenzie (Nuremberg, Germany).