GNU logs - #20092, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: nljlistbox2@HIDDEN (N. Jackson)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2015 00:58:02 +0000
Resent-Message-ID: <handler.20092.B.142612187611459 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 20092 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.142612187611459
          (code B ref -1); Thu, 12 Mar 2015 00:58:02 +0000
Received: (at submit) by debbugs.gnu.org; 12 Mar 2015 00:57:56 +0000
Received: from localhost ([127.0.0.1]:43279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YVrRi-0002yj-6P
	for submit <at> debbugs.gnu.org; Wed, 11 Mar 2015 20:57:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48387)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRf-0002yU-30
 for submit <at> debbugs.gnu.org; Wed, 11 Mar 2015 20:57:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRX-000395-1C
 for submit <at> debbugs.gnu.org; Wed, 11 Mar 2015 20:57:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38373)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRW-000391-U1
 for submit <at> debbugs.gnu.org; Wed, 11 Mar 2015 20:57:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50038)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRU-0007jB-0B
 for bug-gnu-emacs@HIDDEN; Wed, 11 Mar 2015 20:57:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRO-000336-7i
 for bug-gnu-emacs@HIDDEN; Wed, 11 Mar 2015 20:57:39 -0400
Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:34792)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVrRN-00032t-W0
 for bug-gnu-emacs@HIDDEN; Wed, 11 Mar 2015 20:57:34 -0400
Received: by iecsl2 with SMTP id sl2so5722028iec.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 11 Mar 2015 17:57:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=AJpxdQ58PaLIMMhGcb2fcGmY/xdWvv6TLNGMXF3dVBs=;
 b=vUAKFariGz7q1TM2BnLoOgcXfoArykSDP/95EjhnU8fIwH3V01nrDhcc2pwVOW6wsk
 7mPaSsKPvorcdd9XBBaCSBU6zC5Yz7JdisthlidthwqoAhaAsx+167Iha6zKu/mqT/7y
 qowR483PSBKgMEloO7BJj0BxPgZiR6OqupOOa6QT7dbaYENpt/wn1U5OWtW4/ZxKQSb5
 I+bnnsJ9qL8No2yyTuCw1VIxTKOxvhdD3+fX7JnphCwz/LPwC4iJKna7VImg0xvdYXT4
 F+/lbPxGi0aBQveYM7Jo0FoRpr8SPSdK5/NMllQDUN81KHHfxUltCR92jeFIGDUWuFH6
 1G6A==
X-Received: by 10.50.87.42 with SMTP id u10mr63028594igz.31.1426121853347;
 Wed, 11 Mar 2015 17:57:33 -0700 (PDT)
Received: from moondust.localdomain.nodomain.none (blk-7-145-248.eastlink.ca.
 [71.7.145.248])
 by mx.google.com with ESMTPSA id z9sm4586105igw.21.2015.03.11.17.57.31
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 11 Mar 2015 17:57:32 -0700 (PDT)
From: nljlistbox2@HIDDEN (N. Jackson)
Date: Wed, 11 Mar 2015 21:57:29 -0300
Message-ID: <87egov3udi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

In the top level node of Emacs Info, incremental search is matching text
that isn't there.

My search text was "sage". Repeatedly pressing C-s, I get four or five
correct matches, then I end up in the "GNU C library functions and
macros" section where I get several false matches with point placed at
the end of the line. (E.g. On the entry "err: (libc)".)

I'm guessing there is some invisible text there (I don't know how I can
check; switching to fundamental mode reveals nothing), but probably
I-search shouldn't be finding it.

Recipe:

1. emacs -Q

2. C-h i

3. C-s s a g e

4. C-s C-s C-s C-s    ; Repeat count may depend on installed manuals.

I-search stops on a false match.

Please let me know if you need more details.



In GNU Emacs 24.4.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.9)
 of 2015-03-10 on moondust
Windowing system distributor `Fedora Project', version 11.0.11603000
System Description:	Fedora release 21 (Twenty One)

Configured using:
 `configure --prefix=/home/nlj/local/ --enable-checking 'CFLAGS=-O0 -g3
 -ggdb''

Important settings:
  value of $LC_MONETARY: en_DK.utf8
  value of $LC_NUMERIC: en_DK.utf8
  value of $LC_TIME: en_DK.utf8
  value of $LANG: en_CA.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  TeX-PDF-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  display-battery-mode: t
  display-time-mode: t
  delete-selection-mode: t
  savehist-mode: t
  iswitchb-mode: t
  desktop-save-mode: t
  cua-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Recent messages:
<mouse-6> is undefined
Mark saved where search started
Mark set [2 times]
End of buffer
Undo! [4 times]
Mark set [2 times]
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help

Load-path shadows:
/home/nlj/.emacs.d/elpa/org-20150223/ob-gnuplot hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-gnuplot
/home/nlj/.emacs.d/elpa/org-20150223/org-eshell hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-eshell
/home/nlj/.emacs.d/elpa/org-20150223/ox-md hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-md
/home/nlj/.emacs.d/elpa/org-20150223/ob-shen hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-shen
/home/nlj/.emacs.d/elpa/org-20150223/org-timer hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-timer
/home/nlj/.emacs.d/elpa/org-20150223/ob-ruby hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-ruby
/home/nlj/.emacs.d/elpa/org-20150223/ox hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox
/home/nlj/.emacs.d/elpa/org-20150223/ox-html hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-html
/home/nlj/.emacs.d/elpa/org-20150223/ob-latex hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-latex
/home/nlj/.emacs.d/elpa/org-20150223/org-archive hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-archive
/home/nlj/.emacs.d/elpa/org-20150223/ob-org hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-org
/home/nlj/.emacs.d/elpa/org-20150223/org-install hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-install
/home/nlj/.emacs.d/elpa/org-20150223/ox-latex hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-latex
/home/nlj/.emacs.d/elpa/org-20150223/ob-sass hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-sass
/home/nlj/.emacs.d/elpa/org-20150223/ox-icalendar hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-icalendar
/home/nlj/.emacs.d/elpa/org-20150223/ob-screen hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-screen
/home/nlj/.emacs.d/elpa/org-20150223/org-bibtex hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-bibtex
/home/nlj/.emacs.d/elpa/org-20150223/org-footnote hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-footnote
/home/nlj/.emacs.d/elpa/org-20150223/org-datetree hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-datetree
/home/nlj/.emacs.d/elpa/org-20150223/org-colview hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-colview
/home/nlj/.emacs.d/elpa/org-20150223/org-attach hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-attach
/home/nlj/.emacs.d/elpa/org-20150223/org-mouse hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-mouse
/home/nlj/.emacs.d/elpa/org-20150223/ob-dot hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-dot
/home/nlj/.emacs.d/elpa/org-20150223/ob-scala hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-scala
/home/nlj/.emacs.d/elpa/org-20150223/org-compat hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-compat
/home/nlj/.emacs.d/elpa/org-20150223/ob-core hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-core
/home/nlj/.emacs.d/elpa/org-20150223/ob-awk hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-awk
/home/nlj/.emacs.d/elpa/org-20150223/ob-makefile hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-makefile
/home/nlj/.emacs.d/elpa/org-20150223/org-macro hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-macro
/home/nlj/.emacs.d/elpa/org-20150223/org-ctags hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-ctags
/home/nlj/.emacs.d/elpa/org-20150223/org-capture hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-capture
/home/nlj/.emacs.d/elpa/org-20150223/ox-beamer hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-beamer
/home/nlj/.emacs.d/elpa/org-20150223/org-mobile hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-mobile
/home/nlj/.emacs.d/elpa/org-20150223/org-indent hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-indent
/home/nlj/.emacs.d/elpa/org-20150223/ob-lilypond hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-lilypond
/home/nlj/.emacs.d/elpa/org-20150223/ob-asymptote hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-asymptote
/home/nlj/.emacs.d/elpa/org-20150223/ox-odt hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-odt
/home/nlj/.emacs.d/elpa/org-20150223/org-w3m hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-w3m
/home/nlj/.emacs.d/elpa/org-20150223/ob-plantuml hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-plantuml
/home/nlj/.emacs.d/elpa/org-20150223/ob-table hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-table
/home/nlj/.emacs.d/elpa/org-20150223/ob-ocaml hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-ocaml
/home/nlj/.emacs.d/elpa/org-20150223/org-crypt hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-crypt
/home/nlj/.emacs.d/elpa/org-20150223/ob-js hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-js
/home/nlj/.emacs.d/elpa/org-20150223/ob-clojure hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-clojure
/home/nlj/.emacs.d/elpa/org-20150223/ob-haskell hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-haskell
/home/nlj/.emacs.d/elpa/org-20150223/org-version hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-version
/home/nlj/.emacs.d/elpa/org-20150223/ob-scheme hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-scheme
/home/nlj/.emacs.d/elpa/org-20150223/org-table hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-table
/home/nlj/.emacs.d/elpa/org-20150223/ob-C hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-C
/home/nlj/.emacs.d/elpa/org-20150223/ob-ledger hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-ledger
/home/nlj/.emacs.d/elpa/org-20150223/ob-fortran hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-fortran
/home/nlj/.emacs.d/elpa/org-20150223/ob-sql hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-sql
/home/nlj/.emacs.d/elpa/org-20150223/org hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org
/home/nlj/.emacs.d/elpa/org-20150223/org-loaddefs hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-loaddefs
/home/nlj/.emacs.d/elpa/org-20150223/org-list hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-list
/home/nlj/.emacs.d/elpa/org-20150223/ob-lisp hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-lisp
/home/nlj/.emacs.d/elpa/org-20150223/org-docview hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-docview
/home/nlj/.emacs.d/elpa/org-20150223/ob-eval hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-eval
/home/nlj/.emacs.d/elpa/org-20150223/org-element hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-element
/home/nlj/.emacs.d/elpa/org-20150223/ob hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob
/home/nlj/.emacs.d/elpa/org-20150223/ox-ascii hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-ascii
/home/nlj/.emacs.d/elpa/org-20150223/org-info hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-info
/home/nlj/.emacs.d/elpa/org-20150223/ob-css hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-css
/home/nlj/.emacs.d/elpa/org-20150223/ob-sh hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-sh
/home/nlj/.emacs.d/elpa/org-20150223/org-rmail hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-rmail
/home/nlj/.emacs.d/elpa/org-20150223/org-irc hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-irc
/home/nlj/.emacs.d/elpa/org-20150223/ob-tangle hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-tangle
/home/nlj/.emacs.d/elpa/org-20150223/ob-ditaa hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-ditaa
/home/nlj/.emacs.d/elpa/org-20150223/org-feed hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-feed
/home/nlj/.emacs.d/elpa/org-20150223/org-clock hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-clock
/home/nlj/.emacs.d/elpa/org-20150223/org-habit hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-habit
/home/nlj/.emacs.d/elpa/org-20150223/org-pcomplete hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-pcomplete
/home/nlj/.emacs.d/elpa/org-20150223/org-entities hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-entities
/home/nlj/.emacs.d/elpa/org-20150223/ob-io hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-io
/home/nlj/.emacs.d/elpa/org-20150223/ob-octave hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-octave
/home/nlj/.emacs.d/elpa/org-20150223/org-faces hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-faces
/home/nlj/.emacs.d/elpa/org-20150223/ob-perl hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-perl
/home/nlj/.emacs.d/elpa/org-20150223/org-src hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-src
/home/nlj/.emacs.d/elpa/org-20150223/org-protocol hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-protocol
/home/nlj/.emacs.d/elpa/org-20150223/ox-man hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-man
/home/nlj/.emacs.d/elpa/org-20150223/ob-python hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-python
/home/nlj/.emacs.d/elpa/org-20150223/ob-mscgen hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-mscgen
/home/nlj/.emacs.d/elpa/org-20150223/ox-texinfo hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-texinfo
/home/nlj/.emacs.d/elpa/org-20150223/ob-exp hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-exp
/home/nlj/.emacs.d/elpa/org-20150223/org-inlinetask hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-inlinetask
/home/nlj/.emacs.d/elpa/org-20150223/ox-publish hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-publish
/home/nlj/.emacs.d/elpa/org-20150223/ob-java hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-java
/home/nlj/.emacs.d/elpa/org-20150223/ob-sqlite hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-sqlite
/home/nlj/.emacs.d/elpa/org-20150223/org-mhe hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-mhe
/home/nlj/.emacs.d/elpa/org-20150223/ox-org hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ox-org
/home/nlj/.emacs.d/elpa/org-20150223/ob-R hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-R
/home/nlj/.emacs.d/elpa/org-20150223/ob-lob hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-lob
/home/nlj/.emacs.d/elpa/org-20150223/ob-picolisp hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-picolisp
/home/nlj/.emacs.d/elpa/org-20150223/org-agenda hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-agenda
/home/nlj/.emacs.d/elpa/org-20150223/ob-matlab hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-matlab
/home/nlj/.emacs.d/elpa/org-20150223/org-gnus hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-gnus
/home/nlj/.emacs.d/elpa/org-20150223/org-macs hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-macs
/home/nlj/.emacs.d/elpa/org-20150223/org-id hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-id
/home/nlj/.emacs.d/elpa/org-20150223/ob-keys hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-keys
/home/nlj/.emacs.d/elpa/org-20150223/ob-comint hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-comint
/home/nlj/.emacs.d/elpa/org-20150223/ob-ref hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-ref
/home/nlj/.emacs.d/elpa/org-20150223/org-bbdb hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-bbdb
/home/nlj/.emacs.d/elpa/org-20150223/ob-calc hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-calc
/home/nlj/.emacs.d/elpa/org-20150223/ob-emacs-lisp hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-emacs-lisp
/home/nlj/.emacs.d/elpa/org-20150223/ob-maxima hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/ob-maxima
/home/nlj/.emacs.d/elpa/org-20150223/org-plot hides /data/projects/vc/emacs/emacs-24.4.91/lisp/org/org-plot
~/.emacs.d/modules/emms/lisp/tq hides /data/projects/vc/emacs/emacs-24.4.91/lisp/emacs-lisp/tq

