GNU bug report logs - #36651
12.1.2; isearch with TeX-fold-mode and outline-minor-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Gustavo Barros <gusbrs.2016@HIDDEN>; dated Sun, 14 Jul 2019 14:59:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 14 Jul 2019 14:58:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 14 10:58:56 2019
Received: from localhost ([127.0.0.1]:45628 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hmfxo-0005Vt-B1
	for submit <at> debbugs.gnu.org; Sun, 14 Jul 2019 10:58:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:51383)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gusbrs.2016@HIDDEN>) id 1hmfxm-0005Vk-0y
 for submit <at> debbugs.gnu.org; Sun, 14 Jul 2019 10:58:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56886)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <gusbrs.2016@HIDDEN>) id 1hmfxk-0005a0-HM
 for bug-auctex@HIDDEN; Sun, 14 Jul 2019 10:58:53 -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 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gusbrs.2016@HIDDEN>) id 1hmfxi-0000GU-Ud
 for bug-auctex@HIDDEN; Sun, 14 Jul 2019 10:58:52 -0400
Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:35625)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <gusbrs.2016@HIDDEN>)
 id 1hmfxi-0000FH-KP
 for bug-auctex@HIDDEN; Sun, 14 Jul 2019 10:58:50 -0400
Received: by mail-qt1-x82c.google.com with SMTP id d23so13152052qto.2
 for <bug-auctex@HIDDEN>; Sun, 14 Jul 2019 07:58:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:user-agent:from:to:subject:date:message-id:mime-version;
 bh=6efSPbGtmdg348IZqtUk8/wk4QH3fAc2cKk8zyBDfXE=;
 b=jv01nJqNceFXgE1B1Kke5otbc8mk+Nk12IGJxYnPeZIqMsmN2nNj8tq2v7EU0jbHYu
 0jiCCnaA56mRjLsweV7MCfqJ9p3PNxDUqwWk9pCQT7MDwWysBM6Uh6sVPVxZBrFeF4Cx
 G0OwNMsj7p0v27JEnEemmV7N92FP6kXRBKQHiDxR+7ov82Z0QLybaJqyNG2tzzwdJsg1
 xnH+pYdn9HGZMEHEk9hYSyg8cMyHdruU00/VAcqyhcIsL5LLLyiuJrI8/PfZjacoLw9G
 fuN1cLQEYsRd+SgAXKwmz7Xa/zveTdRnGASvDIRGI4+qSY/S8ot/WGw9ajCizMVHzwbi
 l7/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:user-agent:from:to:subject:date
 :message-id:mime-version;
 bh=6efSPbGtmdg348IZqtUk8/wk4QH3fAc2cKk8zyBDfXE=;
 b=bMEh85jL3hBtOXeoCBscrTSHu3kyZo/fvt7kreNa0T7NgQSQhm2UmxwuZnstXH0PbD
 dsG4maipqsTUyUfnrVWqjjrKSVF9VTBGQFP5VDyCtRJYJsXtBm5bB8TeLmNbkYECjDAt
 mV/XH6++GMKf3FsPLcMCKkcVCWQjSPUAo2aBujeoWDJBRNlmku1gl5Ad0kwTZYgp+BkI
 LoX/9oCMuUZOuXJvXH1jT0/auiLCp5+rJM4nt1UI55qEzScE11bZHdeN+aHGRZh5FeZT
 ErOOykvbjFCM4fyaXzkzEzkxdZQDK1q5PUulC96/D9khU9Hgf3iJ3Ntyk9aENwfy5m7l
 q1aw==
X-Gm-Message-State: APjAAAV6N1UW/DPIFfU2XOHsFcRkeFX369d8pC9F1opaqWxXRevqCPNd
 XCIVy3FXuIcCtkzx0giy1UJ5YjesRDk=
X-Google-Smtp-Source: APXvYqw0xzn5sA24/Yyf8WuUFTt1ykiN2IL9OzBuTzehYSFtTF6bKSgddIZWV5GCZEBFja5cw6ICNg==
X-Received: by 2002:a0c:e1cd:: with SMTP id v13mr15022037qvl.245.1563116328547; 
 Sun, 14 Jul 2019 07:58:48 -0700 (PDT)
Received: from gusbrs-laptop (ip-98-2-52-196.nyc.us.northamericancoax.com.
 [196.52.2.98])
 by smtp.gmail.com with ESMTPSA id m10sm6341235qka.43.2019.07.14.07.58.47
 for <bug-auctex@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 14 Jul 2019 07:58:47 -0700 (PDT)
