unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: emacs-devel@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: Re: emacs-28 8370caa835: ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).
Date: Sun, 15 May 2022 11:28:11 +0530	[thread overview]
Message-ID: <87fslbl4lo.fsf@gmail.com> (raw)
In-Reply-To: <20220514144929.A603BC01683@vcs2.savannah.gnu.org> (Eli Zaretskii's message of "Sat, 14 May 2022 10:49:29 -0400 (EDT)")

[சனி மே 14, 2022] Eli Zaretskii wrote:

> branch: emacs-28
> commit 8370caa835372ba7841e3822b0f929398c074e1a
> Author: Eli Zaretskii <eliz@gnu.org>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
>     ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).
> ---
>  lisp/electric.el | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/electric.el b/lisp/electric.el
> index 042fc90ccb..4a35c1a2a1 100644
> --- a/lisp/electric.el
> +++ b/lisp/electric.el
> @@ -310,10 +310,16 @@ column specified by the function `current-left-margin'."
>  
>  ;;;###autoload
>  (define-minor-mode electric-indent-mode
> -  "Toggle on-the-fly reindentation (Electric Indent mode).
> +  "Toggle on-the-fly reindentation of text lines (Electric Indent mode).
>  
>  When enabled, this reindents whenever the hook `electric-indent-functions'
> -returns non-nil, or if you insert a character from `electric-indent-chars'.
> +returns non-nil, or if you insert one of the \"electric characters\".
> +The electric characters normally include the newline, but can
> +also include other characters as needed by the major mode; see
> +`electric-indent-chars' for the actual list.
> +
> +By \"reindent\" we mean remove any existing indentation, and then
> +indent the line accordiung to context and rules of the major mode.
                   ^^^^^^^^^^
Typo here, should be according

>  This is a global minor mode.  To toggle the mode in a single buffer,
>  use `electric-indent-local-mode'."



       reply	other threads:[~2022-05-15  5:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165253976940.12698.9877205742602436208@vcs2.savannah.gnu.org>
     [not found] ` <20220514144929.A603BC01683@vcs2.savannah.gnu.org>
2022-05-15  5:58   ` Visuwesh [this message]
2022-05-15  6:22     ` emacs-28 8370caa835: ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564) Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fslbl4lo.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).