unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.50; comint-previous-matching-input repeats search for the wrong string.
@ 2008-01-14 14:47 Gideon Stupp
  2008-01-16  8:11 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Gideon Stupp @ 2008-01-14 14:47 UTC (permalink / raw)
  To: emacs-pretest-bug

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 23.0.50; comint-previous-matching-input repeats search for the wrong string.
  2008-01-14 14:47 23.0.50; comint-previous-matching-input repeats search for the wrong string Gideon Stupp
@ 2008-01-16  8:11 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2008-01-16  8:11 UTC (permalink / raw)
  To: Gideon Stupp; +Cc: emacs-devel

Gideon Stupp wrote:

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

Thanks; I installed a slightly different fix.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-16  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14 14:47 23.0.50; comint-previous-matching-input repeats search for the wrong string Gideon Stupp
2008-01-16  8:11 ` Glenn Morris

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