User-agent: mu4e 1.2.0; emacs 26.2
From: Gustavo Barros <gusbrs.2016@HIDDEN>
To: bug-auctex@HIDDEN
Subject: 12.1.2; isearch with TeX-fold-mode and outline-minor-mode
Date: Sun, 14 Jul 2019 11:58:44 -0300
Message-ID: <87ftn84q8r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::82c
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
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: -2.1 (--)

Hi all,

When both TeX-fold-mode and outline-minor-mode are used together, if the
outline is folded, the usual unfolding of candidates of isearch does not work,
that is, temporary unfolding of the region where the current candidate is does
not happen. The unfolding of the region of the selected candidate also does 
not
happen.

Steps to reproduce:

Start `emacs -Q`

Some minimal setup:

#+begin_src emacs-lisp
(package-initialize)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
#+end_src

Now, visit file with contents:

#+begin_export latex
\documentclass{article}

\begin{document}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida
mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
Donec vehicula augue eu neque.\footnote{Nam dui ligula, fringilla a, euismod
  sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus
  libero, pretium at, lobortis vitae, ultricies et, tellus. Donec aliquet,
  tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio
  metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut
  massa. Cras nec ante. Pellentesque a nulla. Cum sociis natoque penatibus et
  magnis dis parturient montes, nascetur ridiculus mus. Aliquam tincidunt
  urna.  Nulla ullamcorper vestibulum turpis. Pellentesque cursus luctus
  mauris.} Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus
sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus
sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium
quis, viverra ac, nunc.  Praesent eget sem vel leo ultrices bibendum. Aenean
faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Cur-
abitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue
eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci
dignissim rutrum.

\end{document}
#+end_export

Enable TeX-fold-mode and outline-minor-mode and fold content:

#+begin_src emacs-lisp
(TeX-fold-mode)
(outline-minor-mode)
(TeX-fold-buffer)
(outline-hide-body)
#+end_src

Now, use `isearch` to search for the string "morbi".  The text will remain
folded in the outline level, despite the four candidates being searched.

Disabling either `TeX-fold-mode` or `outline-minor-mode` brings the working of
each to the regular expected behavior.

Best regards,
Gustavo Barros.


Emacs  : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-04-19
Package: 12.1.2

current state:
==============
(setq
 AUCTeX-date "2019-02-08"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex" 
 "/home/gustavo/.emacs.d/elpa/auctex-12.1.2/style"
		  "/home/gustavo/.emacs.d/auctex/auto" 
		  "/home/gustavo/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) 
 %S%(PDFout)%(mode)%' %t" TeX-run-TeX
		     nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run 
		     plain TeX")
		    ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode 
		    doctex-mode) :help "Run LaTeX")
		    ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil 
		    (texinfo-mode) :help
		     "Run Makeinfo with Info output")
		    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" 
		    TeX-run-compile nil (texinfo-mode) :help
		     "Run Makeinfo with HTML output")
		    ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t" 
		    TeX-run-TeX nil (ams-tex-mode)
		     :help "Run AMSTeX")
		    ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) 
		    %(execopts)%t" TeX-run-TeX nil
		     (context-mode) :help "Run ConTeXt once")
		    ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" 
		    TeX-run-TeX nil (context-mode) :help
		     "Run ConTeXt until completion")
		    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run 
		    BibTeX")
		    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
		    ("View" "%V" TeX-run-discard-or-function t t :help "Run 
		    Viewer")
		    ("Print" "%p" TeX-run-command t t :help "Print the file")
		    ("Queue" "%q" TeX-run-background nil t :help "View the 
		    printer queue" :visible
		     TeX-queue-command)
		    ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help 
		    "Generate PostScript file")
		    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help 
		    "Convert DVI file to PostScript")
		    ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
		     "Convert DVI file to PDF with dvipdfmx")
		    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert 
		    PostScript file to PDF")
		    ("Glossaries" "makeglossaries %s" TeX-run-command nil t 
		    :help
		     "Run makeglossaries to create glossary file")
		    ("Index" "makeindex %s" TeX-run-index nil t :help "Run 
		    makeindex to create index file")
		    ("upMendex" "upmendex %s" TeX-run-index t t :help "Run 
		    upmendex to create index file")
		    ("Xindy" "texindy %s" TeX-run-command nil t :help "Run 
		    xindy to create index file")
		    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) 
		    :help
		     "Check LaTeX file for correctness")
		    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) 
		    :help
		     "Check LaTeX file for common mistakes")
		    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil 
		    t :help "Spell-check the document")
		    ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete 
		    generated intermediate files")
		    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
		     "Delete generated intermediate and output files")
		    ("Other" "" TeX-run-command t t :help "Run an arbitrary 
		    command"))
 )




Acknowledgement sent to Gustavo Barros <gusbrs.2016@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#36651; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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