Features:
(shadow bbdb-message mail-extr emacsbug sendmail misearch multi-isearch
ibuf-ext ibuffer nndraft nnmh utf-7 nnimap utf7 gnutls nnfolder
parse-time bbdb-gnus bbdb-mua epa-file epa derived epg netrc
network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source gnus-start gnus-spec gnus-int gnus-range message rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums gmm-utils mailheader gnus-win gnus gnus-ems nnheader
mail-utils preview prv-emacs tex-buf font-latex latex tex-style tex dbus
xml tex-mode compile shell emms-bookmarks emms-cue emms-mode-line-icon
emms-browser sort emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics emms-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
cl-extra cconv eieio-core mm-util mail-prsvr password-cache url-vars
mailcap emms-streams emms-tag-editor emms-mark emms-mode-line emms-cache
emms-info-ogginfo emms-info-mp3info emms-info later-do
emms-playlist-mode emms-player-vlc emms-player-mplayer
emms-player-simple emms-source-playlist emms-source-file locate
emms-setup emms emms-compat cl-macs gv appt org-element org-rmail
org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view
jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org-agenda
org advice help-fns org-macro org-footnote org-pcomplete pcomplete
org-list org-faces org-entities noutline outline easy-mmode org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func bbdb-anniv diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs bbdb-com crm mailabbrev bbdb bbdb-site
timezone bbdb-loaddefs tex-site csv-mode-autoloads info package edmacro
kmacro recentf tree-widget wid-edit easymenu battery time saveplace
wheatgrass-theme delsel savehist iswitchb desktop frameset cl-loaddefs
cl-lib cua-base cus-start cus-load time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 439762 69503)
 (symbols 48 54421 0)
 (miscs 40 5631 5959)
 (strings 32 109799 7164)
 (string-bytes 1 3648158)
 (vectors 16 37955)
 (vector-slots 8 736387 19188)
 (floats 8 364 506)
 (intervals 56 14705 221)
 (buffers 960 37)
 (heap 1024 69973 5220))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: nljlistbox2@HIDDEN (N. Jackson)
Subject: bug#20092: Acknowledgement (24.4.91; False matches with
 incremental search in Info)
Message-ID: <handler.20092.B.142612187611459.ack <at> debbugs.gnu.org>
References: <87egov3udi.fsf@HIDDEN>
X-Gnu-PR-Message: ack 20092
X-Gnu-PR-Package: emacs
Reply-To: 20092 <at> debbugs.gnu.org
Date: Thu, 12 Mar 2015 00:58:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 20092 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
20092: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20092
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: nljlistbox2@HIDDEN (N. Jackson)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2015 03:33:02 +0000
Resent-Message-ID: <handler.20092.B20092.142613112826212 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 20092 <at> debbugs.gnu.org
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.142613112826212
          (code B ref 20092); Thu, 12 Mar 2015 03:33:02 +0000
