1. 02 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Substitute some customization etc. doc strings · bd3b426e
      Paul Eggert authored
      These changes apply substitute-command-keys to some
      doc strings that were going through untranslated
      when creating customization or other widgets.
      * lisp/cus-edit.el (custom-group-value-create):
      * lisp/wid-edit.el (widget-default-create):
      (widget-push-button-value-create):
      Treat the widget tag as a doc string.
      * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
      Treat the :documentation value as a doc string.
      * lisp/wid-edit.el (widget-choose):
      Treat the choice names as doc strings.
      (widget-default-create): Treat the :doc value as a doc string.
      (widget-toggle-value-create): Treat the :on and :off values
      as doc strings.
      (widget-documentation-string-value-create):
      Substitute the doc string.
      bd3b426e
  2. 31 Jul, 2015 1 commit
    • Paul Eggert's avatar
      Don't overflow if computing approximate percentage · eb0f65b4
      Paul Eggert authored
      * lisp/align.el (align-region):
      * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
      * lisp/cedet/semantic/wisent.el (wisent-parse-region):
      * lisp/cus-edit.el (custom-buffer-create-internal):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
      (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
      (checkdoc-next-message-error):
      * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
      * lisp/epa.el (epa-progress-callback-function):
      * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
      * lisp/ffap.el (ffap-menu-rescan):
      * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
      * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
      * lisp/gnus/nneething.el (nneething-retrieve-headers):
      * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
      * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
      * lisp/gnus/nnml.el (nnml-retrieve-headers):
      * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
      * lisp/gnus/nntp.el (nntp-retrieve-headers)
      (nntp-retrieve-articles):
      * lisp/imenu.el (imenu--relative-position):
      * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
      (skkdic-convert-okuri-nasi):
      * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
      * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
      * lisp/org/org-list.el (org-update-checkbox-count):
      * lisp/org/org.el (org-table-map-tables)
      (org-update-parent-todo-statistics):
      * lisp/play/decipher.el (decipher-insert-frequency-counts)
      (decipher-analyze-buffer):
      * lisp/profiler.el (profiler-format-percent):
      * lisp/progmodes/cc-cmds.el (c-progress-update):
      * lisp/progmodes/cpp.el (cpp-highlight-buffer):
      * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
      (idlwave-list-load-path-shadows):
      * lisp/progmodes/opascal.el (opascal-step-progress):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-scan-directory-contents):
      * lisp/textmodes/bibtex.el (bibtex-progress-message):
      * lisp/textmodes/flyspell.el (flyspell-small-region)
      (flyspell-external-point-words):
      * lisp/textmodes/table.el (table-recognize):
      Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
      progress-report percentages and the like.  This avoids problems
      if (* 100 NUMERATOR) would overflow.
      * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
      * lisp/gnus/registry.el (registry-reindex):
      Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
      * lisp/descr-text.el (describe-char):
      * lisp/org/org-colview.el (org-nofm-to-completion):
      * lisp/ps-print.el (ps-plot):
      * lisp/simple.el (what-cursor-position):
      Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
      more-complicated and less-accurate approximation.
      eb0f65b4
  3. 21 May, 2015 1 commit
  4. 22 Apr, 2015 1 commit
  5. 21 Apr, 2015 1 commit
    • Stefan Monnier's avatar
      Fix byte-compiler warnings about looking-back. · c9a75a40
      Stefan Monnier authored
      * lisp/vc/log-view.el (log-view-end-of-defun-1):
      * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
      * lisp/textmodes/reftex-ref.el (reftex-goto-label):
      * lisp/textmodes/bibtex.el (bibtex-insert-kill):
      * lisp/progmodes/sh-script.el (sh--maybe-here-document):
      * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
      * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
      * lisp/org/org.el (org-insert-heading, org-sort-entries):
      * lisp/org/org-mouse.el (org-mouse-end-headline)
      (org-mouse-context-menu):
      * lisp/org/org-clock.el (org-clock-cancel):
      * lisp/man.el (Man-default-man-entry):
      * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
      (rmail-ensure-blank-line):
      * lisp/mail/footnote.el (Footnote-delete-footnote):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      * lisp/info.el (Info-follow-reference, Info-fontify-node):
      * lisp/info-look.el (info-lookup-guess-custom-symbol):
      * lisp/help-fns.el (help-fns--key-bindings):
      * lisp/files.el (hack-local-variables):
      ...
      c9a75a40
  6. 12 Apr, 2015 1 commit
  7. 01 Jan, 2015 2 commits
  8. 14 Dec, 2014 1 commit
    • Cameron Desautels's avatar
      Provide custom-prompt-customize-unsaved-options. · 4c4f970c
      Cameron Desautels authored
      * doc/emacs/custom.texi (Saving Customizations): Mention
      `custom-prompt-customize-unsaved-options'.
      
      * etc/NEWS: Mention `custom-prompt-customize-unsaved-options'.
      
      * etc/TODO: Remove its entry.
      
      * lisp/cus-edit.el (custom-prompt-customize-unsaved-options): Add a
      mechanism for prompting user about unsaved customizations.
      (Bug#19328)
      4c4f970c
  9. 15 Oct, 2014 1 commit
  10. 29 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Doc and comment fixes re "online" help · a27e8c78
      Glenn Morris authored
      * doc/emacs/help.texi (Misc Help):
      * doc/emacs/trouble.texi (Checklist):
      * doc/lispintro/emacs-lisp-intro.texi (Note for Novices, Finding More)
      (Conclusion):
      * doc/lispref/help.texi (Help Functions):
      * doc/misc/info.texi, doc/misc/mh-e.texi:
      * etc/refcards/calccard.tex (section{Getting Help}):
      * lisp/cus-edit.el (help):
      * lisp/finder.el (finder-known-keywords):
      * lisp/help.el (help-for-help-internal):
      * lisp/vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
      (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
      Doc fixes re "online" help.
      
      Fixes: debbugs:17803
      a27e8c78
  11. 10 Feb, 2014 1 commit
  12. 09 Feb, 2014 3 commits
  13. 01 Jan, 2014 1 commit
  14. 18 Dec, 2013 1 commit
  15. 29 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      Misc changes to reduce use of `(lambda...); and other cleanups. · 40f7e0e8
      Stefan Monnier authored
      * lisp/cus-edit.el: Use lexical-binding.
      (customize-push-and-save, customize-apropos)
      (custom-buffer-create-internal): Use closures.
      * lisp/progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
      * lisp/progmodes/ada-xref.el: Use setq.
      * lisp/net/tramp.el (with-tramp-progress-reporter): Avoid setq.
      * lisp/dframe.el: Use lexical-binding.
      (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
      * lisp/speedbar.el (speedbar-frame-mode): Adjust call accordingly.
      * lisp/descr-text.el: Use lexical-binding.
      (describe-text-widget, describe-text-sexp, describe-property-list):
      Use closures.
      * lisp/comint.el (comint-history-isearch-push-state): Use a closure.
      * lisp/calculator.el: Use lexical-binding.
      (calculator-number-to-string): Make it work with lexical-binding.
      (calculator-funcall): Same and use cl-letf.
      40f7e0e8
  16. 20 Jun, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/(cus-edit,custom).el: Fix typos; use setq-local, string-match-p, looking-at-p. · d5b27848
      Juanma Barranquero authored
      * lisp/cus-edit.el:
        (custom-commands): Fix typos.
        (custom-display): Fix tooltip text.
        (custom-magic-alist, custom-filter-face-spec, custom-group-members):
        Fix typos in docstrings.
        (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
        (custom-unlispify-menu-entry, custom-magic-value-create)
        (custom-add-see-also, custom-group-value-create): Use ?\s.
        (custom-guess-type, customize-apropos, editable-field)
        (custom-face-value-create): Use `string-match-p'.
        (custom-save-variables, custom-save-faces): Use `looking-at-p'.
      
      * lisp/custom.el (custom-load-symbol): Use `string-match-p'.
      d5b27848
  17. 08 May, 2013 1 commit
  18. 13 Apr, 2013 1 commit
  19. 12 Feb, 2013 1 commit
    • Glenn Morris's avatar
      Make S-SPC scroll in the opposite direction to SPC · 958614cf
      Glenn Morris authored
      * lisp/calc/calc-graph.el (calc-graph-show-dumb):
      * lisp/calendar/calendar.el (calendar-mode-map):
      * lisp/cus-edit.el (custom-mode-map):
      * lisp/ehelp.el (electric-help-map):
      * lisp/emulation/vip.el (vip-mode-map):
      * lisp/epa.el (epa-key-list-mode-map):
      * lisp/info.el (Info-mode-map):
      * lisp/mail/rmail.el (rmail-mode-map):
      * lisp/mail/rmailsum.el (rmail-summary-mode-map):
      * lisp/man.el (Man-mode-map):
      * lisp/net/newst-plainview.el (newsticker-mode-map):
      * lisp/progmodes/cpp.el (cpp-edit-mode-map):
      * lisp/progmodes/grep.el (grep-mode-map):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
      * lisp/simple.el (special-mode-map):
      * lisp/startup.el (splash-screen-keymap):
      * lisp/view.el (view-mode-map):
      Make S-SPC scroll in the opposite sense to SPC.
      
      Fixes: debbugs:2145
      958614cf
  20. 01 Jan, 2013 1 commit
  21. 25 Nov, 2012 1 commit
    • Chong Yidong's avatar
      Revamp face-spec-set to be more analogous to setq for faces. · 1c4f115d
      Chong Yidong authored
      * lisp/faces.el (face-spec-set): Change the third arg to specify
      whether this function is being called via defface, customize, or a
      third party.  Set the appropriate symbol properties.  Clear the
      override spec if setting via Custom.  Initialize face if necessary.
      (face-spec-recalc): Allow theme faces to completely replace the
      defface spec, in the same way as custom faces (Bug#8454).
      
      * lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
      (custom-face-reset-saved, custom-face-mark-to-reset-standard):
      Simplify by using the new arg to face-spec-set.
      
      * lisp/cus-face.el (custom-declare-face): Move face initialization to
      face-spec-set.
      (custom-theme-set-faces): Don't initialize the face name here, as
      that is now done in face-spec-set.
      
      * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
      reset face-override-spec too, and use custom-declare-face.
      
      Fixes: debbugs:4988
      1c4f115d
  22. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  23. 18 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes for defface and friends. · ed1f0bd3
      Chong Yidong authored
      * lisp/cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
      
      * lisp/custom.el (defface): Doc fix.
      
      * doc/lispref/customize.texi (Customization): Define customization more
      carefully.
      (Common Keywords): Add xref to Constant Variables.
      
      * doc/lispref/display.texi (Faces): Discuss anonymous faces.
      (Face Attributes): Tweak intro.
      (Defining Faces): Move after the Face Attributes node.  Copyedits.
      (Displaying Faces): Describe role of inheritance.
      
      * doc/lispref/variables.texi (Defining Variables): Link to defcustom's node
      instead of the higher-level Customization chapter.
      
      Fixes: debbugs:11440
      ed1f0bd3
  24. 15 Aug, 2012 1 commit
  25. 08 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Face cleanups. Remove some uses of old-style face spec and :bold/:italic. · 4b56d0fe
      Chong Yidong authored
      * faces.el (set-face-attribute): Doc fix.
      (modify-face): Don't use :bold and :italic.
      (error, warning, success): Tweak definitions.
      
      * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
      (custom-modified, custom-set, custom-changed, custom-themed)
      (custom-saved, custom-button, custom-button-mouse)
      (custom-button-pressed, custom-state, custom-comment-tag)
      (custom-variable-tag, custom-group-tag-1, custom-group-tag)
      (custom-group-subtitle): Use new-style face specs.
      (custom-invalid-face, custom-rogue-face, custom-modified-face)
      (custom-set-face, custom-changed-face, custom-saved-face)
      (custom-button-face, custom-button-pressed-face)
      (custom-documentation-face, custom-state-face)
      (custom-comment-face, custom-comment-tag-face)
      (custom-variable-tag-face, custom-variable-button-face)
      (custom-face-tag-face, custom-group-tag-face-1)
      (custom-group-tag-face): Remove obsolete face alias.
      
      * epa.el (epa-validity-high, epa-validity-medium)
      (epa-validity-low, epa-mark, epa-field-name, epa-string)
      (epa-field-name, epa-field-body):
      * font-lock.el (font-lock-comment-face, font-lock-string-face)
      (font-lock-keyword-face, font-lock-builtin-face)
      (font-lock-function-name-face, font-lock-variable-name-face)
      (font-lock-type-face, font-lock-constant-face):
      * ido.el (ido-first-match, ido-only-match, ido-subdir)
      (ido-virtual, ido-indicator, ido-incomplete-regexp):
      * speedbar.el (speedbar-button-face, speedbar-file-face)
      (speedbar-directory-face, speedbar-tag-face)
      (speedbar-selected-face, speedbar-highlight-face)
      (speedbar-separator-face):
      * whitespace.el (whitespace-newline, whitespace-space)
      (whitespace-hspace, whitespace-tab, whitespace-trailing)
      (whitespace-line, whitespace-space-before-tab)
      (whitespace-space-after-tab, whitespace-indentation)
      (whitespace-empty):
      * emulation/cua-base.el (cua-global-mark):
      * eshell/em-prompt.el (eshell-prompt):
      * net/newst-plainview.el (newsticker-new-item-face)
      (newsticker-old-item-face, newsticker-immortal-item-face)
      (newsticker-obsolete-item-face, newsticker-date-face)
      (newsticker-statistics-face, newsticker-default-face):
      * net/newst-reader.el (newsticker-feed-face)
      (newsticker-extra-face, newsticker-enclosure-face):
      * net/newst-treeview.el (newsticker-treeview-face)
      (newsticker-treeview-new-face, newsticker-treeview-old-face)
      (newsticker-treeview-immortal-face)
      (newsticker-treeview-obsolete-face)
      (newsticker-treeview-selection-face):
      * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
      (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
      (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
      (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
      * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
      (nxml-outline-active-indicator, nxml-outline-ellipsis):
      * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
      (mpuz-text):
      * progmodes/vera-mode.el (vera-font-lock-number)
      (vera-font-lock-function, vera-font-lock-interface):
      * textmodes/table.el (table-cell): Use new-style face specs, and
      don't use the old :bold and :italic attributes.
      
      * erc-button.el (erc-button):
      * erc-goodies.el (erc-bold-face, erc-inverse-face)
      (erc-underline-face, fg:erc-color-*):
      * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
      (erc-pal-face, erc-fool-face, erc-keyword-face):
      * erc-stamp.el (erc-timestamp-face): Likewise.
      
      * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
      (erc-command-indicator-face, erc-notice-face, erc-action-face)
      (erc-error-face, erc-my-nick-face, erc-nick-default-face)
      (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
      
      * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
      (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
      (ebrowse-member-class, ebrowse-progress): Likewise.
      (ebrowse-tree-mark-face, ebrowse-root-class-face)
      (ebrowse-file-name-face, ebrowse-default-face)
      (ebrowse-member-attribute-face, ebrowse-member-class-face)
      (ebrowse-progress-face): Remove obsolete faces.
      
      * progmodes/flymake.el (flymake-errline, flymake-warnline):
      Inherit from error and warning faces respectively.
      
      * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
      Likewise.
      (flyspell-incorrect-face, flyspell-duplicate-face): Remove
      obsolete aliases.
      
      * display.texi (Face Attributes): Font family does not accept
      wildcards.  De-document obsolete :bold and :italic attributes.
      (Defining Faces): Use new-style face spec format.
      4b56d0fe
  26. 02 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Remove incorrect uses of "modeline". · 37269466
      Chong Yidong authored
      * ansi-color.el (ansi-color-faces-vector): Change default faces.
      
      * cus-edit.el (mode-line):
      * dframe.el (dframe-mouse-hscroll):
      * emacs-lisp/re-builder.el:
      * emacs-lisp/easy-mmode.el (define-minor-mode):
      * frame.el (set-frame-name):
      * help.el (lookup-minor-mode-from-indicator):
      * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
      * progmodes/cc-cmds.el (c-toggle-auto-newline)
      (c-toggle-hungry-state):
      * progmodes/antlr-mode.el (antlr-language-alist):
      * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/which-func.el (which-func, which-func-cleanup-function):
      * term/ns-win.el (ns-face-at-pos):
      * term/sup-mouse.el (sup-mouse-report):
      * textmodes/flyspell.el (flyspell-mode-line-string):
      * textmodes/ispell.el (ispell-highlight-face):
      * textmodes/reftex-global.el:
      * vc/vc-arch.el (vc-arch-mode-line-string):
      * vc/vc-cvs.el (vc-cvs-mode-line-string):
      * vc/vc-git.el (vc-git-mode-line-string):
      * vc/vc-hooks.el (vc-display-status)
      (vc-default-mode-line-string):
      * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
      
      * dired.el (dired-sort-set-mode-line): Rename from
      dired-sort-set-modeline.  All callers changed.
      
      * foldout.el (foldout-mode-line-string): Rename from
      foldout-modeline-string.  All callers changed.
      (foldout-update-mode-line): Rename from foldout-update-modeline.
      
      * strokes.el (strokes-lighter): Rename from
      strokes-modeline-string.
      
      * subr.el (redraw-modeline): Make into obsolete alias.
      
      * calendar/timeclock.el (timeclock-mode-line-display): Rename from
      timeclock-modeline-display.  Make old name an alias.
      (timeclock-update-mode-line): Likewise.  All callers changed.
      (timeclock-mode-line-display): No need to check before using
      add-hook.
      (timeclock-relative, timeclock-day-over-hook)
      (timeclock-use-elapsed, timeclock-mode-string)
      (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
      
      * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
      crisp-mode-modeline-string.
      
      * erc-track.el (erc-track, erc-track-faces-priority-list)
      (erc-track-faces-normal-list, erc-track-find-face)
      (erc-track-modified-channels): Fix modeline -> mode line in docs.
      
      * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
      eshell-status-in-modeline.
      
      * org-clock.el (org-clock-string-limit)
      (org-clock-modeline-total, org-clock-task-overrun-text)
      (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
      
      * play/solitaire.el (solitaire-build-mode-line): Rename from
      solitaire-build-modeline.  All callers changed.
      
      * play/zone.el (zone-hiding-mode-line): Rename from
      zone-hiding-modeline.  All callers changed.
      (zone): Remove unusued `modeline-hidden-level' property.
      
      * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
      xscheme-modeline-initialize.  All callers changed.
      
      * textmodes/sgml-mode.el (html-face-tag-alist)
      (html-tag-face-alist): Use mode-line face instead of obsolete
      alias modeline.
      
      Fixes: debbugs:10329
      37269466
  27. 01 Jun, 2012 1 commit
  28. 13 May, 2012 1 commit
    • Stefan Monnier's avatar
      Move define-obsolete-variable-alias before the var's definition. · e5bd0a28
      Stefan Monnier authored
      * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
      * lisp/tooltip.el (tooltip-hook):
      * lisp/textmodes/reftex-toc.el (reftex-toc-map):
      * lisp/textmodes/reftex-sel.el (reftex-select-label-map)
      (reftex-select-bib-map):
      * lisp/textmodes/reftex-index.el (reftex-index-map)
      (reftex-index-phrases-map):
      * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
      * lisp/progmodes/meta-mode.el (meta-mode-map):
      * lisp/novice.el (disabled-command-hook):
      * lisp/loadhist.el (unload-hook-features-list):
      * lisp/frame.el (blink-cursor):
      * lisp/files.el (find-file-not-found-hooks, write-file-hooks)
      (write-contents-hooks):
      * lisp/emulation/tpu-edt.el (GOLD-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/dos-fns.el (register-name-alist):
      * lisp/dired-x.el (dired-omit-files-p):
      * lisp/desktop.el (desktop-enable):
      * lisp/cus-edit.el (custom-mode-hook):
      * lisp/buff-menu.el (buffer-menu-mode-hook):
      * lisp/bookmark.el (bookmark-read-annotation-text-func)
      (bookmark-exit-hooks):
      * lisp/allout.el (allout-mode-deactivate-hook)
      (allout-exposure-change-hook, allout-structure-added-hook)
      (allout-structure-deleted-hook, allout-structure-shifted-hook):
      * lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
      (dirtrack-debug): Move call to define-obsolete-variable-alias so it
      comes before the corresponding variable's definition.
      e5bd0a28
  29. 04 May, 2012 1 commit
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
  30. 01 May, 2012 1 commit
  31. 25 Apr, 2012 1 commit
  32. 23 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Remove non-option variable handling from customize-apropos · 775c916b
      Chong Yidong authored
      and enable use of word lists for customize-apropos-options etc.
      
      * lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
      
      * lisp/cus-edit.el (customize-apropos, customize-apropos-options):
      Disable matching of non-option variables.
      (customize-option, customize-option-other-window)
      (customize-changed-options): Doc fix.
      (customize-apropos-options, customize-apropos-faces)
      (customize-apropos-groups): Use apropos-read-pattern.
      
      Fixes: debbugs:11176
      775c916b
  33. 22 Apr, 2012 2 commits
    • Chong Yidong's avatar
      Make the "reset-saved" Custom operation reset to default if there is no saved value. · c2d1019e
      Chong Yidong authored
      * lisp/cus-edit.el (custom-variable-menu)
      (custom-variable-reset-saved, custom-face-menu)
      (custom-face-reset-saved): If there is no saved value, make the
      "reset-saved" operation bring back the default.
      (custom-face-state): Properly detect themed faces.
      
      Fixes: debbugs:9509
      c2d1019e
    • Chong Yidong's avatar
      Tweaks to Customize interface. Set custom-reset-button-menu to t. · cf20dee0
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-reset-menu)
      (Custom-reset-standard): Tweak labels.
      (custom-reset-button-menu): Change default to t.
      (custom-buffer-create-internal): For the custom-reset-button-menu
      case, put the revert button first.
      (custom-group-subtitle): New face.
      (custom-group-value-create): Align docstring to a specific column.
      
      * wid-edit.el (widget-documentation-link-add): Don't handle
      indentation in this function.
      (widget-documentation-string-indent-to): New function.
      (widget-documentation-string-value-create): Use it.
      
      * autorevert.el (auto-revert):
      * epg-config.el (epg):
      * ibuffer.el (ibuffer):
      * mpc.el (mpc):
      * ses.el (ses):
      * eshell/eshell.el (eshell):
      * net/ange-ftp.el (ange-ftp):
      * progmodes/ebnf2ps.el (postscript):
      * progmodes/flymake.el (flymake):
      * progmodes/prolog.el (prolog):
      * progmodes/verilog-mode.el (verilog-mode):
      * progmodes/which-func.el (which-func):
      * textmodes/picture.el (picture):
      * textmodes/tildify.el (tildify):
      * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
      customization buffers.
      cf20dee0
  34. 05 Feb, 2012 3 commits