From: Philipp Stephani <p.stephani2@gmail.com>
To: Douglas Lewan <d.lewan2000@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Turning off sh-electric-here-document-mode?
Date: Wed, 13 May 2020 13:22:13 +0200 [thread overview]
Message-ID: <CAArVCkQh8FsvB03OYLBuWLbttybi=x3b0attyqdtsyBdsGmpxw@mail.gmail.com> (raw)
In-Reply-To: <24a35cbe-f315-d95b-218b-6849d69954b1@gmail.com>
Am Mi., 13. Mai 2020 um 02:51 Uhr schrieb Douglas Lewan <d.lewan2000@gmail.com>:
>
> OK. I'm sure I'm missing something obvious here.
>
> I want to turn off sh-electric-here-document-mode, but all the obvious
> things seem to fail. I've put every one of the following in my .emacs,
> but I still get here-documents in shell-script-mode.
>
> (sh-electric-here-document-mode nil)
>
> (sh-electric-here-document-mode 0)
>
> (sh-electric-here-document-mode -1)
>
> (sh-electric-here-document-mode)
>
> How do I do this? Thanks in advance.
>
It's a local mode, so all of those will only enable it in whatever
buffer is current while evaluating your ~/.emacs (probably the scratch
buffer). You need to customize sh-mode-hook instead.
next prev parent reply other threads:[~2020-05-13 11:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 0:51 Turning off sh-electric-here-document-mode? Douglas Lewan
2020-05-13 11:22 ` Philipp Stephani [this message]
2020-05-13 14:00 ` Douglas Lewan
2020-05-14 1:25 ` Nick Dokos
2020-05-14 1:47 ` Noam Postavsky
2020-05-14 2:25 ` Nick Dokos
2020-05-13 18:54 ` Douglas Lewan
2020-05-13 19:00 ` Noam Postavsky
2020-05-13 23:10 ` Douglas Lewan
2020-05-14 1:50 ` Noam Postavsky
2020-05-14 2:28 ` Douglas Lewan
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='CAArVCkQh8FsvB03OYLBuWLbttybi=x3b0attyqdtsyBdsGmpxw@mail.gmail.com' \
--to=p.stephani2@gmail.com \
--cc=d.lewan2000@gmail.com \
--cc=help-gnu-emacs@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.
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).