Received: (at 20092) by debbugs.gnu.org; 12 Mar 2015 03:32:08 +0000
Received: from localhost ([127.0.0.1]:43322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YVtqx-0006oh-FL
	for submit <at> debbugs.gnu.org; Wed, 11 Mar 2015 23:32:07 -0400
Received: from mail-ie0-f173.google.com ([209.85.223.173]:34877)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YVtqv-0006no-Bx
 for 20092 <at> debbugs.gnu.org; Wed, 11 Mar 2015 23:32:05 -0400
Received: by ieclw3 with SMTP id lw3so13121739iec.2
 for <20092 <at> debbugs.gnu.org>; Wed, 11 Mar 2015 20:31:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version:content-type;
 bh=0DVk8YeMHhLIX92kVyZOCsw3va1FfCozC9uUfR4W0jM=;
 b=0QakfC/Xl0k/HfCs1yJ6+/z58dMm/PntN+EZjmJBoNd09hyQUkWqpb2gnOmgosNkVk
 +p/Yy8q0xXZiCuOROgv/N0+PtbNW1LrdZN6Mp/P2h3Wzd3Zhuh9QoW1wvlHCAUZQlp1L
 NfxLbJ40d7zjSBimmtn09RJhv8Aa/QDPOoiJCGq3u1tsL0oMveB/0REtiPzELATKpPnQ
 xgoUsdMdOgJGeMoACkKrc567jnH/23KMAYZ13HUkgtZhpmI3eO/vEEyQ0TtHr68CLSa7
 86aNANtC8vikK/AZRt3cNPP2pBJ3ZeG4sGvOeOe44D1YjGaL8AbwLVmerufHyXTM/qvI
 Z8bg==
X-Received: by 10.50.50.142 with SMTP id c14mr69585273igo.42.1426131119496;
 Wed, 11 Mar 2015 20:31:59 -0700 (PDT)
Received: from moondust.localdomain.nodomain.none (blk-7-145-248.eastlink.ca.
 [71.7.145.248])
 by mx.google.com with ESMTPSA id w3sm11107491igz.1.2015.03.11.20.31.57
 for <20092 <at> debbugs.gnu.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 11 Mar 2015 20:31:58 -0700 (PDT)
From: nljlistbox2@HIDDEN (N. Jackson)
References: <87egov3udi.fsf@HIDDEN>
Date: Thu, 12 Mar 2015 00:31:56 -0300
In-Reply-To: <87egov3udi.fsf@HIDDEN> (N. Jackson's message of
 "Wed, 11 Mar 2015 21:57:29 -0300")
Message-ID: <87zj7ix55f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.4 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.4 (/)

At 21:57 -0300 on Wednesday 2015-03-11, N. Jackson wrote:

> In the top level node of Emacs Info, incremental search is matching text
> that isn't there.
>
> My search text was "sage". Repeatedly pressing C-s, I get four or five
> correct matches, then I end up in the "GNU C library functions and
> macros" section where I get several false matches with point placed at
> the end of the line. (E.g. On the entry "err: (libc)".)
>
> I'm guessing there is some invisible text there (I don't know how I can
> check; switching to fundamental mode reveals nothing), but probably
> I-search shouldn't be finding it.

Further to my report, I did a bit of poking around.

Setting the variable Info-hide-note-references to nil allows me to see
the invisible text.

An example of an entry that was showing a false match for "sage" was

    * err: (libc)

and setting Info-hide-note-references to nil, this displays as

    * err: (libc)Error Messages.
                          ^^^^
which at least shows what I-search was finding.

For me the value of search-invisible is `open' (which I assume is the
default). The bug does *not* manifest itself when I set search-invisible
to nil.

I found this function in info.el:

#+BEGIN_SRC emacs-lisp
    (defun Info-isearch-filter (beg-found found)
      "Test whether the current search hit is a visible useful text.
    Return non-nil if the text from BEG-FOUND to FOUND is visible
    and is not in the header line or a tag table."
      (save-match-data
	(let ((backward (< found beg-found)))
	  (not
	   (or
	    (and (not search-invisible)
		 (if backward
		     (or (text-property-not-all found beg-found 'invisible nil)
			 (text-property-not-all found beg-found 'display nil))
		   (or (text-property-not-all beg-found found 'invisible nil)
		       (text-property-not-all beg-found found 'display nil))))
	    ;; Skip node header line
	    (and (save-excursion (forward-line -1)
				 (looking-at "\^_"))
		 (forward-line (if backward -1 1)))
	    ;; Skip Tag Table node
	    (save-excursion
	      (and (search-backward "\^_" nil t)
		   (looking-at
		    "\^_\n\\(Tag Table\\|Local Variables\\)"))))))))
#+END_SRC

I don't know elisp, but if this function is relevant here (I have no
idea if it is and I don't even know if runs in this context; I didn't
try running the debugger yet as I don't yet know how) and if it is
intended to make I-search ignore the invisible text, then the

    (not search-invisible)

form looks suspect perhaps?

    (not 'open) => nil
    (not t)  => nil
    (not nil) => t

So here, for search-invisible to be `open' is equivalent to it being t
which would explain the buggy behaviour that I see. Or am I missing
something?

Thanks.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: nljlistbox2@HIDDEN (N. Jackson)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2015 14:30:05 +0000
Resent-Message-ID: <handler.20092.B20092.142617056030244 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 20092 <at> debbugs.gnu.org
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.142617056030244
          (code B ref 20092); Thu, 12 Mar 2015 14:30:05 +0000
Received: (at 20092) by debbugs.gnu.org; 12 Mar 2015 14:29:20 +0000
Received: from localhost ([127.0.0.1]:44050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YW46x-0007rj-II
	for submit <at> debbugs.gnu.org; Thu, 12 Mar 2015 10:29:20 -0400
Received: from mail-ig0-f181.google.com ([209.85.213.181]:46772)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <nljlistbox2@HIDDEN>) id 1YW46v-0007rW-Ee
 for 20092 <at> debbugs.gnu.org; Thu, 12 Mar 2015 10:29:18 -0400
