From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ielm automatic saving of history -- bug 67000 Date: Wed, 16 Oct 2024 21:36:15 +0300 Message-ID: <86jze7q4io.fsf@gnu.org> References: <86jze9ql81.fsf@gnu.org> <20241016.095542.548863482055227550.enometh@meer.net> <865xpsr3b0.fsf@gnu.org> <20241016.143359.2067752235306528118.enometh@meer.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28921"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 16 20:37:07 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t18tO-0007N7-Rq for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Oct 2024 20:37:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t18se-0001cG-U8; Wed, 16 Oct 2024 14:36:20 -0400 Original-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 1t18sc-0001bv-M1 for emacs-devel@gnu.org; Wed, 16 Oct 2024 14:36:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t18sc-0005ls-9n; Wed, 16 Oct 2024 14:36:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qkRNOOgf2KmAAZBtTNKSLCz6TCtJxHbSRYWm9l5gcEY=; b=YgV7bZX2lqWL naLV507BTVN98RKsjFI55vG32kgATDRjVuzCWth2WN2NZO6nHLhmukGqiB2xC5GexioYm3yh2Iizg 326v6E2nhKs5DEOoa+szu3K/liww7DL7nV/QLiMFBJmd+KmoUjrVwDIfg1ROGRLbxnpNEOn9Cb88Z IywmchAC9TNojri/ex9CRPuWBOwCrwJIrxTgQU/OxsCDbrepta6pslVRyGeDpl+F9K+m2msBL0X8O U5DbyMcVP9VWPzxxrWSI4d9H/T2B1l8sSaYD0PtIXJNKLTzm9lT4ximqnx+fyB+3MP5HHa2DwvEGj 9aHqeWWbWXw8wR0xvP/FXQ==; In-Reply-To: <20241016.143359.2067752235306528118.enometh@meer.net> (message from Madhu on Wed, 16 Oct 2024 14:33:59 +0530 (IST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324611 Archived-At: > Date: Wed, 16 Oct 2024 14:33:59 +0530 (IST) > Cc: emacs-devel@gnu.org > From: Madhu > > * Eli Zaretskii <865xpsr3b0.fsf@gnu.org> > >> The file written is identical to the file which was read. > > > > I don't understand what you mean. AFAIU, IELM history records what > > you typed, so what file was read here? > > the ielm-history file from which the comint-input-ring is initalized That's not what bothers me. What bothers me is the way we save the history of the ielm command the first time, when they are not taken from a file, but from the user input. > Here I am prompted with the coding system warning . If i go ahead and qchoose > utf-8-unix, it goes ahead and saves it. I can compare 2.txt.binary and > 2.txt.out to see that utf-8-unix has not resulted in any data loss. > Hence all the claims in my previous message. The data loss I had in mind is not in this case.