• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/erc/

Lines Matching +defs:function +defs:list

76 from the list.  See also `erc-track-when-inactive'.
94 "A list targets (channel names or query targets) which should not be tracked."
100 This list could look like '(\"JOIN\" \"PART\")."
145 (defcustom erc-track-shorten-function 'erc-track-shorten-names
146 "*This function will be used to reduce the channel names before display.
147 It takes one argument, CHANNEL-NAMES which is a list of strings.
148 It should return a list of strings of the same number of elements.
149 If nil instead of a function, shortening is disabled."
152 function))
161 (defcustom erc-track-faces-priority-list
166 "A list of faces used to highlight active buffer names in the modeline.
167 If a message contains one of the faces in this list, the buffer name will
175 are no faces corresponding to your `erc-track-faces-priority-list', set
176 this variable. You can set a list of channel name strings, so those
180 Note: If you have a lot of faces listed in `erc-track-faces-priority-list',
240 when displaying the buffer's name. See `erc-track-faces-priority-list',
243 Entries in this list should only happen for buffers where activity occurred
293 (add-to-list 'mode-line-modes
297 (add-to-list 'mode-line-modes
302 (add-to-list 'global-mode-string
310 This function is a good value for `erc-track-shorten-function'.
311 The list of all channels is returned by `erc-all-buffer-names'.
312 CHANNEL-NAMES is the list of active channel names.
327 Note that we cannot use `erc-channel-list' with a nil argument,
331 (dolist (buf (buffer-list))
338 "Return a list of unique channel names.
339 ALL is the list of all channel and query buffer names.
340 ACTIVE is the list of active buffer names.
350 ;; corresponding short name from the list of all substrings. To
377 "Return a list of unique substrings of STRINGS."
395 ;; element in the list, increase the length of the candidate.
545 (null (erc-buffer-list)))
664 "This function updates the information in `erc-modified-channels-alist'
751 (short-names (if (functionp erc-track-shorten-function)
752 (funcall erc-track-shorten-function
784 If `erc-track-faces-priority-list' is set, the one from FACES who is
785 first in that list will be used."
786 (let ((candidates erc-track-faces-priority-list)
796 "Hook function for `erc-insert-post-hook' to check if the current
815 ;; are no faces corresponding to `erc-track-faces-priority-list',
817 ;; priority list, add the buffer to the erc-modified-channels-alist,
818 ;; if it is not already there. If the buffer is already on the list
828 (when (member f erc-track-faces-priority-list)
849 ;; from our list.
860 "Return a list of all faces used in STR."
863 (faces (erc-list (get-text-property 0 'face str))))
866 (dolist (face (erc-list (get-text-property i 'face str)))
867 (add-to-list 'faces face)))