emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with co


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls
Date: Sat, 2 Dec 2017 20:14:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Thunderbird/57.0

On 12/2/17 11:10 AM, Eli Zaretskii wrote:

IMO, C modes and Lisp modes must be supported well, before this lands
on master.

Why?

Because Emacs is written in these 2 languages.  Sorry, I thought that
was clear.

Still. Why would you need it? What benefits haven't you been able to achieve without that support, while working on Emacs?

Web languages are a lot more common in mixed mode buffers (think
HTML files and templates), so it's a lot more important to have that
support in them (and we already do).

I expected those languages to be supported already, which is why I
didn't mention them.

But they are the most important ones/ones most desired by the users.

It's too late for landing such features on emacs-26.  Sorry, it will
have to wait until Emacs 27.

I understand it's a problem, and I'm sorry for bringing it up this late.

Emacs 26 is nearing its release; the stream of serious bugs (or any
bugs, actually) seems to have died out.

Allow me to put it like this: AFAIU, prog-indenation-context, which is in emacs-26, is *not* properly supported in most of the modes where we'd expect it to be. E.g. css-mode, js-mode and all modes using SMIE for indentation (such as ruby-mode).

The original author only contributed support for python-mode, and it stayed this way since. Now, adding that support wouldn't be complex, but my proposed change isn't complex either. And we have more of a consensus on it.

Adding a significant new
feature, which will no doubt need changes in other places, is
incompatible with that.

Have you taken a look at the branch? It's your call, but based on the number of changes, I wouldn't call it "significant". Important, yes, but it's fairly small.

The other option is simply removing prog-indentation-context before the release.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]