Skip to main content

Timeline for delete backwards until indentation

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Dec 19, 2022 at 21:02 comment added CD86 works like a charm, thank you a lot
Dec 19, 2022 at 18:23 comment added Drew I added an example for that.
Dec 19, 2022 at 18:22 history edited Drew CC BY-SA 4.0
added 719 characters in body
Dec 19, 2022 at 17:16 comment added CD86 what I want is: ----some text and point is here x some more text then if I hit C-<backspace> I want the following result ----x some more text
Dec 19, 2022 at 15:38 comment added Drew If you want the opposite of what you requested ("delete backwards until the indentation"), this removes the (whitespace) text from bol to the indentation: (delete-region (line-beginning-position) (point)). Is that really what you want, i.e., just to remove all of the indentation?
Dec 19, 2022 at 10:32 comment added CD86 Maybe I misspoke I want the stuff right of point to persist and not be deleted. How can I achieve this?
Dec 18, 2022 at 11:14 vote accept CD86
Dec 18, 2022 at 11:04 comment added CD86 had that in use too found it too wordy imho, thanks though
Dec 17, 2022 at 22:23 history edited Drew CC BY-SA 4.0
added 407 characters in body
Dec 17, 2022 at 22:16 history answered Drew CC BY-SA 4.0