<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/test/lisp/ffap-tests.el, branch devmain</title>
<subtitle>emacs
</subtitle>
<id>http://cgit.adnoto.dev/chemacs.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chemacs.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/'/>
<updated>2026-06-04T10:26:15Z</updated>
<entry>
<title>Use `confirm-nonexistent-file-or-buffer' in ffap</title>
<updated>2026-06-04T10:26:15Z</updated>
<author>
<name>Charles A. Roelli</name>
<email>charles@aurox.ch</email>
</author>
<published>2026-05-28T13:28:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=a2e7b68764381e0880d55f71ef1d39cff73f950c'/>
<id>urn:sha1:a2e7b68764381e0880d55f71ef1d39cff73f950c</id>
<content type='text'>
* test/lisp/ffap-tests.el
(ffap-respects-confirm-nonexistent-file-or-buffer): New test.
* lisp/ffap.el (ffap-read-file-or-url): Respect
`confirm-nonexistent-file-or-buffer'.
</content>
</entry>
<entry>
<title>; Add 2026 to copyright years.</title>
<updated>2026-01-01T12:54:34Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2026-01-01T12:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c31f6adc31d48076c63ad82b83b2970e1b0d7b9b'/>
<id>urn:sha1:c31f6adc31d48076c63ad82b83b2970e1b0d7b9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add option 'ffap-prefer-remote-file' (bug#78925)</title>
<updated>2025-07-12T08:48:52Z</updated>
<author>
<name>Liu Hui</name>
<email>liuhui1610@gmail.com</email>
</author>
<published>2025-07-08T10:01:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=e0270c563a7fa04601860552962087a7d7d044b7'/>
<id>urn:sha1:e0270c563a7fa04601860552962087a7d7d044b7</id>
<content type='text'>
This option only affects absolute filenames that are found by
ffap-file-at-point in buffers with remote default directory.

The handling of relative filenames in above buffers remains
unchanged: ffap-file-at-point returns the relative filename,
which can be converted to a remote absolute filename by
subsequent callers (e.g. ffap) using expand-file-name.

* lisp/ffap.el (ffap-prefer-remote-file): New user option.
(ffap-file-exists-string): Add an optional argument to allow the
check of existence of absolute filename on the remote host.
(ffap-file-at-point): Always find remote files in remote context
if the new option is non-nil.
* test/lisp/ffap-tests.el (ffap-test-remote): Add a test.
* etc/NEWS: Announce the change.
</content>
</entry>
<entry>
<title>Revert "Add option 'ffap-prefer-remote-file' (bug#78925)"</title>
<updated>2025-07-12T08:48:03Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2025-07-12T08:48:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c6ce81c15d6e26d36b9cb8aa366d7aaf2e4eb805'/>
<id>urn:sha1:c6ce81c15d6e26d36b9cb8aa366d7aaf2e4eb805</id>
<content type='text'>
This reverts commit ae46edff68e8d5729207ed849df83ecb039e11bb.
I mistakenly installed the wrong version of the patch for
bug#78925.
</content>
</entry>
<entry>
<title>Add option 'ffap-prefer-remote-file' (bug#78925)</title>
<updated>2025-07-12T08:38:27Z</updated>
<author>
<name>Liu Hui</name>
<email>liuhui1610@gmail.com</email>
</author>
<published>2025-07-07T09:45:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=ae46edff68e8d5729207ed849df83ecb039e11bb'/>
<id>urn:sha1:ae46edff68e8d5729207ed849df83ecb039e11bb</id>
<content type='text'>
This option only affects absolute filenames that are found by
ffap-file-at-point in buffers with remote default directory.

The handling of relative filenames in above buffers remains
unchanged: ffap-file-at-point returns the relative filename,
which can be converted to a remote absolute filename by
subsequent callers (e.g. ffap) using expand-file-name.

* lisp/ffap.el (ffap-prefer-remote-file): New user option.
(ffap-file-exists-string): Add an optional argument to allow the
check of existence of absolute filename on the remote host.
(ffap-file-at-point): Always find remote files in remote context
if the new option is non-nil.
* test/lisp/ffap-tests.el (ffap-test-remote): Add a test.
* etc/NEWS: Announce the change.
</content>
</entry>
<entry>
<title>Fix 'ffap-string-at-point' under 'ffap-file-name-with-spaces'</title>
<updated>2025-06-08T08:21:05Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2025-06-08T08:21:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=ff8c0648fb4dd67bfad44167e70f25a12b1149bd'/>
<id>urn:sha1:ff8c0648fb4dd67bfad44167e70f25a12b1149bd</id>
<content type='text'>
* lisp/ffap.el (ffap-file-name-with-spaces): Doc fix.
(ffap-string-at-point): Don't reject '~foo/' and 'd:/bar' file
names when 'ffap-file-name-with-spaces' is non-nil.

* test/lisp/ffap-tests.el (ffap-test-with-spaces): Add tests, and
fix expected results to not strip Windows drive letters.
</content>
</entry>
<entry>
<title>Add a portable test for ffap parsing path-style directory lists</title>
<updated>2025-03-01T08:12:21Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2025-03-01T08:12:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=61320784ed2a8f5f3dcdeb401579d220e5dc05da'/>
<id>urn:sha1:61320784ed2a8f5f3dcdeb401579d220e5dc05da</id>
<content type='text'>
* test/lisp/ffap-tests.el (ffap-test-path-unix): Renamed from
'ffap-test-path'.
(ffap-test-path-portable): New test, which should work on all
systems.
</content>
</entry>
<entry>
<title>(internal--c-header-file-path): Move to ffap.el</title>
<updated>2025-02-28T22:03:21Z</updated>
<author>
<name>Stefan Monnier</name>
<email>monnier@iro.umontreal.ca</email>
</author>
<published>2025-02-28T22:03:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=5f165caf316f9da6f04f4d6c5a0fa786f6f197b9'/>
<id>urn:sha1:5f165caf316f9da6f04f4d6c5a0fa786f6f197b9</id>
<content type='text'>
This function is used so rarely that it's really best not to
preload it.

* lisp/ffap.el (ffap-url-regexp): Precompute.
(ffap-c-path): Use `ffap--c-path`.
(ffap--gcc-is-clang-p, ffap--c-path): Move and rename from subr.el's
* lisp/subr.el (internal--gcc-is-clang-p)
(internal--c-header-file-path): Move to ffap.el and rename.

* lisp/man.el (Man-header-file-path): Default to a new value that
delegates to ffap.
(Man-header-file-path): Obey that new value.

* lisp/emacs-lisp/ert-x.el (ert-gcc-is-clang-p): Use `ffap--gcc-is-clang-p`.

* test/lisp/ffap-tests.el (ffap-tests--c-path)
(ffap-tests--c-path/gcc-mocked, ffap-tests--c-path/clang-mocked):
Move and rename from `subr-tests.el`.
* test/lisp/subr-tests.el (subr-tests-internal--c-header-file-path)
(subr-tests-internal--c-header-file-path/gcc-mocked)
(subr-tests-internal--c-header-file-path/clang-mocked):
Move to `ffap-tests.el` and rename.
</content>
</entry>
<entry>
<title>Update copyright year to 2025</title>
<updated>2025-01-01T07:39:17Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-01-01T07:39:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=4da38c632161867e914b3a13dc760f8019255f94'/>
<id>urn:sha1:4da38c632161867e914b3a13dc760f8019255f94</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright".
</content>
</entry>
<entry>
<title>; Add 2024 to copyright years</title>
<updated>2024-01-02T01:47:10Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2024-01-02T01:47:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=8e1c56ae46754dd7baedff49a464f078f0e9912d'/>
<id>urn:sha1:8e1c56ae46754dd7baedff49a464f078f0e9912d</id>
<content type='text'>
</content>
</entry>
</feed>
