Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 81281) by debbugs.gnu.org; 23 Jun 2026 15:35:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 11:35:16 2026 Received: from localhost ([127.0.0.1]:42083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wc39f-0008Fx-Qj for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 11:35:16 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:33944) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wc39Q-0008E8-JD; Tue, 23 Jun 2026 11:35:00 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4gl8JY0N2gz9tvF; Tue, 23 Jun 2026 17:34:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1782228893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zY5fquHN74QhsarzKHIUuquSzHRgOF/EuABas1qcpHA=; b=yXLsuAUqgp1xY7ZD3B2lS/eQ4+/3+fOO60X7OiUj5MUr/sStQl+QFxvtJUu5qdHyDyU8MH ZlWNlWGjsdVm0YI4RfyW5x795B0FfXQSXfB1z/V2OylG4XurZ8ZUGwNjPyYCzetg1xBuhd boS/wOgf3ThI5rLV7Wk7PIEznULgkyMqaffpwLwceyKV2vbLFomx+IDaGy647a0SvBYo/O HSvQUwHGrz3yDDquokd2lS1bryEViJ8SKiJepva+RiawRFs2nXhWle3G7mmGM4+HuDXQCP 7pxKLfDYrtXZCOiPgljAg4zS9jlLQZPn/mtYBa1a4q6c9Ks4OnhU2nKENeuSjQ== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=juri@HIDDEN From: Juri Linkov <juri@HIDDEN> To: rainer.woitok@HIDDEN Subject: Re: bug#81281: 30.2; Problems using "C-u M-q" In-Reply-To: <87se6eliwe.fsf@HIDDEN> Organization: LINKOV.NET References: <87se6eliwe.fsf@HIDDEN> Date: Tue, 23 Jun 2026 18:25:27 +0300 Message-ID: <87ldc5wadl.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4gl8JY0N2gz9tvF X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 81281 Cc: 81281 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.6 (-) forcemerge 63790 81281 thanks > key "M-q" is bound to "prog-fill-reindent-defun" This bug was reported long ago in bug#63790, but still not fixed. It works only when point is inside the comments, and BOL after the last comment line doesn't count as the comment.
bug-gnu-emacs@HIDDEN:bug#81281; Package emacs.
Full text available.Received: (at 81281) by debbugs.gnu.org; 23 Jun 2026 13:04:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 09:04:46 2026 Received: from localhost ([127.0.0.1]:39245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wc0o2-000820-HY for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:04:46 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38099) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wc0o1-00081n-5r for 81281 <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:04:45 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D968B80B35; Tue, 23 Jun 2026 09:04:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782219879; bh=yLQ3spEDLxQYeAaaGWpye6+5qlxrs1c++OQAvXql0Tw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Kx1igSOT+Tmp4tCov1rZUsyUxyyJ9ZqtQ3snz1RPA+q3vDLceotWaURa38KOLVfxX 5qVm5ZgdHtQ7XDUMknE+vkP8BBTV+iOdq6bMBxpaBQzOvAjPMnvBN2a3HYlY1cII1E Hgxhs4bBnkx3g2lLatVpf1YrIt9n85t5o591xV0POrrmeYuOm3IbaCUEDvyfO9pV8T z/NMoQeZD2QeWnGDCWeo9zYEZNjefzDTzffUkl8Rp7oWTwC1zcR9aOgql0Kd+olDxK XDk6+xzFNRXsBJZKweKVjwePP2XbxgnQOa9wkqknBgZYCb1YovyKUZahytUNFa4+Ca UmX1q9lAqO9HA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0ECBF80794; Tue, 23 Jun 2026 09:04:39 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D68E01204EB; Tue, 23 Jun 2026 09:04:38 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81281: 30.2; Problems using "C-u M-q" In-Reply-To: <87zf0l1tqo.fsf@HIDDEN> Message-ID: <jwvmrwl9zvm.fsf-monnier+emacs@HIDDEN> References: <87se6eliwe.fsf@HIDDEN> <87zf0l1tqo.fsf@HIDDEN> Date: Tue, 23 Jun 2026 09:04:37 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.061 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain GAPPY_SUBJECT 0.1 Subject: contains G.a.p.p.y-T.e.x.t X-SPAM-LEVEL: X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 81281 Cc: rainer.woitok@HIDDEN, 81281 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) > Thanks. Stefan, I wonder if you know what is going on here. Not really, no, but I don't think there's anything very special going on. Someone just needs to Edebug the code to see what it is doing and fix it accordingly: it's a fairly new command and it needs to handle many different situations. IOW, I think what's going on here is that this function needs more work/polish. === Stefan
bug-gnu-emacs@HIDDEN:bug#81281; Package emacs.
Full text available.Received: (at 81281) by debbugs.gnu.org; 23 Jun 2026 09:39:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 05:39:08 2026 Received: from localhost ([127.0.0.1]:38255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbxb1-0003fp-J6 for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 05:39:07 -0400 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]:38619) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbxaz-0003f1-6R for 81281 <at> debbugs.gnu.org; Tue, 23 Jun 2026 05:39:06 -0400 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 97DCE7A016A; Tue, 23 Jun 2026 05:38:59 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Tue, 23 Jun 2026 05:38:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc: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=1782207539; x=1782293939; bh=PZYBdveoBy OYACNKMwq/u358KkZCCVKdRZkbne2T4uU=; b=N/qOw9z5xi1zxAFabWqquHQblW fc6Q9r12i+QPuCv7M+XtPXVS1Pv08B/XeGEXdL7cmiLH8iuKJfhLWd/xuRvLHp0R AQdxqDL8vS0qNkqIeYhm6Kf8+tygYGqwjYq2YKXG6OnjCzPKVGjVNzrYHs+lLVMb p+gH7xmrdmMlwlchVkygz5ukPRErzUMGmj6P6EK4YhKo6uup91RJCU1LLmEAfMAA 0xp0aGa8IW+jY7eZQJ2h3xebHebummgcflILB2QMLs/ZRBAOMqx+bq7OpM2xsXwi cku588v4mN72gp8cQz++L7Qrzr/tNwr0GZWEudDpHEY0oShOYmMi22zbgoiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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= 1782207539; x=1782293939; bh=PZYBdveoByOYACNKMwq/u358KkZCCVKdRZk bne2T4uU=; b=h9qDIxxWZWAeiwoT28aSRevpzZrvLq8lAfD7kdaY2oWu73pgoLZ 1XS8y7K3VD5tOiFe/5FvFvYPqrvL0Cnou9ZKAo8yPBw11Ak3TYW1kZhsd2ICtrpR LUejAucVjN4m4bPejJjFTAktXZrGM+/QMTLILzmVXuZEmxDx3gkZSx9N9EWvWN7k ot2s3EUVevOl4RpC+rLg04UvVWpn4GvuNgO0jFp4owRppGDPvk7ic/TgdpxKo/bU xOVdYHnAnUMhbuawmLr2iNBfzHUhn+2NH+6lKk9Ch6AzlDx8+EP0bARM9wKzw4xE SQI4LRxGEtWEWwNqSHuWL4I3KpvWGFSAdUA== X-ME-Sender: <xms:M1Q6apJ9WL0X6_SsIjbdpYfgrqp5YBbyQNP-RlHglREBUHH4BD3tVA> <xme:M1Q6as4m4WY6EAmHyOLI5kjpT_escufUA0sH9W5hyZ8GqSs4B6kQFBE8ZOQDeOYch QcKH2eQqDDwzMOe_LAgedF8YMlhyv1-8iYKP3HU7SNl6egTOngNx2s> X-ME-Received: <xmr:M1Q6akwVBOsXwK9j1VXCxaPdwu7O-F2NskKu4NqhjmyybvsgGpku89REmDX6NeoAcAITAhALLPvB> X-ME-Proxy-Cause: dmFkZTEGJsqgN7k1yfSH/wnvVs9x0aKwh4kUWC8jLtZ+VtFRdErNGxn5EiHRZLUOnWjr7s YVYQV8QeWq2f/3oHqIG0ifyi5ig5t5yjvS2OOy7UEP03zPZv3ySIDAWveytwRDTZvwr1CI VW/Yu1ApiljZBpUxWWIgyKOb/Sa0ZVimkQSDCb7ySQ+yw0nUB+99Nuoeby2LeJJiPOLQYy D9amTeNLgqn0frUbKvf6kSiYMnQ1+j7clJStETBS43aVuTQYIaElzbS0hate5wEs+4PF/I ZdDAkMnSmaBHrp5SGcFrwyRZ7SCWiC9byhkAJVECyqllu9P8FleSAzPBlHEBx2dKSGH1qu XfIuxWpeccnbwMsaNsozMVaFDt4+O/AyAOG5DAOPu3bJc8ZKjiPA3C68AUeWMrDgl/cynb 3W+t/EplY8ZPgi8S5dOsbBDb6OHf1ttKa5Q5CZ0CVzb725qOoVQ2P0Lmk08bEs8DVOnC4W hGTzdtBy4+rmbH35gfK+By7We2kMthHhiFLMdaydf05xK1pl4K/Fm89ZPw/87HaIgi7ePE KXGmPx6fwxlNH5XBnJC8824mSzCAyMEhuutOT/Y9dLYMhcJtV97NGT0T7kg6IgDmGhWa1E fnXeFPAE7r/LOK36DbB6VIdsp0ZciyzpTJehfrHhbBnzyoPuGlUbAqMkO01Q X-ME-Proxy: <xmx:M1Q6aobagFDkNffRflyx7fx0-IwS_TYiaVxRUGPaezk2HLkWwl-mgA> <xmx:M1Q6auR4jCAju8voMKUqFCEoRPm8OHBGDKxFx5iTHjd09UsqFD9xEQ> <xmx:M1Q6aqwRy51BWBlLC7UGZJeLG5RctJ2Cge7rAEnA8Hu-Q2F2PAqp6w> <xmx:M1Q6ag0c0YFmVOSIzonclOBK6Y6KmZ71kSNFSYQUnKj16CNGqIOJoQ> <xmx:M1Q6asWuFAQn-sKHcaeIWKFzM3QghQAKscxmjMe_zNmh2yGOL8TKTHAn> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Jun 2026 05:38:58 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 4D3027E8A2C; Tue, 23 Jun 2026 10:38:55 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: rainer.woitok@HIDDEN, 81281 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81281: 30.2; Problems using "C-u M-q" In-Reply-To: <87se6eliwe.fsf@HIDDEN> References: <87se6eliwe.fsf@HIDDEN> Date: Tue, 23 Jun 2026 10:38:55 +0100 Message-ID: <87zf0l1tqo.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 81281 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.6 (-) rainer.woitok@HIDDEN [22/Jun 5:00pm +02] wrote: > $ emacs -Q lorem-ipsum > > ; Emacs will open a window in "Fundamental" mode. Enter the follow- > ; ing text: > > #! /usr/bin/bash > # > # lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi tempora incidunt, ut labore et dolore magnam aliquam. > > ; Position the cursor on the "#" character preceding "lorem", and en- > ; ter "C-SPC <down> C-u M-q", which results in > > #! /usr/bin/bash > # > # lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi > tempora incidunt, ut labore et dolore magnam aliquam. > > ; The leading comment symbol in the last line is missing, because > ; this is still "Fundamental" mode. So add it manually: > > #! /usr/bin/bash > # > # lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi > # tempora incidunt, ut labore et dolore magnam aliquam. > > ; Enter "C-x C-c" to terminate Emacs, and open this file in Emacs a- > ; gain: > > $ emacs -Q lorem-ipsum > > ; This time the file is opened using mode "Shell-script[bash]" and > ; key "M-q" is bound to "prog-fill-reindent-defun". Now change the > ; file's contents to > > #! /usr/bin/bash > # > # lorem ipsum, dolor sit amet consectetur adipisci velit, ONE, TWO, THREE, sed eius modi > # tempora incidunt, ut labore et dolore magnam aliquam. > > ; Again place the cursor on the "#" character preceding "lorem", en- > ; ter "C-SPC <down> <down> C-u M-q" to again marking and re-formating > ; these two lines, BUT NOTHING HAPPENS, the two lines don't change. > ; However, if you again place the cursor on the "#" character preced- > ; ing "lorem" and enter "C-SPC <down> <down> C-u M-x fill-region" the > ; two lines WILL BE re-formatted. What also works is NOT TO MARK the > ; two lines and just place the curser somewhere in the text before > ; running "C-u M-q". However, I often do not want to re-format a > ; whole paragraph but rather only a few marked lines in it. > > ; On 2026-06-14 I started the mail thread "Manipulating keymaps" on > ; list "Help-Gnu-Emacs@HIDDEN". One participant could not reproduce > ; my problem and one regarded it a bug and asked me to report it via > ; "M-x report-emacs-bug" (but I don't know whether or not he could > ; reproduce it). Thanks. Stefan, I wonder if you know what is going on here. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81281; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 22 Jun 2026 15:43:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 11:43:32 2026
Received: from localhost ([127.0.0.1]:57662 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wbgo2-0002Jq-Ny
for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 11:43:32 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:46212)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <rainer.woitok@HIDDEN>)
id 1wbg91-0006UU-99
for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 11:01:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <rainer.woitok@HIDDEN>)
id 1wbg8m-0002jY-L6
for bug-gnu-emacs@HIDDEN; Mon, 22 Jun 2026 11:00:56 -0400
Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <rainer.woitok@HIDDEN>)
id 1wbg8k-0006KO-Ca
for bug-gnu-emacs@HIDDEN; Mon, 22 Jun 2026 11:00:48 -0400
Received: by mail-wm1-x32b.google.com with SMTP id
5b1f17b1804b1-49249707788so15935565e9.2
for <bug-gnu-emacs@HIDDEN>; Mon, 22 Jun 2026 08:00:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1782140438; x=1782745238; darn=gnu.org;
h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=Fg0kyp2JkFSCXWntkH1I5r3hgJoNe/O2DrdPToFM7VM=;
b=sFSBOzW/YV3o+5iYMX9bqh8aheHybhp5v+a5FPVw7jNuW72pCiE0ILqEgGpKAVM+AG
lbXu6CJQAyNp1fgllMzPnG3scvcCC4xGnhgDgmMAxcRD7ob5phQsmr6G/1ibPVUhmjjL
Cvhr8jZWijcr4vn0NIf5fQSte9fwC5VLpeNsTiFu7E/Fj7u4SUoaGFn62bTCZ2mppjI6
h10ITNnfdyuVJL51mJ8i2WxyCkPowoPBmwwSIlH9OAA+HFHzhYmeMq9m5o+MQpowvZBz
8/A7Nt5lQKpQOhVxNYNubF+O3CpvxXYSbwqO1LrJnqxqsDwM5Ev2IOzVWWLk2/1ix8oj
yQEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1782140438; x=1782745238;
h=mime-version:message-id:date:subject:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=Fg0kyp2JkFSCXWntkH1I5r3hgJoNe/O2DrdPToFM7VM=;
b=ZsNSFIcWJLl++05LyIfIdPcw/PrjGxQjLrQWcW/SbeN1N0jJ+eWhQY9Dn42xpz/s3T
pSxosP8RIABcwQPZSZ86ohN8IN2MGs26E5KF+QcMWeQU3mey7LC6IpIJx5qunzQxXi15
azoqMRJ9fJyey/rXAlfUJz9NJDwMNXaW2tx14Us0WSigmozWUCv8Bn19D8DlIOYslTZj
nHfPoZxAeCr0dRr7HIyT8ed2/rclZtvryPzkUeUyh2V54DIwNVlAsskmo+ukEaxNUtAf
JnvHP2swSNE617m/u6tED6U/Vp+2m+OS1EuBma6SKXszUGV2Dx6tH4IEG6vHBD10Pe9+
cb8w==
X-Gm-Message-State: AOJu0YwF0OSaCN2x8Gyk2G76MXE/euxeze2uj8QeiOUGFkJf/AiAv/9R
HSRuh4inLxnIQNykYHmrGoYB4qsybdaPeYaUBYy0PsTxfM7DM7hhtk6qjSWoiA==
X-Gm-Gg: AfdE7cnJZEIwlSF3ELVJ5xOipOg1uw1NE7nlV9KIZWy8OQYU3pEcxcRGRz8uB/2e2mI
uwjOG+2dyO4ZEWBhmkjnguYSU8jzVq2KqBVnei8L0mPXrTFAwXEAod+6kv1ksd1ZEyCG5P0W6s7
hMXviHaKt/N9TbWVlB0+vstrSA6OdYqoiExKCN6fbrEvHnEsvjFM6rPYOJH9yvvtMyhMM/jHJNr
SxgHkkEg0bUGXF3qRGHkaVQbUv0xBP22H0Q3KxZkRrApykLStdkZ/ki4RO1khsFPLnYSHnWYw5U
Qwbrw0sQmuj8sMCuYdn5RK0yeI15vy+PLumYip9GialvOJcpqgd3JtIkAlkR/1+9aRATjCLiYER
iTgePvrp2wpxeIaSYDP7RzjiOMVjyVpiVff6PTClK9FOfNciYUEDZINax2ys0Z13jE9ClWO17Nm
j5905pwGKchauel0tZSpj4bT++805rAuJEYYTSbObp5MKwVpCQ19tYiG9EJv/gqn/BbEC/izTr9
R1Wnw==
X-Received: by 2002:a05:600c:8b38:b0:492:40df:d49c with SMTP id
5b1f17b1804b1-492490a7783mr173643395e9.23.1782140437769;
Mon, 22 Jun 2026 08:00:37 -0700 (PDT)
Received: from tux (p200300df0700a9dc1bccdf63c9f60b18.dip0.t-ipconnect.de.
[2003:df:700:a9dc:1bcc:df63:c9f6:b18])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-466667881b4sm24962455f8f.24.2026.06.22.08.00.34
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 22 Jun 2026 08:00:35 -0700 (PDT)
From: rainer.woitok@HIDDEN
X-Google-Original-From: Rainer@HIDDEN
Received: by tux (sSMTP sendmail emulation); Mon, 22 Jun 2026 17:00:33 +0200
To: bug-gnu-emacs@HIDDEN
Subject: 30.2; Problems using "C-u M-q"
X-Debbugs-Cc:
Date: Mon, 22 Jun 2026 17:00:33 +0200
Message-ID: <87se6eliwe.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::32b;
envelope-from=rainer.woitok@HIDDEN; helo=mail-wm1-x32b.google.com
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 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, FREEMAIL_FROM=0.001,
GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.1 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: $ emacs -Q lorem-ipsum ;
Emacs will open a window in "Fundamental"
mode. Enter the follow- ; ing text: #! /usr/bin/bash # # lorem ipsum, dolor
sit amet consectetur adipisci velit, sed eius modi tempora incidunt, ut labore
et dolore magnam aliquam.
Content analysis details: (2.1 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (rainer.woitok[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.1 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 22 Jun 2026 11:43:24 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: $ emacs -Q lorem-ipsum ; Emacs will open a window in "Fundamental"
mode. Enter the follow- ; ing text: #! /usr/bin/bash # # lorem ipsum, dolor
sit amet consectetur adipisci velit, sed eius modi tempora incidunt, ut labore
et dolore magnam aliquam.
Content analysis details: (1.1 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[2001:470:142:0:0:0:0:17 listed in]
[list.dnswl.org]
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (rainer.woitok[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.1 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
$ emacs -Q lorem-ipsum
; Emacs will open a window in "Fundamental" mode. Enter the follow-
; ing text:
#! /usr/bin/bash
#
# lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi tempora incidunt, ut labore et dolore magnam aliquam.
; Position the cursor on the "#" character preceding "lorem", and en-
; ter "C-SPC <down> C-u M-q", which results in
#! /usr/bin/bash
#
# lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi
tempora incidunt, ut labore et dolore magnam aliquam.
; The leading comment symbol in the last line is missing, because
; this is still "Fundamental" mode. So add it manually:
#! /usr/bin/bash
#
# lorem ipsum, dolor sit amet consectetur adipisci velit, sed eius modi
# tempora incidunt, ut labore et dolore magnam aliquam.
; Enter "C-x C-c" to terminate Emacs, and open this file in Emacs a-
; gain:
$ emacs -Q lorem-ipsum
; This time the file is opened using mode "Shell-script[bash]" and
; key "M-q" is bound to "prog-fill-reindent-defun". Now change the
; file's contents to
#! /usr/bin/bash
#
# lorem ipsum, dolor sit amet consectetur adipisci velit, ONE, TWO, THREE, sed eius modi
# tempora incidunt, ut labore et dolore magnam aliquam.
; Again place the cursor on the "#" character preceding "lorem", en-
; ter "C-SPC <down> <down> C-u M-q" to again marking and re-formating
; these two lines, BUT NOTHING HAPPENS, the two lines don't change.
; However, if you again place the cursor on the "#" character preced-
; ing "lorem" and enter "C-SPC <down> <down> C-u M-x fill-region" the
; two lines WILL BE re-formatted. What also works is NOT TO MARK the
; two lines and just place the curser somewhere in the text before
; running "C-u M-q". However, I often do not want to re-format a
; whole paragraph but rather only a few marked lines in it.
; On 2026-06-14 I started the mail thread "Manipulating keymaps" on
; list "Help-Gnu-Emacs@HIDDEN". One participant could not reproduce
; my problem and one regarded it a bug and asked me to report it via
; "M-x report-emacs-bug" (but I don't know whether or not he could
; reproduce it).
In GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, Motif Version 2.5.2,
cairo version 1.18.4) of 2026-06-05 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.12101022
System Description: 'Gentoo Linux'
Configured using:
'configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --datarootdir=/usr/share
--disable-silent-rules --docdir=/usr/share/doc/emacs-30.2-r3
--htmldir=/usr/share/doc/emacs-30.2-r3/html --libdir=/usr/lib64
--program-suffix=-emacs-30 --includedir=/usr/include/emacs-30
--infodir=/usr/share/info/emacs-30 --localstatedir=/var
--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
--without-compress-install --without-hesiod --without-pop
--with-file-notification=inotify --with-pdumper --enable-acl
--enable-xattr --with-dbus --with-modules --without-gameuser
--with-libgmp --with-gpm --without-native-compilation
--without-kerberos --without-kerberos5 --with-lcms2 --with-xml2
--without-mailutils --without-selinux --without-sqlite3 --with-gnutls
--without-libsystemd --with-threads --without-tree-sitter
--without-wide-int --with-sound=alsa --with-zlib --with-x
--without-pgtk --without-ns --without-gconf --without-gsettings
--with-toolkit-scroll-bars --with-xpm --with-xft --with-cairo
--with-harfbuzz --without-libotf --without-m17n-flt
--with-x-toolkit=motif --with-gif --with-jpeg --with-png --with-rsvg
--with-tiff --with-webp --with-imagemagick --with-dumping=pdumper
'CFLAGS=-fno-diagnostics-color -march=x86-64-v3 -O2 -pipe
-fno-fast-math -ffp-contract=off' 'CPPFLAGS= -DUSE_VALGRIND=no'
'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK
JPEG LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM MOTIF
ZLIB
Important settings:
value of $LC_COLLATE: C
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8-unix
Major mode: Shell-script
Minor modes in effect:
sh-electric-here-document-mode: t
global-tab-line-mode: t
tab-line-mode: t
cl-font-lock-built-in-mode: t
override-global-mode: t
msb-mode: t
tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
minibuffer-regexp-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:
None found.
Features:
(shadow sort mail-extr warnings emacsbug message yank-media rfc822 mml
mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader vm-save
vm-mark misearch multi-isearch noutline outline facemenu two-column
mule-util apropos shortdoc text-property-search comp-common help-fns
radix-tree vc-dispatcher vc-hg diff-mode track-changes sh-script rx smie
treesit executable qp vm-rfaddons wid-edit vm-pine vm-edit vm-autoloads
package url-handlers vm-imap utf7 vm-virtual vm-page vm-pop vm-crypto
vm-delete vm-sort vm-motion vm-minibuf vm-mouse vm-menu vm-mime smime
gnutls puny dig sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils vm-reply vm-undo vm-summary vm-summary-faces vm-avirtual
time-date vm-thread vm-folder vm-toolbar vm-window tapestry vm-misc
vm-message vm-vars vm-macro vm dired-aux dired dired-loaddefs tab-line
cl-font-lock cus-load edmacro kmacro cl-extra help-mode
use-package-bind-key bind-key easy-mmode use-package-core msb browse-url
url url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util 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 mailcap cl-loaddefs cl-lib site-gentoo
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 font-render-setting cairo
motif x-toolkit xinput2 x multi-tty move-toolbar make-network-process
emacs)
Memory information:
((conses 16 188390 30281) (symbols 48 29472 9) (strings 32 70570 4915)
(string-bytes 1 1790006) (vectors 16 34521)
(vector-slots 8 514086 27086) (floats 8 210 144)
(intervals 56 7043 329) (buffers 984 33))
rainer.woitok@HIDDEN:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81281; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.