Received: by igbhl2 with SMTP id hl2so17006196igb.5
 for <20092 <at> debbugs.gnu.org>; Thu, 12 Mar 2015 07:29:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version:content-type:content-transfer-encoding;
 bh=1iwOyy9+G+hOLAX9l017Zzp0CI4d45japcnLIoHVkdY=;
 b=bnls2B86fpHj7aBna8ZKu2cDG/SjFKMdJZFx5xNeggk4uQnHsHrA3vxopmW4PXN8uT
 Zi35b96lT9W0+RBzAgpW0nwax8TlQeAaRmUr+CCJ0485S9mAGJHtdtYTzTdoTOCgBYIr
 zn7rpeGuxqNV+SlD0fJNX72b3R11xOaLl1VH+m41ykiiao6iiUbDs0SWigsj40Wy1Vg9
 oqEQATKO64pgQ2eKdVU9DyB2WGQvRr7MtRJNotky+j/Pjd2kbLmYBR9XtHPk47vLpzFh
 3jF/LUcoQbaONp2TljShbHCa5jU4jP5d3cGdA09RqIHGgQrCCkIslwlh2wdCOE6+Kgjl
 Z22A==
X-Received: by 10.107.135.212 with SMTP id r81mr50061326ioi.38.1426170551896; 
 Thu, 12 Mar 2015 07:29:11 -0700 (PDT)
Received: from moondust.localdomain.nodomain.none (T86CF.WPA.Dal.Ca.
 [134.190.134.207])
 by mx.google.com with ESMTPSA id j87sm4492604iod.21.2015.03.12.07.29.09
 for <20092 <at> debbugs.gnu.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 12 Mar 2015 07:29:10 -0700 (PDT)
From: nljlistbox2@HIDDEN (N. Jackson)
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
Date: Thu, 12 Mar 2015 11:29:05 -0300
In-Reply-To: <87zj7ix55f.fsf@HIDDEN> (N. Jackson's message of
 "Thu, 12 Mar 2015 00:31:56 -0300")
Message-ID: <87bnjy9tn2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.4 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.4 (/)

I'm having a hard time figuring out the intended behaviour of I-search
when search-invisible has the value `open'. I think the documentation
here could be improved somewhat, especially since this is the default
value. The way the documentation reads now the feature seems less than
completely baked.

I'm guessing that the intended behaviour is roughly that when a search
finds a match in text that is invisible to the user, then, 1) if the
value of search-invisible is nil then the match is ignored; 2) if the
value of search-invisible is t then the match is deemed to be
immediately before the start of the invisible text (This is the rather
confusing behaviour that prompted me to report this bug.); and 3) if the
value of search-invisible is `open' then the chunk of invisible text is
made visible ("opened") temporarilly, and the match shown within it.

The Emacs manual doesn't have "search-invisible" in the index but it is
in the variables index. However the variables index entry doesn't link
to the definition of the variable but rather to the node "Outline
Visibility" where it is only mentioned in passing and the meaning of
`open' is not mentioned at all.

A search of the manual turns up "search-invisible" in two places. The
first is in the node "Query Replace" and reads:

    "The option =E2=80=98search-invisible=E2=80=99 determines how =E2=80=98=
query-replace=E2=80=99 treats
    invisible text.  *Note Outline Search."

The link to "Outline Search" here seems to be broken; it goes to
"25.10.3 TeX Printing Commands".

The second place it is found is in "Outline Visibility". This is the
most helpful (perhaps that's whey the Variable Index points here) but,
as I mentioned above, it doesn't discuss `open':

    "When incremental search finds text that is hidden by Outline mode, it
    makes that part of the buffer visible. If you exit the search at that
    position, the text remains visible. To toggle whether or not an active
    incremental search can match hidden text, type =E2=80=98M-s i=E2=80=99.=
 To change the
    default for future searches, customize the option =E2=80=98search-invis=
ible=E2=80=99.
    (This option also affects how =E2=80=98query-replace=E2=80=99 and relat=
ed functions
    treat hidden text, *note Query Replace.) You can also automatically make
    text visible as you navigate in it by using Reveal mode (=E2=80=98M-x
    reveal-mode=E2=80=99), a buffer-local minor mode."

The docstring for search-invisible says:

#+BEGIN_SRC emacs-lisp
      "If t incremental search/query-replace can match hidden text.
    A nil value means don't match invisible text.
    When the value is `open', if the text matched is made invisible by
    an overlay having an `invisible' property and that overlay has a proper=
ty
    `isearch-open-invisible', then incremental search will show the content=
s.
    \(This applies when using `outline.el' and `hideshow.el'.)

    To temporarily change the value for an active incremental search,
    use \\<isearch-mode-map>\\[isearch-toggle-invisible].

    See also the related option `isearch-hide-immediately'.

    See also `reveal-mode' if you want overlays to automatically be opened
    whenever point is in one of them."
#+END_SRC

The discussion of `open' here seems to describe implementation rather
than behaviour.

It's not clear what one is to make of the sentence "This applies when
using `outline.el' and `hideshow.el'."; this almost suggests the
semantics of `open' are undefined elsewhere.

It seems odd to have a function (isearch-toggle-invisible) to "toggle"
the state of a variable that can have three states; cycling seems more
appropriate. In any case looking at the code, it does actually toggle
(between nil and t), but also changes `open' to nil, and then one can
never "toggle" back to `open'. Of course, this applies to
isearch-invisible not search-invisible, so maybe it is not important.

Sorry to be so nit-picky. However, clarifying this a little bit seems
necessary to decide if this bug is a bug and would also seem to present
an opportunity for improving Emacs's docs.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2015 19:17:01 +0000
Resent-Message-ID: <handler.20092.B20092.14261877985496 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: nljlistbox2@HIDDEN (N. Jackson)
Cc: 20092 <at> debbugs.gnu.org
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.14261877985496
          (code B ref 20092); Thu, 12 Mar 2015 19:17:01 +0000
Received: (at 20092) by debbugs.gnu.org; 12 Mar 2015 19:16:38 +0000
Received: from localhost ([127.0.0.1]:44251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YW8az-0001QZ-V0
	for submit <at> debbugs.gnu.org; Thu, 12 Mar 2015 15:16:38 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:24674)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YW8ay-0001QK-3u
 for 20092 <at> debbugs.gnu.org; Thu, 12 Mar 2015 15:16:36 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar4TAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA2IXAjOIwEBAQEGAgEfj3gHhCoFqXKBRSKECiKBMySBHAEBAQ
X-IPAS-Result: Ar4TAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA2IXAjOIwEBAQEGAgEfj3gHhCoFqXKBRSKECiKBMySBHAEBAQ
X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113402845"
Received: from 69-196-185-235.dsl.teksavvy.com (HELO pastel.home)
 ([69.196.185.235])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 12 Mar 2015 15:16:30 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id 2C5CF6E4; Thu, 12 Mar 2015 15:16:30 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
Date: Thu, 12 Mar 2015 15:16:30 -0400
In-Reply-To: <87bnjy9tn2.fsf@HIDDEN> (N. Jackson's message of
 "Thu, 12 Mar 2015 11:29:05 -0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> confusing behaviour that prompted me to report this bug.); and 3) if the
> value of search-invisible is `open' then the chunk of invisible text is
> made visible ("opened") temporarilly, and the match shown within it.

