| Age | Commit message (Collapse) | Author | 
|---|
|  | Include the 'anyhow' crate to add additional context to errors. | 
|  |  | 
|  | Replace the temporary error string with one that provides a hair more
context. | 
|  |  | 
|  | These print outputs were for help developing and debugging. They're no
longer necessary since the program is basically working. | 
|  | Move the `main()` function contents to a new `run()` function that
returns a `Result`. This way we can easily print the error in `main()`. | 
|  |  | 
|  | Set attribution config strings for French and English. If the input
email's body language is in French, set my French attribution string.
Otherwise use English.
Write the attribution string to a config file at
`~/.local/share/ottolangy/attribution.muttrc`. We can then source this
config file to set the attribution. | 
|  |  | 
|  | Isolate this block. | 
|  | The old code was from when I was testing with a multipart email and
hadn't figured out how to extract the body from it. | 
|  | Now that we've worked out how to do this, I can remove my old essays. | 
|  | Figured out why I was getting an empty string before: I was inputting a
multipart email. I need to actually look through each part to get the
message body. Look for the body of the "text/plain" part. | 
|  |  | 
|  |  | 
|  | Generated with:
    $ cargo init --bin | 
|  |  |