<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-contacts-config-find.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-07-12T02:35:04+00:00</updated>
<entry>
<title>fix(org-contacts-config): jump to contact heading, not a body match</title>
<updated>2026-07-12T02:35:04+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-07-12T02:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=545c036ede2e1299f5c31bdb4b80f8eb92b435b4'/>
<id>urn:sha1:545c036ede2e1299f5c31bdb4b80f8eb92b435b4</id>
<content type='text'>
cj/org-contacts-find visited the contacts file before prompting, so a C-g at the prompt stranded point at the top of it. It then jumped with search-forward, which could land inside another entry's body that mentioned the name. I collect the headings with find-file-noselect first (extracted as cj/--org-contacts-collect), prompt, then jump to the selected heading's stored position. The prompt now requires a match, since a typed non-match has no position to jump to.
</content>
</entry>
</feed>