That's right.  But currently `open' doesn't actually work for text
that's hidden via text-properties (as opposed to overlays).  I think
that's the problem you bumped into.

I'm not sure what's the best and/or simplest way to fix it.
Maybe a first step would be to emit a message explaining that the match
is inside hidden text (at least so the user gets a clue about what's
going on).

> It seems odd to have a function (isearch-toggle-invisible) to "toggle"
> the state of a variable that can have three states; cycling seems more
> appropriate.

Agreed, tho the current implementation indeed toggles.

> In any case looking at the code, it does actually toggle
> (between nil and t), but also changes `open' to nil, and then one can
> never "toggle" back to `open'.

That's indeed another problem that should be fixed.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 Mar 2015 19:47:02 +0000
Resent-Message-ID: <handler.20092.B20092.14261896078515 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 20092 <at> debbugs.gnu.org, "N. Jackson" <nljlistbox2@HIDDEN>
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.14261896078515
          (code B ref 20092); Thu, 12 Mar 2015 19:47:02 +0000
Received: (at 20092) by debbugs.gnu.org; 12 Mar 2015 19:46:47 +0000
Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YW94A-0002DH-VN
	for submit <at> debbugs.gnu.org; Thu, 12 Mar 2015 15:46:47 -0400
Received: from ps18281.dreamhost.com ([69.163.222.226]:41043
 helo=ps18281.dreamhostps.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <juri@HIDDEN>) id 1YW949-0002D9-3I
 for 20092 <at> debbugs.gnu.org; Thu, 12 Mar 2015 15:46:45 -0400
Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226])
 by ps18281.dreamhostps.com (Postfix) with ESMTP id 0AE453032165BB;
 Thu, 12 Mar 2015 12:46:42 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
 <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
Date: Thu, 12 Mar 2015 21:45:33 +0200
In-Reply-To: <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Thu, 12 Mar 2015 15:16:30 -0400")
Message-ID: <878uf2dmow.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

>> confusing behaviour that prompted me to report this bug.); and 3) if the
>> value of search-invisible is `open' then the chunk of invisible text is
>> made visible ("opened") temporarilly, and the match shown within it.
>
> That's right.  But currently `open' doesn't actually work for text
> that's hidden via text-properties (as opposed to overlays).  I think
> that's the problem you bumped into.

Since Info doesn't open invisible text, then maybe `Info-mode' should
set the buffer-local value of `search-invisible' to nil?

diff --git a/lisp/info.el b/lisp/info.el
index 0159661..2c73639 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4305,6 +4305,7 @@ (define-derived-mode Info-mode nil "Info" ;FIXME: Derive from special-mode?
   (setq-local isearch-wrap-function #'Info-isearch-wrap)
   (setq-local isearch-push-state-function #'Info-isearch-push-state)
   (setq-local isearch-filter-predicate #'Info-isearch-filter)
+  (setq-local search-invisible nil)
   (setq-local revert-buffer-function #'Info-revert-buffer-function)
   (setq-local font-lock-defaults '(Info-mode-font-lock-keywords t t))
   (Info-set-mode-line)

> I'm not sure what's the best and/or simplest way to fix it.
> Maybe a first step would be to emit a message explaining that the match
> is inside hidden text (at least so the user gets a clue about what's
> going on).

Like in the message prefix?

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 191ec82..4bc2129 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2526,6 +2526,7 @@ (defun isearch-message-prefix (&optional ellipsis nonincremental)
 		    (multi-isearch-buffer-list "multi-buffer ")
 		    (t ""))
 		   (or isearch-message-prefix-add "")
+		   (if isearch-hidden "hidden " "")
 		   (if nonincremental "search" "I-search")
 		   (if isearch-forward "" " backward")
 		   (if current-input-method

Or maybe better in the message suffix?

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 191ec82..4bc2129 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2544,6 +2545,7 @@ (defun isearch-message-suffix (&optional c-q-hack)
 	  (if isearch-error
 	      (concat " [" isearch-error "]")
 	    "")
+	  (if isearch-hidden " [hidden]" "")
 	  (or isearch-message-suffix-add "")))

>> In any case looking at the code, it does actually toggle
>> (between nil and t), but also changes `open' to nil, and then one can
>> never "toggle" back to `open'.
>
> That's indeed another problem that should be fixed.

I can't reproduce this problem: after `C-s M-s i M-s i'
isearch-invisible is still `open'.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Mar 2015 01:13:01 +0000
Resent-Message-ID: <handler.20092.B20092.142620913524777 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 20092 <at> debbugs.gnu.org, "N. Jackson" <nljlistbox2@HIDDEN>
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.142620913524777
          (code B ref 20092); Fri, 13 Mar 2015 01:13:01 +0000
Received: (at 20092) by debbugs.gnu.org; 13 Mar 2015 01:12:15 +0000
Received: from localhost ([127.0.0.1]:44420 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YWE99-0006RZ-8f
	for submit <at> debbugs.gnu.org; Thu, 12 Mar 2015 21:12:15 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9923)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YWE97-0006RE-Oi
 for 20092 <at> debbugs.gnu.org; Thu, 12 Mar 2015 21:12:14 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar8TAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA0kiDgIziMBAQEBBgIBH4oOhWoHhCoFqXKBRSKECiKCcwEBAQ
X-IPAS-Result: Ar8TAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTvhyCSQQCAoENRAEBAQEBAXyEDQEEAVYjBQsLNBIUGA0kiDgIziMBAQEBBgIBH4oOhWoHhCoFqXKBRSKECiKCcwEBAQ
X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113425671"
Received: from 69-196-185-235.dsl.teksavvy.com (HELO pastel.home)
 ([69.196.185.235])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 12 Mar 2015 21:12:08 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id 12872B07; Thu, 12 Mar 2015 21:12:08 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvbnjxsnxx.fsf-monnier+emacsbugs@HIDDEN>
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
 <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
 <878uf2dmow.fsf@HIDDEN>
Date: Thu, 12 Mar 2015 21:12:08 -0400
In-Reply-To: <878uf2dmow.fsf@HIDDEN> (Juri Linkov's message of "Thu, 
 12 Mar 2015 21:45:33 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> Since Info doesn't open invisible text, then maybe `Info-mode' should
