emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.50; comint-previous-matching-input repeats search for the wrong str


From: Gideon Stupp
Subject: 23.0.50; comint-previous-matching-input repeats search for the wrong string.
Date: Mon, 14 Jan 2008 16:47:56 +0200

In shell mode do "M-r ssh M-r telnet M-r <ENTER>".  The function will repreat 
the search for "ssh" instead of the search for "telnet". 

possible fix:

--- comint.el.orig      2008-01-14 16:44:24.000000000 +0200
+++ comint.el   2008-01-14 16:44:37.000000000 +0200
@@ -1024,7 +1024,7 @@
                                       'minibuffer-history-search-history)))
     (list (if (string-equal regexp "")
              (setcar minibuffer-history-search-history
-                     (nth 1 minibuffer-history-search-history))
+                     (nth 0 minibuffer-history-search-history))
            regexp)
          (prefix-numeric-value current-prefix-arg))))



In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-01-11 on gstupp-lnx
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '--with-x-toolkit=lucid' '--with-gtk=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  which-function-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t





reply via email to

[Prev in Thread] Current Thread [Next in Thread]