unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43917: Real hard to type <<< in Shell-script mode
@ 2020-10-10 22:38 積丹尼 Dan Jacobson
  2020-10-11 11:12 ` Kévin Le Gouguec
  0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-10-10 22:38 UTC (permalink / raw)
  To: 43917

$ emacs x.sh
bla <<< bla bla
is *super* hard to type in,
because this mode was built before <<< was invented.
So upon '<<' an explosion occurs (boom :-)) to the line, and EOF is inserted.
So to get that third <, one has to mop up a lot more.

So what do I suggest?
Disarm the <<.
Sure, still highlight EOF to EOF areas, but don't magically do knee-jerk
insertions upon <<.
emacs-version "26.3"





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

* bug#43917: Real hard to type <<< in Shell-script mode
  2020-10-10 22:38 bug#43917: Real hard to type <<< in Shell-script mode 積丹尼 Dan Jacobson
@ 2020-10-11 11:12 ` Kévin Le Gouguec
  2020-10-12 14:27   ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 3+ messages in thread
From: Kévin Le Gouguec @ 2020-10-11 11:12 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 43917

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> $ emacs x.sh
> bla <<< bla bla
> is *super* hard to type in,

I think Lars addressed this in 27.1 with commit 8e4a090ff7 (2019-10-11
"Make << shell heredoc expansion less enthusiastic"):

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=8e4a090ff71f64b1d36aebc3f6a8e0145f690bf9

Does that look like it could help?





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

* bug#43917: Real hard to type <<< in Shell-script mode
  2020-10-11 11:12 ` Kévin Le Gouguec
@ 2020-10-12 14:27   ` 積丹尼 Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-10-12 14:27 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 43917-done

KLG> Does that look like it could help?
OK!





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

end of thread, other threads:[~2020-10-12 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 22:38 bug#43917: Real hard to type <<< in Shell-script mode 積丹尼 Dan Jacobson
2020-10-11 11:12 ` Kévin Le Gouguec
2020-10-12 14:27   ` 積丹尼 Dan Jacobson

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).