ERC-NEWS 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345
  1. ERC NEWS -*- outline -*-
  2. Copyright (C) 2006-2012 Free Software Foundation, Inc.
  3. See the end of the file for license conditions.
  4. * Changes in ERC 5.3
  5. ** New function `erc-tls' is to be used for connecting to a server via TLS.
  6. It requires the tls.el library.
  7. ** The function `erc-ssl' will now always use ssl.el, even in the version
  8. of ERC that comes with Emacs.
  9. ** Type `C-u' before `C-c C-j' to prompt for a channel key
  10. `erc-join-channel' now accepts a prefix-argument to prompt for the key
  11. when channels are protected by keywords.
  12. ** ERC will now automatically determine which nick prefixes are valid
  13. when joining a server.
  14. ** Figure out which directory contains startup files when looking for
  15. .erc.el. For Emacs this is usually ~/.emacs.d, and for XEmacs this is
  16. usually ~/.xemacs.
  17. ** Fix bug with view-mode when running erc-toggle-debug-irc-protocol.
  18. ** Permit several commands to be run even when the server connection is dead.
  19. This includes /CLEAR, /COUNTRY, /HELP, /LASTLOG, /QUIT, /GQUIT,
  20. /RECONNECT, /SERVER, and /SET.
  21. ** Make /RECONNECT work better when the server connection is dead.
  22. Also, handle case where the server buffer has been killed.
  23. ** Better handle interaction with /RECONNECT and indefinite reconnect
  24. attempts. Display message which tells the user that they can stop the
  25. reconnect attempts by killing the server buffer.
  26. ** New option `erc-reuse-frames' determines whether new frames are always
  27. created. It defaults to not creating a new frame for an ERC buffer if
  28. there is already a window displaying it. This only has an effect when
  29. the `erc-join-buffer' option is set to 'frame.
  30. ** New command /ME'S handles the case where someone types "/me's" in an
  31. ERC buffer. It concatenates the text " 's" to the beginning of the
  32. input and then sends the result like a normal /ME command.
  33. ** Fix bug where some messages were being sent to the server too soon.
  34. In the past, this may have resulted in strange problems like seeing
  35. the connection attempt stall, which may have especially affected
  36. spotty or traffic-shaped connections.
  37. ** Handle 307 (nick has identified) responses from the server.
  38. ** Display a less-confusing message if the connection attempt fails.
  39. ** On a tty, make sure that notices are displayed in blue rather than pink.
  40. ** By default, open query buffers that are initiated by others in a new
  41. unselected window. This may be changed by customizing the
  42. `erc-auto-query' option. This should make ERC more friendly to new
  43. users.
  44. ** New option `erc-query-display' indicates how to display a query buffer
  45. that is made using the /QUERY command. The default is to display the
  46. query in a new selected window.
  47. ** By default, display network name rather than server name in the modeline.
  48. This should ERC use less space in the modeline. To get the old
  49. behavior back, set `erc-mode-line-format' to "%s %a".
  50. ** New option `erc-remove-parsed-property' determines whether to remove
  51. the 'erc-parsed property. This should save some memory in channels
  52. with large amounts of text on screen. It is enabled by default.
  53. ** Modules newly enabled by default
  54. *** move-to-prompt: Move to the prompt when typing text.
  55. *** networks: Provide data about IRC networks.
  56. ** New formatting variables allowed in `erc-format-network':
  57. *** `%N': the name of the network.
  58. *** `%S': much like %s, but let the network name trump the server name.
  59. ** Compatibility with old releases
  60. *** In `erc-server-coding-system' and `erc-coding-system-for-target', pass
  61. the `target' argument as the first and only argument to the function
  62. named by these options.
  63. *** In `erc-track-faces-priority-list', permit list entries to be lists of
  64. faces. This can be used to differentiate between, for example,
  65. buttons in default text and buttons in notices.
  66. *** The `erc-assert' function has been removed in favor of using `assert'
  67. from cl-macs.el.
  68. *** If your application uses the 'erc-parsed text property outside of
  69. the insert hooks, you will need to set `erc-remove-parsed-property'
  70. to nil.
  71. ** Changes and additions to modules
  72. *** BBDB (erc-bbdb.el)
  73. **** Work around bug in XEmacs 21.4 that causes an error to be thrown when
  74. the first argument to `run-at-time' is nil.
  75. *** Button (erc-button.el)
  76. **** Recognize parentheses that are part of URLs.
  77. **** When in a channel, only buttonize nicks from that channel.
  78. *** DCC support (erc-dcc.el)
  79. **** Turn this into the "dcc" module for ERC, so that it can be more
  80. easily enabled.
  81. **** New option `erc-dcc-listen-host' determines which IP address to listen
  82. on for outside connection attempts.
  83. **** New option `erc-dcc-public-host' determines which IP address to advertise
  84. when sending a file. This is useful for people who are on a local
  85. subnet. Together, these two options replace the `erc-dcc-host'
  86. option.
  87. **** New option `erc-dcc-receive-cache' indicates how much of a received
  88. file to store in an Emacs buffer before flushing it to disk. The
  89. default is 0.5 MB.
  90. **** Save only parts of received files in buffers, writing repeatedly to
  91. disk after we get at least `erc-dcc-receive-cache' bytes. This allows
  92. users to receive very large files without running out of memory.
  93. **** Rename `erc-verbose-dcc' option to `erc-dcc-verbose' and also
  94. default it to nil.
  95. **** Fix edge case in erc-dcc-send-sentinel.
  96. **** If client confirms too much, then display byte count and kill the
  97. file buffer.
  98. *** Goodies (erc-goodies.el)
  99. **** New module move-to-prompt causes the point to be moved to the prompt
  100. if a user tries to type elsewhere in the buffer, and then inserts
  101. their keystrokes after the prompt. It is enabled by default.
  102. **** New module keep-place keeps your place in unvisited ERC buffers
  103. when new messages arrive.
  104. **** Enable scroll-to-bottom in all ERC buffers when the module is enabled,
  105. rather than having the user do it manually.
  106. **** Fix bug with buffer ordering and scroll-to-bottom module.
  107. **** In the unmorse module, handle the morse code style that has "/ " at
  108. the end of every letter.
  109. *** Identd (erc-identd.el)
  110. **** Fix bad behavior when closing the identd process.
  111. *** Channel lists (erc-list.el)
  112. **** Replace the old module with a rewritten one, so that we can include
  113. it with Emacs. The old version of erc-list.el has been renamed to
  114. erc-list-old.el, and is available as the list-old module.
  115. The new version does not yet have support for XEmacs.
  116. **** Don't display lots of output in the server buffer when running /LIST.
  117. *** Logging (erc-log.el)
  118. **** Permit the `erc-log-channels-directory' option to be set to a function
  119. name. This makes it easier to write custom functions that determine
  120. where log files should be placed.
  121. **** New option `erc-log-filter-function' specifies the function to call
  122. for filtering text before writing it to a log file. By default, no
  123. filtering is performed.
  124. *** Networks (erc-networks.el)
  125. **** Turn this into the "networks" module for ERC, so that it can be more
  126. easily enabled. Enable it by default.
  127. **** Add support for Rizon.
  128. *** Internet services / Nickserv (erc-services.el)
  129. **** New hook option `erc-nickserv-identified-hook' is run after NickServ
  130. acknowledges a successful identification.
  131. **** Add support for the GRnet and Rizon networks.
  132. *** Timestamps (erc-stamp.el)
  133. **** By default, place timestamps on both the left and the right.
  134. The left timestamps appear once a day, and the right timestamps appear
  135. once a minute when new messages arrive. To change this, customize the
  136. `erc-insert-timestamp-function' and
  137. `erc-insert-away-timestamp-function' options.
  138. *** Channel tracking (erc-track.el)
  139. **** If `erc-track-position-in-mode-line' is set to nil, the tracking
  140. information won't be shown in the mode line, which is a change from
  141. the previous behavior of showing it "After all other information".
  142. If this variable is set to t, then the information will be added to
  143. the very end of the mode line.
  144. **** New option `erc-track-remove-disconnected-buffers' controls whether
  145. buffers associated with a server that is disconnected should be
  146. removed from the modified buffers list. The default is to keep them
  147. in the list.
  148. **** New hook option `erc-track-list-changed-hook' is run whenever the
  149. contents of the modified channels list changes. It is useful for
  150. people who use a separate mechanism to provide notification of channel
  151. activity.
  152. **** The `erc-track-switch-direction' option now can be set to the value
  153. 'importance. If set to this value, ERC will switch to channels in
  154. order of importance, which is determined by the position of the
  155. channel's face in `erc-track-faces-priority-list'.
  156. **** Activate erc-track-minor-mode earlier in the connection process.
  157. **** Don't track buttons in notices.
  158. **** Get a rough idea for which channels are currently active by
  159. switching between several normal conversation faces in the modeline.
  160. This behavior can be modified by changing the new
  161. `erc-track-faces-normal-list' option.
  162. **** Ignore display of who set the default channel topic and listing of
  163. users on the current channel. Customize the `erc-track-exclude-types'
  164. option to indicate the types of messages to exclude. These two
  165. message types are "333" and "353", respectively.
  166. *** Support for acting as an XDCC file-server (erc-xdcc.el)
  167. **** Turn this into the "xdcc" module for ERC, so that it can be more
  168. easily enabled.
  169. * Changes in ERC 5.2
  170. ** M-x erc RET now starts ERC.
  171. `erc-select' has been changed to `erc'. `erc-select' still remains as
  172. an alias of `erc'. Likewise, `erc-select-ssl' has been renamed to
  173. `erc-ssl' with `erc-select-ssl' as its alias. The function that was
  174. known as `erc' is now `erc-open'.
  175. ** Open query buffers by default when private messages are received.
  176. The default value of `erc-auto-query' has been changed to 'bury.
  177. ** New command: /RECONNECT
  178. This command tries to reconnect to the current IRC server exactly
  179. once. It does not work in server buffers (throws an error before the
  180. command is run), but works in query and channel buffers.
  181. ** In MS-DOS environments, look for _ercrc.el rather than .ercrc.el.
  182. ** Fix buggy interaction with multi-tty Emacs.
  183. ** After running /QUIT, make sure that the IRC process is killed within
  184. 4 seconds. Freenode, in particular, needs this at times.
  185. ** If the IRC process has not responded to our PINGs within a certain
  186. time, kill it and restart the connection. See
  187. `erc-server-auto-reconnect', `erc-server-reconnect-attempts',
  188. `erc-server-reconnect-timeout', `erc-server-send-ping-interval', and
  189. `erc-server-send-ping-timeout' to fine-tune ERC's behavior.
  190. ** Avoid getting into an infinite connection loop.
  191. Previously, this could happen if your nick was banned, you were using
  192. Tor, incorrect information was entered, or the connection was bad.
  193. ** Make ban messages less confusing.
  194. ** Restore the point correctly when reconnecting to an IRC server.
  195. ** Make /IGNORE and /UNIGNORE prompt to determine whether their
  196. argument is a user or a regexp. This results in less-confusing
  197. behavior when trying to ignore someone who has a bracket in their
  198. nick.
  199. ** Make the default port "6667" rather than "ircd", because some
  200. operating systems don't know what port "ircd" maps to.
  201. ** Fix several bugs in erc-iswitchb (C-c C-b).
  202. ** Clean up internal documentation.
  203. Special thanks go to Juanma Barranquero for the thorough vetting of
  204. ERC's internal documentation.
  205. ** Display a more informative message when a module is not found.
  206. ** Fix a bug where paths were being colored like IRC commands.
  207. ** In the customize interface for `erc-modules', add the name of the module.
  208. This makes it easier to find modules by name.
  209. ** erc-server-send-ping-interval: Change to use a default of 30 seconds.
  210. ** Some files which are included with the release of ERC 5.2 will not
  211. appear in the version of ERC that is bundled with Emacs 22. These
  212. extras files may be found at:
  213. o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.tar.gz, or
  214. o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.zip.
  215. ** Renamed files
  216. Several files were renamed so as to make them distinct to users of the
  217. MS-DOS operating system.
  218. o erc-autojoin.el -> erc-join.el
  219. o erc-complete.el -> erc-hecomplete.el
  220. o erc-nickserv.el -> erc-services.el
  221. o ChangeLog.NNNN -> ChangeLog.NN
  222. ** Header line changes
  223. *** Remove "[IRC]" from the header line.
  224. *** Add the %l format character to `erc-header-line-format',
  225. *** Document how to remove the header line.
  226. Namely: (setq erc-header-line-format nil).
  227. ** New options
  228. *** erc-server-reconnect-attempts: Determines the number of
  229. reconnection attempts that ERC will make per server.
  230. *** erc-server-reconnect-timeout: Determines the amount of time,
  231. in seconds, that ERC will wait between successive reconnect attempts.
  232. *** erc-server-send-ping-timeout: Determines when to consider a connection
  233. stalled and restart it. The default is after 120 seconds.
  234. *** erc-system-name: Determines the system name to use when logging in.
  235. The default is to figure this out by calling `system-name'.
  236. ** New face: `erc-my-nick-face'
  237. This helps make it easier to distinguish messages sent by yourself
  238. from messages sent by other users when the value of the variable
  239. `erc-show-my-nick' is non-nil.
  240. ** Namespace changes
  241. *** New macro: `erc-with-server-buffer'
  242. Switches to the current ERC server buffer and runs some code. If no
  243. server buffer is available, return nil. This is a useful way to
  244. access variables in the server buffer.
  245. *** New function: `erc-open-server-buffer-p'
  246. Returns non-nil if the given buffer is an ERC server buffer that has
  247. an open IRC process.
  248. *** New function: `erc-format-lag-time'
  249. Returns the estimated lag time to server, `erc-server-lag'.
  250. *** Renamed items
  251. o `erc-server-setup-periodical-server-ping' is now
  252. `erc-server-setup-periodical-ping'
  253. o `erc-away-p' is now `erc-away-time'
  254. ** Changes to the ERC manual
  255. *** New section: Sample Session.
  256. Describes a sample ERC session for connecting to the #emacs channel on
  257. Freenode. Also mention the #erc channel.
  258. *** New section: Special Features.
  259. Describes some of the special features of ERC.
  260. *** Getting Started: Mention ~/.emacs.d/.ercrc.el and the Customize
  261. interface.
  262. *** Development: Mention ErcDevelopment page on emacswiki.org.
  263. *** Tips and Tricks: Remove empty section for now.
  264. *** Options: Mention how to see available ERC options.
  265. *** Sample Configuration: Add an example of how to configure ERC.
  266. ** New modules
  267. *** Autoaway (erc-autoaway.el)
  268. **** Make this much more reliable.
  269. **** Avoid duplicate messages when coming back from being away.
  270. **** Fix bug where autoaway was enabled just by loading the file.
  271. *** BBDB (erc-bbdb.el)
  272. **** Display information on how to cancel merging of info or how to
  273. create a new John Doe record.
  274. **** Make it so that information from /whois continues to come in, even
  275. while prompting for a record to merge.
  276. **** Make hitting C-g correctly abort merging the record.
  277. *** Capab identify (erc-capab.el)
  278. Mark users who haven't identified to NickServ on servers supporting
  279. CAPAB IDENTIFY-MSG.
  280. ** Changes and additions to modules
  281. *** Button (erc-button.el)
  282. **** Make <backtab> go to the previous button.
  283. *** Channel tracking (erc-track.el)
  284. **** Use mouse-face and help-echo for channel names in the mode-line.
  285. This helps people using a mouse know that they are buttons and can be
  286. clicked on.
  287. **** Fix issue where C-c C-SPC could conflict with user-defined keybindings.
  288. This is accomplished by moving these bindings to their own global
  289. minor mode. Now the default is to check whether the user has bound
  290. something to C-c C-SPC or C-c C-@. If they have, prompt them about
  291. whether to really override that binding. This also has the effect of
  292. preventing ERC from clobbering rcirc's keybinding, unless this is
  293. desired. See `erc-track-enable-keybindings' for more details.
  294. **** New option: erc-track-enable-keybindings.
  295. Determine whether or not to enable the C-c C-SPC and C-c C-@
  296. keybindings. The default is to ask whether to do this if a binding to
  297. these keys already exists. It can also be set to t or nil to always
  298. bind or never bind, respectively.
  299. **** Remove `track-when-inactive' module.
  300. See `erc-track-when-inactive' for further details.
  301. **** New option: erc-track-when-inactive.
  302. This option replaces the track-when-inactive module. Set it to
  303. non-nil to track activity even in visible buffers when inactive. The
  304. default is nil.
  305. **** Remove the `track-modified-channels' alias for the `track' module.
  306. *** DCC support (erc-dcc.el)
  307. **** Add Usage section to Commentary.
  308. **** Fix a bug in the server message output.
  309. *** Filling (erc-fill.el)
  310. **** Fix bug involving messages that start with one or more blank lines.
  311. *** Identd (erc-identd.el)
  312. **** New option `erc-identd-port'
  313. Specifies the port to use if none is given as an argument to
  314. `erc-identd-start'. This is placed in the new customization group
  315. `erc-identd'.
  316. **** New function: `erc-identd-quickstart'
  317. Ignores any arguments and calls `erc-identd-start'.
  318. *** Channel lists (erc-list.el)
  319. **** Enable by default, except in the version of ERC bundled with Emacs 22.
  320. *** Logging (erc-log.el)
  321. **** Make sure filenames are safe to use before writing to them.
  322. **** Save all log buffers when exiting Emacs.
  323. **** erc-generate-log-file-name-function: Add option for
  324. `erc-generate-log-file-name-network', which is a new function that
  325. uses the network name rather than the server name when possible.
  326. *** Menu (erc-menu.el)
  327. **** Name the menu "ERC" instead of "IRC" to avoid confusion with rcirc
  328. and other clients.
  329. **** Make this into a proper module and load it by default.
  330. **** Add "Current channel" submenu.
  331. *** Networks (erc-networks.el)
  332. **** Add support for Ars OpenIRC, LinuxChix, and OFTC networks.
  333. **** Escape periods in Konfido.Net and Kewl.Org.
  334. *** Internet services / Nickserv (erc-nickserv.el)
  335. **** Add new 'both method for the `erc-nickserv-identify-mode' option
  336. and make it the default. This tries to do the right thing both when a
  337. known nickserv message exists for an IRC network, and when it does
  338. not.
  339. **** Support nickserv authentication on OFTC, Azzurra, Ars, and QuakeNet.
  340. **** Support authentication on BitlBee.
  341. **** Make source code easier to understand by using accessor functions.
  342. *** Sound support (erc-sound.el)
  343. **** Make this work with both Emacs 21 and Emacs 22.
  344. *** Timestamps (erc-stamp.el)
  345. **** Exclude the newline from the erc-timestamp field.
  346. **** New function: `erc-toggle-timestamps'.
  347. Toggles display of timestamps.
  348. * Changes in ERC 5.1.4
  349. ** Make find-function and find-variable work in Emacs 22 for
  350. names that are constructed by `define-erc-module'.
  351. ** Fix bug introduced in ERC 5.1.3 that caused messages to go the
  352. wrong buffer.
  353. ** Changes and additions to modules
  354. *** Highlighting (erc-match.el)
  355. **** Don't activate view-mode.
  356. *** Logging (erc-log.el)
  357. **** When this module is activated, make sure logging is enabled on
  358. already-opened buffers. Ditto for disabling logging when the module
  359. is deactivated.
  360. **** Fix some errors that occur when exiting Emacs without first
  361. quitting open IRC servers.
  362. * Changes in ERC 5.1.3
  363. ** Fix use of /quote command with no initial whitespace.
  364. ** Make it possible to customize the colorization of the header line.
  365. The `erc-header-line' face is used to color the header line.
  366. The `erc-header-line-face-method' determines the method to use when
  367. colorizing the header line.
  368. ** Add the new function `erc-handle-irc-url', which is a suitable
  369. candidate to use for `url-irc-function'. This permits some
  370. integration of url.el and ERC.
  371. ** Fix several errors that occur when server or channel buffers are killed
  372. prematurely.
  373. ** Fix toggling of flood control.
  374. ** Match the patterns in `erc-encoding-coding-alist' as regexps,
  375. instead of verbatim text. Also, match case-insensitively.
  376. ** The /SMV command has been removed, since we no longer have
  377. meaningful module-specific version information.
  378. ** Fix a "(stringp nil)" error that can happen when doing /PART.
  379. ** Use a better example in the `erc-part-reason-various-alist'
  380. documentation.
  381. ** When using `erc-quit-reason-various' and `erc-part-reason-various'
  382. and no matches are found, default to using the ERC version string
  383. rather than "nil".
  384. ** Add the `list' and `page' modules to the `erc-modules' customize
  385. interface.
  386. ** Changes to the ERC manual
  387. *** Update the list of available modules.
  388. *** Revise information about releases and development.
  389. *** Provide a simpler example in the "Getting Started" chapter.
  390. *** Fully document how to connect to an IRC server in the new
  391. "Connecting" chapter.
  392. ** Changes and additions to modules
  393. *** Autoaway (erc-autoaway.el)
  394. **** Rename the `erc-autoaway-use-emacs-idle' option to
  395. `erc-autoaway-idle-method'.
  396. **** Add support for autoaway based on user idle time.
  397. This is now the default.
  398. **** If you set the AWAY status yourself, erc-autoaway will not
  399. interfere by un-setting AWAY prematurely.
  400. **** If you are set away while visiting a non-ERC buffer,
  401. erc-autoaway used to fail in bringing the user back. This is now
  402. fixed.
  403. *** BBDB (erc-bbdb.el)
  404. **** Add new option `erc-bbdb-electric-p', which determines whether
  405. to make the BBDB buffer electric. This defaults to not electric.
  406. *** Button (erc-button.el)
  407. **** Use <backtab> instead of <C-tab> for `erc-button-previous'.
  408. *** Identd (erc-identd.el)
  409. **** Fix a bug that involves starting the identd server.
  410. **** Make this work with Emacs 22.
  411. **** Provide a real ERC module named `identd'.
  412. **** Don't create an extra buffer for the identd process.
  413. *** Channel lists (erc-list.el)
  414. **** Enable by default, except in the version of ERC bundled with Emacs 22.
  415. *** Logging (erc-log.el)
  416. **** By default, don't insert old logs when opening an ERC buffer.
  417. This may be changed by customizing `erc-log-insert-log-on-open'.
  418. **** New option `erc-log-write-after-send' determines whether the
  419. log file will be written to after every sent message. The default is
  420. not to do this.
  421. **** New option `erc-log-write-after-insert' determines whether the
  422. log file will be written to when new text is added to a logged ERC
  423. buffer. The default is not to do this. With this option and the
  424. previous option, logging should no longer slow down ERC as much.
  425. **** Default to saving buffers and queries on quit.
  426. This may be changed by customizing the `erc-save-buffer-on-quit' and
  427. `erc-save-queries-on-quit' options, respectively.
  428. **** Only perform logging when the `logging' module is added to
  429. `erc-modules'. This prevents logging from being activated just by
  430. loading the erc-log.el file, and makes logging act like other ERC
  431. modules.
  432. *** Programmable completion (erc-pcomplete.el)
  433. **** Don't complete the user's current nickname.
  434. * Changes in ERC 5.1.2
  435. ** Fix compiler errors in erc-autojoin.el and erc-dcc.el.
  436. ** Move to end of prompt when ERC reconnects to a server.
  437. ** Changes and additions to modules
  438. *** Spell-checking (erc-spelling.el)
  439. **** Don't spell-check nicks or words that are prefixed with '/'.
  440. **** Remove flyspell properties from words we shouldn't spell-check.
  441. **** Fix an issue that caused the ispell process to reload every time
  442. we switch to an ERC buffer.
  443. *** Timestamps (erc-stamp.el)
  444. **** Fix an inconsistency in calculating width of right timestamps.
  445. **** Rename option `erc-timestamp-right-align-by-pixel' to
  446. `erc-timestamp-use-align-to'. This controls whether to use the more
  447. fail-proof method of aligning right timestamps, as mentioned below.
  448. **** Fix a right timestamp spacing problem that used to occur when
  449. erc-stamp.el was byte-compiled. Now that this is fixed, it is safe to
  450. use the method that aligns right timestamps perfectly in Emacs22 with
  451. X. If the current version of Emacs doesn't support this method, use
  452. the simpler method, which is prone to alignment issues for math
  453. symbols and other variable-width text.
  454. A side effect of using this new method is that there will only be one
  455. space before a right timestamp in any saved logs. If this is
  456. unacceptable, set `erc-timestamp-use-align-to' to nil.
  457. * Changes in ERC 5.1.1
  458. ** Fix a requirement on cl.el.
  459. ** Use tls.el for SSL connections, rather than ssl.el.
  460. ** Changes and additions to modules
  461. *** ibuffer integration (erc-ibuffer.el)
  462. **** Update this to work with the version of ibuffer.el that comes with
  463. recent Emacs variants.
  464. *** Old completion (erc-complete.el)
  465. **** Fix a few errors.
  466. *** Speedbar (erc-speedbar.el)
  467. **** Make this work with the version of speedbar.el that comes with
  468. recent Emacs variants.
  469. *** Timestamps (erc-stamp.el)
  470. **** By default, use a more failsafe method of displaying right timestamps.
  471. To get right timestamps to align perfectly in Emacs22 using X, set the
  472. new `erc-timestamp-right-align-by-pixel' option to non-nil.
  473. *** Viper compatibility (erc-viper.el)
  474. **** Since most of these changes are now merged into Emacs22, detect
  475. whether we need these changes and install them only if necessary.
  476. * Changes in ERC 5.1
  477. ** Improve XEmacs compatibility.
  478. ** Namespace changes
  479. *** Now ERC doesn't use global variable space.
  480. Renamed all variables that didn't start with "erc-".
  481. o `away' is now `erc-away'
  482. o `current-nick' is now `erc-server-current-nick'
  483. o `last-peers' is now `erc-server-last-peers'
  484. o `last-ping-time' is now `erc-server-last-ping-time'
  485. o `last-sent-time' is now `erc-server-last-sent-time'
  486. o `lines-sent' is now `erc-server-lines-sent'
  487. o `quitting' is now `erc-server-quitting'
  488. *** Remove the `with-erc-channel-buffer' function.
  489. ** Bugfixes
  490. *** Don't inadvertently destroy face properties.
  491. *** Load erc scripts in a safer way.
  492. *** Don't insert a timestamp if text at point is invisible.
  493. *** Don't hide messages from those in `erc-fools' by default.
  494. Color their nicks instead.
  495. *** Use a more foolproof method of encoding and decoding strings
  496. before sending to a channel.
  497. ** Backend changes
  498. *** Renamed some server-specific variables
  499. o `erc-announced-server-name' is now `erc-server-announced-name'
  500. o `erc-auto-reconnect' is now `erc-server-auto-reconnect'
  501. o `erc-connect-function' is now `erc-server-connect-function'
  502. o `erc-default-coding-system' is now `erc-server-coding-system'
  503. o `erc-duplicate-timeout' is now `erc-server-duplicate-timeout'
  504. o `erc-duplicates' is now `erc-server-duplicates'
  505. o `erc-lag' is now `erc-server-lag'
  506. o `erc-prevent-duplicates' is now `erc-server-prevent-duplicates'
  507. o `erc-previous-read' is now `erc-server-filter-data'
  508. o `erc-process' is now `erc-server-process'
  509. o `erc-ping-handler' is now `erc-server-send-ping-handler'
  510. o `erc-ping-interval' is now `erc-server-send-ping-interval'
  511. *** Renamed some functions
  512. o `erc-connect' is now `erc-server-connect'
  513. o `erc-process-filter' is now `erc-server-filter-function'
  514. o `erc-send-command' is now `erc-server-send'
  515. o `erc-send-single-line' is now `erc-send-input'
  516. o `erc-setup-periodical-server-ping' is now
  517. `erc-server-setup-periodical-server-ping'
  518. o `erc-split-command is now `erc-split-line'
  519. *** New options
  520. o erc-server-flood-margin, erc-server-flood-penalty: New options
  521. that allow tweaking of flood control.
  522. o erc-split-line-length: The maximum line length of a single
  523. message.
  524. *** New variables
  525. o erc-server-flood-last-message, erc-server-flood-queue,
  526. erc-server-flood-timer: Flood control.
  527. o erc-server-processing-p: Indicate when we're currently processing
  528. a message.
  529. *** Remove some options
  530. o `erc-flood-limit'
  531. o `erc-flood-limit2'
  532. ** New customization group `erc-server' for dealing with IRC servers.
  533. ** ERC can now be installed by doing `make install' from the command line.
  534. ** ERC now has a manual in erc.texi.
  535. Type `make doc' to generate HTML and Info versions of it.
  536. ** ERC no longer depends on cl.el.
  537. Only the macros in cl-macs.el are used.
  538. ** Fix an edge case when quitting as new messages come in.
  539. ** Make flood protection toggle-able as on/off, removing the 'strict option.
  540. ** If possible, re-use channel buffers when reconnecting to a server.
  541. ** Text in ERC buffers is now read-only by default.
  542. To get the previous behavior,
  543. ** Changes and additions to modules
  544. *** Auto-join (erc-autojoin.el)
  545. **** Recognize the Azzurra server.
  546. *** BBDB (erc-bbdb.el)
  547. **** When the user types /WHOIS, ask for a record to merge to.
  548. **** Store the displayed name of a BitlBee contact.
  549. The new `erc-bbdb-bitlbee-name-field' option specifies the field to use
  550. to store this information.
  551. **** Don't prompt for a name on /JOIN or /NICK.
  552. *** Button (erc-button.el)
  553. **** Fix customization of `erc-button-alist'
  554. **** New option `erc-button-nickname-face' determines the face to use
  555. when coloring ERC nicknames.
  556. *** Channel tracking (erc-track.el)
  557. **** Remove channels from the modified channels list if not currently
  558. connected. This should remove residue from the mode line after
  559. quitting ERC.
  560. **** Recognize buttonized text
  561. *** Highlighting (erc-match.el)
  562. **** Highlight current nickname by default.
  563. **** Added the option of beeping when certain matches occur.
  564. Add `erc-beep-on-match' to `erc-text-matched-hook' to enable
  565. beeping. Set the new variable `erc-beep-match-types' which match
  566. types that make beeps.
  567. *** Nicklist (erc-nicklist.el)
  568. **** Fix a couple of errors.
  569. **** Make sure a stray mouse click doesn't trigger an error.
  570. **** Insert icons from the /images directory next to nicks.
  571. This indicates their away status. The location is customizable via
  572. the new `erc-nicklist-icons-directory' option.
  573. If you do not want these icons, set `erc-nicklist-use-icons' to nil.
  574. *** Nickserv identification (erc-nickserv.el)
  575. **** Recognize Azzurra and OFTC networks.
  576. *** Old completion (erc-complete.el)
  577. **** Disable by default.
  578. *** Programmable completion (erc-pcomplete.el)
  579. **** Enable by default.
  580. *** Timestamps (erc-stamp.el)
  581. **** On Emacs22, align right timestamps perfectly, even if variable-width
  582. characters are used. If we aren't using Emacs22, move text farther
  583. away from the right margin when variable-width characters are used.
  584. It is considered better to misalign the stamp by a bit than to go past
  585. the right margin.
  586. **** Enable by default
  587. ** New modules
  588. *** Spell-checking (erc-spelling.el)
  589. **** Use flyspell in ERC.
  590. *** Viper compatibility (erc-viper.el)
  591. **** Helps ERC work correctly in viper-mode.
  592. * Changes in ERC 5.0.4
  593. ** Fix a problem with undo in channels.
  594. * Changes in ERC 5.0.3
  595. ** Fix typo in the `ctcp-request-to' entry of the English catalog.
  596. ** Debugging with edegug has been made easier in all of the
  597. erc-with-* and with-erc* macros.
  598. ** Non-ASCII character sets should be better supported when sending
  599. and processing messages.
  600. ** A load failure with erc-autoaway.el and Emacs21 has been fixed.
  601. ** A few XEmacs warnings were fixed.
  602. ** Changes and additions to modules
  603. *** Backend (erc-backend.el)
  604. **** Move the check for hidden messages into `erc-display-message'
  605. so there isn't so much replicated code.
  606. **** Add `definition-name' property to constructed symbols so that
  607. `find-function' and `find-variable' will be able to locate them.
  608. **** Make sure logs are inserted info the correct channel buffers.
  609. There was previously an error when using `erc-insert-log-on-open' in
  610. combination with autojoin to multiple channels.
  611. *** Button (erc-button.el)
  612. **** The layering of `erc-button-face' on other faces in ERC buffers
  613. has been improved.
  614. *** Channel tracking (erc-track.el)
  615. **** Use optimal amount of whitespace around modified channels
  616. indicator. Previously, there was an additional unnecessary space.
  617. **** Fix an error that occurred when unchecked buffers existed when
  618. invoking /QUIT.
  619. * Changes in ERC 5.0.2
  620. ** If a channel key is required for a certain channel, ERC will prompt
  621. for one if `erc-prompt-for-channel-key' is non-nil.
  622. ** ERC doesn't try to reconnect if the network connection is refused
  623. when using `open-network-stream-nowait' as the `erc-connect-function'.
  624. ** Messages from multiple servers will not go to the currently active
  625. buffer. The messages from each server will be contained in the most
  626. recently active channel/server buffer that corresponds with the
  627. server.
  628. ** Some text messages were cleaned up slightly.
  629. ** Button faces should no longer "cover" other faces.
  630. ** Made some XEmacs compatibility fixes.
  631. ** Nicknames containing a backslash are now correctly highlighted as
  632. current-nick and buttonized as nicks.
  633. ** `erc-server-select' doesn't offer networks without servers as a
  634. choice anymore.
  635. ** Non-ASCII character support has been improved.
  636. ** Changes and additions to modules
  637. *** Menu (erc-menu.el)
  638. **** You can now save logs and truncate buffers from the menu-bar.
  639. * Changes in ERC 5.0.1
  640. ** Narrowing in ERC buffers no longer causes formatting errors.
  641. ** The BBDB module now loads correctly when customizing `erc-modules'.
  642. ** The value of `erc-button-face' is now respected.
  643. ** Fixed a bug which caused a read-only error during connection.
  644. ** Server buffers are now tracked correctly.
  645. This means that `erc-track-priority-faces-only', `erc-track-exclude',
  646. and `erc-track-exclude-types' now work with server buffers.
  647. * Changes in ERC 5.0
  648. ** Channel members are now stored as a hash-table.
  649. `erc-server-users' and `erc-channel-users' are now hash-tables, rather
  650. than alists. This significantly increases performance, especially in
  651. large channels. Each channel member is stored as an `erc-server-user'
  652. struct, with additional information about the channels they are on
  653. stored in an `erc-channel-user' struct. Code using old alist-style
  654. channel members needs to be updated to work with hash-tables.
  655. This new code also removes the need for erc-members.el, which has been
  656. removed.
  657. ** The way ERC deals with input from the server has changed.
  658. All server response code is now in a new file, erc-backend.el. There
  659. should be no real user visible changes. There are, however, a few
  660. major changes for implementers, and module writers:
  661. *** The PARSED response that all handlers get called with is
  662. no longer a vector, but an `erc-response' struct.
  663. This means LESS MAGIC NUMBERS in the ERC source code, but a few
  664. changes in how you get at parsed responses.
  665. The sender is accessed via `erc-response.sender'.
  666. The command is accessed via `erc-response.command'.
  667. The arguments to the command (everything after the command and
  668. before the colon) are accessed via `erc-response.command-args'.
  669. This is a /list/ of arguments in the order they appear in the
  670. unparsed response.
  671. The contents of the response is accessed via
  672. `erc-response.contents'.
  673. Should, for some reason, you want to do something with the
  674. /unparsed/ response, you can get it via `erc-response.unparsed'.
  675. *** The `erc-server-hook-list' mechanism is gone.
  676. All server response handlers should be defined with
  677. `define-erc-response-handler'. This defines functions and
  678. corresponding hook variables.
  679. The mapping of server commands to hook variables is no longer
  680. done via `erc-event-to-hook', but through an #'equal hashtable,
  681. `erc-server-responses'. In order to find a hook you do:
  682. (erc-get-hook command)
  683. See the docstring of `define-erc-response-handler' for more
  684. information.
  685. *** ALL hook variables have been renamed.
  686. In accordance with recommendations in the Emacs Lisp manual,
  687. the hook variables are no longer called `erc-server-FOO-hook',
  688. but rather `erc-server-FOO-functions'. This is to indicate
  689. that the functions they call take arguments.
  690. All the modules in ERC have been updated to reflect this change,
  691. but external module authors should beware.
  692. ** The values of `erc-mode-line-format' and `erc-header-line-format'
  693. are now defined as strings to be formatted using `format-spec'.
  694. `erc-mode-line-format' does not replace the whole mode-line anymore,
  695. only `mode-line-buffer-identification' is set. This way, personal
  696. mode-line configurations are not modified and all key bindings work as
  697. expected. The process status (connecting, closed) is now shown in
  698. `mode-line-process'.
  699. ** Customization of ERC variables has been made easier. Variables
  700. have been split into more groups for better organization.
  701. ** New variables
  702. o `erc-send-whitespace-lines' - Set this to send lines even if they
  703. are empty.
  704. o `erc-manual-set-nick-on-bad-nick-p' - If the nickname you chose is
  705. already taken or not allowed, your nick is not changed and you can
  706. try again manually if this is non-nil.
  707. o `erc-mode-line-away-status-format' - You can now set what is shown
  708. in the mode-line when you are away.
  709. o `erc-header-line-uses-help-echo-p' - The header-line now uses the
  710. help-echo property. You can set this to nil to disable it.
  711. o `erc-format-query-as-channel-p' - Set this to nil to have messages
  712. in the query buffer formatted like private messages.
  713. o `erc-show-channel-key-p' - The channel key is now shown with the
  714. other channel modes in the header line. Set this to nil if you
  715. want it hidden.
  716. o `erc-prompt-for-channel-key' - Set this if you want to be prompted
  717. for the channel key (channel's mode is +k) when you call
  718. `erc-join-channel' interactively.
  719. o `erc-kill-server-buffer-on-quit' - If non-nil, kill the server
  720. buffer automatically when you quit.
  721. ** New hooks
  722. o `erc-join-hook' - Called when you join a channel.
  723. o `erc-kick-hook' - Called when you are kicked from a channel. The
  724. channel's buffer is sent as an argument to functions called from
  725. this hook.
  726. o `erc-nick-changed-functions' - Whenever your nickname changes
  727. successfully, the functions in this hook are run with the
  728. arguments NEW-NICK and OLD-NICK.
  729. ** New command /WHOAMI - Do a /WHOIS on your current nickname.
  730. ** The key binding for changing channel modes is now C-c C-o.
  731. ** Removed variables
  732. o `erc-echo-notices-in-minibuffer-flag' and
  733. `erc-echo-notices-in-current-buffer' - You should use
  734. `erc-echo-notice-hook' and `erc-echo-notice-always-hook' instead.
  735. o `erc-prompt-interactive-input' has been removed (commented out)
  736. because nickname completion does not work with it.
  737. o All INFO buffer-related variables and functions have been removed.
  738. ** You can now disable modules by setting `erc-modules' with the
  739. customization interface.
  740. ** Changes and additions to modules
  741. *** Autoaway (erc-autoaway.el)
  742. **** New variable `erc-autoaway-no-auto-back-regexp' - Add text which,
  743. when you type anything matching it, will not automatically discard
  744. your away status when `erc-auto-discard-away' is non-nil.
  745. *** Filling (erc-fill.el)
  746. **** New variable `erc-fill-variable-maximum-indentation' - Don't
  747. indent more than this many characters when indenting a message from a
  748. user with a long nickname.
  749. *** Goodies (erc-goodies.el)
  750. **** Miscellaneous small modules have been moved from erc.el.
  751. The functions erc-add-scroll-to-bottom, erc-make-read-only,
  752. erc-send-distinguish-noncommands, erc-interpret-controls, erc-unmorse,
  753. erc-smiley, and erc-occur, which were defined in the main erc.el file
  754. have been moved to erc-goodies.el and have mostly been translated to
  755. the modules scrolltobottom, readonly, noncommands, irccontrols, smiley
  756. and unmorse.
  757. **** New variables
  758. o `erc-input-line-position' - The line number to use with
  759. `erc-scroll-to-bottom'.
  760. o `erc-beep-p' - Beep if there is a \C-g control character in a
  761. message.
  762. *** Channel lists (erc-list.el)
  763. **** New variable `erc-chanlist-highlight-face' - A face used for
  764. highlighting the current line.
  765. *** Highlighting (erc-match.el)
  766. **** `erc-current-nick-highlight-type' has new options: 'keyword and
  767. 'nick-or-keyword.
  768. *** Menu (erc-menu.el)
  769. **** The `IRC' menu is now automatically added to `erc-mode' buffers.
  770. *** Networks (erc-nets.el)
  771. **** The functions for determining current network are in this file.
  772. There were a couple of functions spread about in different files which
  773. each had a different way of determining the current network. The
  774. methods have been combined, and the big list of known networks
  775. (`erc-networks-alist') is being put to use. You can access the
  776. network's name by calling the new function `erc-network'. This
  777. returns the name of the current network as a symbol or 'Unknown if it
  778. could not determine which network it is.
  779. *** Nicklist (erc-nicklist.el)
  780. **** ERC has a new way of displaying nicknames in a channel.
  781. The new file erc-nicklist.el defines a new command `erc-nicklist'
  782. which pops up a small Emacs window showing the nicknames of all
  783. members of the current channel. The implementation is not complete
  784. and is rather proof-of-concept for now. The result is something a bit
  785. like erc-speedbar, but not quite as invasive, and doesn't require use
  786. of a new frame.
  787. *** Internet services / Nickserv (erc-nickserv.el)
  788. **** Network detection is now taken care of by erc-nets.el.
  789. The function `erc-current-network' is deprecated, use `erc-network'
  790. instead. The variable `erc-networks' has been removed, use
  791. `erc-networks-alist'. The network symbols used in
  792. `erc-nickserv-alist' now match those in `erc-networks-alist'.
  793. **** New variable `erc-nickserv-identify-mode' - Choose which method
  794. to use for automatic identification: you can wait for Nickserv to ask
  795. you to identify (the default), or send an identify message
  796. automatically after you change your nickname.
  797. *** Speedbar (erc-speedbar.el)
  798. **** New variable `erc-speedbar-sort-users-type' - Sort users in a
  799. channel by activity, alphabetically, or not at all.
  800. *** Timestamps (erc-stamp.el)
  801. **** `erc-timestamp-only-if-changed-flag' now works when
  802. `erc-insert-timestamp-function' is set to 'erc-insert-timestamp-left.
  803. **** New variable `erc-timestamp-intangible' - Set this to nil if
  804. timestamps should not have the 'intangible property.
  805. *** Channel tracking (erc-track.el)
  806. **** Using faces to indicate channel activity in the modeline now works
  807. in XEmacs.
  808. **** New variables
  809. o `erc-track-priority-faces-only' - Ignore changes in a channel
  810. unless there is a face from the `erc-track-faces-priority-list' in
  811. the message.
  812. o `erc-track-exclude-server-buffer' - Ignore changes in the server
  813. buffer.
  814. o `erc-track-position-in-mode-line' - Set the position in the
  815. mode-line where modified channels are shown (only works in GNU
  816. Emacs versions above 21.3).
  817. * Changes in ERC 4.0
  818. ** The module system has again changed a lot. You can now customize
  819. the variable `erc-modules' and define once and for all which
  820. extension modules you want to use. This unfortunately may require
  821. you to change your current erc initialization code a bit, if you
  822. have some existing customizations. On the other hand, this change
  823. makes the configuration of extension modules a lot easier for new
  824. users. In theory, you should be able to configure all aspects of
  825. ERC by using the customize interface, you should no longer really
  826. need to write Lisp code for trivial customizations.
  827. By default, the following modules are now loaded: (pcomplete
  828. netsplit fill track ring button autojoin)
  829. Please use M-x customize-variable RET erc-modules RET to change the
  830. default if it does not suite your needs.
  831. ** THe symbol used in `erc-nickserv-passwords' for debian.org IRC servers
  832. (formerly called OpenProjects, now FreeNode) has changed from
  833. openprojects to freenode. You may need to update your configuration
  834. for a successful automatic nickserv identification.
  835. * Changes in ERC 3.0.cvs.20030119
  836. ** New module erc-dcc:
  837. This finally implements DCC. It requires server sockets to fully work
  838. in both directions. This feature is currently only available in Emacs
  839. 21.3.50 (CVS). Here is a short list of what should work though.
  840. ** Compatibility:
  841. * Emacs 21.2, DCC get, and accepting DCC chat offers.
  842. * XEmacs 21, Only accepting DCC chat offers.
  843. ** erc is switching to global-minor-modes for activation of submodules.
  844. This allows you to customize such a mode and get automatic loading of
  845. the module. No longer putting a lot of require statements in .emacs.
  846. At least this is the long-term plan, not all modules are converted yet.
  847. ** The most important user visible change is that you now need to activate
  848. erc-completion-mode, to get TAB completion. The new completion code
  849. is based on pcomplete. To get the old code, manually load
  850. erc-complete and bind TAB to erc-complete in erc-mode-map.
  851. To activate completion on startup, put (erc-completion-mode 1) in your
  852. .emacs file.
  853. Same applies to timestamps. You no longer need to (require
  854. 'erc-stamp), you can customize the variable `erc-timestamp-mode', and
  855. the rest should be automatic.
  856. This file is part of GNU Emacs.
  857. GNU Emacs is free software: you can redistribute it and/or modify
  858. it under the terms of the GNU General Public License as published by
  859. the Free Software Foundation, either version 3 of the License, or
  860. (at your option) any later version.
  861. GNU Emacs is distributed in the hope that it will be useful,
  862. but WITHOUT ANY WARRANTY; without even the implied warranty of
  863. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  864. GNU General Public License for more details.
  865. You should have received a copy of the GNU General Public License
  866. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.