From unknown Thu Aug 14 17:26:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76641 <76641@debbugs.gnu.org> To: bug#76641 <76641@debbugs.gnu.org> Subject: Status: 30.1; M-q fails in makefile-mode Reply-To: bug#76641 <76641@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:26:41 +0000 retitle 76641 30.1; M-q fails in makefile-mode reassign 76641 emacs submitter 76641 Benjamin Riefenstahl severity 76641 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 08:41:32 2025 Received: (at submit) by debbugs.gnu.org; 28 Feb 2025 13:41:32 +0000 Received: from localhost ([127.0.0.1]:47243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1to0cN-0005FE-KR for submit@debbugs.gnu.org; Fri, 28 Feb 2025 08:41:32 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44808) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1to0cI-0005EC-FU for submit@debbugs.gnu.org; Fri, 28 Feb 2025 08:41:30 -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 1to0c6-0002sq-97 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2025 08:41:15 -0500 Received: from mail.turtle-trading.net ([18.197.215.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1to0c3-0004KD-Ur for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2025 08:41:13 -0500 Received: from [185.117.215.12] (helo=arrian) by mail.turtle-trading.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97) (envelope-from ) id 1to0Zr-00000000Biv-1jdM; Fri, 28 Feb 2025 14:38:55 +0100 From: Benjamin Riefenstahl To: bug-gnu-emacs@gnu.org Subject: 30.1; M-q fails in makefile-mode X-Debbugs-Cc: Date: Fri, 28 Feb 2025 14:38:55 +0100 Message-ID: <87plj2nq8g.fsf@turtle-trading.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=18.197.215.73; envelope-from=b.riefenstahl@turtle-trading.net; helo=mail.turtle-trading.net 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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: -1.0 (-) Since Emacs 30, M-q does not work in makefiles for my most common use case. Reproduction: * Create a file "Makefile" with this content (without the indentation) v = 1 2 3 4 5 \ 6 7 8 9 0 * Put point inside that expression and press M-q. * Expected result: v = 1 2 3 4 5 6 7 8 9 0 * Actual result: No change. Explanation: In Emacs 29, M-q was bound to fill-paragraph. In Emacs 30 it is bound to prog-fill-reindent-defun. Why that function does not work, I am not sure. It seems to check tree-sitter before falling back to fill-paragraph, but the fallback does not happen, at least not in the function prog-fill-reindent-defun itself. As a workaround I am now binding M-q to fill-paragraph myself in makefile-mode. ------ In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2025-02-20 built on arrian Repository revision: 92e96a117525885bc2c725600aca3683e4b28b7a Repository branch: emacs-30 Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Debian GNU/Linux 12 (bookworm) Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: desktop-save-mode: t display-time-mode: t server-mode: t xclip-mode: t xterm-mouse-mode: t delete-selection-mode: t cua-mode: t display-battery-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: ~/Projects/ttf-mode/arc-mode-compat hides ~/emacs/arc-mode-compat /home/benny/.emacs.d/elpa/git-commit-20240730.1355/git-commit hides /home/benny/.emacs.d/elpa/magit-20250125.1132/git-commit /home/benny/.emacs.d/elpa/transient-20250122.1219/transient hides /usr/local/share/emacs/30.1/lisp/transient Features: (shadow emacsbug flow-fill shortdoc cl mailalias smtpmail bbdb-message gnus-search eieio-opt speedbar ezimage dframe dictionary external-completion dictionary-connection display-line-numbers misearch multi-isearch cl-print comp-run comp-common finder finder-inf find-func thingatpt help-fns sort smiley gnus-cite shr-color color mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-dup gnus-ml pp gnus-topic jka-compr mm-archive url-http url-gw url-cache url-auth qp nndraft nnmh nnfolder bbdb-gnus bbdb-mua 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 message-x pop3 gnus-group gnus-undo nnrss dom mm-url bbdb-com crm bbdb bbdb-site timezone gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr wid-edit view mule-util imenu sh-script rx smie treesit executable time-date desktop frameset highline benny-calendar-cfg ange-ftp generic-x autoinsert cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align cc-cmds cc-engine cc-vars cc-defs ps-print ps-print-loaddefs lpr advice cl-extra help-mode dired dired-loaddefs derived benny-x-clipboard disp-table time server protbuf xclip term/xterm xterm xt-mouse cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays holiday-loaddefs vc-git diff-mode track-changes easy-mmode vc-dispatcher diary-lib diary-loaddefs cal-menu calendar cal-loaddefs delsel grep compile text-property-search comint ansi-osc ansi-color ring cua-base cus-load format-spec battery dbus xml .loaddefs benny-tools autoload loaddefs-gen radix-tree lisp-mnt bbdb-autoloads crontab-mode-autoloads csv-mode-autoloads debbugs-autoloads elpher-autoloads enwc-autoloads git-commit-autoloads graphql-autoloads graphql-doc-autoloads graphql-mode-autoloads jsonian-autoloads lsp-java-autoloads dap-mode-autoloads lsp-docker-autoloads lsp-treemacs-autoloads lsp-ui-autoloads lsp-mode-autoloads f-autoloads magit-autoloads pcase magit-section-autoloads markdown-preview-mode-autoloads markdown-mode-autoloads mastodon-autoloads monky-autoloads nov-autoloads esxml-autoloads osm-autoloads persist-autoloads request-autoloads sly-autoloads sql-indent-autoloads sqlup-mode-autoloads telega-autoloads tp-autoloads transient-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads dash-autoloads vc-fossil-autoloads visual-fill-column-autoloads websocket-autoloads info with-editor-autoloads x509-mode-autoloads xclip-autoloads yaml-autoloads yaml-imenu-autoloads yaml-mode-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 lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 620722 448256) (symbols 48 28797 71) (strings 32 161958 21500) (string-bytes 1 10817781) (vectors 16 69855) (vector-slots 8 1275932 255292) (floats 8 1335 8852) (intervals 56 3909 794) (buffers 992 41)) From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 09:07:15 2025 Received: (at 76641-done) by debbugs.gnu.org; 1 Mar 2025 14:07:16 +0000 Received: from localhost ([127.0.0.1]:36013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toNUp-0003Kn-D1 for submit@debbugs.gnu.org; Sat, 01 Mar 2025 09:07:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47714) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1toNUm-0003K3-Td for 76641-done@debbugs.gnu.org; Sat, 01 Mar 2025 09:07:13 -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 1toNUf-0004xb-Rx; Sat, 01 Mar 2025 09:07:06 -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=aOsiZcdr1YlCLqBaA6QyL9OT4g8cEbX0GMEknZMY8UM=; b=YoOpW5FLTmUW 74yae9yXjq6Z+6bh+4ybwLsREUVH4gBlMGRwQBpZ4+r1JiGtg6ien0Q67GJNPsZ44LkHRYYsuLiQu tOYLEPxLzdsn5FyprhbHaOsOHx1bGBJnJfwS02+5nMb2Pe45GFGYb9Xk/YtYdMjNNB2H/ttlH24aW iarnH4sgb2sVsGV0fEUg1+M2K0R9Z5DdcFu43VYM+lA67DI0+lNEQIfRQBG43pYDxAbscalGy0jn6 haveiHWmf//TNrtQ+Od+YXqJMHZAtxzNx7e6Ux10srcedOWRCXgpKJyA+wR3hTtopKS2F5L+07fN/ J46ol7GHzTv39phtQC8jkg==; Date: Sat, 01 Mar 2025 16:07:01 +0200 Message-Id: <864j0cq1yy.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl In-Reply-To: <87plj2nq8g.fsf@turtle-trading.net> (message from Benjamin Riefenstahl on Fri, 28 Feb 2025 14:38:55 +0100) Subject: Re: bug#76641: 30.1; M-q fails in makefile-mode References: <87plj2nq8g.fsf@turtle-trading.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76641-done Cc: 76641-done@debbugs.gnu.org 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 (---) > From: Benjamin Riefenstahl > Date: Fri, 28 Feb 2025 14:38:55 +0100 > > Since Emacs 30, M-q does not work in makefiles for my most common use > case. > > Reproduction: > > * Create a file "Makefile" with this content (without the indentation) > > v = 1 2 3 4 5 \ > 6 7 8 9 0 > > * Put point inside that expression and press M-q. > > * Expected result: > > v = 1 2 3 4 5 6 7 8 9 0 > > * Actual result: No change. > > Explanation: > > In Emacs 29, M-q was bound to fill-paragraph. In Emacs 30 it is bound > to prog-fill-reindent-defun. > > Why that function does not work, I am not sure. It seems to check > tree-sitter before falling back to fill-paragraph, but the fallback does > not happen, at least not in the function prog-fill-reindent-defun > itself. > > As a workaround I am now binding M-q to fill-paragraph myself in > makefile-mode. Thanks, I've installed a change on the emacs-30 release branch that binds M-q to fill-paragraph in makefile-mode. With that, I'm closing this bug. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 08 11:12:02 2025 Received: (at 76641-done) by debbugs.gnu.org; 8 Mar 2025 16:12:02 +0000 Received: from localhost ([127.0.0.1]:56288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqwmP-00010V-R9 for submit@debbugs.gnu.org; Sat, 08 Mar 2025 11:12:01 -0500 Received: from mail.turtle-trading.net ([18.197.215.73]:42538) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tqwmO-0000zq-0q for 76641-done@debbugs.gnu.org; Sat, 08 Mar 2025 11:12:00 -0500 Received: from [185.117.215.16] (helo=arrian) by mail.turtle-trading.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97) (envelope-from ) id 1tqwk4-00000000Md3-3et1; Sat, 08 Mar 2025 17:09:36 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#76641: 30.1; M-q fails in makefile-mode In-Reply-To: <864j0cq1yy.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Mar 2025 16:07:01 +0200") References: <87plj2nq8g.fsf@turtle-trading.net> <864j0cq1yy.fsf@gnu.org> Date: Sat, 08 Mar 2025 17:09:33 +0100 Message-ID: <8734fny05e.fsf@turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76641-done Cc: 76641-done@debbugs.gnu.org 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 (-) Eli Zaretskii writes: > Thanks, I've installed a change on the emacs-30 release branch that > binds M-q to fill-paragraph in makefile-mode. > > With that, I'm closing this bug. Thanks a lot, benny From unknown Thu Aug 14 17:26:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Apr 2025 11:24:18 +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