Skip to main content

Questions tagged [deletion]

1 vote
1 answer
122 views

I have already found the proper hook for when the character is inserted(post-self-insert-hook), but how to hook when a character is deleted? Also, how to get the character that was deleted, I am ...
Stigl's user avatar
  • 49
0 votes
1 answer
289 views

I've been trying to delete git-commit since it is now distributed as a part of Magit. I've checked this answer and the package menu guide, but I can't seem to find a way to force uninstall a package. ...
Ryan Fleck's user avatar
1 vote
1 answer
353 views

I would like to run delete-trailing-whitespace for files with extension .yaml only. Can someone please supply the elisp to do this?
Brian Russell's user avatar
0 votes
3 answers
204 views

I want to make some clean-up with auto-generated files. How can I delete all the files matching some regexp mask from within elisp? As an example of desired functionality... Something like the line ...
martinoidar's user avatar
2 votes
2 answers
212 views

I have a plain text data file, consisting of 28 million tab-delimited records, each containing nine fields. The left ends of the first three records look like this: I would like to truncate each of ...
Ray Woodcock's user avatar
0 votes
0 answers
44 views

Let's say I have this: (defn -main [& args] (my-func|tion 5) (my-function-2 "hello") (third-function-of-mine nil)) where | is my cursor. And I want to delete (my-function 5). So in ...
fegax's user avatar
  • 155
0 votes
2 answers
319 views

I want to test out a few alternative keybinding setups but I’m not sure what the simplest/most effective way to do that is. I would like to have it so that instead of C-d being forward delete ("...
Nika's user avatar
  • 121
0 votes
0 answers
33 views

Undoing the insertion of a character while the region is active (and delete-selection-mode is non-nil) requires two steps: the first to undo the insertion and the second to restore the deleted region. ...
Arch Stanton's user avatar
  • 1,856

15 30 50 per page