From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Utkarsh Singh Newsgroups: gmane.emacs.bugs Subject: bug#46301: 28.0.50; cc-mode: add support for c++ lambda expression Date: Sat, 27 Feb 2021 21:17:11 +0530 Message-ID: <87v9ad4io0.fsf@gmail.com> References: <87czxfx2b9.fsf@gmail.com> <87y2fe2jo3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40501"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Mackenzie , 46301@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 27 16:46:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lG1nG-000ARj-LU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 16:46:10 +0100 Original-Received: from localhost ([::1]:60056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG1nF-0003Sd-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 10:46:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG1n8-0003SR-C8 for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 10:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG1n8-0000fS-45 for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 10:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG1n8-0008GM-0w for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Utkarsh Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2021 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46301 X-GNU-PR-Package: emacs Original-Received: via spool by 46301-submit@debbugs.gnu.org id=B46301.161444072431708 (code B ref 46301); Sat, 27 Feb 2021 15:46:01 +0000 Original-Received: (at 46301) by debbugs.gnu.org; 27 Feb 2021 15:45:24 +0000 Original-Received: from localhost ([127.0.0.1]:45178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG1mV-0008FM-W0 for submit@debbugs.gnu.org; Sat, 27 Feb 2021 10:45:24 -0500 Original-Received: from mail-pj1-f46.google.com ([209.85.216.46]:52503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG1mT-0008F5-FY for 46301@debbugs.gnu.org; Sat, 27 Feb 2021 10:45:22 -0500 Original-Received: by mail-pj1-f46.google.com with SMTP id e9so5101284pjs.2 for <46301@debbugs.gnu.org>; Sat, 27 Feb 2021 07:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=B4VjVmP8iaf88Cm/TzEpTruPRZMHiAAEIPi+FIu3n70=; b=NQfmmPL89n2JlrrfneLvRgbptRf0WHeoKrYb5/deIQj/geUGJXVicTPH/V65bijk9d zZtKYirNxvIWQCRdrlmjcazMi/cfJHrSYz3rMMrB2tjLyWiGfb7yachh43Jx3Du81eth heQlyZB3pf7Hi6vWtPcoO3Qa0V/Mpiu86xSx0PGMq+7hRuHKhtGsRx7y+IvHg18v04DL 32ggsF4kQ1EQLtCCho4t7QQoZ8Es+g5mWhdWn60MqsclWCpE4A4lhxKO7mF9uagMGmSN An1JxNWfBUBzRALK462eFAceAbHfs7yE5wBxEXnD46gjx2dJl85fFkwBLbSC4bUfK2Jz 9WQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=B4VjVmP8iaf88Cm/TzEpTruPRZMHiAAEIPi+FIu3n70=; b=craU8E6x0iuEX3bTYfwpZZv2PySc+l6hZbNcjLOIw+phk7WkJPgUm3Di6zuCcgB5Fo OOWRG2675eP7IpaxQOLiNmU/aI1lrT4reEYk7bPp2hHe2aBylk6RjDYv/mQsocWgOyTr gYUIYpCjDnf7N+fDEZf4mhORm3qia+ZGLSCwwtGBIwExz+CRTEQLXiYchbPp+niIBRnt qMeAgObvpc2hg8ua6qLABqByw+hvQ6hk3tRJr1i/Lw0apS0ydQ2P4ts/6WDr+VVs9xie dhYvYJbHOU9GZRRV4J6z+2T8anKDkP5YW9xYBw4hzk/aLylJBE1UDxDDcBCOAgbbPHxU VaxQ== X-Gm-Message-State: AOAM531ck8Sy7TPtzL7Z+GLX30DXgvFFHxWm1Qzpb7rcNUaXEemRxb2/ QQMQWt8zTeRC1S0OUnb/VDs+dpJ8cG0= X-Google-Smtp-Source: ABdhPJwmq/FjYuzIHF4TsyOx9z8SBy65dymcuZpOnsXLTFVzsZVj65SulXwvB7NcC5jtE/SyvjPq3A== X-Received: by 2002:a17:90a:7d0a:: with SMTP id g10mr8756796pjl.3.1614440715165; Sat, 27 Feb 2021 07:45:15 -0800 (PST) Original-Received: from localhost ([103.77.0.48]) by smtp.gmail.com with ESMTPSA id j5sm11806312pgl.55.2021.02.27.07.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Feb 2021 07:45:14 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200955 Archived-At: Alan Mackenzie writes: > I've spent the last couple of days fixing the handling of C-M-a/e in > cc-cmds.el. It took rather more than the four line patch you proposed. > ;-) Could I ask you, please, to apply the following patch (which should > apply cleanly to the Emacs master branch), byte compile cc-cmds.el, load > it into Emacs, and test it for me on your real source code. Then please > report back whether the bug is in fact fixed, and if not, what is still > wrong. In the event you would like help with the patching or byte > compiling, feel free to send me private email. > Thanks now issue is fixed and code itself looks pretty solid. Due to my in-experience in Elisp and comprehensive cc-mode library I was unable to deep dive into the patch but I have a questions about it: Why non-interactive functions of cc-mode doesn't provide doc-string? -- Utkarsh Singh