Today I had to copy the bank account number from a real (dead tree) letter into the Emacs buffer, and then send it by email. And I made a mistake by copying it from the letter to the Emacs buffer (forgot one digit). This led one co-author employee to tell me: "Failed to make payment, fictitious IBAN."
How difficult it would be to create a function / minor mode that:
detect "things" that look like IBAN (for example, two uppercase letters followed by the numbers "x" and "y", ignoring spaces, etc. There are ready-to-use regular expressions that check if something looks like IBAN or not)
run mod 97 and highlight IBAN in red if it looks invalid
Ideally, I need a secondary mode that I could enable for several types of buffers (stupid text files, but also email, etc.).
What will be the βapproachβ that you can use to use Emacs?
source share