all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs-28 8370caa835: ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).
       [not found] ` <20220514144929.A603BC01683@vcs2.savannah.gnu.org>
@ 2022-05-15  5:58   ` Visuwesh
  2022-05-15  6:22     ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Visuwesh @ 2022-05-15  5:58 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eli Zaretskii

[சனி மே 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'."



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-28 8370caa835: ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).
  2022-05-15  5:58   ` emacs-28 8370caa835: ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564) Visuwesh
@ 2022-05-15  6:22     ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-05-15  6:22 UTC (permalink / raw)
  To: Visuwesh; +Cc: emacs-devel

> From: Visuwesh <visuweshm@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Sun, 15 May 2022 11:28:11 +0530
> 
> > +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

Oops, thanks.  Fixed.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-15  6:22 UTC | newest]

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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.