From unknown Sun Jun 22 08:03:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74826: 30.0.50; project-buffers not consistent with project-files Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 74826@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173400552117810 (code B ref -1); Thu, 12 Dec 2024 12:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 12:12:01 +0000 Received: from localhost ([127.0.0.1]:38072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLi2y-0004d9-7J for submit@debbugs.gnu.org; Thu, 12 Dec 2024 07:12:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:38352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLi2u-0004cr-Ro for submit@debbugs.gnu.org; Thu, 12 Dec 2024 07:11:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLi2t-00081y-Rp for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 07:11:56 -0500 Received: from relayout01-q02.e.movistar.es ([86.109.101.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLi2q-00075y-8D for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 07:11:55 -0500 Received: from relayout01-redir.e.movistar.es (unknown [86.109.101.201]) by relayout01-out.e.movistar.es (Postfix) with ESMTP id 4Y8BCh1jHVzjYqZ for ; Thu, 12 Dec 2024 13:11:44 +0100 (CET) Received: from sky (125.red-83-37-187.dynamicip.rima-tde.net [83.37.187.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4Y8BCg4qYczfZxR for ; Thu, 12 Dec 2024 13:11:43 +0100 (CET) From: =?UTF-8?Q?=C3=93scar?= Fuentes Date: Thu, 12 Dec 2024 13:11:43 +0100 Message-ID: <87ldwlxfr4.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain X-TnetOut-Country: IP: 83.37.187.125 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 4Y8BCg4qYczfZxR.AD4FE X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: oscarfv@telefonica.net X-TnetOut-Watermark: 1734610303.9699@3MECOY3cGqAD6MmBn/tTpA X-Spam-Status: No Received-SPF: pass client-ip=86.109.101.142; envelope-from=oscarfv@telefonica.net; helo=relayout01-q02.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) On a git repo there are several projects. `project-vc-extra-root-markers` is used to differentiate them. (setopt project-vc-extra-root-markers (list "client.lp0" "pubspec.yaml")) Although there are no submodules for now, I also have this setting: (setopt project-vc-merge-submodules nil) Evaluating the following expression while on a buffer that is visiting any given file of those projects: (project-files (project-current)) gives the list of files of the project. However, evaluating this fails: (project-buffers (project-current)) Debugger entered--Lisp error: (file-missing "Opening input file" "No such file or directory" "/home/oscar/monorepo/someproject/.git") project--submodule-p("/home/oscar/monorepo/someproject/") #f(compiled-function (project) #)((vc Git "~/monorepo/someproject")) apply(#f(compiled-function (project) #) (vc Git "~/monorepo/someproject/") nil) project-buffers((vc Git "~/dev/monorepo/someproject/")) eval((project-buffers (project-current)) t) #f(compiled-function () #)() #f(compiled-function () #)() eval-expression((project-buffers (project-current)) nil nil 127) funcall-interactively(eval-expression (project-buffers (project-current)) nil nil 127) command-execute(eval-expression) In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2) of 2024-11-03 built on sky Repository revision: 24b7bf2746fd7bf097e04c5b9363cab197edbc7c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-native-compilation --with-tree-sitter --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules --without-imagemagick' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: C locale-coding-system: nil Major mode: ELisp/d Minor modes in effect: window-highlight-mode: t fancy-compilation-mode: t global-git-commit-mode: t pulsar-global-mode: t pulsar-mode: t evil-owl-mode: t evil-paredit-mode: t evil-local-mode: t pdf-occur-global-minor-mode: t TeX-PDF-mode: t key-chord-mode: t paredit-mode: t server-mode: t display-fill-column-indicator-mode: t vertico-multiform-mode: t marginalia-mode: t vertico-mode: t which-key-mode: t global-anzu-mode: t anzu-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/oscar/elisp/singles/flx hides /home/oscar/.emacs.d/elpa/flx-20240205.356/flx /home/oscar/elisp/magit/lisp/magit-section hides /home/oscar/.emacs.d/elpa/magit-section-20241206.2214/magit-section /home/oscar/elisp/singles/avy hides /home/oscar/.emacs.d/elpa/avy-20241101.1357/avy /home/oscar/elisp/singles/transient hides /home/oscar/dev/emacs/stable/emacs/lisp/transient /home/oscar/.emacs.d/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/oscar/dev/emacs/stable/emacs/lisp/theme-loaddefs Features: (shadow emacsbug consult vc-hg vc-bzr vc-src vc-sccs vc-cvs vc-rcs log-view vc gnus-draft canlock dabbrev goto-addr bug-reference mailalias ispell company-dabbrev-code company-dabbrev help-fns radix-tree misearch multi-isearch oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi shr-color vertico-directory mule-util fussy vertico-grid flow-fill mm-archive sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml pop3 nndraft nnmh nnml nnfolder network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo dkim smtpmail gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range window-highlight nord-theme meteo-radar flycheck lp0-ts-mode lp0-mode symbol-overlay company-ctags find-file company-fuzzy ht company aggressive-indent deft org-noter org-element org-persist xdg org-id avl-tree org-protocol org-capture org-refile org-crypt etags-select etags fileloop generator xref fancy-compilation ffap orgit org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs magit-bookmark git-rebase magit-extras magit-sparse-checkout magit-gitignore magit-ediff ediff magit-subtree magit-patch magit-submodule magit-blame magit-stash magit-reflog 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-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff git-commit magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell pcomplete magit-mode transient magit-git files-x magit-base which-func vc-git vc-dispatcher magit-section benchmark cursor-sensor pulsar pulse color evil-textobj-tree-sitter-core treesit evil-owl buffer-flip evil-paredit evil-anzu evil evil-keybindings evil-integration evil-maps evil-commands evil-digraphs reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common rect evil-vars mini-echo mini-echo-segments hide-mode-line face-remap wgrep grep ag vc-svn find-dired s dash pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-load pdf-view bookmark jka-compr pdf-cache pdf-info tq pdf-util format-spec pdf-macs image-mode exif preview reporter desktop frameset latex latex-flymake flymake project tex-ispell tex-style tex dbus compile comint ansi-osc ansi-color xml crm texmathp auctex key-chord comp comp-cstr warnings comp-run comp-common cmake-mode paredit-menu paredit edmacro kmacro server yasnippet lisp-mnt cl-extra help-mode psvn wid-edit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log diff-mode track-changes pp elp ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired dired-loaddefs display-fill-column-indicator vertico-multiform marginalia vertico flx-rs-core flx-rs flx goto-chg avy rx ring highlight-parentheses ws-butler which-key diminish cl anzu easy-mmode thingatpt tmr pcase compat solar cal-dst cal-menu calendar cal-loaddefs finder-inf advice disp-table auctex-autoloads tex-site casual-calc-autoloads casual-lib-autoloads color-theme-sanityinc-tomorrow-autoloads company-posframe-autoloads company-autoloads consult-ag-autoloads consult-flycheck-autoloads consult-lsp-autoloads consult-org-roam-autoloads consult-project-extra-autoloads consult-todo-autoloads deadgrep-autoloads ef-themes-autoloads embark-consult-autoloads consult-autoloads embark-autoloads evil-textobj-tree-sitter-autoloads flutter-autoloads flycheck-autoloads fussy-autoloads flx-autoloads hl-todo-autoloads hotfuzz-autoloads hyperstitional-themes-autoloads lsp-dart-autoloads dart-mode-autoloads dap-mode-autoloads bui-autoloads lsp-docker-autoloads lsp-treemacs-autoloads lsp-ui-autoloads lsp-mode-autoloads f-autoloads marginalia-autoloads markdown-mode-autoloads org-roam-autoloads magit-section-autoloads emacsql-autoloads pdf-tools-autoloads pomm-autoloads alert-autoloads log4e-autoloads gntp-autoloads shackle-autoloads spinner-autoloads symbol-overlay-autoloads tablist-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads info dash-autoloads vertico-autoloads vundo-autoloads wgrep-ag-autoloads wgrep-deadgrep-autoloads wgrep-autoloads yaml-autoloads yeetube-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1245605 487683) (symbols 48 68946 4) (strings 32 269260 9616) (string-bytes 1 8356641) (vectors 16 110936) (vector-slots 8 2060286 250156) (floats 8 1086 7559) (intervals 56 7438 962) (buffers 992 42)) From unknown Sun Jun 22 08:03:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74826: 30.0.50; project-buffers not consistent with project-files Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2024 03:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=C3=93scar?= Fuentes , 74826@debbugs.gnu.org Received: via spool by 74826-submit@debbugs.gnu.org id=B74826.173406162113112 (code B ref 74826); Fri, 13 Dec 2024 03:47:02 +0000 Received: (at 74826) by debbugs.gnu.org; 13 Dec 2024 03:47:01 +0000 Received: from localhost ([127.0.0.1]:41142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLwdo-0003PQ-Ex for submit@debbugs.gnu.org; Thu, 12 Dec 2024 22:47:00 -0500 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]:53267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLwdl-0003P9-3v for 74826@debbugs.gnu.org; Thu, 12 Dec 2024 22:46:58 -0500 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 025982540139; Thu, 12 Dec 2024 22:46:35 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 12 Dec 2024 22:46:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1734061595; x=1734147995; bh=U6NVDERWWfg5Qp1FiRdiYvAnGn35bQb9jvMVQTdrE/s=; b= DXHz4lfOXA+y1F6w1GpaB6AKiEFGzJokeCx2+EEiMvayMS4ebov+rTrsbD6PjYtp NK5xKkx+iP++PBjMM/VJKcTVmnclLb420JUUhP5ALQsFULvq8jf5mNtw9bCSsaRD sB5tXfMw8gtiXKIfCxib9OwY1ZLFoIHOJlpozqfX1YiCdUodHW3ABYvneb5ayRKT 0yosGnBVEn9xf6tcdmh4qEKXnnuFuHGo39lqe16XmQB0TFINZZFWXkI8G8w2G1OJ Byna44QZg9/e+BuyhTVJVr7YZVuvBCWXGmGovRNXlZlc0IuzbaeSVDj7/7sFB3f1 NVLXzOCLzuEKaZ5f/EqSWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1734061595; x=1734147995; bh=U 6NVDERWWfg5Qp1FiRdiYvAnGn35bQb9jvMVQTdrE/s=; b=CAuhEauXmJkKV6V7j FOWVMd9N+F/xZEWNkcCMVhYWcSG1nuVgJQITbHWbNuCFo/GWtG5Pt0wel6RPoouw yWEAmlDrlysBvj6kI/90Q4DjolHn9TkPObwnI/m7+I+zosfeDJshCGFj7q6wUE3y ML37DRDVTtUWMU/6oU/xocM/prOuA6r26eCfBsRhOnuiNmIpExpWSkl0Q8rxtzmo 6jz4WXAUH64oA18P/G7q1obGCIX/aNdktedW3peDaFG/MDrtaB5WfSq5iwVvcAml RKas8wjz2J2liwiEi7zmo2i2fJnqk5yNBuD3bDhPiKRrVWAu8B6nuKippNpYd1ob 5Jg0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeeigdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fvfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceo ughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpeegueegteffud dvjeevvdelleeitdeftdduhfeffeffjedukeevjedvfeffgfevgeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovh druggvvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthht ohepohhstggrrhhfvhesthgvlhgvfhhonhhitggrrdhnvghtpdhrtghpthhtohepjeegke dvieesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Dec 2024 22:46:34 -0500 (EST) Message-ID: Date: Fri, 13 Dec 2024 05:46:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87ldwlxfr4.fsf@telefonica.net> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <87ldwlxfr4.fsf@telefonica.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) Hi! Thanks for the report. On 12/12/2024 14:11, Óscar Fuentes wrote: > On a git repo there are several projects. > `project-vc-extra-root-markers` is used to differentiate them. > > (setopt project-vc-extra-root-markers (list "client.lp0" "pubspec.yaml")) > > Although there are no submodules for now, I also have this setting: > > (setopt project-vc-merge-submodules nil) > > Evaluating the following expression while on a buffer that is visiting > any given file of those projects: > > (project-files (project-current)) > > gives the list of files of the project. > > However, evaluating this fails: > > (project-buffers (project-current)) This change should fix that. Not sure if it should go to emacs-30 (this bug is there since 2022) - but happy to install it there if approved. diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 2b0d508cc66..59a8832711a 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -858,7 +858,9 @@ project--value-in-dir (cl-defmethod project-buffers ((project (head vc))) (let* ((root (expand-file-name (file-name-as-directory (project-root project)))) (modules (unless (or (project--vc-merge-submodules-p root) - (project--submodule-p root)) + (condition-case nil + (project--submodule-p root) + (file-missing nil))) (mapcar (lambda (m) (format "%s%s/" root m)) (project--git-submodules)))) From unknown Sun Jun 22 08:03:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74826: 30.0.50; project-buffers not consistent with project-files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2024 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 74826@debbugs.gnu.org, oscarfv@telefonica.net Received: via spool by 74826-submit@debbugs.gnu.org id=B74826.17341740379940 (code B ref 74826); Sat, 14 Dec 2024 11:01:02 +0000 Received: (at 74826) by debbugs.gnu.org; 14 Dec 2024 11:00:37 +0000 Received: from localhost ([127.0.0.1]:45699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMPsz-0002aG-BC for submit@debbugs.gnu.org; Sat, 14 Dec 2024 06:00:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMPsx-0002a2-9p for 74826@debbugs.gnu.org; Sat, 14 Dec 2024 06:00:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMPsq-0001Eg-VC; Sat, 14 Dec 2024 06:00:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KphPjKX/VbRoJVSCxcoK6vTbR9SbFyz94zsa1thQ8Ls=; b=og8/NgZCW+LG x9iuImiCc9zvXVEtm2uON+/esfqlUVxMyaU4WK1dhm1Nmmege5OqNwlj63MFR2aSvgLybbcFNkuD8 EQGgbQNFaVJu7SS2WQDbRV0ezypyFlLS+x8hCKO3KnaRfxBYv5GthO8rmLWMi17rowGZfvIqQP9fH nbQIxTww9jAIE8aFQw36WpBtHO2nKWYlO48JDRolc+vnEwntl3D+p3jwqnE+mZtBHW3kSwqOAlBNj 3/K1GbSyItADA3fo2T/JrdEucL+4CCcdHk8NtKdQWCsOckwrHRwbbsXy5qRTVctfp2wZyO3pH5n4C jR5GXwm+qClrHmOqVLfdPg==; Date: Sat, 14 Dec 2024 13:00:19 +0200 Message-Id: <86frmqv8ak.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Dmitry Gutov on Fri, 13 Dec 2024 05:46:32 +0200) References: <87ldwlxfr4.fsf@telefonica.net> X-Spam-Score: -1.6 (-) 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.6 (--) > Date: Fri, 13 Dec 2024 05:46:32 +0200 > From: Dmitry Gutov > > > (project-files (project-current)) > > > > gives the list of files of the project. > > > > However, evaluating this fails: > > > > (project-buffers (project-current)) > > This change should fix that. > > Not sure if it should go to emacs-30 (this bug is there since 2022) - > but happy to install it there if approved. Please install on emacs-30, and thanks. From unknown Sun Jun 22 08:03:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74826: 30.0.50; project-buffers not consistent with project-files Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 01:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 74826@debbugs.gnu.org, Dmitry Gutov , oscarfv@telefonica.net Received: via spool by 74826-submit@debbugs.gnu.org id=B74826.17357817334147 (code B ref 74826); Thu, 02 Jan 2025 01:36:01 +0000 Received: (at 74826) by debbugs.gnu.org; 2 Jan 2025 01:35:33 +0000 Received: from localhost ([127.0.0.1]:41237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTA7Y-00014p-Ue for submit@debbugs.gnu.org; Wed, 01 Jan 2025 20:35:33 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:51417) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTA7W-00014g-Vr for 74826@debbugs.gnu.org; Wed, 01 Jan 2025 20:35:31 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d7e3f1fc01so21823919a12.2 for <74826@debbugs.gnu.org>; Wed, 01 Jan 2025 17:35:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735781730; x=1736386530; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=7i0DoBNwnKqlCQvo1OzC40n3ai1DchdMukFlLIEXrk0=; b=NN8w4thhdQacyHIvpcvsY3wxIWa+YU49KFLzWiDu81fLXxEhjoBo4U5uCP845ABb8u 3WXNENE1ikh9tYy7UDehuHG7FpKhGeC7RcHU/ldG9T1k8J9l6yN8URQdnEpIqAxTPgiv S0tNIABtEe4AHi+BGcWzrX0CL/9YAZW89wCukf3o/fyxdFU6ZeMv+sRqYX/lQjvB/5KI 7PcOi8oN6ZP8Eyk/gNJ5nwhnd0B6nI41CFk7ZWOqFqjNKS5Sv+xfx9m45q9IrOwm/bVM UAZ2MZPhkR73YYmJNrvqnL0USAR+ZR9O1weVKWQiK42x0VIf7d1Nrk+PukXNJHfxcFge hcOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735781730; x=1736386530; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7i0DoBNwnKqlCQvo1OzC40n3ai1DchdMukFlLIEXrk0=; b=ZjWNvhcRdnGEHNPXAFwsd5ZdpMcZjxtBqYlgNDdtr/wdFDZIz7K2qQoKzwp7/UuSev Tu1oNWxdq8uOSdqbYga7zygeGwHdmDeId+MH2Sbrum52ke2wRu637Ygs9VKYxQoHr/iP qMlurqIgSdv8vvEudOB0/jA7skhxriQE5jo7odMeybMt+7T8QYSPs6sE+W+NVkpzgoC9 WAZW8J3NzgTUpZm/0M5IRP4wqZWRKbAtkXLQD1vEHDkfJZAOn30FI1+wgh0fB/Pou7z4 xvBq0fulAT3BQd7qDFl8mJLx+F/H8DpR4mEqTQnnixrWfeGUVahrwrWy6jdLYZ2PL8an 4Xdg== X-Forwarded-Encrypted: i=1; AJvYcCXu29PlF0+nk8wzijVOJaYf39+vFoneD9LNiLEFH2JL+a6FtlHmg1xUbAgyQfz9culbsyzA+Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzYof8ABtOasu5lrA7xqOpG6KzO0JVuzN54isQPsj7NSvInlT9w kw2nrLyNijMjq3hwHK0wXCCJQ/8S843vmTQ7IGXafXpsshQFUAKO1nE8mzV1j/5OnG4b4IJEIOF gXM48fkjYWBsbWtyYbL7AXWQmr1trEPYU X-Gm-Gg: ASbGncv05jRnWsEbNvj5Y0nJJAiAUlwVYdju3H7oXEMgS1Jll4LyLEyz5dQCpxLlYRc 1Q0tb3LD1++G/kUdF6i7wOkWIvUnc7rHS9siYGgPs X-Google-Smtp-Source: AGHT+IF6O7l11TBO2v/1QaSt/1RKI8hppg+K6fcYcNy2GhNFFhVKs1kbveQrlLyd0ttsQlq2uvzkL9QGYO44tBKH0SU= X-Received: by 2002:a05:6402:388d:b0:5d3:ce7f:ac05 with SMTP id 4fb4d7f45d1cf-5d81de169a3mr38061672a12.31.1735781729848; Wed, 01 Jan 2025 17:35:29 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jan 2025 19:35:29 -0600 From: Stefan Kangas In-Reply-To: <86frmqv8ak.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Dec 2024 13:00:19 +0200") References: <87ldwlxfr4.fsf@telefonica.net> <86frmqv8ak.fsf@gnu.org> MIME-Version: 1.0 Date: Wed, 1 Jan 2025 19:35:29 -0600 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.7 (/) 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.3 (/) Eli Zaretskii writes: >> Date: Fri, 13 Dec 2024 05:46:32 +0200 >> From: Dmitry Gutov >> >> > (project-files (project-current)) >> > >> > gives the list of files of the project. >> > >> > However, evaluating this fails: >> > >> > (project-buffers (project-current)) >> >> This change should fix that. >> >> Not sure if it should go to emacs-30 (this bug is there since 2022) - >> but happy to install it there if approved. > > Please install on emacs-30, and thanks. Dmitry, please install the patch when you get the chance. Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 01 20:35:44 2025 Received: (at control) by debbugs.gnu.org; 2 Jan 2025 01:35:44 +0000 Received: from localhost ([127.0.0.1]:41240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTA7k-00015I-9I for submit@debbugs.gnu.org; Wed, 01 Jan 2025 20:35:44 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:57602) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTA7h-00014z-PV for control@debbugs.gnu.org; Wed, 01 Jan 2025 20:35:42 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5d3e9f60bf4so18863137a12.3 for ; Wed, 01 Jan 2025 17:35:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735781736; x=1736386536; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=3nssTrM37ACBAtjJi7ctt6LTpZz/yEc2p6SvyYtobq8=; b=HefhgX7zXC8jrWeoF89FdAcBt1HXig0undXUn4E+thBlcANM0ZlA2UN455cdoilLap ZoM56fXofIfH1XNPVPawFH/xYLhfPiOFkwWrQ/YYyjvKWJL8k4HvUZyFUf7GgJvWhmJ6 +SV9HbDBDz8lTUA/lKJ9JhPANH6UnUwymG9DD9D/g4p9Gt4oBSOBYLGUggI9QPux8nmN XWWl2wYUT4UY3OgsjTgLeCdFIX2A3oWwwuueHQZ0nNC0FoyfVPio4O6/MqlklknZ9nhF DdEhrDRuqSw9rYAlP0Fs7yBeGIPzyMWh0WxdWwT5wsytm0NbhEGIxIFRrsn9KJOb2UGP KgCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735781736; x=1736386536; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3nssTrM37ACBAtjJi7ctt6LTpZz/yEc2p6SvyYtobq8=; b=Cq3gaS3bK4gMy+exkS9Ddn2ias0E3/JNck3fSL+nC6KN8VH8Hva1tHdOSSdLwSF4G3 08iuo/0fbZD5GP5TmbuL0JCi6h9aE++qllrZPS2GFiO9jt2JKu5Qq154xUl0eali2oAp JxLKhBJ91ntRcPSwKMBMLxn9bLBKVZYrKKjV9AmgAKr9FPWfnIv0Xa43DhRw1ksmLwZ9 SO5Ox8WDxig72yZt8Ljuv18v9SACKEs0fbcnOSFiJZLh6W1LZckYlg97LOkemDUEK+9Z YxC8FrLtpZLY6uyLKEo4OYmVLcbSdrKdfhAxHZ9HQyNGxeU3RXeUOwuHgAeElUOcAJjq KKEg== X-Gm-Message-State: AOJu0YxhCjDh2gTecD2HmmDzU2ZxftI4515cwjUVSCNoCPLoNSi/RDi2 Ax5X+ryaV2Jn5Yc0ybq0nqInYT04fkT2NyZ1Q8riefHCRdI+4INbX3p7Tga7wQXIBusoIl3MP0Y d+xo8YVaFknzZI+cpTujHJk6oHyo4EO6v X-Gm-Gg: ASbGncvSNTLDJMdxSm327ajlVX9vSw6V+ySAsTxKtWnpNCEdwA0+bRcIEkBIFVDqSfQ Mrjo7C8oDZlXZBzbbXNw0Dqw4i+1doIlm0WQi7Q/z X-Google-Smtp-Source: AGHT+IEL6sn/ZbXZpwU6tZdZYVvpIbEqhBqq0URqp9oSiV+IJsXoVEUXNBpsctjkvQgr0mVqAqiFGoqlM0AHqLYpeaQ= X-Received: by 2002:a05:6402:240f:b0:5d0:e826:f0da with SMTP id 4fb4d7f45d1cf-5d81dde858amr40060490a12.16.1735781735544; Wed, 01 Jan 2025 17:35:35 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jan 2025 19:35:35 -0600 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 1 Jan 2025 19:35:35 -0600 Message-ID: Subject: control message for bug #74826 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 74826 + patch quit From unknown Sun Jun 22 08:03:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?=C3=93scar?= Fuentes Subject: bug#74826: closed (Re: bug#74826: 30.0.50; project-buffers not consistent with project-files) Message-ID: References: <6bc9b5fe-10c3-4500-ba2b-b977f75e7663@gutov.dev> <87ldwlxfr4.fsf@telefonica.net> X-Gnu-PR-Message: they-closed 74826 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 74826@debbugs.gnu.org Date: Thu, 02 Jan 2025 17:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1735837322-13074-1" This is a multi-part message in MIME format... ------------=_1735837322-13074-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74826: 30.0.50; project-buffers not consistent with project-files which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74826@debbugs.gnu.org. --=20 74826: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74826 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1735837322-13074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74826-done) by debbugs.gnu.org; 2 Jan 2025 17:01:33 +0000 Received: from localhost ([127.0.0.1]:46345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTOZg-0003NS-Ou for submit@debbugs.gnu.org; Thu, 02 Jan 2025 12:01:33 -0500 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:60021) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTOZe-0003N5-DC for 74826-done@debbugs.gnu.org; Thu, 02 Jan 2025 12:01:30 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id C98F713801C7; Thu, 2 Jan 2025 12:01:24 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 02 Jan 2025 12:01:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1735837284; x=1735923684; bh=c1/HBrTpMq5nLc0bcjArflrRRZ1wKx8ZtgGmraZPQNE=; b= BN7MJM7rmT46vwrpn1+mbUqLo7S/LKvLtleqqP8nppDFRPbisfMcUwSxGtalTXqM wydHTl60YKwNJN5VkUCXmo0cBpQa6zSyILBguBse1HRiOAxaFVkkCPhtV+0Va8/t Pf5x9Rgpg0DKIK+gGiMNfxFvvaRhabXhjQSYSZZPNuACxe2HrM9Lm0dv+w+AUwgv dLOXvB66TfssMjh4U3Sb3rnLQX1ajwwTjmwSo5mq7cAEtB//t+b4U/gQKcki1o+F 90a1x+58R7apoV7mKGMdWp7xQtBQ+IrvkyFvYJM+zt3EkHmtLm7WCikaqyTpPx/I iV7RTHMICZRh3pKQBdZPIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735837284; x= 1735923684; bh=c1/HBrTpMq5nLc0bcjArflrRRZ1wKx8ZtgGmraZPQNE=; b=M cW1VPr4X37wou9F8lj9yen9Vvv9khQtWJS02NgfZ8hAydQ7fQLgGcAqhfIqejlH2 11ynssNmX9XUzY+B+AYKFWcCeaqBcCFSEO+kR+bpsGVfiAmHj33eNAezREamjQrs RFwtwD/seI4vSC9cyEGuzuzX03WIyuRFnlTA2MyGSVdbf9St4WL6jHhVq7WfDRtg tjgw7nwZQzJiQpoiE8SGQKRE8m4rqRE/G0vrnXD/yZzXWT0SgSD1x6rjGqG3K+DK EiWS4wqXHAQ8xkF8hrDLTvs+sN+9YuMQl0JOTS5hXPl0aR82rv66Qa5b5m3aM8a+ oFvHXR0AG7Zom4Ou6w/oA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefvddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsthgvfhgrnhhkrghnghgrsh esghhmrghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphht thhopeejgeekvdeiqdguohhnvgesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtth hopehoshgtrghrfhhvsehtvghlvghfohhnihgtrgdrnhgvth X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jan 2025 12:01:23 -0500 (EST) Message-ID: <6bc9b5fe-10c3-4500-ba2b-b977f75e7663@gutov.dev> Date: Thu, 2 Jan 2025 19:01:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#74826: 30.0.50; project-buffers not consistent with project-files To: Stefan Kangas , Eli Zaretskii References: <87ldwlxfr4.fsf@telefonica.net> <86frmqv8ak.fsf@gnu.org> Content-Language: en-US From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74826-done Cc: 74826-done@debbugs.gnu.org, oscarfv@telefonica.net 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 (-) Version: 30.1 On 02/01/2025 03:35, Stefan Kangas wrote: > Eli Zaretskii writes: > >>> Date: Fri, 13 Dec 2024 05:46:32 +0200 >>> From: Dmitry Gutov >>> >>>> (project-files (project-current)) >>>> >>>> gives the list of files of the project. >>>> >>>> However, evaluating this fails: >>>> >>>> (project-buffers (project-current)) >>> This change should fix that. >>> >>> Not sure if it should go to emacs-30 (this bug is there since 2022) - >>> but happy to install it there if approved. >> Please install on emacs-30, and thanks. > Dmitry, please install the patch when you get the chance. Done! Thanks for the reminder. ------------=_1735837322-13074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 12:12:01 +0000 Received: from localhost ([127.0.0.1]:38072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLi2y-0004d9-7J for submit@debbugs.gnu.org; Thu, 12 Dec 2024 07:12:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:38352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLi2u-0004cr-Ro for submit@debbugs.gnu.org; Thu, 12 Dec 2024 07:11:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLi2t-00081y-Rp for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 07:11:56 -0500 Received: from relayout01-q02.e.movistar.es ([86.109.101.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLi2q-00075y-8D for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 07:11:55 -0500 Received: from relayout01-redir.e.movistar.es (unknown [86.109.101.201]) by relayout01-out.e.movistar.es (Postfix) with ESMTP id 4Y8BCh1jHVzjYqZ for ; Thu, 12 Dec 2024 13:11:44 +0100 (CET) Received: from sky (125.red-83-37-187.dynamicip.rima-tde.net [83.37.187.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4Y8BCg4qYczfZxR for ; Thu, 12 Dec 2024 13:11:43 +0100 (CET) From: =?utf-8?Q?=C3=93scar_Fuentes?= To: bug-gnu-emacs@gnu.org Subject: 30.0.50; project-buffers not consistent with project-files X-Debbugs-Cc: Date: Thu, 12 Dec 2024 13:11:43 +0100 Message-ID: <87ldwlxfr4.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain X-TnetOut-Country: IP: 83.37.187.125 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 4Y8BCg4qYczfZxR.AD4FE X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: oscarfv@telefonica.net X-TnetOut-Watermark: 1734610303.9699@3MECOY3cGqAD6MmBn/tTpA X-Spam-Status: No Received-SPF: pass client-ip=86.109.101.142; envelope-from=oscarfv@telefonica.net; helo=relayout01-q02.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) On a git repo there are several projects. `project-vc-extra-root-markers` is used to differentiate them. (setopt project-vc-extra-root-markers (list "client.lp0" "pubspec.yaml")) Although there are no submodules for now, I also have this setting: (setopt project-vc-merge-submodules nil) Evaluating the following expression while on a buffer that is visiting any given file of those projects: (project-files (project-current)) gives the list of files of the project. However, evaluating this fails: (project-buffers (project-current)) Debugger entered--Lisp error: (file-missing "Opening input file" "No such file or directory" "/home/oscar/monorepo/someproject/.git") project--submodule-p("/home/oscar/monorepo/someproject/") #f(compiled-function (project) #)((vc Git "~/monorepo/someproject")) apply(#f(compiled-function (project) #) (vc Git "~/monorepo/someproject/") nil) project-buffers((vc Git "~/dev/monorepo/someproject/")) eval((project-buffers (project-current)) t) #f(compiled-function () #)() #f(compiled-function () #)() eval-expression((project-buffers (project-current)) nil nil 127) funcall-interactively(eval-expression (project-buffers (project-current)) nil nil 127) command-execute(eval-expression) In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2) of 2024-11-03 built on sky Repository revision: 24b7bf2746fd7bf097e04c5b9363cab197edbc7c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-native-compilation --with-tree-sitter --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules --without-imagemagick' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: C locale-coding-system: nil Major mode: ELisp/d Minor modes in effect: window-highlight-mode: t fancy-compilation-mode: t global-git-commit-mode: t pulsar-global-mode: t pulsar-mode: t evil-owl-mode: t evil-paredit-mode: t evil-local-mode: t pdf-occur-global-minor-mode: t TeX-PDF-mode: t key-chord-mode: t paredit-mode: t server-mode: t display-fill-column-indicator-mode: t vertico-multiform-mode: t marginalia-mode: t vertico-mode: t which-key-mode: t global-anzu-mode: t anzu-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/oscar/elisp/singles/flx hides /home/oscar/.emacs.d/elpa/flx-20240205.356/flx /home/oscar/elisp/magit/lisp/magit-section hides /home/oscar/.emacs.d/elpa/magit-section-20241206.2214/magit-section /home/oscar/elisp/singles/avy hides /home/oscar/.emacs.d/elpa/avy-20241101.1357/avy /home/oscar/elisp/singles/transient hides /home/oscar/dev/emacs/stable/emacs/lisp/transient /home/oscar/.emacs.d/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/oscar/dev/emacs/stable/emacs/lisp/theme-loaddefs Features: (shadow emacsbug consult vc-hg vc-bzr vc-src vc-sccs vc-cvs vc-rcs log-view vc gnus-draft canlock dabbrev goto-addr bug-reference mailalias ispell company-dabbrev-code company-dabbrev help-fns radix-tree misearch multi-isearch oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi shr-color vertico-directory mule-util fussy vertico-grid flow-fill mm-archive sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml pop3 nndraft nnmh nnml nnfolder network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo dkim smtpmail gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range window-highlight nord-theme meteo-radar flycheck lp0-ts-mode lp0-mode symbol-overlay company-ctags find-file company-fuzzy ht company aggressive-indent deft org-noter org-element org-persist xdg org-id avl-tree org-protocol org-capture org-refile org-crypt etags-select etags fileloop generator xref fancy-compilation ffap orgit org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs magit-bookmark git-rebase magit-extras magit-sparse-checkout magit-gitignore magit-ediff ediff magit-subtree magit-patch magit-submodule magit-blame magit-stash magit-reflog 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-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff git-commit magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell pcomplete magit-mode transient magit-git files-x magit-base which-func vc-git vc-dispatcher magit-section benchmark cursor-sensor pulsar pulse color evil-textobj-tree-sitter-core treesit evil-owl buffer-flip evil-paredit evil-anzu evil evil-keybindings evil-integration evil-maps evil-commands evil-digraphs reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common rect evil-vars mini-echo mini-echo-segments hide-mode-line face-remap wgrep grep ag vc-svn find-dired s dash pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-load pdf-view bookmark jka-compr pdf-cache pdf-info tq pdf-util format-spec pdf-macs image-mode exif preview reporter desktop frameset latex latex-flymake flymake project tex-ispell tex-style tex dbus compile comint ansi-osc ansi-color xml crm texmathp auctex key-chord comp comp-cstr warnings comp-run comp-common cmake-mode paredit-menu paredit edmacro kmacro server yasnippet lisp-mnt cl-extra help-mode psvn wid-edit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log diff-mode track-changes pp elp ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired dired-loaddefs display-fill-column-indicator vertico-multiform marginalia vertico flx-rs-core flx-rs flx goto-chg avy rx ring highlight-parentheses ws-butler which-key diminish cl anzu easy-mmode thingatpt tmr pcase compat solar cal-dst cal-menu calendar cal-loaddefs finder-inf advice disp-table auctex-autoloads tex-site casual-calc-autoloads casual-lib-autoloads color-theme-sanityinc-tomorrow-autoloads company-posframe-autoloads company-autoloads consult-ag-autoloads consult-flycheck-autoloads consult-lsp-autoloads consult-org-roam-autoloads consult-project-extra-autoloads consult-todo-autoloads deadgrep-autoloads ef-themes-autoloads embark-consult-autoloads consult-autoloads embark-autoloads evil-textobj-tree-sitter-autoloads flutter-autoloads flycheck-autoloads fussy-autoloads flx-autoloads hl-todo-autoloads hotfuzz-autoloads hyperstitional-themes-autoloads lsp-dart-autoloads dart-mode-autoloads dap-mode-autoloads bui-autoloads lsp-docker-autoloads lsp-treemacs-autoloads lsp-ui-autoloads lsp-mode-autoloads f-autoloads marginalia-autoloads markdown-mode-autoloads org-roam-autoloads magit-section-autoloads emacsql-autoloads pdf-tools-autoloads pomm-autoloads alert-autoloads log4e-autoloads gntp-autoloads shackle-autoloads spinner-autoloads symbol-overlay-autoloads tablist-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads info dash-autoloads vertico-autoloads vundo-autoloads wgrep-ag-autoloads wgrep-deadgrep-autoloads wgrep-autoloads yaml-autoloads yeetube-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1245605 487683) (symbols 48 68946 4) (strings 32 269260 9616) (string-bytes 1 8356641) (vectors 16 110936) (vector-slots 8 2060286 250156) (floats 8 1086 7559) (intervals 56 7438 962) (buffers 992 42)) ------------=_1735837322-13074-1--