unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Gideon Stupp <gstupp@cisco.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.50; comint-previous-matching-input repeats search for the wrong string.
Date: Mon, 14 Jan 2008 16:47:56 +0200	[thread overview]
Message-ID: <200801141447.m0EEluTa008226@gstupp-lnx.cisco.com> (raw)

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	other threads:[~2008-01-14 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 14:47 Gideon Stupp [this message]
2008-01-16  8:11 ` 23.0.50; comint-previous-matching-input repeats search for the wrong string Glenn Morris

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=200801141447.m0EEluTa008226@gstupp-lnx.cisco.com \
    --to=gstupp@cisco.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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).