From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Turning on savehist-mode by default Date: Mon, 20 Nov 2023 08:09:07 +0800 Message-ID: References: <87wmufm7r7.fsf@catern.com> <87fs12jkik.fsf@yahoo.com> <87ttphlqlo.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24752"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 20 01:10:41 2023 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 1r4rs9-0006FU-Rd for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Nov 2023 01:10:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4rrK-0001PI-LZ; Sun, 19 Nov 2023 19:09:50 -0500 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 1r4rrJ-0001P6-2y for emacs-devel@gnu.org; Sun, 19 Nov 2023 19:09:49 -0500 Original-Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r4rrH-0000JB-9B for emacs-devel@gnu.org; Sun, 19 Nov 2023 19:09:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700438985; bh=NnJhzI+2dZqGm0WHMmLCDFbT5oNRyjE4zCJHTbqhdDI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Rb/SxDI133to4GlVd+dSJwwNVZ4AZMptV/j2J23IAMdXH7ddR+UvFfiDHHl7L18wuyUysdCS7mHXgDLx+VnUD0EhldiVGgGjkh6Wrew2djYEeoBSlVgRXNy1jiv27vQfD2f0ALPZB179pf0W2xKMPz+m8H6OJCQCcL5grq4oq58V5RGXBm9oqw1tnunfl2gK4O6X5gL93/gL2kenPgM+oK6vDjIoygjX2DNCRKC4AXNtl8sxKoZNTtvOeUwPQYrexPF23V+zyKlV5bubnzoR2L9ZgUYpUz+/9e0coTmyraSWZwjge/CfpWLr00FDscAmYSGoqejrGdYQio+v4DhV5A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700438985; bh=dINgmoxaKOJ6+beKUuME1amEU4diqBVJl27whHkiaMk=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ec4LJiCkzLxIL+4UpYrqZdVb9Oe4yPzCwODPLakcfrFdEU/TiLWwm2qlAyUfNDT+sREEji6g4zKtJk8v61xHQD0CscBSGGmKZKneTKWWdUkU5j+o4q1t+jfFC5OLrbXu6VaN6JNducxjFhwGE5u5HsLMWvMuo7A7lGeKd4vyedl+kF77GQwf7uXmW31vn8jUxDqPpip+Iue4zx42w1wRIoM5OKa96scj4l2i0EPVjEZOPLs89+uStcedTov2hliKXKeqTOXJDTZYaGS1RqOSJUd/pdZLNlPa+KgL01WXPXwXJmGeqxTYkfT1RqaDcmJMWXnvdAa4ZZosWhjrlvXPXw== X-YMail-OSG: 1W87IasVM1mVJX9jd5iN7oeYb.hCrWkrtQdC94JNcdHMV2iQErUs18hzUlodZo. fgypaqc6p.LSkXPPDQFoYWL.P1FRxcZwGdiSZUCny.8.aI08PkG8zzkA6y7.2ALR_AttVdFmljA_ jlX_IttE24TCLlp6dbBUEUDF6fqDbUbXjmVAGwdVgYL3QdTcrRx.EgTXUVK.mJrcjdBdukCjX_CW 9Qq0CGOJJq6uTaOAstyeQ4tZq6.9H1loc1fxr9Gc9Ab2PLkI3wz292bG.m6dUBdWpLYZeCpRUYpp etZzLsAN695B2a96TjZ3vzJ4WKcbdTN.9gKDBj6iyEBlA1hYZQprzuq.aUi8i6WWtGz_yfvKUump vUrUerN2n5elsmVZVq2B68luT_d5Z6eKYzrgCnLk0LBIE9VlJgwWUyljCbXZimoqMq_J2RSXd1j6 CEIYpsS2s64vCZ6PYl0D.3DVd7x77D47xsfchgMIPFl2M6LoCe104erRE9igaa9wk.RrLQCYIWMn GQ4dOKq2LZ2lZxru7F5Vnbqr0Ihn8SlcVKLxaKosDtc2op.SBeFggzCdSGDOynedlGafr8C77guY _5Hmd7jtnbOtRp3OkvWCQEkWPQ3S.rSXJFa6Cz0SZzbSwqMO8aQh2r5PxEzgHbJoEl2c4kU39Pnd 0ETY09nKTulaogk8xf7hR5xbACJFkHIzxBhtZB9LKRfF7aJNP3EcFuZF5SXC5.7rzv6q0gEM8K2Q E_Qnk.PX4HHHwAQt4_GuUoJ0ZcyoWyCxYXcMOTz08i7TBOGQ0bVWZTP1givMz58Nd8mnALeSSChy EIRvpCfTfedO3ur._s4NtZxGiYh3OjaaVeu0gNyFyk X-Sonic-MF: X-Sonic-ID: 349084e9-b6ad-447d-9525-abdc6c968ccd Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Nov 2023 00:09:45 +0000 Original-Received: by hermes--production-sg3-8696d769c6-z26jv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a6c47d242f53eaf77990bf0d6170d18f; Mon, 20 Nov 2023 00:09:38 +0000 (UTC) In-Reply-To: <87ttphlqlo.fsf@catern.com> (Spencer Baugh's message of "Sun, 19 Nov 2023 15:17:48 +0000 (UTC)") X-Mailer: WebService/1.1.21896 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.148; envelope-from=luangruo@yahoo.com; helo=sonic309-22.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:313024 Archived-At: Spencer Baugh writes: > I agree that outdated completion history is a nuisance. However, > isn't outdated completion history better than none? Not as I see it. When M-p is typed and Emacs cannot supply a proper history entry, it should ding rather than begin iterating over hundreds of outdated entries. > I definitely find the bash history experience extremely annoying. It > happens even when bash is exited cleanly - it's just a consequence of > the fact that bash overwrites the previous history when exiting, > rather than combining them in some way. > > Emacs isn't commonly run in parallel, and when it is, at least for me > there's always one main Emacs instance which outlives the others. So > we shouldn't have the bash experience. But still: I'd be happy to > implement some history merging behavior so we don't get the bash > history experience, if that's a requirement for savehist-mode to be > turned on by default. Yes. Despite this not being completely orthodox practice, we know many users follow it; search for threads on major Emacs forums concerning startup time, and you will recognize the pervasiveness of short, ephemeral Emacs sessions.