<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs, branch scratch/so-long</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>fixup! Make `global-so-long-mode' use `buffer-line-statistics'</title>
<updated>2021-08-01T13:01:41+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-08-01T01:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c241aa2d4465e4893fc446b75c50d17e6c0e1b99'/>
<id>c241aa2d4465e4893fc446b75c50d17e6c0e1b99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! Make `global-so-long-mode' use `buffer-line-statistics'</title>
<updated>2021-07-31T13:30:01+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-07-31T13:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ba5381a878131880cc9d75e43950fcb7085735b6'/>
<id>ba5381a878131880cc9d75e43950fcb7085735b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup! ; * lisp/so-long.el: Documentation</title>
<updated>2021-07-31T10:16:06+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-07-31T10:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=30007845d0f6a9cd23d9751fb9f4e735a9082126'/>
<id>30007845d0f6a9cd23d9751fb9f4e735a9082126</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make `global-so-long-mode' use `buffer-line-statistics'</title>
<updated>2021-07-30T03:56:04+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-01-16T12:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3d685baa92732df866412873f4485b6315c086eb'/>
<id>3d685baa92732df866412873f4485b6315c086eb</id>
<content type='text'>
* lisp/so-long.el: (so-long-statistics-excessive-p): New predicate
function using `buffer-line-statistics'.
(so-long-predicate): Use `so-long-statistics-excessive-p' by default.

* etc/NEWS: Describe changes.

* test/lisp/so-long-tests/so-long-tests-helpers.el:
* test/lisp/so-long-tests/so-long-tests.el: Update tests.
Also improve the existing `so-long-tests-predicate' tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/so-long.el: (so-long-statistics-excessive-p): New predicate
function using `buffer-line-statistics'.
(so-long-predicate): Use `so-long-statistics-excessive-p' by default.

* etc/NEWS: Describe changes.

* test/lisp/so-long-tests/so-long-tests-helpers.el:
* test/lisp/so-long-tests/so-long-tests.el: Update tests.
Also improve the existing `so-long-tests-predicate' tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Revert "Make `so-long' restore `view-mode'"</title>
<updated>2021-07-30T03:56:04+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-07-30T01:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=647eb062057d0fdfb3bd2747f0ef2376267a32bb'/>
<id>647eb062057d0fdfb3bd2747f0ef2376267a32bb</id>
<content type='text'>
This reverts commit 3c2db0c541491fceb7081d5b54de5abec25e2f4b.

A more general solution to bug#45084 has been implemented via
new user options `so-long-mode-preserved-variables' and
`so-long-mode-preserved-minor-modes'.

See the previous commit (before this revert) for details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3c2db0c541491fceb7081d5b54de5abec25e2f4b.

A more general solution to bug#45084 has been implemented via
new user options `so-long-mode-preserved-variables' and
`so-long-mode-preserved-minor-modes'.

See the previous commit (before this revert) for details.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support 'preserved' variables and minor modes in `so-long-mode'</title>
<updated>2021-07-30T01:49:48+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-01-10T02:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3a109aaa2972026d245444ddc4c86cbea2fd4c30'/>
<id>3a109aaa2972026d245444ddc4c86cbea2fd4c30</id>
<content type='text'>
The default values support preserving the state of `view-mode' when
switching to (and reverting from) `so-long-mode' (bug#45084).

* lisp/so-long.el (so-long-mode-preserved-variables)
(so-long-mode-preserved-minor-modes): New user options.
(so-long-mode-maintain-preserved-variables)
(so-long-mode-maintain-preserved-minor-modes): New functions.
(so-long-remember-all, so-long-after-change-major-mode)
(so-long-mode-revert): Use them.

* etc/NEWS: Describe changes.

* test/lisp/so-long-tests/so-long-tests-helpers.el:
* test/lisp/so-long-tests/so-long-tests.el: Update tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default values support preserving the state of `view-mode' when
switching to (and reverting from) `so-long-mode' (bug#45084).

* lisp/so-long.el (so-long-mode-preserved-variables)
(so-long-mode-preserved-minor-modes): New user options.
(so-long-mode-maintain-preserved-variables)
(so-long-mode-maintain-preserved-minor-modes): New functions.
(so-long-remember-all, so-long-after-change-major-mode)
(so-long-mode-revert): Use them.

* etc/NEWS: Describe changes.

* test/lisp/so-long-tests/so-long-tests-helpers.el:
* test/lisp/so-long-tests/so-long-tests.el: Update tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>; so-long-tests.el: Suppress expected warnings</title>
<updated>2021-07-30T01:45:01+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-03-20T08:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cf5ef99d90a187eba7b3b33349e7a5a605ac35c7'/>
<id>cf5ef99d90a187eba7b3b33349e7a5a605ac35c7</id>
<content type='text'>
* test/lisp/so-long-tests/so-long-tests.el
(so-long-tests-invisible-buffer-function): Suppress warning about
obsolete function `run-window-configuration-change-hook', as we are
using it intentionally (see the preceding code comments and URL for
details).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/so-long-tests/so-long-tests.el
(so-long-tests-invisible-buffer-function): Suppress warning about
obsolete function `run-window-configuration-change-hook', as we are
using it intentionally (see the preceding code comments and URL for
details).
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/so-long.el: Minor bug fixes</title>
<updated>2021-07-30T01:45:01+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-01-10T02:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0e0d677db07d1b9415c25b245f547481e49c7fd9'/>
<id>0e0d677db07d1b9415c25b245f547481e49c7fd9</id>
<content type='text'>
(so-long-disable-minor-modes): Don't call the mode function to disable
the mode unless it was actually enabled.

(so-long-restore-minor-modes, so-long-restore-variables): Use the
remembered list values, which might be different to the defaults.

Also comments, and spelling consistency changes for the so-long tests
(a fixup for commit 83bc4ad369 which had only addressed so-long.el,
and not the test files).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(so-long-disable-minor-modes): Don't call the mode function to disable
the mode unless it was actually enabled.

(so-long-restore-minor-modes, so-long-restore-variables): Use the
remembered list values, which might be different to the defaults.

Also comments, and spelling consistency changes for the so-long tests
(a fixup for commit 83bc4ad369 which had only addressed so-long.el,
and not the test files).
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/so-long.el (so-long-minor-modes): Additional modes to disable</title>
<updated>2021-07-30T01:45:01+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2020-07-03T13:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=57d7cb615c4b233e9626b812edeb58f72a575f28'/>
<id>57d7cb615c4b233e9626b812edeb58f72a575f28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make `global-so-long-mode' handle unrecognised file types</title>
<updated>2021-07-30T01:45:01+00:00</updated>
<author>
<name>Phil Sainty</name>
</author>
<published>2021-01-10T01:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=fbb3a895cc35480ba0ca6ad04bb9b3ad21df680e'/>
<id>fbb3a895cc35480ba0ca6ad04bb9b3ad21df680e</id>
<content type='text'>
* lisp/so-long.el (so-long-target-modes): Add `fundamental-mode'

* etc/NEWS: Describe changes.

This doesn't affect buffers which are simply in `fundamental-mode' by
default.  It only affects buffers for which `set-auto-mode' has been
called (normally via `find-file') without establishing a different
major mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/so-long.el (so-long-target-modes): Add `fundamental-mode'

* etc/NEWS: Describe changes.

This doesn't affect buffers which are simply in `fundamental-mode' by
default.  It only affects buffers for which `set-auto-mode' has been
called (normally via `find-file') without establishing a different
major mode.
</pre>
</div>
</content>
</entry>
</feed>