> set the buffer-local value of `search-invisible' to nil?

That would work around the problem, yes.

>> I'm not sure what's the best and/or simplest way to fix it.
>> Maybe a first step would be to emit a message explaining that the match
>> is inside hidden text (at least so the user gets a clue about what's
>> going on).
> Like in the message prefix?
[...]
> Or maybe better in the message suffix?

Either way is fine by me.  I guess the next step would be to include
some extract of the hidden&matched text, but there's no hurry.

>>> In any case looking at the code, it does actually toggle
>>> (between nil and t), but also changes `open' to nil, and then one can
>>> never "toggle" back to `open'.
>> That's indeed another problem that should be fixed.
> I can't reproduce this problem: after `C-s M-s i M-s i'
> isearch-invisible is still `open'.

So maybe there's no problem on this front after all.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Aug 2020 09:41:02 +0000
Resent-Message-ID: <handler.20092.B20092.159834845910016 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 20092 <at> debbugs.gnu.org, "N. Jackson" <nljlistbox2@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.159834845910016
          (code B ref 20092); Tue, 25 Aug 2020 09:41:02 +0000
Received: (at 20092) by debbugs.gnu.org; 25 Aug 2020 09:40:59 +0000
Received: from localhost ([127.0.0.1]:60312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kAVRr-0002bU-JS
	for submit <at> debbugs.gnu.org; Tue, 25 Aug 2020 05:40:59 -0400
Received: from quimby.gnus.org ([95.216.78.240]:39102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kAVRo-0002bB-TH
 for 20092 <at> debbugs.gnu.org; Tue, 25 Aug 2020 05:40:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=lVQRKNFpBSoV3b2A1df2kjryzKNOeTDi6JadeGFLmUQ=; b=QITQfWql4G9LBiptk4Isd6EJUW
 uqY6Kxu/UhOSL4R/9lVSS79KuWwuD6HwVmEw5KT+q9E4DpbToDMfcQkY4z2+gG8KwH78OU7lqr/sB
 Gy5PTp9glM7DMi7Etq1wMFjOFoYWKOdZ3s4SYL5fScPi/9JxpuInU2bdZ4IEQ2ucgSEc=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kAVRX-0003q5-B6; Tue, 25 Aug 2020 11:40:49 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
 <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
 <878uf2dmow.fsf@HIDDEN>
X-Now-Playing: Orchestral Manoeuvres in the Dark's _Souvenir (3): Unreleased
 Archives Vol 1_: "Radio Swiss International"
Date: Tue, 25 Aug 2020 11:40:37 +0200
In-Reply-To: <878uf2dmow.fsf@HIDDEN> (Juri Linkov's message of "Thu, 
 12 Mar 2015 21:45:33 +0200")
Message-ID: <87wo1ncbca.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Juri Linkov <juri@HIDDEN> writes: > Since Info doesn't
 open invisible text, then maybe `Info-mode' should > set the buffer-local
 value of `search-invisible' to nil? > > diff --git a/lisp/info.el
 b/lisp/info.el
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

> Since Info doesn't open invisible text, then maybe `Info-mode' should
> set the buffer-local value of `search-invisible' to nil?
>
> diff --git a/lisp/info.el b/lisp/info.el

[...]

> +  (setq-local search-invisible nil)

Makes sense to me, but this was never applied?

>> I'm not sure what's the best and/or simplest way to fix it.
>> Maybe a first step would be to emit a message explaining that the match
>> is inside hidden text (at least so the user gets a clue about what's
>> going on).

[...]

> Or maybe better in the message suffix?
>
> diff --git a/lisp/isearch.el b/lisp/isearch.el
> index 191ec82..4bc2129 100644
> --- a/lisp/isearch.el
> +++ b/lisp/isearch.el
> @@ -2544,6 +2545,7 @@ (defun isearch-message-suffix (&optional c-q-hack)
>  	  (if isearch-error
>  	      (concat " [" isearch-error "]")
>  	    "")
> +	  (if isearch-hidden " [hidden]" "")
>  	  (or isearch-message-suffix-add "")))

I think that would be a good idea, but I tried the patch, and I could
never get it to actually show the [hidden] suffix.  I tried debugging
this, but...  it seems like isearch-hidden is never set?  At least not
in my test cases here?  Is there another bug in this area?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Aug 2020 09:41:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 25 05:41:03 2020
Received: from localhost ([127.0.0.1]:60316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kAVRu-0002cE-RK
	for submit <at> debbugs.gnu.org; Tue, 25 Aug 2020 05:41:03 -0400
Received: from quimby.gnus.org ([95.216.78.240]:39122)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kAVRt-0002bK-6A
 for control <at> debbugs.gnu.org; Tue, 25 Aug 2020 05:41:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=gf/yH8NbmVhoDDoUU5OEJn5bae1EonJl6SGTwf1hD1U=; b=FIrdCdMaRSgVvvDkK41zXxmBju
 Jmf1YnPhS6gk5ekgRyAv63lof06M8icD+u2ZBt4urErZm1d1KgHJWME/qGMORTmtUC7Qdm7UiyZt/
 hjt4595DZqlZAxM/Ha0dzvOlNn1C+w7Wy2IYq+A2Uxfmr04nfQite0iVnNY4O0YgdNuE=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kAVRl-0003qF-FL
 for control <at> debbugs.gnu.org; Tue, 25 Aug 2020 11:40:55 +0200
Date: Tue, 25 Aug 2020 11:40:52 +0200
Message-Id: <87v9h7cbbv.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #20092
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 20092 + patch quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 20092 + patch
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Aug 2020 19:10:02 +0000
Resent-Message-ID: <handler.20092.B20092.15983825863911 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 20092 <at> debbugs.gnu.org, "N. Jackson" <nljlistbox2@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.15983825863911
          (code B ref 20092); Tue, 25 Aug 2020 19:10:02 +0000
Received: (at 20092) by debbugs.gnu.org; 25 Aug 2020 19:09:46 +0000
Received: from localhost ([127.0.0.1]:36140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kAeKI-000111-6s
	for submit <at> debbugs.gnu.org; Tue, 25 Aug 2020 15:09:46 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:39493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1kAeKG-00010T-Mj
 for 20092 <at> debbugs.gnu.org; Tue, 25 Aug 2020 15:09:45 -0400
X-Originating-IP: 91.129.102.47
Received: from mail.gandi.net (m91-129-102-47.cust.tele2.ee [91.129.102.47])
 (Authenticated sender: juri@HIDDEN)
 by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id A005D240008;
 Tue, 25 Aug 2020 19:09:36 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
 <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
 <878uf2dmow.fsf@HIDDEN> <87wo1ncbca.fsf@HIDDEN>
Date: Tue, 25 Aug 2020 21:32:31 +0300
In-Reply-To: <87wo1ncbca.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue,
 25 Aug 2020 11:40:37 +0200")
Message-ID: <87h7sqy49k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> +	  (if isearch-hidden " [hidden]" "")
>>  	  (or isearch-message-suffix-add "")))
>
> I think that would be a good idea, but I tried the patch, and I could
> never get it to actually show the [hidden] suffix.  I tried debugging
> this, but...  it seems like isearch-hidden is never set?  At least not
> in my test cases here?  Is there another bug in this area?

I'll check what is wrong here.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20092: 24.4.91; False matches with incremental search in Info
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 10 May 2021 11:27:01 +0000
Resent-Message-ID: <handler.20092.B20092.162064599924720 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20092
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: 20092 <at> debbugs.gnu.org, "N. Jackson" <nljlistbox2@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 20092-submit <at> debbugs.gnu.org id=B20092.162064599924720
          (code B ref 20092); Mon, 10 May 2021 11:27:01 +0000
Received: (at 20092) by debbugs.gnu.org; 10 May 2021 11:26:39 +0000
Received: from localhost ([127.0.0.1]:57530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lg43b-0006Qd-30
	for submit <at> debbugs.gnu.org; Mon, 10 May 2021 07:26:39 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lg43Z-0006QO-MG
 for 20092 <at> debbugs.gnu.org; Mon, 10 May 2021 07:26:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=4OaOEtOWR7Hfi8j4unNU0Y2fXtSbsiWgoBbzfD5ADls=; b=Zxyz4HT561b+LpExH6BtlVRzbC
 OtCMwbxwU/NGLknpg1baeRfgVSLzzUJd4IvIoea6R9fi0hqfLG0N8vP0/cbRsKf2O2JavQdkv7XIO
 qKi0C9G4hNlEEjXJ/VR2bV3n2zR7RyaFE5K8ibSDXoXxo+DHY9luHBCUAbpw98uY4nA0=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lg43Q-0007W1-DY; Mon, 10 May 2021 13:26:30 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87egov3udi.fsf@HIDDEN>
 <87zj7ix55f.fsf@HIDDEN>
 <87bnjy9tn2.fsf@HIDDEN>
 <jwvk2ymuj2o.fsf-monnier+emacsbugs@HIDDEN>
 <878uf2dmow.fsf@HIDDEN> <87wo1ncbca.fsf@HIDDEN>
 <87h7sqy49k.fsf@HIDDEN>
X-Now-Playing: Severed Heads's _Gigapus_: "Cabbalaland (with M.C. Newsagent)"
Date: Mon, 10 May 2021 13:26:27 +0200
In-Reply-To: <87h7sqy49k.fsf@HIDDEN> (Juri Linkov's message of "Tue, 
 25 Aug 2020 21:32:31 +0300")
Message-ID: <87v97qsucc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Juri Linkov <juri@HIDDEN> writes: >>> + (if
 isearch-hidden
 " [hidden]" "") >>> (or isearch-message-suffix-add ""))) >> >> I think that
 would be a good idea, but I tried the patch, and I could >> never get it
 to actually show the [hidd [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

>>> +	  (if isearch-hidden " [hidden]" "")
>>>  	  (or isearch-message-suffix-add "")))
>>
>> I think that would be a good idea, but I tried the patch, and I could
>> never get it to actually show the [hidden] suffix.  I tried debugging
>> this, but...  it seems like isearch-hidden is never set?  At least not
>> in my test cases here?  Is there another bug in this area?
>
> I'll check what is wrong here.

Did you make any progress here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Mon, 10 May 2021 11:30:02 UTC

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