From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Default setting for sh-maybe-here-document-mode Date: Fri, 20 Feb 2015 09:19:22 +0100 Message-ID: Reply-To: thibaut.verron@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1cf3ce617c0050f80b67a X-Trace: ger.gmane.org 1424420391 26248 80.91.229.3 (20 Feb 2015 08:19:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2015 08:19:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 20 09:19:50 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YOioP-0001QQ-DH for ged-emacs-devel@m.gmane.org; Fri, 20 Feb 2015 09:19:49 +0100 Original-Received: from localhost ([::1]:59439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOioO-0004C7-NH for ged-emacs-devel@m.gmane.org; Fri, 20 Feb 2015 03:19:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOioK-0004Bk-RR for emacs-devel@gnu.org; Fri, 20 Feb 2015 03:19:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOioJ-0006yH-9E for emacs-devel@gnu.org; Fri, 20 Feb 2015 03:19:44 -0500 Original-Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:33636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOioJ-0006yB-4Y for emacs-devel@gnu.org; Fri, 20 Feb 2015 03:19:43 -0500 Original-Received: by mail-oi0-f43.google.com with SMTP id z81so1433381oif.2 for ; Fri, 20 Feb 2015 00:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; bh=Ofzk3HJH3rj0Jl/35F8Wyc7GK+1qu20UkhtJDraO5K0=; b=tiqRAQdFNWDcE5omEiBsJ62PEoxrkGTRaD8VgLMQBDvFpnDaQnFp1egrBQAzO9ppKs 7zETm65XIdUKGf1tr6NE/aEKZ8arXrp8n/SBVDST8q4V5wJBgtcj+HQAzg72o4o10Vay I8GF36wYKA4l0X7mdaB0gE8hT2Ds8lbxW+PVDhdJA8zewzBzZekA49ECGhVatPtV9HOA VscICqoCfeBhtzfTeoCjaelPcBb/OiHT1IA+INhwnhg2DBYneCrMDJR4tIfpGR/jyTnv TE5rOpu4OHuX0MbrAQ4LRzU9JbAqieFjUqQHXcQpP/RFFLP7rd2+99olfmoJ13h7QvVy HDYA== X-Received: by 10.182.214.1 with SMTP id nw1mr5757030obc.21.1424420382314; Fri, 20 Feb 2015 00:19:42 -0800 (PST) Original-Received: by 10.202.216.85 with HTTP; Fri, 20 Feb 2015 00:19:22 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183318 Archived-At: --e89a8ff1cf3ce617c0050f80b67a Content-Type: text/plain; charset=UTF-8 Hello, 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) I understand that changing defaults is sensible, but in this case, wouldn't it be worth it? In my opinion, the only people who may appreciate this setting are people who know how to use C-q to work around it, and these people will know how to reactivate it. Regards, Thibaut Verron --e89a8ff1cf3ce617c0050f80b67a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,=C2=A0

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.=C2=A0

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.=C2=A0

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)=C2=A0

I understand that changing defaults is sensible, but in t= his case, wouldn't it be worth it? In my opinion, the only people who may appreciate this setting are people who know how to use C-q to work around it, and these people will know how to reactivate it.

Regards,

Thibaut Verron<= /div>

--e89a8ff1cf3ce617c0050f80b67a--