From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: philipk@posteo.net (Philip K.) Newsgroups: gmane.emacs.bugs Subject: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 Date: Sat, 08 Aug 2020 18:42:39 +0200 Message-ID: <87tuxd5bsw.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10762"; mail-complaints-to="usenet@ciao.gmane.io" To: 42765@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 08 18:43:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k4Rw6-0002hw-LF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Aug 2020 18:43:10 +0200 Original-Received: from localhost ([::1]:33766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4Rw5-0007xE-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Aug 2020 12:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Rvy-0007x5-PT for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 12:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k4Rvy-0005Lr-GW for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k4Rvy-0006sd-Dl for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: philipk@posteo.net (Philip K.) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Aug 2020 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42765 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.159690497026427 (code B ref -1); Sat, 08 Aug 2020 16:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Aug 2020 16:42:50 +0000 Original-Received: from localhost ([127.0.0.1]:59527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Rvl-0006sA-Oa for submit@debbugs.gnu.org; Sat, 08 Aug 2020 12:42:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Rvj-0006s3-Rw for submit@debbugs.gnu.org; Sat, 08 Aug 2020 12:42:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Rvj-0007vK-9X for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 12:42:47 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:51277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Rvg-0005LY-AT for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 12:42:46 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9A3942400FC for ; Sat, 8 Aug 2020 18:42:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596904960; bh=bx51VQrYKf+wHjptJ7D51pjrvPfP5laqgmFnlmPEcCI=; h=From:To:Subject:Date:From; b=GBpeFb0a5Awiy7Ki5NLohjWIuMPhwaPiZXTCEyi/78DVTzF2JlTFwJM24sfbNvvJw B8i3VzSoX8yM+Aer9io0Z6XQmGCwWzHycmAlFGh242v4wPDPe/kpemdd2zC1mu04u2 NIGTclzVaFioLChMOnhab4+QqupC7SHKS507p7MB9gp0wZ2GycLibst2Q1t1uaGzao hng6zi1RCJdeBorHHhiHfy82zb/uUmlnMqaFmI887UeeMFDweiPEBnoIUCKf2lwKXj AVyO0Ljn+uVHJnRzW2NRRLNmYNROoA/IIDYx9X8xSV8wuYrT1zOXBJcD/zAtwZ8aIE od+8hXbxDY/KA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BP7Lm0kHDz6tmD for ; Sat, 8 Aug 2020 18:42:39 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/08 11:01:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184364 Archived-At: Hi, after loading project.el into Emacs 26.3, I noticed that project-find-regexp doesn't work, because the xref--show-xrefs function has changed it's parameter interpretation. While project.el assumes it accepts a function, 26.3's Xref assumes it will recieve a list ("xrefs"). There command then fails with a somewhat cryptic error message, that probably doesn't make sense for Elisp programmers. I managed to fix this by installing a newer Xref version from ELPA, but I think this situation should be handled more gracefully. Is there a reason that project.el doesn't depend on the newer Xref version? In GNU Emacs 26.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.13) of 2020-01-28 built on buildhw-09.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12008000 System Description: Fedora release 32 (Thirty Two) Recent messages: 0 new messages read Parsing /home/phi/etc/mail/aliases... done Starting new Ispell process /usr/bin/enchant2 with default dictionary... Error enabling Flyspell mode: (Searching for program No such file or directory /usr/bin/enchant2) Mark set Quit No expansion found Quit Mark set Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: TeX-PDF-mode: t global-magit-file-mode: t magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t paredit-mode: t flymake-mode: t ivy-mode: t display-time-mode: t recentf-mode: t save-place-mode: t savehist-mode: t show-paren-mode: t winner-mode: t diff-auto-refine-mode: t electric-pair-mode: t tooltip-mode: t global-eldoc-mode: t 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 line-number-mode: t transient-mark-mode: t Load-path shadows: /home/phi/.emacs.d/elpa/flymake-1.0.9/flymake hides /usr/share/emacs/26.3/lisp/progmodes/flymake /home/phi/.emacs.d/elpa/project-0.5.0/project hides /usr/share/emacs/26.3/lisp/progmodes/project /home/phi/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/26.3/lisp/emacs-lisp/let-alist Features: (shadow emacsbug mail-extr pulse cl-print hi-lock windmove gdb-mi bindat gud etags arc-mode archive-mode hyperspec cc-awk preview prv-emacs tex-buf font-latex texmathp latex latex-flymake tex-ispell tex-style tex dbus tex-mode org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org-element avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs conf-mode calc-misc calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs dired-aux avy files-x tramp-cache tramp-sh make-mode magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub-graphql treepy gsexp ghub url-http tls url-gw nsm url-auth gnutls magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode git-commit magit-git magit-section magit-utils magit-popup crm log-edit pcvs-util add-log with-editor async-bytecomp async server dash swiper bookmark flyspell ispell nroff-mode char-fold misearch multi-isearch tabify imenu man clang-capf sort ffap tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time advice whitespace help-at-pt jka-compr eieio-opt speedbar sb-image ezimage dframe help-fns xref find-dired grep vc-mtn vc-hg macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher project subr-x shell pcomplete bang shr svg dom browse-url qp rmailmm message rmc puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 cl-extra time-stamp paredit checkdoc help-mode flymake-proc flymake warnings init ivy delsel colir color ivy-overlay edmacro kmacro rx pcase dired-x holidays hol-loaddefs cal-menu calendar cal-loaddefs erc-goodies erc thingatpt erc-backend erc-compat format-spec gnus nnheader gnus-util time sendmail rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils hippie-exp recentf tree-widget saveplace savehist paren winner cus-edit cus-start cus-load wid-edit ert pp find-func ewoc debug url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap compile comint ansi-color ring vc-fossil vc-git diff-mode easy-mmode elec-pair autoload radix-tree lisp-mnt dired dired-loaddefs tex-site finder-inf slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core eieio-loaddefs password-cache url-vars clang-rename clang-include-fixer let-alist json map seq byte-opt bytecomp byte-compile cconv clang-format cl-macs gv xml 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 889607 199216) (symbols 48 62145 1) (miscs 40 4764 8433) (strings 32 199456 21078) (string-bytes 1 5733700) (vectors 16 95662) (vector-slots 8 2270580 109232) (floats 8 608 1112) (intervals 56 40233 4024) (buffers 992 91))