From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Run multiple shells in Emacs. Date: Tue, 1 Jun 2021 07:13:30 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6408"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 01 01:14:12 2021 Return-path: Envelope-to: geh-help-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 1lnr6q-0001U0-75 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 01:14:12 +0200 Original-Received: from localhost ([::1]:60118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnr6p-0005n9-9T for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 19:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnr6Q-0005my-6e for help-gnu-emacs@gnu.org; Mon, 31 May 2021 19:13:46 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:37627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnr6O-0001Jq-FW for help-gnu-emacs@gnu.org; Mon, 31 May 2021 19:13:45 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id e2so16766675ljk.4 for ; Mon, 31 May 2021 16:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=74b/WfPKRH8+FjNk8vWFw/qHaXODZFeESRraAavvrTQ=; b=UpSFbI85DAktUafbQXKED0cLQnCWTgRLsZwzdu3m2rWFADpj7fByRsW2xTqw72G4FY pnp+zps4LFZoKcnDSK0UXFRaG8FcQSv9fAN42eiwAhIRaY+RR5unIYab0X6AqyNBC0j2 iT9FShEqBX/XeS39G8VGEAE6Mi4BgfnDcRs/49HwfHna5jBjGEUI3qW1pVjr7+BffI1I DIC5jru0T6FCnRc4pE/35iAtN9HtX0MRwXdwBTJV9R+fbntlTH91FinE8dh0L8b7afNg teiBXupVK2w6FD+J3IFIL7z81f9Xo8hrYJdxao9qrlJe5diwzo5/KcoN2w9JEBgsYhBD bjAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=74b/WfPKRH8+FjNk8vWFw/qHaXODZFeESRraAavvrTQ=; b=iPzdFvKzA4qWPbIqePv/518BCGLeLs56d5aeHsJugZn3JEhXB437/Rm02RtT9m1Y31 cmqsMZ1LKiEJfZdxWbyBEpUFM4yzd0aR282hChOpdZvOSnxBBFwp8cyiyBSEIELUjASH aROZKJ0STr4ESHMajo6BGhlBgV46TzVktmZxFlf8xbQwUBKkVGDNn1tP7B6bmp8s+YLw C4a2Ee4H+VlBdt5/Ji1fhgOB7T8WpgCJwolHQlPgXDIQLLq9qytyDiHsvmHVTOi8xhmU hPZxcOZmbeOAyMr3XtCH63eUGL59X5DnaO6toe8sof2WYzb2cBW4Qfy5ODLt/t/w2LrV O1wQ== X-Gm-Message-State: AOAM5302RSaKwKB7qrX08yzuLWDu7s6S+A7FUCR5b3Mx2LHSi2jjkDQm uZjC2n8jL8n3sCVuR/woPWWRMvlt1/JlNeTVtrIwuLd5Kerk/Qrr+Kg= X-Google-Smtp-Source: ABdhPJzlKXI9gurrBcRLQwvHrJKUyVTm9K3BCo+tp1DiZZNqMuh/+S/mZuFDIiZ2oQG0jVdQyawTtaLUtQwPpJiBeQU= X-Received: by 2002:a2e:bc1e:: with SMTP id b30mr18587555ljf.413.1622502821403; Mon, 31 May 2021 16:13:41 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-0.001, 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130398 Archived-At: What's the preferable way to open multiple shell windows at the same time in Emacs? After searching with Google, I find the discussion here: Basically, there are two types of methods to accomplish this: 1. Write a simple function, just as the one suggested on the above website: (defun create-shell () "creates a shell with a given name" (interactive);; "Prompt\n shell name:") (let ((shell-name (read-string "shell name: " nil))) (shell (concat "*" shell-name "*")))) 2. Use an Emacs plugin/package, and I've found the following one: . What are the recommended ways to use Emacs based on this kind of technique? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China