From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: BONSOFT Jaroslaw Czekalski Newsgroups: gmane.emacs.bugs Subject: bug#17432: 24.4.50; minibuffer history forgets the first entry Date: Wed, 07 May 2014 10:56:08 +0200 Message-ID: <5369F528.9020004@bonsoft.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070901080101020509040707" X-Trace: ger.gmane.org 1399479277 29632 80.91.229.3 (7 May 2014 16:14:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2014 16:14:37 +0000 (UTC) To: 17432@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 07 18:14:29 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wi4UH-0000tj-Jy for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 18:14:29 +0200 Original-Received: from localhost ([::1]:42132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi3z0-0002uL-Vy for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 11:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi3xz-0001eQ-Bh for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 11:41:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi3xv-00048V-2l for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 11:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi3xu-00048N-W8 for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 11:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wi3xu-0006GD-A9 for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: BONSOFT Jaroslaw Czekalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 May 2014 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139947720823957 (code B ref -1); Wed, 07 May 2014 15:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 May 2014 15:40:08 +0000 Original-Received: from localhost ([127.0.0.1]:54696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi3x0-0006EI-7l for submit@debbugs.gnu.org; Wed, 07 May 2014 11:40:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56941) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Whxxy-0001HI-5Q for submit@debbugs.gnu.org; Wed, 07 May 2014 05:16:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whxxo-0005dW-EV for submit@debbugs.gnu.org; Wed, 07 May 2014 05:16:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whxxo-0005dS-Bv for submit@debbugs.gnu.org; Wed, 07 May 2014 05:16:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whxxk-0007EY-3C for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 05:16:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whxxg-0005cN-08 for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 05:16:28 -0400 Original-Received: from cj.e-siemianowice.pl ([95.215.234.30]:55127 helo=cj.sukcesnet.pl) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Whxxf-0005c8-LD for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 05:16:23 -0400 Original-Received: from [127.0.0.1] ([127.0.0.1]) by cj.sukcesnet.pl ; Wed, 7 May 2014 10:56:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 07 May 2014 11:40:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88738 Archived-At: This is a multi-part message in MIME format. --------------070901080101020509040707 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps:
1. (read-from-minibuffer "pro: " nil nil nil 'hist)
2. type sth
3. check hist: M-S-: hist

Expected: sth, Actual: nil

The value is not properly initialized. Seems like r87775 introduced a
regression, because histval is not set to nil in minibuf.c.

Stefan, would you review the patch before I commit to emacs-24?



In GNU Emacs 24.4.50.9 (i686-pc-mingw32)
 of 2014-05-07 on BONSOFTW7
Repository revision: 117068 eggert@cs.ucla.edu-20140506211337-crc6ozt8y6967wq3
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=d:/program_files/emacs-master'

Configured features:
PNG NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: pl
  locale-coding-system: cp1250

Major mode: Text

Minor modes in effect:
  global-hl-line-mode: t
  recentf-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t <return> C-g C-x r l <C-end> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <return>
M-x r e p o r t <return>

Recent messages:
[yas] Loading compiled snippets from c:/Users/Jarek/AppData/Roaming/.emacs.d/snippets/text-mode
Loading c:/Users/Jarek/AppData/Roaming/.emacs.d/snippets/text-mode/.yas-compiled-snippets.el (source)...done
[yas] Loading snippet files from c:/Users/Jarek/AppData/Roaming/.emacs.d/snippets/text-mode
[yas] Loaded ~/.emacs.d/snippets
[yas] Reloaded everything....
Loading hl-line...done
Loading whitespace...done
Loading grep...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils grep compile comint ansi-color ring
whitespace hl-line cus-start cus-load xml-parse yasnippet derived
easy-mmode edmacro kmacro help-mode folding-isearch folding cl-macs
advice help-fns cl gv bookmark pp recentf tree-widget wid-edit
cl-loaddefs cl-lib easymenu server time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)

Memory information:
((conses 8 157835 15374)
 (symbols 24 22946 0)
 (miscs 20 97 187)
 (strings 16 24145 3764)
 (string-bytes 1 696442)
 (vectors 8 14513)
 (vector-slots 4 435779 11182)
 (floats 8 134 170)
 (intervals 28 697 1027)
 (buffers 508 15))

--

Jarosław Czekalski
www.BONSOFT.pl
tel. kom. 0 606 16 26 36 - osiągalny najpewniej w godzinach 8:00 - 9:00

BONSOFT Jarosław Czekalski - NIP 643-133-05-73 - REGON 277747017

--------------070901080101020509040707 Content-Type: text/plain; charset=windows-1250; name="history_1_00.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="history_1_00.patch" PT09IG1vZGlmaWVkIGZpbGUgJ3NyYy9DaGFuZ2VMb2cnCi0tLSBzcmMvQ2hhbmdlTG9nCTIw MTQtMDUtMDYgMjE6MTM6MzcgKzAwMDAKKysrIHNyYy9DaGFuZ2VMb2cJMjAxNC0wNS0wNyAw ODo1NDo0MCArMDAwMApAQCAtMSwzICsxLDggQEAKKzIwMTQtMDUtMDcgIEphcmVrIEN6ZWth bHNraSAgPGphcmVrY3pla0Bwb2N6dGEub25ldC5wbD4KKworCUZpeCBpbml0aWFsaXphdGlv biBvZiBtaW5pYnVmZmVyIGhpc3RvcnkgdmFyaWFibGUgKEJ1ZyN4eHh4eCkuCisJKiBtaW5p YnVmLmMgKHJlYWR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