Skip to content
Snippets Groups Projects
  1. Nov 07, 2024
    • Karl Fogel's avatar
      WIP: Start work on '--replacements' (issue #8) · fae37324
      Karl Fogel authored
      The test data needed for this, along with some yak-shaving notes, are
      on the 'kff-debugging-sent-recv-count-weirdness-2024-04-02' branch.
      That branch should probably be resolved and merged before this
      functionality is finished.  See also private:r12349.
      fae37324
  2. Mar 23, 2024
  3. Mar 06, 2024
  4. Feb 19, 2024
    • Karl Fogel's avatar
      Ensure non-zero floor for sent-to days · 8478fcdf
      Karl Fogel authored
      The diff looks big but is's mostly an indentation change.  The
      semantic change is just wrapping a `max' call around the calculation
      of the number of days since this recipient was sent to.  That way if
      the number of days is zero it gets bumped up to a tiny number, and we
      thus avoid a latent divide-by-zero error (that bug is currently masked
      by a sqrt call, but we shouldn't rely on that accidental protection of
      course).
      8478fcdf
  5. Nov 21, 2023
  6. Nov 14, 2023
  7. Aug 02, 2023
    • Karl Fogel's avatar
      Add comment about distinguishing sent/recv dates · d0a6a416
      Karl Fogel authored
      We should distinguish between sent-to dates and received-from dates,
      for better scoring.  This commit just adds a comment that saves my
      progress so far in figuring out where and how to do that.
      
      Also, remove material from the README (added in commit ad8ed228)
      about needing a better ranking algorithm.  Since commit 2d9f2133
      we have that; date-distinguishment will just improve it.
      d0a6a416
  8. Aug 01, 2023
  9. Jul 19, 2023
  10. Mar 06, 2023
  11. Jan 14, 2023
  12. Sep 13, 2022
    • Karl Fogel's avatar
      Use new `mailaprop-minimum-initial-input-length' · b6beb72d
      Karl Fogel authored
      Response time was too slow when we offered completion starting with
      any input whatsoever.  Requiring a minimum amount of initial input
      before company-mode starts offering candidates speeds things up.
      b6beb72d
  13. Jul 22, 2022
  14. Mar 17, 2022
  15. Dec 14, 2021
  16. Dec 10, 2021
    • Karl Fogel's avatar
      Fix issue #2: don't drop middle name · ff5e3fcb
      Karl Fogel authored
      Fix reversed_unquoted_name_re so that when parsing a full address like
      "Lastname, Firstname Middlename <flastname@example.com>" we don't drop
      "Middlename".
      ff5e3fcb
  17. Aug 11, 2021
    • Karl Fogel's avatar
      Add test data for a WIP bugfix · f25dd6e8
      Karl Fogel authored
      While this new test data is ready, the bug that it reproduces is not
      yet fixed.  Therefore the test data has a ".wip" suffix, so it won't
      be included in the default './check' run.  We'll remove that suffix
      when we fix the bug.  To reproduce the bug, do
      
        $ ./mailaprop.py --suppress-header              \
          < test-data/bonkers-backslashes-etc.mbox.wip  \
          > foo.out
      
      followed by `(mailaprop-reload-addresses "foo.out")' in Emacs, and you
      should see an error that looks something like this:
      
        +: Wrong type argument: number-or-marker-p, " \
        <someone@michaellacroix.com> <levinson@domaintwo.edu>"
      f25dd6e8
    • Karl Fogel's avatar
      Fix regression caused by commit efb2a48b · 449c200e
      Karl Fogel authored
      449c200e
  18. Aug 10, 2021
  19. Aug 09, 2021
  20. Jan 23, 2021
    • Karl Fogel's avatar
      Search case-insensitively in `mailaprop-matches' · f3e176ea
      Karl Fogel authored
      This was always my intent; I'd just typo'd the `case-fold-search' binding.
      f3e176ea
    • Karl Fogel's avatar
      Update estimate of ETL run time in README.md · d5b97e28
      Karl Fogel authored
      Also make a minor clarification later about interactive speed.
      d5b97e28
    • Karl Fogel's avatar
      Rename test script to 'check' · 254daf54
      Karl Fogel authored
      This is easier for me to remember and avoids a completion collision.
      254daf54
    • Karl Fogel's avatar
      Improve a bunch of comments · 2c700861
      Karl Fogel authored
      2c700861
    • Karl Fogel's avatar
      Fix the rest of issue #1 and some other stuff · cb2a1416
      Karl Fogel authored
      We now handle the following exceptions when parsing headers:
      
        * "UnicodeEncodeError: 'utf-8' codec can't encode character '\udcf8'
          in position 64: surrogates not allowed (also from absorb_headers()"
      
        * "email.errors.HeaderParseError: expected ':' at end of group
          display name but found '@GMAIL.COM"
      
          (which would then lead to "TypeError: 'ValueTerminal' object does
          not support item assignment")
      
        * "ValueError: hour must be in 0..23" (from bogus Date headers)
      
      Also:
      
        * Solve a newly-discovered quoting problem in the output
      
        * Ingest 'reply-to' as an address-containing header.
      cb2a1416
  21. Dec 23, 2020
  22. Dec 22, 2020
Loading