emacs run multiple eshell buffers (more then one eshell)

(defun buffer-exists (bufname)
  (not (eq nil (get-buffer bufname))))

(defun make-shell (name)
  "Create a shell buffer named NAME."
  (interactive "sName: ")
  (if (buffer-exists "*eshell*")
      (setq eshell-buffer-name name)
    (message "eshell doesnot exists, use the default name: *eshell*"))
  (eshell))

Because the eshell buffer is determined by the value of eshell-buffer-name.  You
need not to rename the buffer after creating it.

emacs run multiple eshell buffers (more then one eshell),布布扣,bubuko.com

时间: 2024-10-17 02:10:25

emacs run multiple eshell buffers (more then one eshell)的相关文章

PHPFarm - How to run multiple versions of PHP on the same computer

How to Run Multiple Versions of PHP on One Server 转载:http://www.sitepoint.com/run-multiple-versions-php-one-server/ PHPFarm - How to run multiple versions of PHP on the same computer 转载:http://thejibe.com/blog/14/02/phpfarm

[NPM] Run npm scripts in series

After creating several npm script it becomes useful to run multiple scripts back-to-back in series. This is a nice feature because you can enforce that one script needs to complete before starting another one. "scripts": { "start": &qu

Installing Multiple Versions of MySQL

Installing Multiple Versions of MySQL As with any RDBMS, there are circumstances in which you need to run multiple, differing versions on the same server. This posts reviews my preferred way of accomplishing this for MySQL on Linux. The server in que

emacs 配置文件

emacs 配置文件 [2016/05/20] ;; 把 .emacs.d 目錄加入到 load-path ;; 這樣的話本來需要放到 /usr/share/emacs/site-lisp/ 的東西  ;; 就只需要放到 .emacs.d 裏面  (add-to-list 'load-path "~/.emacs.d/")  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  ;;

my emacs configuration

modified from https://github.com/flyingmachine/emacs-for-clojure ;;;; ;; Packages ;;;; ;; Define package repositories (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (add-to-l

Linux EMACS的简单使用

1 File 菜单项 1 open file 打开文件 2 close 关闭当前操作的文件 3 save 保存当前操作的文件 4 save buffer as 另存为 5 split window 拆分窗口 ,同时操作不同的文件 6 upsplit window 取消拆分窗口 7 exit 退出emacs 2.edit 菜单项 1 undo 撤销上一次操作 2 cut 剪切 3 copy 复制 4 paste 粘贴 5 clear 删除 6 select all 全选 7 search 查找 8

[Selenium+Java] TestNG: Execute multiple Test Suites

Original URL: https://www.guru99.com/testng-execute-multiple-test-suites.html TestNG: Execute multiple Test Suites TestNG enables you to run test methods, test classes and test cases in parallel inside your project. By performing parallel execution,

Architecture options to run a workflow engine

This week a customer called and asked (translated into my own words and shortened): “We do composite services, orchestrating two or three CRUD-Services to do something more useful. Our architects want to use your workflow engine for this because the

tmux frequently asked questions

tmux frequently asked questions How is tmux different from GNU screen? tmux and GNU screen have many similarities. Some of the main differences I am aware of are (bearing in mind I haven't used screen for a few years now): 1) tmux uses a client-serve