aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorStefan Kangas2023-01-27 11:30:38 +0100
committerStefan Kangas2023-01-27 11:30:38 +0100
commit12e419ad1157973ceae8b610e3ddf2e76cbeb488 (patch)
treeb7e79ff1ec4e99a36b58fc85f6f76949d9765cb8 /doc/misc
parente8db522e43701740fecc37a3f6fa7d6fb9f25ee8 (diff)
parentf8c95d1a7681e861fc22d2a040cda0ddfe23eff4 (diff)
downloademacs-12e419ad1157973ceae8b610e3ddf2e76cbeb488.tar.gz
emacs-12e419ad1157973ceae8b610e3ddf2e76cbeb488.zip
Merge from origin/emacs-29
f8c95d1a768 Fix xt-mouse on terminals that report UTF-8 encoded coord... 4bf7cb71edc Fix go-ts-mode indentation and set indent offset to 8 (Bu... ff9498624fc ; * src/insdel.c (insert_from_buffer): Fix assertions. 41f497c8bee Fix doc strings of window-splitting commands cdf74254ffa Fix indentation for c-ts-mode (bug#61026) 4bd06ce2a9f Fix call to treesit_record_change in insdel.c 00675aa724a Add support for building tree-sitter modules with MinGW af28191b04f * lisp/net/tramp.el (tramp-wrong-passwd-regexp): Fix regexp. 42e02480c2b * doc/emacs/text.texi (Outline Minor Mode): New node spli... 37c1c924666 ; * etc/NEWS: Minor reordering. cfb180329b5 ruby-ts-mode: Don't reindent when "class" or "def" is und... abb3becb9fb treesit-install-language-grammar: Provide default repo url c6613403e5c Fix Dired face for directory symlinks 37454de0c8f Pacify --without-x unused function warning 9a21cb10751 ; * etc/NEWS: Fix typos. f30a4f51fef Announce outline.el keymaps 8198803f660 ; Don't mention in the Gnus manual user options that were... 8a1498c01f7 Fix fontification of function-valued variables (bug#61053) cfe26f31893 Add new java indent rules 987e53f3e2d ; * doc/misc/erc.texi: Improve Local Modules section. 3846e79c93b ; Fix filename mismatches in prop lines of ERC tests ecf500b5e34 Handle relative file names in vc-resynch-window and vc-re... 695e9f71c3f Use named keymaps for outline buttons e31a5623965 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): Return buffer's p... deee3a92623 ; Fix last change in etc/NEWS bc78285e686 ; * etc/NEWS: Fix typos. c15c0f7f018 CC Mode: Change the default value of objc-font-lock-extra... 7f438ff543b Don't try to make a pipe process for remote processes in ... cb9628373a8 * lisp/startup.el (command-line): Fix warning message. (... e6c5f32e77d * lisp/find-dired.el (find-dired): Fix bug where M-p skip... # Conflicts: # etc/NEWS
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/erc.texi47
-rw-r--r--doc/misc/gnus.texi11
2 files changed, 33 insertions, 25 deletions
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 23cdcbff575..8030dfa4bb7 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -539,36 +539,55 @@ so demands special precautions to avoid degrading the user experience.
539At present, the only such module is @code{networks}, whose library ERC 539At present, the only such module is @code{networks}, whose library ERC
540always loads anyway. 540always loads anyway.
541 541
542@anchor{Local Modules}
542@subheading Local Modules 543@subheading Local Modules
543@cindex local modules 544@cindex local modules
544 545
545All modules operate as minor modes under the hood, and some newer ones 546All modules operate as minor modes under the hood, and some newer ones
546may be defined as buffer-local. These so-called ``local modules'' are 547may be defined as buffer-local. These so-called ``local modules'' are
547a work in progress and their behavior and interface are subject to 548a work in progress and their behavior and interface are subject to
548change. As of ERC 5.5, the only practical differences are 549change. As of ERC 5.5, the only practical differences are as follows:
549 550
550@enumerate 551@enumerate
551@item 552@item
552``Control variables,'' like @code{erc-sasl-mode}, are stateful across 553``Control variables,'' like @code{erc-sasl-mode}, retain their values
553IRC sessions and override @code{erc-module} membership when influencing 554across IRC sessions and override @code{erc-module} membership when
554module activation in new sessions. 555influencing module activation.
555@item 556@item
556Removing a local module from @code{erc-modules} via Customize not only 557Removing a local module from @code{erc-modules} via Customize not only
557disables its mode but also kills its control variable in all ERC 558disables its mode but also kills its control variable in all ERC
558buffers. 559buffers.
559@item 560@item
560``Mode toggles,'' like @code{erc-sasl-mode} and 561``Mode toggles,'' like @code{erc-sasl-mode} and the complementary
561@code{erc-sasl-enable}, behave differently relative to each other and 562@code{erc-sasl-enable}/@code{erc-sasl-disable} pairing, behave
562to their global counterparts. (More on this just below.) 563differently than their global counterparts.
563@end enumerate 564@end enumerate
564 565
565By default, all local-mode toggles, like @code{erc-sasl-mode}, only 566In target buffers, a local module's activation state survives
566affect the current buffer, but their ``non-mode'' variants, such as 567``reassociation'' by default, but modules themselves always have the
567@code{erc-sasl-enable}, operate on all buffers belonging to a 568final say. For example, a module may reset all instances of itself in
568connection when called interactively. Keep in mind that whether 569its network context upon reconnecting. Moreover, the value of a mode
569enabled or not, a module may effectively be ``inert'' in certain types 570variable may be meaningless in buffers that its module has no interest
570of buffers, such as queries and channels. Whatever the case, a local 571in. For example, the value of @code{erc-sasl-mode} doesn't matter in
571toggle never mutates @code{erc-modules}. 572target buffers and may even remain non-@code{nil} after SASL has been
573disabled for the current connection (and vice versa).
574
575When it comes to server buffers, a module's activation state only
576persists for sessions revived via the automatic reconnection mechanism
577or a manual @samp{/reconnect} issued at the prompt. In other words,
578this doesn't apply to sessions revived by an entry-point command, such
579as @code{erc-tls}, because such commands always ensure a clean slate
580by looking only to @code{erc-modules}. Although a session revived in
581this manner may indeed harvest other information from a previous
582server buffer, it simply doesn't care which modules might have been
583active during that connection.
584
585Lastly, a local mode's toggle command, like @code{erc-sasl-mode}, only
586affects the current buffer, but its ``non-mode'' cousins, like
587@code{erc-sasl-enable} and @code{erc-sasl-disable}, operate on all
588buffers belonging to their connection (when called interactively).
589And unlike global toggles, none of these ever mutates
590@code{erc-modules}.
572 591
573 592
574@c PRE5_4: Document every option of every module in its own subnode 593@c PRE5_4: Document every option of every module in its own subnode
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 3289d66f017..1769b70c9bc 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -12106,17 +12106,6 @@ if they were public groups, you can add the name of that group to the
12106 12106
12107Also @pxref{Misc Article} for @code{gnus-inhibit-images}. 12107Also @pxref{Misc Article} for @code{gnus-inhibit-images}.
12108 12108
12109@item gnus-html-cache-directory
12110@vindex gnus-html-cache-directory
12111Gnus will download and cache images according to how
12112@code{gnus-blocked-images} is set. These images will be stored in
12113this directory.
12114
12115@item gnus-html-cache-size
12116@vindex gnus-html-cache-size
12117When @code{gnus-html-cache-size} bytes have been used in that
12118directory, the oldest files will be deleted. The default is 500MB.
12119
12120@item gnus-html-frame-width 12109@item gnus-html-frame-width
12121@vindex gnus-html-frame-width 12110@vindex gnus-html-frame-width
12122The width to use when rendering HTML@. The default is 70. 12111The width to use when rendering HTML@. The default is 70.