From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#65464: Emacs 29.1 - VHDL mode missing =?UTF-8?Q?updates=E2=80=A6?= Date: Sat, 2 Sep 2023 11:20:49 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Reto Zimmermann , Eli Zaretskii , justafrogg@gmail.com, Stefan Kangas , Stefan Monnier To: 65464@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 11:22:03 2023 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 1qcMpO-0000n1-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 11:22:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcMpF-0003MF-US; Sat, 02 Sep 2023 05:21:53 -0400 Original-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 1qcMpE-0003M6-L0 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 05:21:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcMpE-00037h-Ck for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 05:21:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcMpN-0006cf-Sw for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 05:22:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 09:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65464 X-GNU-PR-Package: emacs Original-Received: via spool by 65464-submit@debbugs.gnu.org id=B65464.169364647025374 (code B ref 65464); Sat, 02 Sep 2023 09:22:01 +0000 Original-Received: (at 65464) by debbugs.gnu.org; 2 Sep 2023 09:21:10 +0000 Original-Received: from localhost ([127.0.0.1]:35177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcMoY-0006bC-7C for submit@debbugs.gnu.org; Sat, 02 Sep 2023 05:21:10 -0400 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:55531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcMoW-0006ax-2E for 65464@debbugs.gnu.org; Sat, 02 Sep 2023 05:21:08 -0400 Original-Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b9338e4695so44788541fa.2 for <65464@debbugs.gnu.org>; Sat, 02 Sep 2023 02:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693646452; x=1694251252; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=578ZI1r1QSaTbALE/a0P5k4jtUf0wpFCvv0fdtAvNc0=; b=sHNSefknrjurY5/JySFsJvrzxSsv43MzrZNgYdfu8UUS/Y6hzQ+otXD/QG2tWIxv+d pN+c1z2xEFltSZglcXDiX92MfFZgYTRsQqnE8vjjIsd3tOmORnCVFX5tuNLWSn9Mtgrv P1P2Qj2lPo6EcMs7bx1IxfF7m7cypEYkwDu83osUZjUlWS8r6KIx6Fxc2bVdyBiKHlon uoDHqjA4UdDAwjXIc24wr2JY7hZFqeBDhPz23EmX7Te8cMIgPfzznF8mJmMHLVOx6W/5 /BQwSlBKOGL0WvcYZaMpUTkwvLundj2FtKgzp3cKC6n0f4p2MuqiICeiVS5tYiE9C0N8 X6cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693646452; x=1694251252; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=578ZI1r1QSaTbALE/a0P5k4jtUf0wpFCvv0fdtAvNc0=; b=MWug/64JckU/nXcuU6PaDLOt5x4tJRx8Rb+QedhA4pLFQKMCGNqItUsqaYznIJtBFn LmS5/vtIuG2CbT3CNmiJyZyL/iyN5s/807dltPsDnSVS9e+cvAnRJh398cHUlGCVxB/D McFWBzQjrV7RFwXzcqdTWaHLbjB0gVN8QesEAOgY6WeKq1aQVUo0uhhTABT9oJxrTFXC tniEpWcC+cLmJJmF7KsekwauiDRZPoOdPg8RlobdP3NHKiLg9zq7HCILXEdwi/0d+sne P5Y96C4QOPaNEJELLYWypNMfk32HRXFH6vfCxHD/fx3J/bnhoAwSCxJdruU81Os5/pwv QKnw== X-Gm-Message-State: AOJu0YwMBvNwGN7bzaDeKNTpM8t3o0pchuFMSwqSw6Qeu7kh+Rv5cQ51 zPiTmS1KBAodyh+kP6HKitC1Scv0oJU= X-Google-Smtp-Source: AGHT+IGJw1cLtmMXR3aLMmyzPRFiTsu3R8OvbHB7PJSrJfJGMfAtBDMgjxxz3dSp/j+NlBa8/zYBag== X-Received: by 2002:a2e:88d3:0:b0:2bc:db99:1775 with SMTP id a19-20020a2e88d3000000b002bcdb991775mr3189686ljk.26.1693646452089; Sat, 02 Sep 2023 02:20:52 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id j26-20020a2e801a000000b002b94327308asm1113554ljg.133.2023.09.02.02.20.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Sep 2023 02:20:51 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.15) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268974 Archived-At: Reto, while you're at it you may also want to take a look at = vhdl-last-word: (defun vhdl-last-word (point) "If keyword at POINT is at eoi, then return (current-column) at that = point. Otherwise, return nil." (save-excursion (and (goto-char point) (save-excursion (or (eq (progn (forward-sexp) (point)) (vhdl-point 'eoi)) (looking-at "\\s-*\\(--\\)?"))) (current-column)))) Since the calls to goto-char and looking-at never return nil, this = function will always return the column of its argument. (The regexp = matches the empty string so looking-at will succeed anywhere.) And because vhdl-last-word is only used for its boolean value and never = returns nil, calls to this function could effectively be replaced by t, = but that was probably not the intention.