From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: (unknown) Date: Fri, 17 Nov 2023 23:05:56 -0800 Message-ID: <4a528d12-9687-d95b-69e2-11c769e465eb@gmail.com> References: <1325582.1700277236@archlinux> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25783"; mail-complaints-to="usenet@ciao.gmane.io" To: Greg Minshall , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 18 08:06:52 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 1r4FPn-0006Ur-Ka for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Nov 2023 08:06:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4FP0-00067u-Qq; Sat, 18 Nov 2023 02:06:02 -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 1r4FOx-00065o-DJ for emacs-devel@gnu.org; Sat, 18 Nov 2023 02:05:59 -0500 Original-Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r4FOv-00041E-TZ for emacs-devel@gnu.org; Sat, 18 Nov 2023 02:05:59 -0500 Original-Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1f0f94a08a0so1563921fac.2 for ; Fri, 17 Nov 2023 23:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700291156; x=1700895956; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=9IEUBnC1baaAojDerulHBIpEZTq4q82jEzPrdXPIlKM=; b=kC/kzhJ/9XAo+Czbii/sDnWCxiTQh65IwBRj/0IbAUdNUPWg/pOKPfGyWH1HjM97rU +EQpzkMLvVUfxZWSkYf4f5mmiT+fZw49zlfgrHBoEEmjhzB6vrUgGg1XUxhz5XweHSvI /J5mD6Ly0NlNQT/N+wYx3TK0V9LUHFzeeRp1T8l7C+2uWVuO8AOLUqzHUWgN4emzTt6U /OaEp9DQGgRzmo86khFtJ+QEOTQENSJ8TXSSVXHbMOA4a6GVsTAQASpVhXI3x9YoeFYq LpSekJ+gep9krC/Q3DbCbv8WrXTErUZTc3VSZeqy8sAcDFpRfxX4QtsRVKNCoUQm/NJp nB/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700291156; x=1700895956; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9IEUBnC1baaAojDerulHBIpEZTq4q82jEzPrdXPIlKM=; b=Dbm8qVkJon0DQCuu7RrnA91cKZdlXTR2da4fLCm/f/ieUVDAHrQxW6jaQAhEzX406b kNHE2u0HUCX1LgkQmA8MPvFN/JdfsrSNXx8a5FpHyCbkMJC1Z9PfvaZ5hwwxGewunTcZ z0WYSM2pCI4GnwF/aPz5+QvBd0vN2PSU4wx8Ww6R0U0czASPd3221mVCY7miD8QoH0pd RcWEHw9cKOAHM+Yi3nQxmFovKv1lLt9mZ4jZSQQcsMCE9ifEEFjuGUI6hJcH6P1I0fAD g/IA1gL1UZ3m7FXMNByb8Dma+93va041JaGRB3Qf9n4w5RtqsHpL3oYQFnDz7BdUZCjo PSPg== X-Gm-Message-State: AOJu0YzdHdcPlJ5unim3IK2+kp3XQ4wRW3PfC+H2hDUMhYIJC6RurCm2 dtf/OC81+cQ17UOt2EKatNc= X-Google-Smtp-Source: AGHT+IEEVtqgMxU9UAVVaSkJ0RnWF2V6F0YEiccdndeUshTHHhKdg6nRzKgcIOGEOtfjtztzJAMBvg== X-Received: by 2002:a05:6870:1b89:b0:1f5:cd12:260f with SMTP id hm9-20020a0568701b8900b001f5cd12260fmr1925601oab.26.1700291156186; Fri, 17 Nov 2023 23:05:56 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id r4-20020a17090a438400b00263f41a655esm2573429pjg.43.2023.11.17.23.05.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 23:05:55 -0800 (PST) Content-Language: en-US In-Reply-To: <1325582.1700277236@archlinux> Received-SPF: pass client-ip=2001:4860:4864:20::29; envelope-from=jporterbugs@gmail.com; helo=mail-oa1-x29.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, 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:312892 Archived-At: On 11/17/2023 7:13 PM, Greg Minshall wrote: > (i was thinking of writing a test to go with the patch, but the ERT > framework is maybe a bit awkward for tests of essentially > shell-command-line functionality. i may have missed it, but i didn't > see anything in ./test/Makefile.in that seemed to be aimed at testing > command-line invocation of Emacs.) You could probably take some inspiration from the "Synchronous processes" section of the file test/lisp/eshell/esh-proc-tests.el. Essentially, you can just start a new Emacs instance in your ERT test and do whatever you like.