|
From: Arsen A. <ar...@aa...> - 2026-01-29 14:22:14
|
Hi Alan, Alan Mackenzie <ac...@mu...> writes: > Here's a patch which should fix it. It tidies up other aspects of the > "leading comment" handling, too. Please try it out and let me know > how well it works. Thanks! It does appear to work, though I found it slightly unintuitive at first that line X+1 affects indent at line X, I understand why, so I think this is fine. Thank you so much! It may be wise to drop in some tests of both leading and non-leading comments. This should prevent future regressions. > Incidentally, I am no longer part of the Emacs project, so I don't > commit changes there any more. The patch is based on the CC Mode > repository head at https://hg.savannah.nongnu.org/hgweb/cc-mode, which > can be cloned from that address with $ hg clone. It should work, more > or less, on the Emacs repository too. That is unfortunate. I didn't quite follow the thread where you announced the departure (sorry, I'm sure you can understand, I'm quite busy still..). That is a massive loss for Emacs. Hopefully they at least pull CC-mode changes. Thank you once again, have a lovely day! -- Arsen Arsenović |