Commit graph

78 commits

Author SHA1 Message Date
Vivek Dasmohapatra
c1e57b4760 * erc.el (erc-generate-new-buffer-name): Reuse old buffer names
when reconnecting.

Fixes: debbugs:5563
2011-07-04 15:23:04 +02:00
Paul Eggert
3be70dff37 * lisp/erc/erc.el: Fix comment. 2011-06-30 18:29:04 -07:00
Lars Magne Ingebrigtsen
5c62d13346 Fix typo in last check-in. 2011-06-23 02:18:46 +02:00
Lars Magne Ingebrigtsen
c4db078bfd Clean up the ssl/tls support to be able to use the built-in support, too. 2011-06-23 02:17:41 +02:00
Julien Danjou
f927985e87 * lisp/erc/erc-backend.el (671): New response handler.
* lisp/erc/erc.el (english): Add 671 to catalog.
2011-05-03 10:37:51 +02:00
Stefan Monnier
d4aa710a15 Make ERC use completion-at-point
* lisp/erc/erc.el (erc-mode-map): Use completion-at-point.
(erc-mode): Tell completion-at-point to obey erc-complete-functions.
(erc-complete-word-at-point): New function.
(erc-complete-word): Make it obsolete.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): New function.
(pcomplete): Use it.
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
(erc-dcc-chat-mode): Tell completion-at-point to obey
erc-complete-functions.
* lisp/erc/erc-button.el (erc-button-next-function): New function extracted from
erc-button-next.
(button, erc-button-next): Use it.
2011-04-26 10:50:09 -03:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
4d789d84b8 Use run-mode-hooks for major mode hooks.
* lisp/textmodes/reftex-toc.el (reftex-toc-mode-map):
Rename from reftex-toc-map.
(reftex-toc-mode): Use define-derived-mode.
* lisp/textmodes/reftex-sel.el (reftex-select-shared-map): New map.
(reftex-select-label-mode-map, reftex-select-bib-mode-map):
Rename from reftex-select-(label|bib)-map.  Move init into declaration.
(reftex-select-label-mode, reftex-select-bib-mode):
Use define-derived-mode.
* lisp/textmodes/reftex-index.el (reftex-index-phrases-mode-map)
(reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
Move init into delcaration.
(reftex-index-mode, reftex-index-phrases-mode):
Use define-derived-mode.
* lisp/speedbar.el (speedbar-mode-syntax-table): Renaqme from
speedbar-syntax-table.  Move init into declaration.
(speedbar-mode-map): Rename from speedbar-key-map.
Move init into declaration.
(speedbar-file-key-map): Move init into declaration.
(speedbar-mode): Use define-derived-mode.
* lisp/recentf.el (recentf-mode): Don't run hook (or message) redundantly.
* lisp/net/rcirc.el (rcirc-mode): Use run-mode-hooks.
* lisp/emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
(chart-face-list): Move initialization into declaration.
(chart-mode): Use define-derived-mode.
* lisp/calculator.el (calculator-mode-map): Move init into declaration.
(calculator-mode): Use define-derived-mode.
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Use define-derived-mode.
* lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode):
Use run-mode-hooks.
* lisp/erc/erc.el (erc-mode):
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
* lisp/org/org-remember.el (org-remember-mode):
* lisp/org/org-capture.el (org-capture-mode): Don't run hook redundantly.

Fixes: debbugs:513
2011-01-13 18:14:30 -05:00
Chong Yidong
aad4679e7d Add "Version:" and "Package:" Lisp file headers. 2010-08-29 16:10:43 -04:00
Fran Litterio
5997e34085 Ensure that erc-toggle-debug-irc-protocol logs protocol data.
http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg01000.html

* erc-backend.el (erc-server-filter-function): Call
erc-log-irc-protocol.

