From unknown Fri Jun 20 07:09:29 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#47690 <47690@debbugs.gnu.org> To: bug#47690 <47690@debbugs.gnu.org> Subject: Status: 28.0.50; repeat-mode: Introduce a defmacro for chaining commands ??? Reply-To: bug#47690 <47690@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:29 +0000 retitle 47690 28.0.50; repeat-mode: Introduce a defmacro for chaining comma= nds ??? reassign 47690 emacs submitter 47690 Ramesh Nedunchezian severity 47690 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 10 08:29:16 2021 Received: (at submit) by debbugs.gnu.org; 10 Apr 2021 12:29:16 +0000 Received: from localhost ([127.0.0.1]:51571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVCjk-0004yy-1N for submit@debbugs.gnu.org; Sat, 10 Apr 2021 08:29:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:35520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVCjh-0004yp-P8 for submit@debbugs.gnu.org; Sat, 10 Apr 2021 08:29:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVCjh-0001Qe-JA for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 08:29:13 -0400 Received: from mail-oln040092255081.outbound.protection.outlook.com ([40.92.255.81]:38112 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVCjf-0001tN-JP for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 08:29:13 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TiSnwq7hsQXZP6LD2vSgS7RAKMkzO/uaPziFJ6D1bk7ORdlmqaCBvpjVmRJq8+yJMyU1Wxu4vEmi2LkWEziZjiGrpJJo5/HUC/koe6qOazQoQd6fIEHDPanENbqOcrzaK0AdcnHVDJHBF/+W6MnIIcXlFiGC0D8GM2rciFeT53MMDXZ2acnEaudK3WOB8Hom4yDnU1jHY76EWI80bx3ScWKzcpLaLwINCxPVxwByDwwFfku/FElGwxJcTeVqBtrs4aq0KV/hF1Fxz6SmrDW44+kS18q+33OlCFBfBw9+STNwOZlrcZuVHdAUSX+E5HXn6YVz3KShmENxD57x4JGmQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VktYXIIR856pBmNnaXyGzfAlBjF9MTC/AG7sHRVRwVI=; b=ZtU0M5WiY05L9QTrLfrQpjgGrnRHnOpa/93YM8lhwfkBhvhRkfSTPl4pUBWCgmRqMamagz44b6iGtXnmbKtOHdy8g6CGHQE96NAT7QjBtv+6Os1XBg1pnfpk6PqBiywINpAIEBCMfh+IgYPV5ZPDsPSz5jhH83O2J8Ct1RRz4ajvvC+r+2Fm0CMoK2GhB6OCFVtcflbBkyCVAqZ6lUOeDez46SwcpThS5VWjo83x1HsVngy6eDSeM5w0Sf8O5F2f8AVcozYHcpJPbHEvEHOO3uYgmwKe3yDh1rhqyR9K8Ts9ZSFwMvHqwLdYBH7p2W8hT4Ocl5gF+OqTw7+soFcy5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VktYXIIR856pBmNnaXyGzfAlBjF9MTC/AG7sHRVRwVI=; b=mJwH7ngTF8dVHNICnxze1/xX0MXwIyMzS9iBbeVc1+coxKlyOGyLg2l0xb1mgRCwajGErKLun4Dmgd39JkaI+W3RYOI17dbljuqpVj87JeSds5tXGOF2XkkwFRRo1qv5o0vU+yDC4Cafw190xQ2M+kanTzosl4l2TbfIFwWac/8TiblB7mrXe7Yr3AKTI9w51M9c5vA5R3j5ypZs96hBhGUcm2t0ZGO22Kw6hxzGJv21+jrHFGQyOflQ6STnPEOd1g24XLsFAnWLimdilvlIU7l4h0EoKFNkex+7iY9IN/TTSfaoFQBJ2sEZTcgsVtkOz12VFZKfTsg5bNZKU4SWyg== Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) by TY2PR0101MB3247.apcprd01.prod.exchangelabs.com (2603:1096:404:ed::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.21; Sat, 10 Apr 2021 12:29:02 +0000 Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c]) by TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c%3]) with mapi id 15.20.4020.018; Sat, 10 Apr 2021 12:29:02 +0000 To: bug-gnu-emacs@gnu.org From: Ramesh Nedunchezian Subject: 28.0.50; repeat-mode: Introduce a defmacro for chaining commands ??? Message-ID: Date: Sat, 10 Apr 2021 17:58:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TMN: [iJMUT8D8oSRPiwNWYAKOubgToCybTNrTb3xrk83g0buTJM4qEaZXl2cqwCta/fvlleLjODg05kE=] X-ClientProxiedBy: MA1PR01CA0153.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::23) To TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2401:4900:16e4:8f86:92c9:7a70:7a09:28ca] (2401:4900:16e4:8f86:92c9:7a70:7a09:28ca) by MA1PR01CA0153.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Sat, 10 Apr 2021 12:29:01 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1aab5f5c-a8fe-424f-1652-08d8fc1c393f X-MS-TrafficTypeDiagnostic: TY2PR0101MB3247: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z9SZkowPm4+071eWmehbNMkZ/KAvW79dyxO0jZWX5LSrt0oZ7nb/q1XRWvac8W75AkVkoC2AA9vrMOKzma/y9wHNqPKgpcOgoW+jOsJcwDDskRRh61d5fhbcnTFQIppGa4rBPMH2qRo8Cb2uRKsyHIZvOGi2egkpTiE36befI5t++fbjyMN2I4qVK3COCHxwJhs767qQtKXPLJNBdp3X7tVgowN1a5rMMNfDP7cIxdtKOxcvH1pic3Bbo4OvWed0V2IDjt+/K4DHGKeswUYn4OKrGaEu6U99hAwyz1rgB90+tMkm/5UQmXyGPgTh7CZQDlEhjcpx+InyKYiLSxA4H1e2nXlA4UwjVQ3E+jO4FSuNqNgASb1nNqVOePGgmOe3nmdb1QgUcjlUJ+/onSsv7LHAeB/ZskFU5g0VSXDbPX21IBmyPmCzvw4ZxzNvqf8t X-MS-Exchange-AntiSpam-MessageData: Wbu8rOpsw1Sjd8KcYEGMgbjPuF9hAep9oB1HaLPD5tollzKBcPkRwCPPxlPByZXXFP2kZFdeA0yNJkCQ5fMCtpE+mg9CWyxeCXZHd+dtujRZMO9/d6MJqeOrEtK480a+zrQONyusGKUdAO31sx67Hflityg4Ibj41V4W8hiAQkfM03bwJjntzNVgZDUcYXht2a5bdWYNrSUScVFD9Lf+0Q== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1aab5f5c-a8fe-424f-1652-08d8fc1c393f X-MS-Exchange-CrossTenant-AuthSource: TY2PR0101MB3693.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2021 12:29:02.6388 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR0101MB3247 Received-SPF: pass client-ip=40.92.255.81; envelope-from=rameshnedunchezian@outlook.com; helo=APC01-HK2-obe.outbound.protection.outlook.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 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, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.3 (++) 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: Think of this email not as a bug, but as a note ... So, feel free to close it after digesting the contents. Context: When I look at the documentation of many of the MELPA packages, they have long long long lines i.e., one line per-paragraph. It always bothers me when I run across such files. I always hated reaching [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rameshnedunchezian[at]outlook.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.6 FORGED_MUA_MOZILLA Forged mail pretending to be from Mozilla 2.0 SPOOFED_FREEMAIL No description available. 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: -0.7 (/) Think of this email not as a bug, but as a note ... So, feel free to close it after digesting the contents. Context: When I look at the documentation of many of the MELPA packages, they have long long long lines i.e., one line per-paragraph. It always bothers me when I run across such files. I always hated reaching out to menu to fix the wrap. Now that there is `repeat-mode', I can mindlessly keep pressing a key--F12 in the present case--to cycle through various wraps until I land in the one that is agreeable. ;; Pressing F12 repeatedly is equivalent to cycling through the ;; following 3 radio buttons ;; ;; 1. Wrap at Window Edge ;; 2. Truncate Long Lines ;; 3. Word Wrap (Visual Line Mode) ;; ;; in Menu->Options->Line Wrapping in this Buffer. ;; ;; This is implemented through the all new `repeat-mode' feature. ;; ;; Much like how `C-l' (= `recenter-top-bottom') cycles the cursor ;; though different positions, pressing F12 will take the buffer ;; through different wrap settings. ;; ;; This is what I see in *Messages* buffer when I press F12 ;; repeatedly. ;; ;; Visual-Line mode enabled ;; Visual-Line mode enabled [Repeat with ] ;; Truncate long lines enabled ;; Truncate long lines enabled [Repeat with ] ;; Truncate long lines disabled ;; Truncate long lines disabled [Repeat with ] ;; Visual-Line mode enabled ;; Visual-Line mode enabled [Repeat with ] ;; Note: Instead of wrapping at window edge, a better idea would be to ;; use `visual-fill-mode'. See ;; https://elpa.gnu.org/packages/visual-fill.html. ;; It may be a good idea (?) to provide a macro, say, `chaincmds', ;; which can generate the below code when invoked with ;; ;; (chain-cmds (kbd "") ;; '(menu-bar--visual-line-mode-enable ;; menu-bar--toggle-truncate-long-lines ;; menu-bar--wrap-long-lines-window-edge)) (define-key global-map (kbd "") 'menu-bar--visual-line-mode-enable) (let ((key [f12])) (defvar menu-bar--visual-line-mode-enable--repeat-map (let ((map (make-sparse-keymap))) map)) (define-key menu-bar--visual-line-mode-enable--repeat-map key 'menu-bar--toggle-truncate-long-lines) (put 'menu-bar--visual-line-mode-enable 'repeat-map 'menu-bar--visual-line-mode-enable--repeat-map) (defvar menu-bar--toggle-truncate-long-lines--repeat-map (let ((map (make-sparse-keymap))) map)) (define-key menu-bar--toggle-truncate-long-lines--repeat-map key 'menu-bar--wrap-long-lines-window-edge) (put 'menu-bar--toggle-truncate-long-lines 'repeat-map 'menu-bar--toggle-truncate-long-lines--repeat-map) (defvar menu-bar--wrap-long-lines-window-edge--repeat-map (let ((map (make-sparse-keymap))) map)) (define-key menu-bar--wrap-long-lines-window-edge--repeat-map key 'menu-bar--visual-line-mode-enable) (put 'menu-bar--wrap-long-lines-window-edge 'repeat-map 'menu-bar--wrap-long-lines-window-edge--repeat-map)) -------------------------------- In GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-04-10 built on debian Repository revision: 0db2126d7176b0bd1b13d4b0d1cd958c8cf55714 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure -with-imagemagick --with-json --with-xwidgets' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 12 12:14:29 2021 Received: (at 47690-done) by debbugs.gnu.org; 12 Apr 2021 16:14:30 +0000 Received: from localhost ([127.0.0.1]:57813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVzCn-0003OK-Nm for submit@debbugs.gnu.org; Mon, 12 Apr 2021 12:14:29 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVzCm-0003Nn-1p for 47690-done@debbugs.gnu.org; Mon, 12 Apr 2021 12:14:28 -0400 X-Originating-IP: 91.129.96.157 Received: from mail.gandi.net (m91-129-96-157.cust.tele2.ee [91.129.96.157]) (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id ADE5AFF806; Mon, 12 Apr 2021 16:14:20 +0000 (UTC) From: Juri Linkov To: Ramesh Nedunchezian Subject: Re: bug#47690: 28.0.50; repeat-mode: Introduce a defmacro for chaining commands ??? Organization: LINKOV.NET References: Date: Mon, 12 Apr 2021 19:13:45 +0300 In-Reply-To: (Ramesh Nedunchezian's message of "Sat, 10 Apr 2021 17:58:58 +0530") Message-ID: <87blaj1qwy.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47690-done Cc: 47690-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.7 (-) > Think of this email not as a bug, but as a note ... So, feel free to > close it after digesting the contents. Thanks, your notes will be saved for posterity, although I see nothing actionable here, repeat-mode is not like a hydra package. From unknown Fri Jun 20 07:09:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 May 2021 11:24:08 +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