From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gulshan Singh Newsgroups: gmane.emacs.bugs Subject: bug#21409: 24.5; Wrong syntactic information for two line statement in an arglist Date: Sat, 9 Apr 2022 14:43:32 -0700 Message-ID: References: <87eek7taft.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 21409@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 09 23:44:11 2022 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 1ndIsM-0001WJ-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 23:44:10 +0200 Original-Received: from localhost ([::1]:51304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndIsL-0006Ln-32 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 17:44:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndIsE-0006KV-8E for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 17:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndIsD-0004JA-PU; Sat, 09 Apr 2022 17:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndIsD-0004o1-L0; Sat, 09 Apr 2022 17:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gulshan Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 09 Apr 2022 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21409 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 21409-submit@debbugs.gnu.org id=B21409.164954063218450 (code B ref 21409); Sat, 09 Apr 2022 21:44:01 +0000 Original-Received: (at 21409) by debbugs.gnu.org; 9 Apr 2022 21:43:52 +0000 Original-Received: from localhost ([127.0.0.1]:38833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndIs3-0004nW-Of for submit@debbugs.gnu.org; Sat, 09 Apr 2022 17:43:51 -0400 Original-Received: from mail-oa1-f51.google.com ([209.85.160.51]:36410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndIs1-0004nH-AN for 21409@debbugs.gnu.org; Sat, 09 Apr 2022 17:43:50 -0400 Original-Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-df22f50e0cso13332864fac.3 for <21409@debbugs.gnu.org>; Sat, 09 Apr 2022 14:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xQR2fin+/trSEYfSMfJKoCcba0s8x3fFyew8bQSsgls=; b=jyBVHwrrwHpf7YsZI8YSGo0KRr7gIYQoOvOa2Da8QTHtoyXGf8boZh0uQq2J3JqDGz bGMwcDY7XcUY0vA+/LkDL7/XcbCk0Gss4vEJysXWIU/YAvgDSdRSbK0HysIG2D88I+zp P7mIuzq0Sx9vprYYpmGA+QCmGuZjkmV2iuR3nOenDNFjR4YD29lIJBZ+km63d8Yxa3wx F3F48TaOFcad0mj+sSRzCWFfRXVXqHgWaGp+fAmdxAehWAsGOqzrq9/CWWOuNzmeqIq3 DpFA1wWeYVKZn66Q2grqn2NvZehBJ+XndlpLR30jZj+z+MRtMKYObdfLti8QaSQ1KPBa 9ERA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xQR2fin+/trSEYfSMfJKoCcba0s8x3fFyew8bQSsgls=; b=RCKhxucQSwS4Das7lOpqwVL0QMkLw5HSZUSUaJmlQCywtZGen4z/NG8BL4wuCkZRZo r9Sk7fEjxOXwmj8o0gz2GEa1hwBRWYprpaLTnruv55q5PS9R56wf8xnVPe8CbJ31dK2D LRhd9Lrn98mSrlJ3qd9CLxO0EUEME2IKkdzZSgI+S4LLZkrh7rYypVIDhp4EKOsTOgn1 9lPXm6N2hKBZEyPqpDK3bKp90PiqkrGz6AnqTYXVGe9KwG1io9lWrnuZu65SuYeT5h+K KlB6/GB9USRLl4Vf/AnNVH6uc+CV+vEYfPzVDstaLE01fwc4cmZkFsd1WoysDfyZO5F8 VnXQ== X-Gm-Message-State: AOAM533lKmYwwXq6Em+oUQI5IJQqoQ1m/kIS1ylauhAqQ2NyiYsZuOM0 EUJmcj/QpHYzd6vVCGwEjNKJcNNDK84n27Wl3+U= X-Google-Smtp-Source: ABdhPJwfvdR3aDvXPbjCcywldBrHrbncRrrGyG8CxYhuij0myA7sf48itLvEntfIa9sKxswjA1qlAOSwgFcNLkAHjwY= X-Received: by 2002:a05:6870:6590:b0:e2:a532:6916 with SMTP id fp16-20020a056870659000b000e2a5326916mr2298826oab.261.1649540623486; Sat, 09 Apr 2022 14:43:43 -0700 (PDT) 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:229640 Archived-At: Hi Alan, thanks for the patch! I've been very busy, but I just got around to applying it and testing it out. > I've hacked up the following patch, which introduces the new Line-Up > function c-lineup-arglist-+. To use it (temporarily) do C-c C-o RET on > the .baz() line, and change the setting for arglist-cont-nonempty from > > (c-lineup-gcc-asm-reg c-lineup-arglist) > > to > > (c-lineup-gcc-asm-reg c-lineup-arglist-+ c-lineup-arglist) I think you meant `(c-lineup-gcc-asm-reg c-lineup-argcont-+ c-lineup-arglist)` (or you meant to define the function name as `c-lineup-arglist-+` instead of `c-lineup-argcont-+`, not sure). In any case, I tested it and it works great! Is this patch something that could be merged upstream?