GNU bug report logs - #11224
23.2; `comint-history-isearch' with value 'dwim causes error when comint process is finished

Previous Next

Package: emacs;

Reported by: Wesley Dawson <whda <at> ocf.berkeley.edu>

Date: Wed, 11 Apr 2012 16:06:01 UTC

Severity: normal

Tags: fixed

Merged with 32555

Found in versions 23.2, 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Live System User <nyc4bos <at> aol.com>
Cc: 32555 <at> debbugs.gnu.org
Subject: Re: bug#32555: 26.1; Async command buffer navigation bug
Date: Tue, 28 Aug 2018 18:44:10 -0400
tags 32555 = fixed
merge 32555 11224
close 32555 27.1
quit

Live System User <nyc4bos <at> aol.com> writes:

> (add-hook 'shell-mode-hook

>              (local-set-key [up]          ; cycle backward through command history
>                             '(lambda () (interactive)
>                                (if (comint-after-pmark-p)
>                                    (comint-previous-input 1)
>                                  (previous-line 1))))

>     I've never had issues with this code before.

That seems surprising since this problem is only fixed on the master
branch since February.

[1: aaeb101d89]: 2018-02-10 23:46:13 +0200
  * lisp/comint.el (comint-after-pmark-p): Check if buffer has a live process.
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=aaeb101d899a09e18630466c348041a172cd5d91




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

Previous Next


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