• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cjennings / emacs-wttrin / 27904826908
94%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 12:49PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2026 12:48PM UTC coverage: 94.027% (-0.6%) from 94.6%
27904826908

push

github

cjennings
feat: add persistent location search history

Successful searches are now remembered and offered as completion candidates the next time you run wttrin, listed after the configured defaults. Only successful fetches are saved, so typos and not-found locations never enter the history. A location already in wttrin-default-locations isn't duplicated into it. The list is capped at wttrin-location-history-max (default 20), oldest entries falling off first.

Persistence uses savehist: the history variable is registered with savehist-additional-variables, so enabling savehist-mode carries it across restarts with no custom file I/O. Without savehist it lasts the session.

Two commands manage the list: wttrin-remove-location-history drops one entry, wttrin-clear-location-history clears all.

I don't pass the history variable as the completing-read history argument, because the minibuffer would then save every typed string, including failed lookups. It stays a curated candidate source, updated only on success. I trim with butlast rather than seq-take to keep the Emacs 24.4 baseline.

16 of 21 new or added lines in 1 file covered. (76.19%)

488 of 519 relevant lines covered (94.03%)

12.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
92.77
-0.66% wttrin.el
Jobs
ID Job ID Ran Files Coverage
1 27904826908.1 21 Jun 2026 12:49PM UTC 3
94.03
GitHub Action Run
Source Files on build 27904826908
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27904826908
  • 72cb7cfc on github
  • Prev Build on main (#27904422335)
  • Next Build on main (#27905438945)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc