From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cyril Arnould Newsgroups: gmane.emacs.bugs Subject: bug#55079: AW: bug#55079: 28.1; kp-decimal not working in vhdl-stutter-mode Date: Sat, 23 Apr 2022 12:57:36 +0000 Message-ID: References: <83zgkcninu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AS4PR10MB6110F1FCF09A83B49E5737BAE3F69AS4PR10MB6110EURP_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35185"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "55079@debbugs.gnu.org" <55079@debbugs.gnu.org> To: Eli Zaretskii , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 23 15:17:37 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niFdm-0008qK-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 15:17:35 +0200 Original-Received: from localhost ([::1]:44046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niFdl-0004V4-HD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 09:17:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niFKs-0005qW-Ma for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 08:58:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niFKs-0006CH-Cr for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 08:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1niFKs-0001Wk-Ce for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cyril Arnould Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2022 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55079 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55079-submit@debbugs.gnu.org id=B55079.16507186655842 (code B ref 55079); Sat, 23 Apr 2022 12:58:02 +0000 Original-Received: (at 55079) by debbugs.gnu.org; 23 Apr 2022 12:57:45 +0000 Original-Received: from localhost ([127.0.0.1]:55432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niFKa-0001W9-UB for submit@debbugs.gnu.org; Sat, 23 Apr 2022 08:57:45 -0400 Original-Received: from mail-db8eur05olkn2015.outbound.protection.outlook.com ([40.92.89.15]:47457 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niFKY-0001Vx-SY for 55079@debbugs.gnu.org; Sat, 23 Apr 2022 08:57:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBmzbiIK4uyxABKA5TAGIgQUgf/JSrPi9cnqijz8b8LoNYX25VyxeJLxgXftfSwkX/Mk0cg5jDP5HbSEy1DdkqWhdNzXZGs/s3BqOWZHOggmcfQw453h8CJrRd9Y6oP/pYqY6mIYGwAD0wmnvRsn/pWoT5oa9sWbJupv3vfc82TGb/AlijtgL+5r5ujiML6S2UWTWEpUTYxqTv70ixl/qZc5r+LpYSDs8KqQobFhFxQR1+nwA50rf6QvsCbnEOOi2iCrvkB77JCA/N7bWZ5Ome/4YbQoi9dgK69R+S3Odu5SwhKNH52ktmlxp/AXjppqDzW42FS3MV8Ct5TDx3qvjA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7PddwnbF2XYJsAc87PIj8lx0gdEdVG+TTp2HsNKQZC8=; b=PN7sBArvbsbMl1N+T1x3Ql9n2XFrpvmGWAxJtVfuSc/opQJ1Xt+Q9T4Lz2OxdXQ/n/3+D+MigAXk/NPL/U3Nu4AtX/nAHHRvQLyzFStHHl8p66Z1ALEfLC07MA2zE4KjIzvYkgD9FZt4ushRF2QtZIA5MYm56CQKhldC2kdx6qOf/e4wi3xytxHx3FVs3Na3gDtUpAzF0BdW2+CoDceRHk7Of09i4HKG3P0nvgymYX7mKi47Et/h/QRIDjWU22hGbO9Ct2zWR0NjPNZTVI2HgUbj8B9Efq0T15l28WvFih8Zpz4Kcv+bWVeIBZ3GWg4QjL3UG6Wu7vjMwAFX+2H35w== 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=7PddwnbF2XYJsAc87PIj8lx0gdEdVG+TTp2HsNKQZC8=; b=JBNR1MD1cibr/H8NgfCcqZlXW46Xh1pWrSUn4xZQLMzvC+BD2OrLBDipJ3JAL0dGCRsu5DtgzUk4HrlYOlI47eZQsEg9G0+cKkbFtP8PufWLr2bRZV7O6W6RCx/UExA8OEoJowHwCKKSQbMYgv7PyYwr66cd9B12GE6kE49fK1gb/AweW0nfUx5d3WZgKnEfZ/bPDEQpwk8JbXx5xFILjtGy8Pk4N/NBstDOkyPw8F7QEL5/tct4RtJRur5OoLNGIx+SBUaon5NcpDQuhivpsx0HwqSOCLPEjt8dgk6zQ0f20ynZR3wLPuvyIa8gm69qUKC/sUFUlJ8GQh1T5Qoa6g== Original-Received: from AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:582::17) by DB8PR10MB3783.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:16e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Sat, 23 Apr 2022 12:57:36 +0000 Original-Received: from AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM ([fe80::3c6a:caf6:e513:4dff]) by AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM ([fe80::3c6a:caf6:e513:4dff%7]) with mapi id 15.20.5186.013; Sat, 23 Apr 2022 12:57:36 +0000 Thread-Topic: bug#55079: 28.1; kp-decimal not working in vhdl-stutter-mode Thread-Index: AQHYVvbsLB1TkIhBL0WkqJkGolNT9az9XH+TgAAXqf4= In-Reply-To: <83zgkcninu.fsf@gnu.org> Accept-Language: de-CH, en-US Content-Language: de-CH x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [e25csz6ZWpqT91+tHXzq18/YijNEcGjCEsVlgZMSbgjIrL4eCQgsNK9Wnlf3+9cQbchS9wolkRs=] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ae649181-3c73-4d86-ef95-08da2528d6e4 x-ms-traffictypediagnostic: DB8PR10MB3783:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Did5UKEdT7ApPOGHICZTPSGy5G8nvKsvYledT/X8oVonbONDXRLyN6KvszkH2vM7qEmx3336yKllKd0hXEUNhpQDEfh9kcBbKMJm6TbKl6baOPT63odw9lDuOUas+k5E4gddkxla5PYbuQ+M0T+8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01TutUL0Vl75HrgnmIZQMBLsDmPtF40KS6GAplXRrzyGgnBaPatC6MHWdV76SzA+g8GRln2MzOawXbTbGJacMj4kUzp4lp17FEnkAaASKk8diwI96ji4qHC1gZcPMH2NV24B6WIP6f0wPMpMjJKOdOfOnLEwU3KxlymvuAvLwUEXN9oysDrYLr7s0PDVMqx nvyzeqf2Htd7qDNxRKLOKleXcVa4wGPsnoKczfw2aM3zULJxVGjjPdkYWBKx1rK+RWlM7TS3E55EtWgJCF+WYnI1aqLX+aHrfQ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ae649181-3c73-4d86-ef95-08da2528d6e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2022 12:57:36.0281 (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: DB8PR10MB3783 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230477 Archived-At: --_000_AS4PR10MB6110F1FCF09A83B49E5737BAE3F69AS4PR10MB6110EURP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I don=92t regularly use git, for some reason I can=92t apply the patch? $ git apply Eli2.patch error: patch failed: lisp/progmodes/vhdl-mode.el:8785 error: lisp/progmodes/vhdl-mode.el: patch does not apply $ git apply --reject --whitespace=3Dfix Eli2.patch Checking patch lisp/progmodes/vhdl-mode.el... error: while searching for: (defun vhdl-electric-period (count) "`..' --> ` =3D> '" (interactive "p") (if (and vhdl-stutter-mode (=3D count 1) (not (vhdl-in-literal))) (cond ((=3D (preceding-char) vhdl-last-input-event) (progn (delete-char -1) (unless (eq (preceding-char) ? ) (insert " ")) (insert "=3D> "))) error: patch failed: lisp/progmodes/vhdl-mode.el:8785 Applying patch lisp/progmodes/vhdl-mode.el with 1 reject... Rejected hunk #1. I=92ve tried both the emacs-28.1 branch as well as the master branch, am I = missing something? Anyway, when I edited the code manually it seems to work fine :) --_000_AS4PR10MB6110F1FCF09A83B49E5737BAE3F69AS4PR10MB6110EURP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

