Function: erc-networks--id-qualifying-symbol

erc-networks--id-qualifying-symbol is a byte-compiled function defined in erc-networks.el.gz.

Signature

(erc-networks--id-qualifying-symbol erc-networks--id-qualifying-symbol X)

Documentation

Access slot "symbol" of erc-networks--id-qualifying struct X.

ID as a symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-networks.el.gz
(cl-defstruct (erc-networks--id-qualifying
               (:include erc-networks--id)
               (:constructor erc-networks--id-qualifying-create
                             (&aux
                              (ts (float-time))
                              (parts (erc-networks--id-qualifying-init-parts))
                              (symbol (erc-networks--id-qualifying-init-symbol
                                       parts))
                              (len 1))))
  "A session context composed of hierarchical connection parameters.
Two identifiers are considered equivalent when their non-empty
`parts' slots compare equal.  Related identifiers share a common
prefix of `parts' taken from connection parameters (given or
discovered).  An identifier's unique `symbol', intended for
display purposes, is created by concatenating the shortest common
prefix among its relatives.  For example, related presences [b a
r d o] and [b a z a r] would have symbols b/a/r and b/a/z
respectively.  The separator is given by `erc-networks--id-sep'."
  (parts nil :type sequence ; a vector of atoms
         :documentation "Sequence of identifying components.")
  (len 0 :type integer
       :documentation "Length of active `parts' interval."))