* Emacs 17+gnus and comments
@ 2018-05-03 13:09 Uwe Brauer
2018-05-03 16:40 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2018-05-03 13:09 UTC (permalink / raw)
To: ding
Hi
I receive sometimes messages like this
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
> This is a test of the
> comment structure
>
> We have an empty line
>
> And another one.
Now, please note that the empty lines start with a > without a space!
When I try to run C-u comment-region
I obtain
This is a test of the
comment structure
>
We have an empty line
>
And another one.
This problem did not occur in earlier emacs+gnus version. Any thoughts?
Uwe Brauer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Emacs 17+gnus and comments
2018-05-03 13:09 Emacs 17+gnus and comments Uwe Brauer
@ 2018-05-03 16:40 ` Eric Abrahamsen
2018-05-04 20:18 ` Uwe Brauer
0 siblings, 1 reply; 5+ messages in thread
From: Eric Abrahamsen @ 2018-05-03 16:40 UTC (permalink / raw)
To: ding
Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
>
> I receive sometimes messages like this
>
>>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
>
>> This is a test of the
>> comment structure
>>
>> We have an empty line
>>
>> And another one.
>
> Now, please note that the empty lines start with a > without a space!
Right, and `message-yank-prefix' (which gets used as the value of
`comment-start') has a space, meaning those lines aren't recognized as
comments.
Maybe try setting `message-yank-empty-prefix' to "> "? For your own
citations, anyway, that ought to ensure the space is there. I don't know
about other people's citations, though...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Emacs 17+gnus and comments
2018-05-03 16:40 ` Eric Abrahamsen
@ 2018-05-04 20:18 ` Uwe Brauer
2018-05-04 21:45 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2018-05-04 20:18 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> Right, and `message-yank-prefix' (which gets used as the value of
> `comment-start') has a space, meaning those lines aren't recognized as
> comments.
> Maybe try setting `message-yank-empty-prefix' to "> "? For your own
> citations, anyway, that ought to ensure the space is there. I don't know
> about other people's citations, though...
Thanks but I found the problem. I am using a quite old package from Noah
Friedman called comment.el which uses a function comment-out-region. For
this function to work he has set a variable comment-mode-alist via
defvar, and it the latest emacs version this variable is not set. I will
ask him (I think he still active) and in emacs-devel.
Uwe
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Emacs 17+gnus and comments
2018-05-04 20:18 ` Uwe Brauer
@ 2018-05-04 21:45 ` Eric Abrahamsen
2018-05-05 9:43 ` Uwe Brauer
0 siblings, 1 reply; 5+ messages in thread
From: Eric Abrahamsen @ 2018-05-04 21:45 UTC (permalink / raw)
To: ding
Uwe Brauer <oub@mat.ucm.es> writes:
>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> Right, and `message-yank-prefix' (which gets used as the value of
>> `comment-start') has a space, meaning those lines aren't recognized as
>> comments.
>
>> Maybe try setting `message-yank-empty-prefix' to "> "? For your own
>> citations, anyway, that ought to ensure the space is there. I don't know
>> about other people's citations, though...
>
> Thanks but I found the problem. I am using a quite old package from Noah
> Friedman called comment.el which uses a function comment-out-region. For
> this function to work he has set a variable comment-mode-alist via
> defvar, and it the latest emacs version this variable is not set. I will
> ask him (I think he still active) and in emacs-devel.
Well, I saw the same behavior here and I don't have that library
installed, so it might be more than that...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Emacs 17+gnus and comments
2018-05-04 21:45 ` Eric Abrahamsen
@ 2018-05-05 9:43 ` Uwe Brauer
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2018-05-05 9:43 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> Well, I saw the same behavior here and I don't have that library
> installed, so it might be more than that...
Oh that is indeed strange.
The package I mentioned uses the comment syntax ">" instead of "> ". I
use the package basically only for uncommenting unwanted comments.
There also seems a change in autoload. I just asked in emacs devel,
because I loaded the package via autoload and in very recent emacsen the
variable is not correctly set anymore, while in emacs 26 it is. Strange,
I couldn't find anything in the news.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-05 9:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 13:09 Emacs 17+gnus and comments Uwe Brauer
2018-05-03 16:40 ` Eric Abrahamsen
2018-05-04 20:18 ` Uwe Brauer
2018-05-04 21:45 ` Eric Abrahamsen
2018-05-05 9:43 ` Uwe Brauer
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 NNTP newsgroup(s).