GNU bug report logs - #75108
[PATCH] indent.el Comments for indent-for-tab-command as a first step for refactoring.

Previous Next

Package: indent.el;

Reported by: Vitaliy <vitalij <at> gmx.com>

Date: Thu, 26 Dec 2024 04:34:02 UTC

Severity: wishlist

Tags: notabug

Found in version master

Full log


View this message in rfc822 format

From: Vitaliy <vitalij <at> gmx.com>
To: 75108 <at> debbugs.gnu.org
Subject: bug#75108: [PATCH] indent.el Comments for indent-for-tab-command as a first step for refactoring.
Date: Wed, 25 Dec 2024 21:45:58 -0000
[Message part 1 (text/plain, inline)]
Tags: notabug
Package: indent.el
Version: master
Severity: wishlist

In GNU Emacs master.

#'indent-for-tab-command function now have strict steps, I hope in
 future we will add ability to select on what orded they should go, as a
 first step I suggest to comment them to separate.
This steps in unclear heap now:
-. **Check for Active Region**: If there is an active region, it indents that region.
1. **Handle Special Indentation Cases**: If the indentation function is specific or certain conditions are met, it inserts a tab character.
2. **Default Indentation Handling**: If neither of the above, it performs standard line indentation.
3. **Check for Completion Conditions**: If specific conditions are met after indentation, it triggers completion.
4. **Rigid Indentation with Prefix Argument**: If a prefix argument is provided, it rigidly indents the balanced expression to reflect the current line's indentation.
[0001-Comment-for-indent-for-tab-command-as-a-first-step-t.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
--
Best regards,
Vitaliy
Magic number: 7850B0B5E3F536601D2E6A9DE1C43E074A047699

This bug report was last modified 172 days ago.

Previous Next


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