From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lin Sun Newsgroups: gmane.emacs.bugs Subject: bug#70610: 30.0.50; [PATCH] * lisp/eshell/esh-mode.el (eshell-first-time-mode-hook): Run the hook for once Date: Fri, 3 May 2024 03:55:50 +0000 Message-ID: References: <86a5l8mvfd.fsf@gnu.org> <136a2db9-e459-160b-e3d8-aaef6f877a99@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30678"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70610-done@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 03 05:57:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s2k2h-0007rY-SU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 May 2024 05:57:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2k2N-00037C-De; Thu, 02 May 2024 23:56:43 -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 1s2k2K-00036i-Sr for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 23:56:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2k2K-0007DC-2t for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 23:56:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2k2g-0003Im-7R for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 23:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lin Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 May 2024 03:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70610 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70610-done@debbugs.gnu.org id=D70610.171470859412667 (code D ref 70610); Fri, 03 May 2024 03:57:02 +0000 Original-Received: (at 70610-done) by debbugs.gnu.org; 3 May 2024 03:56:34 +0000 Original-Received: from localhost ([127.0.0.1]:46093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2k2E-0003IF-3l for submit@debbugs.gnu.org; Thu, 02 May 2024 23:56:34 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:57345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2k2A-0003I3-9B for 70610-done@debbugs.gnu.org; Thu, 02 May 2024 23:56:32 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-51f99f9e0faso115064e87.2 for <70610-done@debbugs.gnu.org>; Thu, 02 May 2024 20:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714708562; x=1715313362; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sThTZOwL8yG77IpgorWlqkyfMnpAamZhKvyMuFZE2Ng=; b=LaKH8ab5DYxDlNReOdoJK42itcqGnhT0R7woXBE73tPIII0IJt2TTlXjNyUcloyC1a 4FDhKLq2jzg7Q0zvChWApFqure7R0Z/heLNfPVAjkQFEeL6EdXRZLIkZrRYS4t5RCjsi eumW+CTiOdPuLoMSeChkjApPF9zB/11XK/EKEcHXCGIgSl1yjmi9BirfKJnuYvqv57r8 UR9/nphV2wON/j2aPt7RTSbYWS8xyozcKv0zvduHmakMbgASkCkAor4sFUdR7XdKr53w zbKfi0DrNnW7/PstFpj2p0tu4BZ2uktAE4Ip4yeUis3Dt08ldbgYXCuHdUHwJuD+e8IB 3aSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714708562; x=1715313362; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sThTZOwL8yG77IpgorWlqkyfMnpAamZhKvyMuFZE2Ng=; b=Vchd7JqDtG88dNw9i1aR0JaguErF4XXWr4bVmP1M6YhH3LwKGu1OGzw2Xn7Tjwx/OF d/yyfkWtPmjKzaZtgmsFXJtKgzDN+c8JS5sumFGokbXlHsNgH/lpohcZsx05n5BAtvTn hHbF9CFBGI4efNm1WZ4PPiz3XA7jHLykv8c3E73uIEq4bWDT7XlqLcfJIfLlwN5oPZCX +wSuq8BetqheDNuAQESE01hYDXHdcLocXV6XL7KxJdHRRKPeWTnEE09zDi7gObuBrt8v cq50oJU5owleuYLrWO+M1QdvR0rl/PPMwc6QSSk4nt5KM9w7Z1Oce++vXdIQZ+WfB68G DLOg== X-Forwarded-Encrypted: i=1; AJvYcCVpNQDixQsZZJyoj9p2fw5HJz9HwNs6/DaP2WuP1N4YJhfRKmdkGLIkfF7Zqalgy//NOPL1fUD8U6VrfOq1mSxdl9cZsbbagyWUwQ== X-Gm-Message-State: AOJu0YxQIOB37TJRQRJQXLZ8XVV9lnAU9HL5s471JLA4GqTfgtyU2mQg W+i1STsPT1PIRYejLBFxNGaIHbSMoATq7lpT52VVVF1VGDyqCnALqyUgHPPrwDqJ7MK+KVVq2Ei USdOTsiK8t2VaywW8llB8+6VEVl8= X-Google-Smtp-Source: AGHT+IEPCV24XhHZNZW7txUGf+OzQLD761QGidRKRhOsYyI9oO2gJyD9ZaS8TnJX/pplD4zKrxjAzza6Jlo9x0s6B1U= X-Received: by 2002:ac2:5e78:0:b0:518:a9bf:73ec with SMTP id a24-20020ac25e78000000b00518a9bf73ecmr931593lfr.35.1714708561725; Thu, 02 May 2024 20:56:01 -0700 (PDT) In-Reply-To: <136a2db9-e459-160b-e3d8-aaef6f877a99@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284355 Archived-At: On Fri, May 3, 2024 at 3:15=E2=80=AFAM Jim Porter w= rote: > > On 5/2/2024 2:09 AM, Eli Zaretskii wrote: > >> From: Lin Sun > >> Date: Sat, 27 Apr 2024 16:32:24 +0000 > >> > >> The document of `eshell-first-time-mode-hook' says it would be run the > >> first time eshell started. > >>> A hook that gets run the first time =E2=80=98eshell-mode=E2=80=99 is = entered. > >>> That is to say, the first time during an Emacs session. > >> > >> But it actually runs every time for an eshell buffer(start an eshell, > >> exit it, start an eshell again). > [snip] > > Jim, any comments on this change proposal? > > Thanks for the patch, Lin Sun. This looks good, so I've merged it to the > master branch as a2ccda71c15. Closing this bug now. Great! Thank you so much!