emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default setting for sh-maybe-here-document-mode


From: Thibaut Verron
Subject: Re: Default setting for sh-maybe-here-document-mode
Date: Fri, 20 Feb 2015 09:39:18 +0100

Most of them are not activated by default.

2015-02-20 9:31 GMT+01:00 Eli Zaretskii <address@hidden>:
> From: Thibaut Verron <address@hidden>
> Date: Fri, 20 Feb 2015 09:19:22 +0100
>
> I was wondering why is `sh-electric-here-document-mode` activated by default
> for new documents in `sh-mode`? In my opinion, it is confusing to beginners,
> and working around it is difficult.
>
> I was under the impression that in most cases, this kind of commands, inserting
> text beyond what the user types, without requiring anything besides text input,
> are disabled by default. AUCTeX's electric backslash, for example, require a
> specific option to be set, even though in most cases it can be transparent
> input-wise (just visually confusing). Another example is dabbrev, which needs
> to be activated by the user.
>
> And why is it so hard to disable it once you find out where the annoying
> behavior comes from? (Just see how many articles deal with this specific issue;
> and having changed the name of the mode in 24.3 doesn't help)

What you say is generally applicable to any electric behavior in any
Emacs mode, not just to sh-electric-here-document-mode, right?  Or is
that mode somehow special (and if so, how)?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]