GNU bug report logs - #79033
<<< unnecessary harmful substitution (EOF)

Previous Next

Package: emacs;

Reported by: Dmitri Seletski <drjoms <at> gmail.com>

Date: Wed, 16 Jul 2025 18:11:01 UTC

Severity: normal

To reply to this bug, email your comments to 79033 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79033; Package emacs. (Wed, 16 Jul 2025 18:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitri Seletski <drjoms <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 16 Jul 2025 18:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitri Seletski <drjoms <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: help-gnu-emacs <at> gnu.org
Subject: Re: <<< unnecessary harmful substitution (EOF)
Date: Wed, 16 Jul 2025 12:18:24 +0100
Sorry, send to wrong email list.

Sending to correct one.

Regards

Dmitri

On 7/16/25 12:16 PM, Dmitri Seletski wrote:
> Hello,
>
> I understand that typing 3 times '<' symbol forces auto substitution.
>
> I believe its a bug, it does not help me with anything, but wastes my 
> time. it's VI level arcane magic no one needs.
>
> Simple bash command I try to type in  - 'somecommand <<< file.txt' 
> becomes a nightmare.
>
> I can't find in google how to disable it.(or duck duck go for that 
> reason)
>
> I find results in search sites, and they talk about hooks.
>
> I have exactly ZERO interest learning LISP PROGRAMMING LANGUAGE, it's 
> hooks to DO BASIC TEXT EDITING!
>
> This is frustrating beyond belief.
>
> Please disable this undesired harmful "feature" in future releases by 
> default. Anything who are aware of it and use it - feel free to learn 
> LISP, hooks, and other programming languages, just to enable it.
>
> Please kindly explain in user friendly terms HOW TO DISABLE this 
> harmful 'feature'.(hopefully this will be cached into search engine 
> results, so other don't bang their heads against the wall)
>
> Please talk to users before implementing any auto substitution of input.
>
> Thank you in advance.
>
> Dmitri Seletski
>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79033; Package emacs. (Thu, 17 Jul 2025 04:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 79033 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitri Seletski <drjoms <at> gmail.com>
Cc: 79033 <at> debbugs.gnu.org
Subject: Re: bug#79033: <<< unnecessary harmful substitution (EOF)
Date: Thu, 17 Jul 2025 00:22:28 -0400
[ Please don't cross post to the bug address and to a mailing-list
  (e.g. help-gnu-emacs <at> gnu.org).  ]

> I understand that typing 3 times '<' symbol forces auto substitution.

Actually not 3, only 2 (followed by space or dash, IIRC).

> I believe its a bug, it does not help me with anything, but wastes my
> time. it's VI level arcane magic no one needs.

As you have found out by now, there's a configuration variable that lets
you disable this "arcane magic".  But...

> Simple bash command I try to type in  - `somecommand <<< file.txt` becomes
> a nightmare.

The magic thingy does not trigger when I type the above command.
I vaguely remember we refined the magic which was triggered a bit too
eagerly some versions back, but even in Emacs-28.2 the above example you
provide does not trigger the magic to which you object, so I wonder if
you're using an even older version of Emacs or if you actually typed
something else.


        Stefan





This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.