GNU bug report logs - #28455
26.0.50; first M-x next-error is very slow

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: emacs; Reported by: Tom Tromey <tom@HIDDEN>; Keywords: moreinfo; dated Thu, 14 Sep 2017 02:53:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 28455) by debbugs.gnu.org; 15 Sep 2017 12:36:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 15 08:36:55 2017
Received: from localhost ([127.0.0.1]:41984 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dsprb-0001ql-2U
	for submit <at> debbugs.gnu.org; Fri, 15 Sep 2017 08:36:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41132)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dsprZ-0001qY-8o
 for 28455 <at> debbugs.gnu.org; Fri, 15 Sep 2017 08:36:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dsprQ-00063d-QD
 for 28455 <at> debbugs.gnu.org; Fri, 15 Sep 2017 08:36:47 -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.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59808)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dsprQ-00063X-MQ; Fri, 15 Sep 2017 08:36:44 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3257
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dsprO-0005At-2f; Fri, 15 Sep 2017 08:36:44 -0400
Date: Fri, 15 Sep 2017 15:36:35 +0300
Message-Id: <837ex0m94c.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Tom Tromey <tom@HIDDEN>
In-reply-to: <87wp529fv2.fsf@bapiya> (message from Tom Tromey on Wed, 13 Sep
 2017 20:24:49 -0600)
Subject: Re: bug#28455: 26.0.50; first M-x next-error is very slow
References: <87wp529fv2.fsf@bapiya>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28455
Cc: 28455 <at> debbugs.gnu.org
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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Tom Tromey <tom@HIDDEN>
> Date: Wed, 13 Sep 2017 20:24:49 -0600
> 
> I ran `make' using M-x compile.
> A number of errors appeared.
> 
> The very first M-x next-error took a long time -- 8 seconds by my
> count.
> 
> This seems to happen the first time after each compilation.

Does it have to be a compilation, or visiting a file with the error
messages, putting it in compilation-mode, then invoking next-error
exhibits the same problem?  If the latter, can you post an example
file which could be used to reproduce this?

Also, does the slow 1st time happen in "emacs -Q"?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#28455; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 14 Sep 2017 02:52:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 13 22:52:58 2017
Received: from localhost ([127.0.0.1]:39304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dsKGv-0006gi-K6
	for submit <at> debbugs.gnu.org; Wed, 13 Sep 2017 22:52:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1dsKGt-0006gT-7F
 for submit <at> debbugs.gnu.org; Wed, 13 Sep 2017 22:52:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1dsKGm-00058P-Lg
 for submit <at> debbugs.gnu.org; Wed, 13 Sep 2017 22:52:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43132)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>) id 1dsKGm-000584-Hg
 for submit <at> debbugs.gnu.org; Wed, 13 Sep 2017 22:52:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39970)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1dsKGk-0003y7-NW
 for bug-gnu-emacs@HIDDEN; Wed, 13 Sep 2017 22:52:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1dsKGh-00054r-Em
 for bug-gnu-emacs@HIDDEN; Wed, 13 Sep 2017 22:52:46 -0400
Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:52034)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>) id 1dsKGg-00053m-VV
 for bug-gnu-emacs@HIDDEN; Wed, 13 Sep 2017 22:52:43 -0400
Received: from CMOut01 (unknown [10.0.90.82])
 by gproxy10.mail.unifiedlayer.com (Postfix) with ESMTP id A6B841408DC
 for <bug-gnu-emacs@HIDDEN>; Wed, 13 Sep 2017 20:24:54 -0600 (MDT)
Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with 
 id 9EQq1w00q2f2jeq01EQtFv; Wed, 13 Sep 2017 20:24:54 -0600
X-Authority-Analysis: v=2.2 cv=K4VSJ2eI c=1 sm=1 tr=0
 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17
 a=2JCJgTwv5E4A:10 a=PtWgj5de-20NvRliiqEA:9 a=wMygSKNqNWJAMOtU:21
 a=kKAXvJASFwmcoc7H:21
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:
 Sender:Reply-To:Cc: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=7qzxtXRm+7GIjTK/1fPgaMPsujZNLMlchq2gAmdezHM=; b=VUP3To2fya3nfpkBbezNteOO7p
 5rKzSVt28quYPrGRppsoM7httVkAwX3242B973n1PmXD9hXjPNfpr+0YL9GfJjWBZ8FyfYOZylJsu
 xgjJ0XGE/Nh7es3GRCKdNwQHR;
Received: from 75-166-76-94.hlrn.qwest.net ([75.166.76.94]:58250 helo=bapiya)
 by box522.bluehost.com with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87)
 (envelope-from <tom@HIDDEN>)
 id 1dsJpi-003haW-LF; Wed, 13 Sep 2017 20:24:50 -0600
From: Tom Tromey <tom@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.50; first M-x next-error is very slow
X-Attribution: Tom
Date: Wed, 13 Sep 2017 20:24:49 -0600
Message-ID: <87wp529fv2.fsf@bapiya>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box522.bluehost.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 75.166.76.94
X-Exim-ID: 1dsJpi-003haW-LF
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 75-166-76-94.hlrn.qwest.net (bapiya) [75.166.76.94]:58250
X-Source-Auth: tom+tromey.com
X-Email-Count: 1
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)


I ran `make' using M-x compile.
A number of errors appeared.

