Eduardo Mercovich
unread,Apr 12, 2017, 9:25:09 AM4/12/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mu-discuss
Dear all.
The message-elide-region function (C-c C-e) is one of the
fundamentals of good email netiquette along with fill region.
However, I have a doubt about it's supposed behaviour.
If I select a region and elide it, I assumed that mu4e would
replace the region with "[...]".
But what I see is that a line break is added, with I usually have
to delete by hand.
As an example, given this original text (taken from the great
Martin Luther King Jr. speech "I Have a Dream"):
--8<---------------cut here---------------start------------->8---
> But one hundred years later, the Negro still is not free. One
> hundred years later, the life of the Negro is still sadly
> crippled by the manacles of segregation and the chains of
> discrimination. One hundred years later, the Negro lives on a
> lonely island of poverty in the midst of a vast ocean of
> material prosperity. One hundred years later, the Negro is still
> languished in the corners of American society and finds himself
> an exile in his own land. And so we've come here today to
> dramatize a shameful condition.
--8<---------------cut here---------------end--------------->8---
I select an intermediate region (expressly marked here between
brackets "[]"):
--8<---------------cut here---------------start------------->8---
> But one hundred years later, the Negro still is not free. [One
> hundred years later, the life of the Negro is still sadly
> crippled by the manacles of segregation and the chains of
> discrimination. One hundred years later, the Negro lives on a
> lonely island of poverty in the midst of a vast ocean of
> material prosperity. One hundred years later, the Negro is still
> languished in the corners of American society and finds himself
> an exile in his own land.] And so we've come here today to
> dramatize a shameful condition.
--8<---------------cut here---------------end--------------->8---
And upon pressing message-elide-region I expect as a result:
--8<---------------cut here---------------start------------->8---
> But one hundred years later, the Negro still is not free. [...]
> And so we've come here today to dramatize a shameful condition.
--8<---------------cut here---------------end--------------->8---
Instead, I have:
--8<---------------cut here---------------start------------->8---
> But one hundred years later, the Negro still is not free.
[...]
And so we've come here today to dramatize a shameful condition.
--8<---------------cut here---------------end--------------->8---
At most, and as a electric/dazzling detail, it could add or
substract spaces depending on the exact boundaries to be sure that
there is 1 space on either side.
Is this behaviour the expected one?
Thanks a lot...
--
Eduardo Mercovich
Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación.
(Anónimo)