I don=92t regularly use git, for some reason I can= =92t apply the patch?

 

$ git apply Eli2.patch

error: patch failed: lisp/progmodes/vhdl-mode.el:878= 5

error: lisp/progmodes/vhdl-mode.el: patch does not a= pply

 

$ git apply --reject --whitespace=3Dfix Eli2.patch

Checking patch lisp/progmodes/vhdl-mode.el...

error: while searching for:

(defun vhdl-electric-period (count) "`..' -->= ; ` =3D> '"

  (interactive "p")

  (if (and vhdl-stutter-mode (=3D count 1) (not= (vhdl-in-literal)))

      (cond ((=3D (precedin= g-char) vhdl-last-input-event)

        &nbs= p;    (progn (delete-char -1)

        &nbs= p;           (unless (eq = (preceding-char) ? ) (insert " "))

        &nbs= p;           (insert &quo= t;=3D> ")))

 

error: patch failed: lisp/progmodes/vhdl-mode.el:878= 5

Applying patch lisp/progmodes/vhdl-mode.el with 1 re= ject...

Rejected hunk #1.

 

I=92ve tried both the emacs-28.1 branch as well as t= he master branch, am I missing something?

 

Anyway, when I edited the code manually it seems to = work fine :)

--_000_AS4PR10MB6110F1FCF09A83B49E5737BAE3F69AS4PR10MB6110EURP_--