The very first M-x next-error took a long time -- 8 seconds by my
count.

This seems to happen the first time after each compilation.
However if I C-u M-x next-error to restart from the beginning, then that
is fast.

Tom


In GNU Emacs 26.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.22.17)
 of 2017-09-09 built on bapiya
Repository revision: 4131f9785e30f2a31745125c714e922892113c62
Windowing system distributor 'Fedora Project', version 11.0.11903000
System Description:	Fedora release 25 (Twenty Five)

Recent messages:
syntax: ((statement 4143)), indent: 4
syntax: ((statement 4143) (comment-intro)), indent: 4 [7 times]
syntax: ((statement 4750)), indent: 8
C-x C-g is undefined
Saving file /home/tromey/gcc/gcc/libcpp/macro.c...
Wrote /home/tromey/gcc/gcc/libcpp/macro.c
Saving file /home/tromey/gcc/gcc/libcpp/macro.c...
Wrote /home/tromey/gcc/gcc/libcpp/macro.c
Mark set
Compilation exited abnormally with code 2

Configured using:
 'configure --prefix=/home/tromey/Emacs/install'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: C/*l

Minor modes in effect:
  shell-dirtrack-mode: t
  bug-reference-prog-mode: t
  diff-auto-refine-mode: t
  flyspell-mode: t
  which-function-mode: t
  erc-services-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-netsplit-mode: t
  erc-hl-nicks-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  savehist-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: tromey-c++-do-auto-fill
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/26.0.50/lisp/play/bubbles

Features:
(shadow mail-hist emacsbug make-mode jka-compr novice whitespace dabbrev
smerge-mode term/xterm xterm log-view gnus-html url-queue help-fns
radix-tree url-cache mm-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf flow-fill mailalias sort
gnus-cite smiley shr-color url-util shr svg xml dom browse-url
mm-archive gnus-bcklg gnus-async mail-extr gnus-ml disp-table gnus-topic
nndraft nnmh nnfolder utf-7 network-stream nsm starttls gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache
gnus-registry registry ebdb-gnus gnus-art mm-uu mml2015 mm-view
mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo smtpmail
gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader
goto-addr log-edit pcvs-util add-log copyright shell pulse vc-mtn vc-hg
vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs etags xref project
bug-reference vc-git diff-mode easy-mmode map cc-mode cc-fonts cc-guess
cc-menus cc-cmds misearch multi-isearch find-dired elec-pair flyspell
ispell diminish edmacro kmacro projectile grep compile ibuf-ext ibuffer
ibuffer-loaddefs dash appt diary-lib diary-loaddefs which-func imenu
minimap autorevert filenotify cus-start cus-load status erc-services
erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete
erc-track erc-match erc-netsplit erc-hl-nicks color erc-button erc-fill
erc-stamp wid-edit erc-goodies erc erc-backend erc-compat thingatpt pp
warnings advice vc-dir ewoc vc vc-dispatcher cc-styles cc-align
cc-engine cc-vars cc-defs ebdb-complete ebdb-message sendmail message
puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mail-utils
gmm-utils mailheader ebdb-mua ebdb-com crm mailabbrev ebdb-format qp
ebdb cl-extra help-mode eieio-opt speedbar sb-image ezimage dframe
find-func eieio-base pcase subr-x cal-menu calendar cal-loaddefs
timezone ange-ftp comint ansi-color ring server savehist finder-inf
dwarf-mode-autoloads gdb-shell-autoloads lisppaste-autoloads
pydoc-info-autoloads info-look cl weblogger-autoloads info package
easymenu epg-config url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt
gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 1575072 1145977)
 (symbols 48 56689 1)
 (miscs 40 9756 5605)
 (strings 32 514129 71833)
 (string-bytes 1 14329693)
 (vectors 16 245436)
 (vector-slots 8 3800354 117054)
 (floats 8 465 633)
 (intervals 56 67864 3194)
 (buffers 992 148))




Acknowledgement sent to Tom Tromey <tom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#28455; Package emacs. 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: Wed, 27 Sep 2017 01:00:02 UTC

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