From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32403: 27.0.50; cc mode: c-display-defun-name doesn't work when return type is a pointer Date: Fri, 17 Aug 2018 12:24:50 +0300 Message-ID: <83ftzdgxb1.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534498294 30109 195.159.176.226 (17 Aug 2018 09:31:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2018 09:31:34 +0000 (UTC) Cc: 32403@debbugs.gnu.org To: Mauro Aranda , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 17 11:31:30 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1fqb6Q-0007ix-4e for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Aug 2018 11:31:30 +0200 Original-Received: from localhost ([::1]:60829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqb8W-0005vd-Gc for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Aug 2018 05:33:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqb89-0005f0-DH for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2018 05:33:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqb1C-0003mE-Oj for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2018 05:26:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48234) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fqb18-0003k9-Ry; Fri, 17 Aug 2018 05:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fqb18-0007ur-Hd; Fri, 17 Aug 2018 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 17 Aug 2018 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32403 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 32403-submit@debbugs.gnu.org id=B32403.153449791530274 (code B ref 32403); Fri, 17 Aug 2018 09:26:02 +0000 Original-Received: (at 32403) by debbugs.gnu.org; 17 Aug 2018 09:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:53252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqb0N-0007sE-1i for submit@debbugs.gnu.org; Fri, 17 Aug 2018 05:25:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqb0K-0007rt-NX for 32403@debbugs.gnu.org; Fri, 17 Aug 2018 05:25:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqb09-0002uj-LW for 32403@debbugs.gnu.org; Fri, 17 Aug 2018 05:25:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqb09-0002ub-Ht; Fri, 17 Aug 2018 05:25:01 -0400 Original-Received: from [176.228.60.248] (port=3366 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fqb09-0008G5-5s; Fri, 17 Aug 2018 05:25:01 -0400 In-reply-to: (message from Mauro Aranda on Wed, 8 Aug 2018 17:18:58 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149550 Archived-At: > From: Mauro Aranda > Date: Wed, 8 Aug 2018 17:18:58 -0300 > > Hello. I'm sending this report here because I tested in GNU Emacs 26.1.50 and the problem is not present. If > it belongs to the CC Mode mailing list, please let me know. > > I run: emacs -Q and visit a C file. > > Inside a function that doesn't return a pointer, c-display-defun-name works just fine. Example: > > int > dummy_returnint(int ret) > { > return ret; > } > > Minibuffer displays: dummy_returnint > > But when the function returns a pointer, c-display-defun-name fails to display the function name in the > minibuffer. Example: > > int * > dummy_returnpointertoint(int *ret) > { > return ret; > } > > Minibuffer displays nothing Confirmed. Alan, could you please take a look at this?