emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug #25608 and the comment-cache branch


From: Andreas Röhler
Subject: Re: Bug #25608 and the comment-cache branch
Date: Sat, 4 Feb 2017 10:06:51 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0



On 03.02.2017 17:19, Alan Mackenzie wrote:
Hello, Stefan.

On Thu, Feb 02, 2017 at 18:57:52 -0500, Stefan Monnier wrote:
....), the last line spuriously indents c-basic-offset columns
rightwards.  The cause of this is the open paren at column zero inside
the comment.
I think it's important to remember that this problem dates back to
Emacs-17 or so, so it's not super urgent to install a quick fix.
There's no need to be so disparaging.  comment-cache is NOT in any sense
a "quick fix".  It's precisely the opposite.  It's a rigorous rewrite of
back_comment which eliminates "quick fixes", for example
open-paren-in-column-0-is-defun-start.  I think you know this.

And given how long this problem's been around for, it's high time it was
finally fixed.  It's an embarrassment, and it causes pain, repeatedly
and predictably.

Instead, why don't you criticise comment-cache in a constructive
fashion?  Such as by pointing out potential problems it might cause.

         Stefan

Hi Alan,

IIUC open-paren-in-column-0-is-defun-start is is the underlying issue.
It was told there was an essay to solve this.
May someone point me at it?

Cheers,
Andreas




reply via email to

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