GNU bug report logs - #25271
26.0.50; [PATCH] comint-insert-previous-argument logic improvements

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Sun, 25 Dec 2016 19:55:01 UTC

Severity: normal

Tags: patch

Found in version 26.0.50

Done: Dima Kogan <dima <at> secretsauce.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25271 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 25271 <at> debbugs.gnu.org
Subject: Re: bug#25271: 26.0.50;
 [PATCH] comint-insert-previous-argument logic improvements
Date: Tue, 01 May 2018 21:36:41 -0400
Dima Kogan <dima <at> secretsauce.net> writes:

> +(defvar-local comint-insert-previous-argument-from-end nil

> +This variable is buffer-local.  To get the zsh behavior in `M-x
> +shell' sessions, do something like this:
> +
> +    (add-hook
> +      'shell-mode-hook
> +        (lambda ()
> +          (setq comint-insert-previous-argument-from-end t)))")
> +

Seems simpler to just make it a defcustom.  The user could still
setq-local if they really want per-buffer settings.




This bug report was last modified 6 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.