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

To reply to this bug, email your comments to 75108 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 help-debbugs <at> gnu.org:
bug#75108; Package indent.el. (Thu, 26 Dec 2024 04:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vitaliy <vitalij <at> gmx.com>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Thu, 26 Dec 2024 04:34:02 GMT) Full text and rfc822 format available.

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

From: Vitaliy <vitalij <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [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 171 days ago.

Previous Next


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