From unknown Sun Aug 10 11:50:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#79033 <79033@debbugs.gnu.org> To: bug#79033 <79033@debbugs.gnu.org> Subject: Status: <<< unnecessary harmful substitution (EOF) Reply-To: bug#79033 <79033@debbugs.gnu.org> Date: Sun, 10 Aug 2025 18:50:17 +0000 retitle 79033 <<< unnecessary harmful substitution (EOF) reassign 79033 emacs submitter 79033 Dmitri Seletski severity 79033 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 16 14:10:42 2025 Received: (at submit) by debbugs.gnu.org; 16 Jul 2025 18:10:42 +0000 Received: from localhost ([127.0.0.1]:50526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uc6aW-0004wG-Pt for submit@debbugs.gnu.org; Wed, 16 Jul 2025 14:10:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47354) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uc0AD-00085A-7K for submit@debbugs.gnu.org; Wed, 16 Jul 2025 07:19:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uc09y-0007U2-Hi; Wed, 16 Jul 2025 07:18:52 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uc09w-0000OK-Hy; Wed, 16 Jul 2025 07:18:50 -0400 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-23649faf69fso52847725ad.0; Wed, 16 Jul 2025 04:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752664726; x=1753269526; darn=gnu.org; h=content-transfer-encoding:in-reply-to:cc:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ksGvs/g/o4GfMumcNohXqhPBDixwqXk/C1CFQkvM/RU=; b=mvILIvfaFpsh5NV53lsdd3sAyyxE/9s4AN3QvGXi+3y1ZbVxdadFILNEtTDm1reXVz JE0qYnlG/zcb3igXMR4wJcJtRTmNmbCiTRXv7wDHzqJl0UpPk2LKwdECzTXDCaj+26Qj qBxigIgGsnFaw3tp72br4SfWLYAK6rPpO20HviL9Ge4VMbFC6bZzmIcUBriuQj/SLGLd BMqnoRnRCM+wMSq+Qo0gXbvCIWou8z8PqD/89l3LRjy+EBL3PcaqRXov1clWGWYbYyQQ BNjiqDm90bEXuWt97ZSgHWbHXAG61HoWCWgTuEGcDPZw9Hu5maQb4cC/npCMKQ3UBcnd ARoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752664726; x=1753269526; h=content-transfer-encoding:in-reply-to:cc:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ksGvs/g/o4GfMumcNohXqhPBDixwqXk/C1CFQkvM/RU=; b=FE+g2Y3UYJYYUttsYwzjw7zPj+qASjd8Zs5Eukyk+XTKktvONH+EOT4P3QOrcXWSvW ut6N8DLOJiLALWGVgSnoQyEctN/RsYfZMoUAvn5EdjSnabYt30UXLpYspRDNIZn3IH8O 2FSqgwSoRs+R3Jyvt5OdqWNSib4BzBAvf3/PlDpZ79L8hRToH7AbINbwSqS7jH97KLrm nyoz83KIWgrHGX8tzAMP7Nwey4dJXtWZsF7f+WXv5lBHbMy1h57QS7KbBZXVVNRtjTe4 mYhkrt3HuNO7mkRibiy9MOvdoAbLRZ3ZP3elHIfglSSuoJI2WzeGpB9YI0b5Ff1At6a3 9Avg== X-Gm-Message-State: AOJu0Ywca12vDkfJG6F4X2m7B5yKRLV6Fx2FgrxxM9zpx+HHPxjlqADC 56ytxtI5b4IwPfcZ4aB67lzm2/f231k4bfjZIurii1uwXgtXXYefZsTtG7S7BYJR X-Gm-Gg: ASbGncvH439Fa7IidRVVteN/IKwHGYCRhHwsfREKKN/DJ5uR2xkF49IUqyJzDke0Ms7 9QHl0bixS8wN5xu7QzfotmIs5SvRTzet6tWM9nrmtXfws0AlitYdcdcHKSKWBVa/ItTiyfWOPrJ 9wU2SUQR80QboMi211o6ik0wLq50wBzQyyc6SeTdBPBMeSwzTn0Nmj8KlKUJjZb6TCIZIkcLVPJ BYhZuyJSwvF5M3GznKIsVoK/xI1LXiw5wRFwwqdqLz+/E/I6XTdoL9QrTi2mYb5Ub1Q9c74tBUt YohOG6hR7NCsOJj+y/3mxKq6alw+WYDiZ+b7JTg4q/vHoC3wcvBC/H7S+qJ9JnC41xteEnWASdu t+CUQvqtuyVOKfQDT/cgGsRIl9QCpVEStsUEOvjH3j2GJkf0VLI/Y69f+BsqpV0iGmw== X-Google-Smtp-Source: AGHT+IE12du/MVX2wfo0XXvLI1qdHq70W94SHP3yBW/kgCrM19MZ9r5GXyYadOJ7xseVF+dVo75Lwg== X-Received: by 2002:a17:902:e88d:b0:234:ed31:fc96 with SMTP id d9443c01a7336-23e2572fbc3mr32429115ad.26.1752664726421; Wed, 16 Jul 2025 04:18:46 -0700 (PDT) Received: from ?IPV6:2001:bb6:1b96:9200:1818:73ff:fe0b:8769? ([2001:bb6:1b96:9200:1818:73ff:fe0b:8769]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23de435c194sm129273225ad.220.2025.07.16.04.18.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Jul 2025 04:18:45 -0700 (PDT) Message-ID: <2223801b-facf-47a0-bb98-a5da162ef05d@gmail.com> Date: Wed, 16 Jul 2025 12:18:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: <<< unnecessary harmful substitution (EOF) From: Dmitri Seletski To: bug-gnu-emacs@gnu.org References: <58e59695-04e8-4661-ba2e-530766967930@gmail.com> Content-Language: en-US In-Reply-To: <58e59695-04e8-4661-ba2e-530766967930@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=drjoms@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 Jul 2025 14:10:38 -0400 Cc: help-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 > From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 17 00:22:47 2025 Received: (at 79033) by debbugs.gnu.org; 17 Jul 2025 04:22:47 +0000 Received: from localhost ([127.0.0.1]:52271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ucG8s-0003RW-Ne for submit@debbugs.gnu.org; Thu, 17 Jul 2025 00:22:47 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24019) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ucG8o-0003R9-U8 for 79033@debbugs.gnu.org; Thu, 17 Jul 2025 00:22:45 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D66E544037B; Thu, 17 Jul 2025 00:22:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1752726155; bh=uc7pJS2yu9pE8FFYrTnfh8val0eEEb62joQcTaPdMUQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=cNUinYHPwBjm08MEZWh22REQydj2LE7X/ZfSbYCVdBqVi5div8ZsNkJ6kcBfS4Cl7 n89ii3+J9FBlvCahUah35Lu+UYgsk2UGWLBBjJtHzXSrw9GC3n2YWIqTUlQuNU3RuM i1PQdbsNpBdtvTWPrEx5jCbvYUo2vK00MSfZ6WhaLaVt/DqT53FZkXUCa19bOGfUOU OMaLpPoJ/4tvLjfCpzanZSdURCFzpYjpVAHhobIdmT3d90+97c1an07rNSDGda/iS4 MOhPFjjH+7DNLBki7BIxsvnA8YtHz//Ck8mBb7TIakKngJ/nRsyLuFm4hOWv9n269v 1D8dLt3mqu7eQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BB3174401F4; Thu, 17 Jul 2025 00:22:35 -0400 (EDT) Received: from pastel (unknown [104.247.225.139]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 904FE120919; Thu, 17 Jul 2025 00:22:35 -0400 (EDT) From: Stefan Monnier To: Dmitri Seletski Subject: Re: bug#79033: <<< unnecessary harmful substitution (EOF) In-Reply-To: <2223801b-facf-47a0-bb98-a5da162ef05d@gmail.com> Message-ID: References: <58e59695-04e8-4661-ba2e-530766967930@gmail.com> <2223801b-facf-47a0-bb98-a5da162ef05d@gmail.com> Date: Thu, 17 Jul 2025 00:22:28 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.270 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79033 Cc: 79033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [ Please don't cross post to the bug address and to a mailing-list (e.g. help-gnu-emacs@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=A0 - `somecommand <<< file.txt` beco= mes > 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