[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug #25608 and the comment-cache branch
From: |
Alan Mackenzie |
Subject: |
Re: Bug #25608 and the comment-cache branch |
Date: |
Tue, 7 Feb 2017 21:24:17 +0000 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Hello, Stefan.
On Mon, Feb 06, 2017 at 17:33:29 -0500, Stefan Monnier wrote:
> >> char foo[] = "for (x = 0; x < n; x++) /* Loop header */\n";
> >> ^ ^
> >> where the user narrows to the string, then goes to EOL and does
> >> M-: (forward-comment -1)
> > Even if the user narrows to the string, it's still a string. It's not a
> > comment, and can't be one.
> As the user who did the above operation I beg to differ: I narrowed
> specifically because I wanted to treat this as the chunk of C code
> it is.
It would likely have been less work to have temporarily deleted the
first string quote.
> It would be arrogant for Emacs to claim it knows better than the user.
More arrogant than a user expecting C syntax to be superseeded?
As a matter of interest, what was the real use case for this, how often
do you do it, and how big would the loss be if you couldn't do it any
more?
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- Re: Bug #25608 and the comment-cache branch, (continued)
- Re: Bug #25608 and the comment-cache branch, Dmitry Gutov, 2017/02/02
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/03
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/05
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/06
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/06
- Re: Bug #25608 and the comment-cache branch,
Alan Mackenzie <=
- Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/08
- Re: Bug #25608 and the comment-cache branch, Eli Zaretskii, 2017/02/07
- Re: Bug #25608 and the comment-cache branch, Alan Mackenzie, 2017/02/07
- Re: Bug #25608 and the comment-cache branch, Eli Zaretskii, 2017/02/08
Re: Bug #25608 and the comment-cache branch, Stefan Monnier, 2017/02/02
Re: Bug #25608 and the comment-cache branch, Yuri Khan, 2017/02/03