From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.devel Subject: Re: shell-command-sentinel hook? Date: Tue, 05 Mar 2024 23:30:28 -0500 Message-ID: <87r0goasnv.fsf@gmail.com> References: <868r2xn4k3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28349"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Christopher Howard Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 06 12:41:15 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 1rhpe6-0007B2-NB for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Mar 2024 12:41:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhpd6-0008Ua-5x; Wed, 06 Mar 2024 06:40:12 -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 1rhivI-0005ZB-Qi for emacs-devel@gnu.org; Tue, 05 Mar 2024 23:30:33 -0500 Original-Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhivH-0000oS-4e; Tue, 05 Mar 2024 23:30:32 -0500 Original-Received: by mail-qv1-xf44.google.com with SMTP id 6a1803df08f44-6906dda8bbeso4149746d6.0; Tue, 05 Mar 2024 20:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709699429; x=1710304229; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7/z3EP7FETQ+bpikTGvGTfbX0QwDug+kTklU1+cZs2c=; b=QzjLjqkn5h+9cCNXqznq4VlVahnp6HgM/DjFVUN/ik4miBRWkOE1r2iteaHj0HPEv1 G/M8ADc1bih4Q6Q89SBv94jmz2OdiocpTtuS0oVWuIPnax60GdQRyX+BU2qHTyiWU8kI z/JoAzpQ5zBhoxYhoDFXaIV3hZE2PETHGjTDvtuJiNtDK8yOme0sOdKaQsYvyV+qltGO VcVzR0d5yxlHCOwgwQmiLnfiUUwgW1XsyBNkXQk2yH525oVCQzCE4VF7uZN/+z4X0Xsh k4DiYXunt9X4+iWIIVck1yILOLj01gMmzWTRm+rUvaNjtjl06WPWM5VyIOIuBFr1ADnw +BEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709699429; x=1710304229; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7/z3EP7FETQ+bpikTGvGTfbX0QwDug+kTklU1+cZs2c=; b=Egh4Vv52VUe1oxBDKU6/zd7jlUjVl9qvoTkPt+8gQsEwVrGqft87QKkDd0ooXfqNJN awWrBI2nMr7D2IbYlYdkYgfANKu5Of7zrjZ/RgJ6ExoXUawr+kisKW9WNt7M3oHSdN+y Zaun1ZJx4HrN1i0Jn0DVK+LjbG/irIBbmUEo13A8pwra5BAoSnYrjGBx9KQ4h0Dgx/Ut +BS58/jMCE1fOzXib1px5VPe/gOm5TxarB4B9Dmq80c9bX5DZBxygHqkV3A4J0UqGgZ2 mUVO6+Y703d0bt1OhLrVqGIQyNfy8zucn26ZgNxrZTFzcey3NIf0oXuOmHPZp1B0DGWL poZA== X-Forwarded-Encrypted: i=1; AJvYcCVVYQXQV1NTs9oexrukJQ95PaXtJqW5BdEmigafIgjr5yFZ6xlJZZIXCZ5+6WB0NxgFszWBFaYoqUFy8LaPWwBaHHgZ X-Gm-Message-State: AOJu0YxOR19UisDinEsEwBX+UbaHC+dMLFxQhtVRvexyutouFhZIKKAY dhvKMor67FCp34RO44r13esqqqILGcydCWBtop5dh0/ersUyZsMJF+0l3mlo2rKGVQ== X-Google-Smtp-Source: AGHT+IGAFmzUtvmJr56J05uVOW+CtROE6/TlWsqTNwAjh/k3MhG8N+lMm1DuxHwllWq2Rw1d/a278Q== X-Received: by 2002:ac8:5d0e:0:b0:42f:228:5f87 with SMTP id f14-20020ac85d0e000000b0042f02285f87mr2958996qtx.6.1709699429302; Tue, 05 Mar 2024 20:30:29 -0800 (PST) Original-Received: from gnus ([178.249.214.22]) by smtp.gmail.com with ESMTPSA id g15-20020ac870cf000000b0042f0b204f8asm394233qtp.33.2024.03.05.20.30.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 20:30:29 -0800 (PST) In-Reply-To: (Christopher Howard's message of "Mon, 4 Mar 2024 11:35:53 -0900") Received-SPF: pass client-ip=2607:f8b0:4864:20::f44; envelope-from=suhailsingh247@gmail.com; helo=mail-qv1-xf44.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Mailman-Approved-At: Wed, 06 Mar 2024 06:40:10 -0500 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:316851 Archived-At: Christopher Howard writes: > my overide would need to reproduce the initial part of the function... An :after advice would obviate that, unless I'm mistaken. Not to imply that a hook may not still be helpful, but IIUC the code duplication isn't necessary. -- Suhail