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


View this message in rfc822 format

From: Dima Kogan <dima <at> secretsauce.net>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 25271 <at> debbugs.gnu.org
Subject: bug#25271: 26.0.50; [PATCH] comint-insert-previous-argument logic improvements
Date: Sun, 17 Jun 2018 19:25:03 -0700
Noam Postavsky <npostavs <at> gmail.com> writes:

> 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.

Yes. I agree, actually. Want a new patch, and we can merge this?




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

Previous Next


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