GNU bug report logs - #61653
CC Mode: Add new cleanup space-before-keyword-exp

Previous Next

Package: emacs;

Reported by: Jason Thatcher <jason <at> jthat.com>

Date: Mon, 20 Feb 2023 14:09:02 UTC

Severity: normal

To reply to this bug, email your comments to 61653 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#61653; Package emacs. (Mon, 20 Feb 2023 14:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Thatcher <jason <at> jthat.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 20 Feb 2023 14:09:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jason Thatcher <jason <at> jthat.com>
To: bug-gnu-emacs <at> gnu.org
Subject: CC Mode: Add new cleanup space-before-keyword-exp
Date: Mon, 20 Feb 2023 22:02:45 +1000
[Message part 1 (text/plain, inline)]
Hi,

This patch adds a `space-before-keyword-exp` cleanup to CC Mode that 
inserts a space between a keyword and its subsequent opening 
parenthesis. For example, typing `if(` will clean up to `if (`. Clean up 
occurs when the opening parenthesis is typed, as per `space-before-funcall`.

I would appreciate any feedback. This is my first attempt to contribute; 
I'm not sure if this requires a copyright assignment.

Thanks,
Jason
[0001-CC-Mode-Add-new-cleanup-space-before-keyword-exp.patch (text/plain, attachment)]

This bug report was last modified 2 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.