* erc.el (erc-toggle-debug-irc-protocol): Bind
erc-toggle-debug-irc-protocol to t.
2010-08-08 18:13:53 -04:00
Chong Yidong
361bbf574b Fix erc reconnection via non-default connectors (Bug#4958).
* erc-backend.el (erc-session-connector): New var.
(erc-server-reconnect): Use it to reconnect via old connector (Bug#4958).

* erc.el (erc-determine-parameters): Save erc-server-connect-function to erc-session-connector.
2010-01-25 13:49:23 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Stefan Monnier
937e6a5612 * url-util.el (url-insert-entities-in-string):
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Glenn Morris
fbf370dc7e Kevin Ryde <user42 at zip.com.au>
(erc-cmd-MODE): Hyperlink urls in docstrings with URL `...'.
2009-07-22 03:03:51 +00:00
Deepak Goel
7db26af03b M-v corrections. 2009-03-13 20:45:14 +00:00
Michael Olson
624509d2d9 ERC: erc.el (erc-header-line-uses-tabbar-p): Set to nil by default. 2009-01-18 21:01:14 +00:00
Glenn Morris
64bd06a818 (erc-input-message): Conditionalize previous change for XEmacs. 2009-01-16 03:32:10 +00:00
Glenn Morris
51bc9aff5e (erc-input-message): Replace last-command-char with last-command-event. 2009-01-09 04:27:03 +00:00
Glenn Morris
c5a345cb87 (tabbar--local-hlf): Silence compiler. 2009-01-08 04:10:35 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Michael Olson
bd71014979 ERC: Do not include text properties when returning user input. 2009-01-03 23:11:06 +00:00
Michael Olson
a83df153b1 ERC: Sync with upstream.
- Add `erc-header-line-uses-tabbar-p' option for better integration with
   Tabbar Mode.

 - Update some TODO items in manual.
2008-12-23 06:58:19 +00:00
Dan Nicolaescu
9e2a264775 Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon

* erc.el: Remove code for Carbon.

Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.

Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.

* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.

* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.

* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.

* xresources.texi: Remove mentions of Mac Carbon.

* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.

Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL:  Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Michael Olson
40ef824252 ERC: Upstream updates.
- New response handler for '328'.

 - Update nickserv regexps for freenode.

 - Back out changes to erc-put-text-properties in favor of upstream
   changes to that same effect.

 - Fix arguments to erc-put-text-properties in erc-display-line-1.
2008-06-19 04:59:11 +00:00
Glenn Morris
07da87e9ab Remove unnecessary eval-when-compiles. 2008-06-07 02:35:02 +00:00
Glenn Morris
4ee57b2a2d Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:36:21 +00:00
Glenn Morris
eb89b1a26f (erc-put-text-properties): Replace use of cl mapcar*. 2008-04-27 18:23:50 +00:00
Michael Olson
b5fa335a00 ERC: (erc-remove-text-properties-region): Disable this command by default. 2008-04-17 05:02:14 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Michael Olson
2a927019fa ERC: Sync from upstream. 2008-02-23 18:58:56 +00:00
Juanma Barranquero
4f9c00e2dc (erc-valid-nick-regexp): Replace legal' with valid'. 2008-02-05 13:00:43 +00:00
Michael Olson
15db4a13e5 Sync ERC 5.3 release. 2008-01-26 21:49:41 +00:00
Michael Olson
5e56b3fb5a ERC: Sync version 5.3, release candidate 1. 2008-01-25 03:28:10 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Michael Olson
1c36df9774 Sync from ERC upstream
Changes include:

 - Add nickserv support for GRnet.
 - Parse 275 (secure connection) response.
 - Provide new hook `erc-nickserv-identified-hook' that runs when
   nickserv confirms that the user has successfully identified.
2007-12-09 06:40:47 +00:00
Glenn Morris
c2fd78e06d (erc-controls-strip): Declare for compiler. 2007-12-01 03:44:37 +00:00
Glenn Morris
e3abf9d998 Fix comment typo. 2007-12-01 03:41:16 +00:00
Glenn Morris
5ba3c59a5b (iswitchb-temp-buflist, iswitchb-read-buffer): Declare for compiler.
(erc-iswitchb): Don't require iswitchb when compiling.  Test
iswitchb-mode is bound.
2007-12-01 03:40:41 +00:00
Dan Nicolaescu
f29263b302 * erc.el (open-ssl-stream, open-tls-stream, erc-network-name):
Declare as functions.

* textmodes/reftex-index.el (texmathp):
* textmodes/reftex-auc.el (TeX-argument-insert)
(TeX-argument-prompt, multi-prompt, LaTeX-add-index-entries)
(LaTeX-add-labels, LaTeX-bibitem-list, LaTeX-index-entry-list)
(LaTeX-label-list):
* nxml/rng-maint.el (rng-clear-cached-state, rng-clear-overlays)
(rng-clear-conditional-region, rng-do-some-validation): Declare as
functions.
(rng-error-count, rng-validate-up-to-date-end): Pacify byte compiler.
2007-11-30 08:12:58 +00:00
Michael Olson
2131c501dd Sync from upstream ERC
- Parse 307 (nick has identified) responses.
 - Only activate some things if the connection has been established.
2007-11-29 22:36:38 +00:00
Juanma Barranquero
ec77ae0a9e (erc-open): Fix typo in docstring. 2007-11-15 18:35:11 +00:00
Juanma Barranquero
2c5a057564 (erc-open): Fix typo in docstring. 2007-11-15 16:45:18 +00:00
Michael Olson
88406d6ee8 Silence some byte-compiler warnings in ERC 2007-11-01 01:12:59 +00:00
Michael Olson
b6675b2d62 Sync from upstream ERC 2007-10-29 01:00:33 +00:00
Michael Olson
526dc846a1 Sync ERC 5.3 (devel) from upstream 2007-09-08 03:07:09 +00:00
Glenn Morris
645e533aee (erc-toggle-debug-irc-protocol): Fix call to erc-view-mode-enter. 2007-09-07 04:38:47 +00:00
Glenn Morris
81bb49ce46 Replace `iff' in doc-strings and comments. 2007-08-08 07:18:57 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00