From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 12:42:50 2020 Received: (at submit) by debbugs.gnu.org; 8 Aug 2020 16:42:50 +0000 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 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 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 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 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== 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) From: philipk@posteo.net (Philip K.) To: bug-gnu-emacs@gnu.org Subject: 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 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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)) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 09 21:17:36 2020 Received: (at 42765) by debbugs.gnu.org; 10 Aug 2020 01:17:36 +0000 Received: from localhost ([127.0.0.1]:33747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4wRT-0004nU-ST for submit@debbugs.gnu.org; Sun, 09 Aug 2020 21:17:36 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:50341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4wRN-0004nC-G2 for 42765@debbugs.gnu.org; Sun, 09 Aug 2020 21:17:33 -0400 Received: by mail-wm1-f48.google.com with SMTP id c80so6262986wme.0 for <42765@debbugs.gnu.org>; Sun, 09 Aug 2020 18:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=na15BAjUbIHJcUA7DGDsNbcGrCdXuurKugG12feLHj0=; b=YgVA4mjl4sL9LQmAF4Ga9FFKL9Fu7rN8Fwoa5JgULYYkvicUQbVXF/8H7Z+6Lh8o+P oPuSW8DdMXfT5ZtPOqn2GbJgLfV502PsuDcRPtep1vjSsNIWjnp53sk266oPfsuaZizR ljPgAM75Xq1yftJKXy4ZveNp5nG3Znn61bKbqW9qOxmRcxzVJDN07haPzKspLlAQUlBS s79OtK9QjIZ8ApfRo6Sq8rjXDRN+QCNb+LS+hW5djMzdqXm9Ua1hopfQkNtxuCeQUVRh bhUp6Gn/Ke7pccPuEMhxKoGweeLfLSpkhW6tQdXqIVOTtFONilYXazOh2mYDKyvsHEm4 5qWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=na15BAjUbIHJcUA7DGDsNbcGrCdXuurKugG12feLHj0=; b=CioINYQXHDVSjXgI1watTe+6dYNnCuMbOrP5QJfzDpwN03XwxStjRfYzHPp0cSR1q7 8/qMk/1EzMYlDE/CqHFdKXZtVifiTu0lUKRfQt8vFSPsjFQgpNuXXrg26kZw+3DMxKow MXN1UdYmjpKhCz9/hCpXEiFJDPEPigxqwGzLAqYGGksfA2+JXzLWySJ4yb7j2smTCPA9 CALYDPQo5lKrq1GnXp9grAe4HtBrq39cG9Zy5DtwDCKchEq3IhkRnZWl4bPpPoMA2b8h Uql6ssUb4rXw30ZmxdIBMF5zO7S6SChN/aSw8DyvRtLXnDljdLb4GnAK9hbVQIEKaXUw ns6A== X-Gm-Message-State: AOAM530NcRzVZF4FMYQKhJeMnWtxzjOAnGzliatYlReC5XzUlvyMLXyX WxdU6cqOX3XuGPgLfsz22OI= X-Google-Smtp-Source: ABdhPJybD4ijQbABjd7f4a6xlgks+1zJuXJfo29/NVMmpfuE9n77OeIhw3APYP1df4d79v35iiK8ig== X-Received: by 2002:a1c:7405:: with SMTP id p5mr22257260wmc.130.1597022243583; Sun, 09 Aug 2020 18:17:23 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id t25sm18443743wmj.18.2020.08.09.18.17.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Aug 2020 18:17:22 -0700 (PDT) Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: "Philip K." , 42765@debbugs.gnu.org References: <87tuxd5bsw.fsf@posteo.net> From: Dmitry Gutov Message-ID: <881b1e98-87b6-92b2-5ab3-d0297ce92555@yandex.ru> Date: Mon, 10 Aug 2020 04:17:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87tuxd5bsw.fsf@posteo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 42765 Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) Hi Philip! On 08.08.2020 19:42, Philip K. wrote: > 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. Thank you very much for testing this. > 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? Unfortunately, that would make project.el and xref recursively depend on each other. And apparently that would be a problem: https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01615.html I'm not sure what's the best way to fix this. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 06:46:53 2020 Received: (at 42765) by debbugs.gnu.org; 10 Aug 2020 10:46:53 +0000 Received: from localhost ([127.0.0.1]:34575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k55KO-0006a3-HR for submit@debbugs.gnu.org; Mon, 10 Aug 2020 06:46:53 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k55KJ-0006Ql-2e for 42765@debbugs.gnu.org; Mon, 10 Aug 2020 06:46:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6FBAF16006A for <42765@debbugs.gnu.org>; Mon, 10 Aug 2020 12:46:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597056400; bh=tEPAzvJUlk1kVRCU50xhhPA+3noNfQGy0mC3zKsmoz0=; h=From:To:Cc:Subject:Date:From; b=cxZe4C7ILK21RUyCA/hGPra//TCfRw7nn9GiPZ7OswNJ8Xzajs1iHKgvenVI753iI adlyGa9X2vkvQwsTMtyFBf8acquXoTpXQ1t8sp5OI5TPb4pdhg+JyBrFuNFH0bs8HD XBUpFrTcqlE1UOprcpXkFjU0eLy4XCZ0UB9RwleK0Jjb9PxBQ3zmzqduIIDnkOGN0B CJfdf9XZr4/L7ROyUFdCRLLsPpBlVQ63xWAqHdeJp/EXIvws9pWgfaBqhqQOhUEHcX /jFQHMmcVsSD37RXg80caKx3lIiaHqfGW4F0OHg1Y/IdGh3MDnFljSndYxCXIFRVTd cS4aIlvbR2+QQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BQCM34SJqz6tm9; Mon, 10 Aug 2020 12:46:39 +0200 (CEST) From: philipk@posteo.net (Philip K.) To: Dmitry Gutov Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 In-Reply-To: <881b1e98-87b6-92b2-5ab3-d0297ce92555@yandex.ru> (message from Dmitry Gutov on Mon, 10 Aug 2020 04:17:21 +0300) Date: Mon, 10 Aug 2020 12:46:36 +0200 Message-ID: <87bljidbhv.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42765 Cc: 42765@debbugs.gnu.org, joaotavora@gmail.com, monnier@IRO.UMontreal.CA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Gutov writes: >> 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? > > Unfortunately, that would make project.el and xref recursively depend on > each other. And apparently that would be a problem: > https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01615.html > > I'm not sure what's the best way to fix this. Couldln't Xref be replaced with some other listing interface, like what occur uses? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 06:48:59 2020 Received: (at 42765) by debbugs.gnu.org; 10 Aug 2020 10:48:59 +0000 Received: from localhost ([127.0.0.1]:34582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k55MQ-0007Gr-Pf for submit@debbugs.gnu.org; Mon, 10 Aug 2020 06:48:58 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:36955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k55MM-0007GX-92 for 42765@debbugs.gnu.org; Mon, 10 Aug 2020 06:48:56 -0400 Received: by mail-ej1-f42.google.com with SMTP id qc22so8867584ejb.4 for <42765@debbugs.gnu.org>; Mon, 10 Aug 2020 03:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XVzaq1cWpK7ZK5rM1ayQ/tziTV77QyZByaJR5YLOH8A=; b=AdU6Ipze5r/4UKyvVMq0Zw3zkSb6zXKDZhu6NEnRj87yd3dl79MVbm7E4ql/xdnLp/ BgcKaMui7qOrMjXwjilp8VbRXYqFThaxNX1pgrmSQGU4rlGRVQ8X+gswRRurysOHtQz/ D5R8tc3YqgpgBBvDd3/b7QLLv/aybtF+pekGxLhdj8hx3IfmxUNIAJRHzj5YnPptpnLv mz3Qo8p0koisDl11hUHStvpOb5Z8q/Btab3i/+s3eWCOixWLZoWww+wUdliOX18g+P4W RTnwH23nAjBpWcskKYulRA7ozbfMTyAWIjvg5uizirTjEp03i0B+FQ53VMB1vmreIaQA rPhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XVzaq1cWpK7ZK5rM1ayQ/tziTV77QyZByaJR5YLOH8A=; b=BLfBfldTcYPiit5ATv1vrFHCvfZX2MwYHepoO5QG+F/sHhjGDgymZsJGRAb0qNf1qG f1bSGnOpifa1cjzevhYsGVum6gmUFGf8wEmxMfVK1MAGYLiGpuFHlrHRhifu3K/1G152 UwNO+tXbOI8Ryi4CzQaPZ3KJL0CaJVFMB9J5m4yQ5onvyziHl0C5KFXqkwNvdamnDnP4 yIJ2zO5stk/qhfkr84V90Xj/XNLC3IlKWMYjiVyvMxCPy75q87jCgseh+JqN53qU+GiC RR+i134p/eJgfkuzflry2lH9IuoWy2+4E5cswFncFbHuUN21CppQjY/Tispy9hqEsKot jRcg== X-Gm-Message-State: AOAM531bHe6HfGF11a/jyJOMrywplLIgt4RPDZFMmuUpV2m9vhar/h4e 4X7EWGawcjrH6BA/q+WYB2I= X-Google-Smtp-Source: ABdhPJz5+gpbW+W5B0Y6zwvjm2sh5Ukedi8OX1Q2D46gkPYaqwrb64Mr3z3L16hzshkV8ahs5hKWpg== X-Received: by 2002:a17:906:7855:: with SMTP id p21mr20913468ejm.492.1597056528239; Mon, 10 Aug 2020 03:48:48 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id sb9sm1025432ejb.90.2020.08.10.03.48.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Aug 2020 03:48:47 -0700 (PDT) Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: "Philip K." References: <87bljidbhv.fsf@posteo.net> From: Dmitry Gutov Message-ID: Date: Mon, 10 Aug 2020 13:48:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87bljidbhv.fsf@posteo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42765 Cc: 42765@debbugs.gnu.org, joaotavora@gmail.com, monnier@IRO.UMontreal.CA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10.08.2020 13:46, Philip K. wrote: > Couldln't Xref be replaced with some other listing interface, like > what occur uses? In theory -- yes. Though Occur would need to be adapted for this to be possible, and I probably would enjoy the result less. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 13:59:09 2020 Received: (at 42765) by debbugs.gnu.org; 10 Aug 2020 17:59:09 +0000 Received: from localhost ([127.0.0.1]:37471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5C4j-0004Ke-7V for submit@debbugs.gnu.org; Mon, 10 Aug 2020 13:59:09 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:37311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5C4h-0004KR-KV for 42765@debbugs.gnu.org; Mon, 10 Aug 2020 13:59:08 -0400 Received: by mail-wr1-f42.google.com with SMTP id y3so9028409wrl.4 for <42765@debbugs.gnu.org>; Mon, 10 Aug 2020 10:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VFNwbBIhYHH/6dNGSoE9l9fOyZ/VznzREXDxK+iAYuM=; b=VDEkjllpuJ5EUWSK4toPOBDjN7JQtEhWzQQORpkexlxvF2+1cp8dYwVUAJfHIqYp7t t4VbK8wrZDi0/sqnCc0tII3JXxAseS77q79kKyAhYfMDe1TApBSP1xA6vjQbm3A4j9wk GpM87+x36jOKUk8y2iJ/2YScXBqScZBkCxDsd91BqYOV9jTWl+RdMyxvywl2YaxZ+48s ku6NhYk47RXiE/yIdzh8so+KUAokFnRATdN4arIu8lqFz+N8cbpr7QbNg5bb7UxEU18v reG+ot0XCOOpQj5cYs7LL3u1BIJuoWJ8NghtGw7LGuWu5Tsca6w/99JDudRUgITFsQQ6 thNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VFNwbBIhYHH/6dNGSoE9l9fOyZ/VznzREXDxK+iAYuM=; b=iWFvYgO0ONui1WWiFWJ/1SHtC3nNem1n750XFKzzLp5bYIxp5/U84NE+bxbE69R0QH BIUtbsPmDwD/WBsBZR7cYgXGO/Aa+AtYXSaKghTUGuaKQOdS81t+bnExAR6BmdzRNUuG xpHqUXGaQs8aC9IOHJ+30aXGP9OmaHtvPn/W0nARLBLPwgNxtuL+/8knrw4BxSL2KPsk jogVJ5N8YjbGF1FHaRBppWqYOYYImnQJlt9VdV9/Rjn4kukxxjZnlrXMPhMGuqZgNhua ytwBgZKjGl9mvd0zsxkGWLONEI4sWJfFASYapX8FxOFXQCn1/PpEPOyyiUUweMt6lS5m JGRw== X-Gm-Message-State: AOAM531wKLUYCQD+SPg8SRND+9czQi8FZHGIbSLQKU2SIdAZrfY3eeML QbpS90kdZxRHN+2B/tQgpR6sW4CpK8hTzapwWSg= X-Google-Smtp-Source: ABdhPJyr7vQvZ9bgu9/tae6kg+18OrLq/nMuMcsBwzbLaxBRixPmndELB7juUXiH6TN9ezZwGDRrPgyw8u50zfC8in4= X-Received: by 2002:a05:6000:18a:: with SMTP id p10mr23813728wrx.33.1597082341642; Mon, 10 Aug 2020 10:59:01 -0700 (PDT) MIME-Version: 1.0 References: <87tuxd5bsw.fsf@posteo.net> <881b1e98-87b6-92b2-5ab3-d0297ce92555@yandex.ru> In-Reply-To: <881b1e98-87b6-92b2-5ab3-d0297ce92555@yandex.ru> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Mon, 10 Aug 2020 18:58:50 +0100 Message-ID: Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: Dmitry Gutov Content-Type: multipart/alternative; boundary="000000000000a6940605ac89b558" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42765 Cc: 42765@debbugs.gnu.org, "Philip K." , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000a6940605ac89b558 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Aug 10, 2020 at 2:17 AM Dmitry Gutov wrote: > > Hi Philip! > > On 08.08.2020 19:42, Philip K. wrote: > > > 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. > > Thank you very much for testing this. > > > 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? > > Unfortunately, that would make project.el and xref recursively depend on > each other. And apparently that would be a problem: > https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01615.html > > I'm not sure what's the best way to fix this. Cyclic dependencies are bad in any packaging system. If two packages depend on each other as a cycle, they are for packaging purposes "the same package". So Stefan's suggestion to make a multi-file-package seems sensible. The other common way to solve this is to split one of the packages, breakin= g the cycle. Or maybe creating a third "interface" package and adding an indirection (not sure if that's what Philip is suggesting). So there seem to be escape hatches here, the best one is found by looking exactly at what breaks, what are the external interfaces of each package, why and where they _need_ to depend on each other. I'm afraid I don't have time to do this right now. Jo=C3=A3o --000000000000a6940605ac89b558 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Aug 10, 2020 at 2:17 AM Dmitry Gutov <dgutov@yandex.ru> wrote:
>
>= ; Hi Philip!
>
> On 08.08.2020 19:42, Philip K. wrote:
><= br>> > after loading project.el into Emacs 26.3, I noticed that
&g= t; > 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 assu= mes it will recieve a list
> > ("xrefs"). There command = then fails with a somewhat cryptic error
> > message, that probabl= y doesn't make sense for Elisp programmers.
>
> Thank you v= ery much for testing this.
>
> > I managed to fix this by in= stalling a newer Xref version from ELPA, but
> > I think this situ= ation should be handled more gracefully. Is there a
> > reason tha= t project.el doesn't depend on the newer Xref version?
>
> = Unfortunately, that would make project.el and xref recursively depend on> each other. And apparently that would be a problem:
> h= ttps://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01615.html
=
>
> I'm not sure what's the best way to fix th= is.

Cyclic dependencies are bad in any packaging system. If two pa= ckages
depend on each other as a cycle, they are for packaging purp= oses "the same
package".=C2=A0 So Stefan's sug= gestion to make a multi-file-package seems sensible.

The other common way to solve this is to split one of the packages, = breaking
the cycle.=C2=A0 Or maybe creating a third "interfa= ce" package and adding an indirection
(not sure if that= 's what Philip is suggesting).

So there seem t= o be escape hatches here, the best one is found by looking
e= xactly at what breaks, what are the external interfaces of each package, wh= y
and where they _need_ to depend on each other. I'm afraid I= don't have time
to do this right=C2=A0 now.
<= br>
Jo=C3=A3o

--000000000000a6940605ac89b558-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 14 10:26:49 2020 Received: (at 42765) by debbugs.gnu.org; 14 Aug 2020 14:26:49 +0000 Received: from localhost ([127.0.0.1]:53410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6afQ-0000tS-TH for submit@debbugs.gnu.org; Fri, 14 Aug 2020 10:26:49 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:43361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6afN-0000tF-Pg for 42765@debbugs.gnu.org; Fri, 14 Aug 2020 10:26:46 -0400 Received: by mail-lf1-f47.google.com with SMTP id b11so4904370lfe.10 for <42765@debbugs.gnu.org>; Fri, 14 Aug 2020 07:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JzgFrsYrHSGMcWmUOBMvbrheDr0MB3FRRm3SibCY8a0=; b=i2xhOzeEs9Lvg9jCQ30cKrZYSZ18jlbUValDI92D5dB1QBXr3XV2850+wpYpoKZ00I BDadk/k9XvULZtJ/FttVzsVwVBmkya/zmWLXRvf/dfciWLwtcmk4Srr7qOHx8QJZ3JiF 4cBzluFTpnOSiN8V3bCMJSMzwjqxWGxO8CBW2tKApgAH9KPdnfaB3p6U8njEwXbTG6b7 m3gW64t+EKbzxXaFCIzryXUTQYPICwzgZ1CRGFOCjCpujE/OQviAzlqlpUNafiJ57ylZ vuVkgLGSjl4KpCZtmBBjEb/gimnUUMtgJbhw0r9jk3H/tsr/wHEkWU8X2HnVnmwnOj2v 4+EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JzgFrsYrHSGMcWmUOBMvbrheDr0MB3FRRm3SibCY8a0=; b=CWL/6meyJ9XGbvwJbHr4wb1g2tpvz/8deQoJmg6kggNuVQBnfm1MwrCGfBN3i0w7q3 71OWiUVLY7obdLfwDuuvOxk+KI4p6xJtayCHPPgwb0PQdO8GytqGGoTSp3htDXONxlcI /hV82fHQmlQmc450jaKcmpu+zimj7M3JCi05/E1arOxoltbv85ER1auHtj5Jkru2WzZ9 cv8bWssWitZCdR6QNxCsydQGuGBPL3ytMG/XxajA4XPMCVzFNiDNx9w96oYOW5ZwhDyt uC8tyPpxOSUC9nk0b9w4Fa+dYFSuGhyV6cDPraN6IH45GQXnopyf++zA8a37/qJrJE9S AEnQ== X-Gm-Message-State: AOAM531akdViC8bKkRy1uzAFmsiagxs9o/zbbVktVqDGrki0pUMjFcaj jN72pfc3IQCbqJbIX2bzgM4= X-Google-Smtp-Source: ABdhPJwrvwMJMVsORYEInRnuYT7Y+YUohan5ryrYMDFtdo2nEml8WHE4NiDa+7Rp8zxEMmjTLpLaWw== X-Received: by 2002:a19:8957:: with SMTP id l84mr1312249lfd.66.1597415199772; Fri, 14 Aug 2020 07:26:39 -0700 (PDT) Received: from [192.168.0.104] ([94.229.108.16]) by smtp.googlemail.com with ESMTPSA id g4sm1920275lfh.13.2020.08.14.07.26.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Aug 2020 07:26:38 -0700 (PDT) Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: "Philip K." , 42765@debbugs.gnu.org References: <87tuxd5bsw.fsf@posteo.net> From: Dmitry Gutov Message-ID: <5b413aad-9bf2-5e84-876f-b3c26ef9cf80@yandex.ru> Date: Fri, 14 Aug 2020 17:26:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87tuxd5bsw.fsf@posteo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42765 Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 08.08.2020 19:42, Philip K. wrote: > 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? I have pushed a fix for, hopefully. Commit 319463920c. It inverts the dependencies, making xref only depend on project.el implicitly, by requiring Emacs >= 26.3, and making it work with the older API. And making project depend on the latest xref. Hopefully this reversal won't create any problems when upgrading. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 08:51:01 2020 Received: (at 42765) by debbugs.gnu.org; 1 Oct 2020 12:51:02 +0000 Received: from localhost ([127.0.0.1]:34698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNy33-0006el-Hw for submit@debbugs.gnu.org; Thu, 01 Oct 2020 08:51:01 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:38953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNy32-0006e5-EE for 42765@debbugs.gnu.org; Thu, 01 Oct 2020 08:51:00 -0400 Received: by mail-ej1-f54.google.com with SMTP id p9so7855716ejf.6 for <42765@debbugs.gnu.org>; Thu, 01 Oct 2020 05:51:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=rVBcSXMtJi84D4qp+Vm7I5NZTYd1GKFULu60ov+QCnU=; b=VJgA+KzE6uWT0Ag8YHSw5cBe2UG6dSYoOfnsLGBgbpddaDBDqHZUTib/Tathey/B1A pS9ThCR3Q6mF6iBfyNo3X9iAC5eeEXeLe/EUuo9+3r1yosUP2IWPXk/BHLXWzYBCDYQU icCDxbqF6GfVSkPLNtTGLibn7Xu+OLjcuZh2rf51yNVLViaT7ls3CS56mfeBJgp1OTna otYQXv58LT7CMXuDiKtyE30YnnHhPwI3cRQS25fOxaLhV4dgusv9Eq2kfOF0IitZMT7I ChGtRaa0XgOu3q96VO6I6Gh/xARC4/DNJvImb9Aq0W8cATk4RXJX2aUsLuG5f++zDGOF e5iA== X-Gm-Message-State: AOAM531j2hVFCScbDsjskheQo1ifjnaoUbMGQk6DaDv4nBDZjENgS59S udFoPM00k8HvTJi/rDZowyn+X3YUyfSZm/u5K0o= X-Google-Smtp-Source: ABdhPJyBfIVX9l4/jaKzVyrVtB2AfG3/gfRq7FiFA3T2TybzJt8mBXx152znIjYeOD1KCcU8lQVHuEywpOs35mTQdE4= X-Received: by 2002:a17:906:7e4e:: with SMTP id z14mr7930672ejr.477.1601556654899; Thu, 01 Oct 2020 05:50:54 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Oct 2020 05:50:54 -0700 From: Stefan Kangas In-Reply-To: <5b413aad-9bf2-5e84-876f-b3c26ef9cf80@yandex.ru> (Dmitry Gutov's message of "Fri, 14 Aug 2020 17:26:37 +0300") References: <87tuxd5bsw.fsf@posteo.net> <5b413aad-9bf2-5e84-876f-b3c26ef9cf80@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 1 Oct 2020 05:50:54 -0700 Message-ID: Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: Dmitry Gutov Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42765 Cc: 42765@debbugs.gnu.org, "Philip K." , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov writes: > On 08.08.2020 19:42, Philip K. wrote: >> 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? > > I have pushed a fix for, hopefully. Commit 319463920c. > > It inverts the dependencies, making xref only depend on project.el implicitly, > by requiring Emacs >= 26.3, and making it work with the older API. And making > project depend on the latest xref. > > Hopefully this reversal won't create any problems when upgrading. So is there anything more to do here, or should this bug be closed? From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 13:24:37 2020 Received: (at 42765-done) by debbugs.gnu.org; 1 Oct 2020 17:24:37 +0000 Received: from localhost ([127.0.0.1]:38158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO2Jp-0001sz-EF for submit@debbugs.gnu.org; Thu, 01 Oct 2020 13:24:37 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:41930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO2Jl-0001sj-PR for 42765-done@debbugs.gnu.org; Thu, 01 Oct 2020 13:24:36 -0400 Received: by mail-ed1-f48.google.com with SMTP id l24so6475455edj.8 for <42765-done@debbugs.gnu.org>; Thu, 01 Oct 2020 10:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NZ07ixbA0ZK7Ocojh4QZ4Bsiqy8PILz5mDQea0bqcZ8=; b=pxZ0sXNFRA2VeeJ9nROF+LvEPCFfVE8bYy30EjRVna5WUZldRqBxJKIChX5EL/NBEq jZOhvkrBQnjRHA7VEIVljyWTed06gPduRh2O/a8AodrQr0PxfmoYiwk3XF4A96SCvRmE ovpY38L0exYLWUFDSaMlaiePGKdDWLGbj8bd05lRcxcv1iGXTKpOs0BLTgTsaE+qJNLq /pZaD5rkdQ1bgLKfy1DUBSvwYHghJuiaz68Jd6e+/5ArclzKda4oiMi1OvDPkU595hUQ JWCXzSm2s59z8Uzt1vV3A4/zZtjeN763yySr3+K9Fi2Qn8H883uVDgNGvc5G2xghSJya LHCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NZ07ixbA0ZK7Ocojh4QZ4Bsiqy8PILz5mDQea0bqcZ8=; b=Wi9xoX5bCe96om6C9d97foGTdiWk/GNGlM28vwzPQWsiUAgH4H6wQn+FaeZV1KKEJ6 9FoNPVnt1sBce18KqBJltV9x9w/ZOAgWUIaBVsUTsKM/7IGv58Edz9Ri9/UtlIA5jcrt asCkl0/6W85c9Vu2rQMpSPj1vdcyRhnPdMiQUlFg01G/cEInCHmeIMlKJGaP7jPcpbGZ C0F/37VBjr+uz1RRpemInSU0NBiNVsYSoJtc8j/LOKvOxe7sKPkHX9513fDuaWYV1CkG 5CmSNISoaHmeInCVyIKzag/naA1ivzF4mwNQRaVqXKecEvtaog4/7raXbtZ3Mym+laWn n0sA== X-Gm-Message-State: AOAM531FKA+2fHWyvkOMzyTibK89saTLsudFlPCb5VVyiDI1EMK0WGgo szCqbCpvUGg+yy66CvQRY4E= X-Google-Smtp-Source: ABdhPJxuNcIr+YYInyT9R2vUXnB5RFJYhzhtdr1rz/wPHUha8mOW8Ecg5FwSMmh/vLgeMpb0378Z4A== X-Received: by 2002:a50:875b:: with SMTP id 27mr9222481edv.117.1601573067871; Thu, 01 Oct 2020 10:24:27 -0700 (PDT) Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id cw9sm4472967edb.13.2020.10.01.10.24.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 10:24:26 -0700 (PDT) Subject: Re: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3 To: Stefan Kangas References: <87tuxd5bsw.fsf@posteo.net> <5b413aad-9bf2-5e84-876f-b3c26ef9cf80@yandex.ru> From: Dmitry Gutov Message-ID: <5ece7655-0a93-c46a-8863-a0c4b47f5004@yandex.ru> Date: Thu, 1 Oct 2020 20:24:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42765-done Cc: "Philip K." , 42765-done@debbugs.gnu.org, =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 01.10.2020 15:50, Stefan Kangas wrote: > Dmitry Gutov writes: > >> On 08.08.2020 19:42, Philip K. wrote: >>> 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? >> >> I have pushed a fix for, hopefully. Commit 319463920c. >> >> It inverts the dependencies, making xref only depend on project.el implicitly, >> by requiring Emacs >= 26.3, and making it work with the older API. And making >> project depend on the latest xref. >> >> Hopefully this reversal won't create any problems when upgrading. > > So is there anything more to do here, or should this bug be closed? No further reports, so let's close it, thanks. From unknown Fri Jun 20 07:19:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Oct 2020 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator