From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Evgeniy Dushistov Newsgroups: gmane.emacs.bugs Subject: bug#36001: 26.2; compile-mode.el/compilation-mode spontaneous behaviour Date: Thu, 30 May 2019 12:49:36 +0300 Message-ID: <20190530094936.GA22903@15inch.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="132019"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) To: 36001@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 30 11:50:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWHhN-000YCp-Cr for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 11:50:13 +0200 Original-Received: from localhost ([127.0.0.1]:50257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWHhM-0004sf-Bm for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 05:50:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWHhD-0004sZ-QZ for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:50:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWHhC-0000zH-52 for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWHhB-0000zA-VR for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWHhB-0000kD-SN for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Evgeniy Dushistov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2019 09:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36001 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15592097952841 (code B ref -1); Thu, 30 May 2019 09:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 May 2019 09:49:55 +0000 Original-Received: from localhost ([127.0.0.1]:60769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWHh4-0000jl-Di for submit@debbugs.gnu.org; Thu, 30 May 2019 05:49:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWHh1-0000jV-Dg for submit@debbugs.gnu.org; Thu, 30 May 2019 05:49:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWHgw-0000kk-7D for submit@debbugs.gnu.org; Thu, 30 May 2019 05:49:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWHgu-0004r1-Em for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:49:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWHgs-0000bu-SW for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:49:44 -0400 Original-Received: from smtp37.i.mail.ru ([94.100.177.97]:33030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWHgs-0000Uh-48 for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 05:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=pM9T//NKOiY+0DIR/arayTLQfHDgshYKfKU3leea898=; b=KmZV5YlbhiK1ABD9cAVwQ4SijhP4hIKr+y+/OXSLsc9d7yWzIsaeuOBstXtM6PoZZnHTlAVDvcmBuE8iAZpX+i9Nm/corj9XTwdjUOzUifctmbbDSD4crxH3waWLxQPvWENMStBHghlv/eXQJM85y4NAAfd26qclvNOc9n65FcE=; Original-Received: by smtp37.i.mail.ru with esmtpa (envelope-from ) id 1hWHgn-0003Tj-U6 for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 12:49:38 +0300 Content-Disposition: inline "X-PGP-Key: https://sks-keyservers.net/pks/lookup?op=vindex&search=dushistov%40mail.ru" Authentication-Results: smtp37.i.mail.ru; auth=pass smtp.auth=dushistov@mail.ru smtp.mailfrom=dushistov@mail.ru X-77F55803: CF41D5CA8C6D3C0C7F9F52485CB584D7FE68477BFBFC01B4058C33616D76487C79EEDE595C41A9666F0EA0E894F5140B660823B2EEFD31DC X-7FA49CB5: 0D63561A33F958A568D795CC3FF6DDA13510624218EFA46F628718AE786D08B38941B15DA834481FA18204E546F3947CEDCF5861DED71B2F389733CBF5DBD5E9C8A9BA7A39EFB7666BA297DBC24807EA117882F44604297287769387670735209ECD01F8117BC8BEA471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249A0EE70D6C0970CA7D81D268191BDAD3DBD4B6F7A4D31EC0B5563AC4C43EF3CD7090A508E0FED62990E30A4C9C8E338DA96C9B5BF839F39F6B3661434B16C20AC93541453170D46FCAAAE862A0553A39223F8577A6DFFEA7C7047E69D63EA1A55C7704B39DCBE0C69EFF80C71ABB335746BA297DBC24807EA27F269C8F02392CDCDCF839C8780CBD93C9F3DD0FB1AF5EB4E70A05D1297E1BBCB5012B2E24CD356 X-Mailru-Sender: AFD8F0D0D0E72874173F5846337BA163D3EC3C518F337943DE7009DE65110A40F31FE319BF0A92C91BC9E2BE8152FC633DDE9B364B0DF28983F97ED9068BB8531752C749FAB18CA3AE208404248635DF X-Mras: OK X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159908 Archived-At: Hi, compile-mode.el (compilation-mode) works in really spontaneous way. I run compilation via: (defun rust-compile () "Compile using `cargo build`" (interactive) (compile "cargo build")) Sometimes errors are highlighted, sometimes aren't. For example I run compilation, and the first error is not highlighted: https://user-images.githubusercontent.com/156697/58186628-f013bf80-7cbd-11e9-956b-741e64fabbe6.png Then I switch buffer '*compilation*' and run M-x compilation-mode, and error is highlighted in the right way: https://user-images.githubusercontent.com/156697/58186629-f013bf80-7cbd-11e9-88c4-7a1fc90b08d8.png Also jump to the error via C-x ` sometimes doesn't work (emacs insitead of jump to code, asks where find source file), but after I would switch to '*compilation*' and run M-x compilation-mode, C-x ` works again. These are spontaneous errors, I have ~10 good cases, when all works fine vs 1 bad case, when rending or jump to source location works only for subset of errors/warnings. In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Arch Linux Recent messages: Mark saved where search started Mark set Undo! Mark set Saving file /home/evgeniy/bigdisk1/projects/rust-infra/swig/macroslib/src/lib.rs... Formatted buffer with rustfmt. Wrote /home/evgeniy/bigdisk1/projects/rust-infra/swig/macroslib/src/lib.rs Cargo-Process exited abnormally with code 101 Quit [3 times] Making completion list... Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Rust Minor modes in effect: diff-auto-refine-mode: t lsp-ui-mode: t lsp-ui-doc-mode: t lsp-ui-sideline-mode: t column-enforce-mode: t show-paren-mode: t shell-dirtrack-mode: t company-mode: t lsp--managed-mode: t lsp-mode: t flymake-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/evgeniy/.emacs.d/elpa/cmake-mode-20180709.1426/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rect pulse dabbrev company-lsp misearch multi-isearch vc-git diff-mode company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-bbdb lsp-ui lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-clients lsp-elm lsp-dart lsp-clojure lsp-go lsp-xml lsp-css lsp-intelephense lsp-vetur lsp-html lsp-solargraph lsp-rust lsp-pyls column-enforce-mode elec-pair paren cus-start cus-load company-rtags company-template rtags repeat tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec advice asm-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs bookmark company edmacro kmacro ra-emacs-lsp derived lsp cargo cargo-process lsp-mode ewoc markdown-mode color noutline outline tree-widget wid-edit xref url-util spinner pcase network-stream puny nsm rmc starttls tls gnutls inline imenu filenotify f s em-glob esh-util dash-functional flymake-proc flymake compile comint ansi-color ring warnings thingatpt project rust-mode json map req-package view req-package-cycles req-package-args req-package-hooks ht log4e rx dash el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile subr-x el-get-custom cl-extra help-mode el-get-core autoload radix-tree lisp-mnt dired dired-loaddefs use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core cl finder-inf 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 cyril-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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 491650 111898) (symbols 48 40933 1) (miscs 40 1396 3515) (strings 32 117161 17565) (string-bytes 1 3238003) (vectors 16 64057) (vector-slots 8 1158194 111302) (floats 8 309 1019) (intervals 56 9184 4079) (buffers 992 26)) -- /Evgeniy