1. 12 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Use with-demoted-errors now that it can format any error messages · 30213927
      Glenn Morris authored
      * dframe.el (dframe-timer-fn):
      * files.el (dir-locals-read-from-file):
      * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run, mpc-format):
      * reveal.el (reveal-post-command):
      * saveplace.el (load-save-place-alist-from-file):
      * shell.el (shell-resync-dirs):
      * w32-common-fns.el (x-get-selection-value):
      * emacs-lisp/copyright.el (copyright-find-copyright):
      * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
      * emulation/tpu-edt.el (tpu-copy-keyfile):
      * play/bubbles.el (bubbles--mark-neighbourhood):
      * progmodes/executable.el (executable-make-buffer-file-executable-if-script-p):
      * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
      30213927
  2. 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
  3. 22 May, 2013 1 commit
    • Glenn Morris's avatar
      Small speedbar-related clean-up · 0cdffd7d
      Glenn Morris authored
      * lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
      Remove unnecessary declarations.
      (dframe-message): Doc fix.
      
      * lisp/info.el (dframe-select-attached-frame, dframe-current-frame):
      Declare.
      
      * lisp/speedbar.el (speedbar-message): Make it an obsolete alias.
      Update all callers.
      (speedbar-with-attached-buffer)
      (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
      (speedbar-with-writable): Use backquote.
      
      * lisp/emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
      
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
      Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
      rather than speedbar- aliases.
      
      * lisp/mail/rmail.el: Load dframe rather than speedbar when compiling.
      (speedbar-make-specialized-keymap, speedbar-insert-button)
      (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
      (speedbar-do-function-pointer): Declare.
      (rmail-speedbar-button, rmail-speedbar-find-file)
      (rmail-speedbar-move-message):
      Use dframe-with-attached-buffer rather than speedbar- alias.
      
      * lisp/progmodes/gud.el: Load dframe rather than speedbar when compiling.
      (dframe-message, speedbar-make-specialized-keymap)
      (speedbar-add-expansion-list, speedbar-mode-functions-list)
      (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
      (speedbar-insert-button, dframe-select-attached-frame)
      (dframe-maybee-jump-to-attached-frame)
      (speedbar-change-initial-expansion-list)
      (speedbar-previously-used-expansion-list-name): Declare.
      (gud-speedbar-item-info, gud-gdb-goto-stackframe):
      Use dframe-message, dframe-with-attached-buffer rather than
      speedbar- aliases.
      (gud-sentinel): Silence compiler.
      
      * lisp/progmodes/vhdl-mode.el (speedbar-refresh)
      (speedbar-do-function-pointer, speedbar-add-supported-extension)
      (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
      (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
      (speedbar-extension-list-to-regex, speedbar-directory-buttons)
      (speedbar-file-lists, speedbar-make-tag-line)
      (speedbar-line-directory, speedbar-goto-this-file)
      (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
      (speedbar-delete-subblock, speedbar-position-cursor-on-line)
      (speedbar-make-button, speedbar-reset-scanners)
      (speedbar-files-item-info, speedbar-line-text)
      (speedbar-find-file-in-frame, speedbar-set-timer)
      (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
      (speedbar-with-writable): Do not (re)define it.
      (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
      rather than speedbar- alias.
      
      * lisp/cedet/ede/speedbar.el (ede-file-find, ede-tag-find):
      * lisp/cedet/semantic/sb.el (semantic-sb-token-jump):
      Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
      
      * lisp/mh-e/mh-speed.el (mh-speed-view):
      Use dframe-with-attached-buffer rather than speedbar- alias.
      0cdffd7d
  4. 01 Jan, 2013 1 commit
  5. 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
  6. 09 Apr, 2012 1 commit
  7. 11 Jan, 2012 1 commit
  8. 05 Jan, 2012 1 commit
  9. 15 Dec, 2011 1 commit
  10. 27 Nov, 2011 1 commit
  11. 20 Nov, 2011 2 commits
  12. 11 Nov, 2011 1 commit
  13. 19 Apr, 2011 1 commit
  14. 12 Apr, 2011 1 commit
  15. 26 Jan, 2011 1 commit
  16. 25 Jan, 2011 1 commit
  17. 02 Jan, 2011 1 commit
  18. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  19. 17 Sep, 2010 1 commit
  20. 13 Jan, 2010 1 commit
  21. 05 Jan, 2009 1 commit
  22. 04 Nov, 2008 1 commit
  23. 12 Jun, 2008 1 commit
  24. 06 May, 2008 1 commit
  25. 23 Apr, 2008 1 commit
  26. 07 Jan, 2008 1 commit
  27. 25 Dec, 2007 1 commit
    • Dan Nicolaescu's avatar
      * calculator.el: · d31e8e87
      Dan Nicolaescu authored
      * dframe.el:
      * iswitchb.el:
      * whitespace.el:
      * winner.el:
      * emacs-lisp/checkdoc.el:
      * mail/feedmail.el:
      * net/quickurl.el:
      * obsolete/fast-lock.el:
      * play/5x5.el:
      * progmodes/delphi.el:
      * progmodes/idlw-shell.el:
      * progmodes/idlwave.el:
      * textmodes/artist.el:
      * textmodes/ispell.el:
      * textmodes/texinfmt.el:
      * textmodes/texinfo.el: Remove obsolete definitions of backward
      compatibility macros for defcustom, defgroup, defface, when,
      unless, with-current-buffer and with-temp-message.
      d31e8e87
  28. 23 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      Remove spurious * in custom docstrings. · 78b35906
      Stefan Monnier authored
      (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
      (dframe-xemacs20p): Remove, inline at the sole use point.
      (defface): Don't defvar the face, don't use old-style backquote.
      (defcustom): Don't use old-style backquote.
      (dframe-frame-parameter, dframe-mouse-event-p):
      Make it obvious that it's always defined.
      (dframe-popup-kludge): New function to replace
      dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
      (dframe-frame-mode, dframe-set-timer-internal)
      (dframe-mouse-set-point): Remove use of with-no-warnings from
      XEmacs-specific code.
      (dframe-set-timer-internal): Fix very old bug with
      post-command-idle-hook.
      78b35906
  29. 25 Jul, 2007 1 commit
  30. 07 Jun, 2007 1 commit
  31. 10 Apr, 2007 1 commit
  32. 21 Jan, 2007 1 commit
  33. 01 Mar, 2006 1 commit
  34. 06 Feb, 2006 1 commit
  35. 02 Feb, 2006 1 commit
  36. 30 Nov, 2005 1 commit
  37. 06 Oct, 2005 1 commit
  38. 04 Oct, 2005 1 commit
    • Chong Yidong's avatar
      * info.el (Info-next, Info-prev, Info-up): Select info buffer, in · 222a6c9b
      Chong Yidong authored
      	case the user clicks on the link while another window is selected.
      	(Info-speedbar-hierarchy-buttons): Use speedbar-current-frame.
      
      	* dframe.el (dframe-update-keymap): Use mouse-1-click-follows-link
      	functionality.
      	(dframe-help-echo): Save point in case mouse tracking is off.
      222a6c9b
  39. 02 Oct, 2005 1 commit
    • Chong Yidong's avatar
      * speedbar.el: Remove RCS tag. · 24bbdbef
      Chong Yidong authored
      	(speedbar-check-read-only): Handle non-existent files.
      
      	* dframe.el, ezimage.el, sb-image.el: Remove RCS tags.
      
      	* info.el (Info-speedbar-hierarchy-buttons)
      	(Info-speedbar-goto-node): Call speedbar-select-attached-frame.
      24bbdbef