unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jason Kim <jason.kim@revtera.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Jason Kim <jason.w.kim@icloud.com>,
	shivers@cs.cmu.edu, emacs-devel@gnu.org
Subject: Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh)
Date: Tue, 25 May 2021 09:38:58 +0200	[thread overview]
Message-ID: <874kerntyl.fsf@gmx.de> (raw)
In-Reply-To: <fb245856-9114-bc7e-262b-8c8c9ec02baf@revtera.com> (Jason Kim's message of "Mon, 24 May 2021 10:20:15 -0700")

Jason Kim <jason.kim@revtera.com> writes:

Hi Jason,

> From bbdd6f2665c70e15ccc23f48d664eb6e20df7fa6 Mon Sep 17 00:00:00 2001
> From: Jason Kim <jason.kim@revtera.com>
> Date: Mon, 24 May 2021 10:04:54 -0700
> Subject: [PATCH] Auto-cd support for lisp/shell.el
>
> Added a new defcustom shell-has-auto-cd (default: nil) for
> users with shells like zsh that can auto-cd into a directory
> without typing in the "cd" command.
> If set to true and the command is a directory, then
> shell-directory-tracker processes the command (which happens to be a
> directory) as if it were prepended with "cd"

FTR, the commit message shall have a ChangeLog style.

> +(defcustom shell-has-auto-cd nil
> +  "If non-nil, `shell-mode' handles implicit \"cd\" commands.
> +Implicit \"cd\" is changing the directory if the command is a directory.
> +You can make this variable buffer-local to change it, per shell-mode instance
> +Useful for shells like zsh that has this feature."
> +  :type 'boolean
> +  :group 'shell-directories
> +  :version "28")

This should be "28.1".

> Thanks!
> -Jason

Best regards, Michael.



  reply	other threads:[~2021-05-25  7:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-05 19:55 Small shell-mode patch to handle auto-cd (e.g. shells like zsh) Jason Kim
2021-05-06  8:10 ` Michael Albinus
2021-05-06  8:23 ` Eli Zaretskii
2021-05-07 16:35   ` Jason Kim
2021-05-07 16:51     ` Jason Kim
2021-05-15  8:20       ` Eli Zaretskii
2021-05-24 17:15         ` Jason Kim
2021-05-24 17:20           ` Jason Kim
2021-05-25  7:38             ` Michael Albinus [this message]
2021-05-27 17:09               ` Jason Kim
2021-06-09 11:03                 ` Michael Albinus
2021-05-07 17:39     ` Michael Albinus
2021-05-08  6:36     ` Eli Zaretskii
2021-05-08 16:39       ` Jason Kim
2021-05-08 16:48         ` Eli Zaretskii
2021-05-08 17:19           ` Jason Kim
2021-05-08 17:58             ` Jason Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kerntyl.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jason.kim@revtera.com \
    --cc=jason.w.kim@icloud.com \
    --cc=shivers@cs.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).