unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Arnould <cyril.arnould@outlook.com>
To: "Reto Zimmermann" <reto@gnu.org>, "Eli Zaretskii" <eliz@gnu.org>,
	"Michael Albinus" <michael.albinus@gmx.de>,
	"Mattias Engdegård" <mattias.engdegard@gmail.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: AW: AW: emacs-29 a2d4cd06f45: Improve VHDL mode highlighting
Date: Tue, 9 May 2023 15:48:35 +0000	[thread overview]
Message-ID: <AS4PR10MB61103F21CB2E835E1181F66DE3769@AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <8c364116-0eb7-daef-536e-ae992071464d@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]

> So I would suggest to release your changes under 3.38.5.

Will do.

> I'm not sure why backwards compatibility code is needed here.

I hadn't considered that. If we define Error to be 2 in the type,
the compatibility code *is* needed not to break the customization
menu with previously saved customizations. If we define it as nil
though, saved customizations appear normal in the menu. So I will
update the patch with Error to be nil exclusively and forego the
backwards compatibility code. Thanks!


Von: Reto Zimmermann<mailto:reto@gnu.org>
Gesendet: Dienstag, 9. Mai 2023 16:38
An: Cyril Arnould<mailto:cyril.arnould@outlook.com>; Eli Zaretskii<mailto:eliz@gnu.org>; Michael Albinus<mailto:michael.albinus@gmx.de>; Mattias Engdegård<mailto:mattias.engdegard@gmail.com>
Cc: emacs-devel@gnu.org<mailto:emacs-devel@gnu.org>
Betreff: Re: AW: emacs-29 a2d4cd06f45: Improve VHDL mode highlighting

On 2023-05-09 13:51, Cyril Arnould wrote:

> Cyril, are you done discussing this, or do I need to wait some more?

I was actually hoping to get Reto's and/or your input on two
points, the first one being:

> Since this introduces changes in the vhdl-compiler type, I guess
> it would be appropriate to increment the vhdl-version number?

I've seen that on Reto's website, the latest vhdl-version number
is 3.38.4, while in the emacs repository it's at 3.38.1. I'm not
sure if this is intentional or if it simply hasn't been tracked
in emacs. If development is not intended to diverge, we could
skip ahead to 3.38.5 or 3.39.1.

Development has already diverged.  I have in the meantime fixed numerous indentation bugs and added support for VHDL'18, among other changes.  I know this is not ideal, but I was not able to approve of all the changes that have been made on Emacs side some time ago, without sufficient testing.  I'm in the process of integrating most of these changes in my code though.  I will also release 3.39.1 myself soon.

So I would suggest to release your changes under 3.38.5.


The second point is that we now have two solutions for backwards
compatibility code. There's my original solution which is a
slight modification of already established backwards
compatibility code. Alternatively, there's the solution
elaborated with Mattias which should be safer but is less
tested. If using a more "experimental" solution is no problem
then we can go ahead with the new approach.

I'm not sure why backwards compatibility code is needed here.  The only change here is that an additional element (cons) is added to a sub-list, which however can be nil when no warning/info syntax is present.  On my side it works without compatibility code.

Reto


[-- Attachment #2: Type: text/html, Size: 6220 bytes --]

  reply	other threads:[~2023-05-09 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <168326553347.14898.7329669431232347477@vcs2.savannah.gnu.org>
     [not found] ` <20230505054533.D680AC1BECD@vcs2.savannah.gnu.org>
2023-05-09  7:53   ` emacs-29 a2d4cd06f45: Improve VHDL mode highlighting Michael Albinus
2023-05-09  8:16     ` Eli Zaretskii
2023-05-09 11:51       ` AW: " Cyril Arnould
2023-05-09 14:37         ` Reto Zimmermann
2023-05-09 15:48           ` Cyril Arnould [this message]
2023-05-10  7:26             ` Cyril Arnould
2023-05-13 13:52               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS4PR10MB61103F21CB2E835E1181F66DE3769@AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM \
    --to=cyril.arnould@outlook.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mattias.engdegard@gmail.com \
    --cc=michael.albinus@gmx.de \
    --cc=reto@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).