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

Lines Matching defs:score

110 If value is `verbose', the computed score is shown for each match."
119 If value is `verbose', the computed score is shown for each match."
355 (defun apropos-score-str (str)
356 "Return apropos score for string STR."
359 (score (- (/ l 10))))
360 (dolist (s (apropos-calc-scores str apropos-all-words) score)
361 (setq score (+ score 1000 (/ (* (- l s) 1000) l)))))
364 (defun apropos-score-doc (doc)
365 "Return apropos score for documentation string DOC."
368 (let ((score 0) i)
370 (setq score 10000))
371 (dolist (s (apropos-calc-scores doc apropos-all-words) score)
372 (setq score (+ score 50 (/ (* (- l s) 50) l)))))
375 (defun apropos-score-symbol (symbol &optional weight)
376 "Return apropos score for SYMBOL."
378 (let ((score 0)
380 (dolist (s (apropos-calc-scores symbol apropos-words) (* score (or weight 3)))
381 (setq score (+ score (- 60 l) (/ (* (- l s) 60) l))))))
469 doc symbol score)
473 (setq score (apropos-score-symbol symbol))
478 (setq score (+ score (apropos-score-doc doc)))
486 (setq score (+ score (apropos-score-doc doc)))
489 (setcar (cdr (car p)) score)
548 (apropos-score-symbol symbol)
616 (+ (apropos-score-str f)
617 (apropos-score-str v)
618 (apropos-score-str p))
656 (setq sf (apropos-score-doc f)
657 sv (apropos-score-doc v))
672 (+ (apropos-score-symbol symbol 2) sf sv)
753 (apropos-score-doc doc)))
755 (+ (apropos-score-symbol symbol 2)
756 (apropos-score-doc doc))
807 (+ (cadr apropos-item) (apropos-score-doc doc))))
809 (+ (apropos-score-symbol symbol 2)
810 (apropos-score-doc doc))
866 ;; Don't sort by score if user can't see the score.
896 ;; Insert dummy score element for backwards compatibility with 21.x