GNU bug report logs -
#35021
M-^ (delete-indentation) doesn't work without a mark present
Previous Next
Reported by: Jon Irving <j <at> lollyshouse.ca>
Date: Wed, 27 Mar 2019 14:20:02 UTC
Severity: normal
Merged with 35036
Found in version 27.0.50
Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 31 Mar 2019 17:42:43 +0100
with message-id <87mulb8070.fsf <at> tcd.ie>
and subject line Re: bug#35021: M-^ (delete-indentation) doesn't work without a mark present
has caused the debbugs.gnu.org bug report #35021,
regarding 27.0.50; delete-indentation removes all blank lines
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
35021: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35021
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
After 8fa94a1ecc18a41ca2738f438b3fbc817c9fdc82, delete-indentation
removes all blank lines so that a buffer:
one
two|
with | as point, M-x delete-indentation results in:
one two
whereas before it would result in:
one
two
This seems contrary to the documentation, which states, "Join this line
to previous and fix up whitespace at join." and also the NEWS entry,
"When there's no active region, the command works on the current and the
previous or the next line, as before."
I'm happy to submit a patch fixing this, but should it change the
documentation to match the new behavior, or fix the code so that the
behavior is unchanged?
Also, is the patch in Bug#35021 going to get applied soonish? If so I'll
hold off in order not to create conflicts...
Thanks,
Alex
[Message part 3 (message/rfc822, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
>> Cc: Alex Branham <alex.branham <at> gmail.com>, <j <at> lollyshouse.ca>, <35021 <at> debbugs.gnu.org>, <stephen_leake <at> stephe-leake.org>, <stlman <at> poczta.fm>
>> Date: Sun, 31 Mar 2019 03:41:47 +0100
>>
>> > Looks OK to me, please push.
>>
>> Thanks, but my last patch only fixed the bug with the interactive spec,
>> and I have since discovered and fixed a few more edge-cases (including
>> that reported by Alex in bug#35036).
>>
>> I attach the updated patch. Can I push this one instead?
>
> Yes, this LGTM as well.
Thanks, I pushed to master and am thus closing this report.
--
Basil
This bug report was last modified 6 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.