1. 08 Aug, 2013 1 commit
  2. 20 Jun, 2013 1 commit
    • Paul Eggert's avatar
      Add log2 support and make log10 obsolete for consistency. · 89561f72
      Paul Eggert authored
      * configure.ac (log2): Check for this function.
      * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
      * lisp/subr.el (log10): Move here from C code, and declare as obsolete.
      All uses of (log10 X) replaced with (log X 10).
      * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
      base is 2; this is more accurate.
      (Flog10): Move to Lisp (marked obsolete there).
      89561f72
  3. 10 Jun, 2013 1 commit
  4. 22 May, 2013 1 commit
    • Glenn Morris's avatar
      Silence allout.el compilation · 6450907e
      Glenn Morris authored
      * lisp/allout.el: No need to load epa, epg, overlay when compiling.
      (epg-context-set-passphrase-callback, epg-list-keys)
      (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
      (epg-key-user-id-list): Declare.
      6450907e
  5. 01 Jan, 2013 1 commit
  6. 20 Nov, 2012 1 commit
    • Stefan Monnier's avatar
      Make called-interactively-p work for edebug or advised code. · 23ba2705
      Stefan Monnier authored
      * lisp/subr.el (called-interactively-p-functions): New var.
      (internal--called-interactively-p--get-frame): New macro.
      (called-interactively-p, interactive-p): Rewrite in Lisp.
      * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
      (called-interactively-p-functions): Use it.
      * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
      (called-interactively-p-functions): Use it.
      * lisp/allout.el (allout-called-interactively-p): Don't assume
      called-interactively-p is a subr.
      * src/eval.c (Finteractive_p, Fcalled_interactively_p, interactive_p): Remove.
      (syms_of_eval): Remove corresponding defsubr.
      * src/bytecode.c (exec_byte_code): `interactive-p' is now a Lisp function.
      * test/automated/advice-tests.el (advice-tests--data): Remove.
      (advice-tests): Move the tests directly here instead.
      Add called-interactively-p tests.
      23ba2705
  7. 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
  8. 15 Aug, 2012 1 commit
  9. 07 Aug, 2012 1 commit
    • Andreas Schwab's avatar
      * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix · 651eaf36
      Andreas Schwab authored
      handling of interactive spec when the body uses return.
      (math-do-arg-check, math-define-function-body): Use backquote forms.
      * calc/calc-ext.el (math-defcache): Likewise.
      * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
      * allout.el (allout-new-exposure): Likewise.
      * calc/calcalg2.el (math-tracing-integral): Likewise.
      * info.el (Info-last-menu-item): Likewise.
      * emulation/vip.el (vip-loop): Likewise.
      * textmodes/artist.el (artist-funcall): Likewise.
      * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
      Construct menu-item directly.
      
      * cedet/ede/base.el (ede-with-projectfile): Use backquote forms.
      651eaf36
  10. 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
  11. 02 May, 2012 1 commit
    • Chong Yidong's avatar
      Fix naming of abnormal hook vars in allout.el. · 7b97c764
      Chong Yidong authored
      * lisp/allout.el (allout-exposure-change-functions)
      (allout-structure-added-functions)
      (allout-structure-deleted-functions)
      (allout-structure-shifted-functions): Rename abnormal hooks from *-hook,
      and convert to defcustoms.
      (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
      to defcustoms.
      (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
      
      * lisp/allout-widgets.el: Hook callers changed.
      7b97c764
  12. 09 Apr, 2012 1 commit
  13. 11 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * window.el (window-sides-slots):
      * tool-bar.el (tool-bar-position):
      * term/xterm.el (xterm-extra-capabilities):
      * ses.el (ses-self-reference-early-detection):
      * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
      (verilog-auto-wire-type)
      (verilog-auto-delete-trailing-whitespace)
      (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
      (verilog-auto-tieoff-declaration):
      * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
      (sql-oracle-statement-starters, sql-oracle-scan-on):
      * progmodes/prolog.el (prolog-align-comments-flag)
      (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
      (prolog-left-indent-regexp, prolog-paren-indent-p)
      (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
      (prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
      (prolog-electric-dot-flag)
      (prolog-electric-dot-full-predicate-template)
      (prolog-electric-underscore-flag, prolog-electric-tab-flag)
      (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
      (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
      (prolog-program-switches, prolog-prompt-regexp)
      (prolog-debug-on-string, prolog-debug-off-string)
      (prolog-trace-on-string, prolog-trace-off-string)
      (prolog-zip-on-string, prolog-zip-off-string)
      (prolog-use-standard-consult-compile-method-flag)
      (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
      (prolog-imenu-max-lines, prolog-info-predicate-index)
      (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
      (prolog-char-quote-workaround):
      * progmodes/cc-vars.el (c-defun-tactic):
      * net/tramp.el (tramp-encoding-command-interactive)
      (tramp-local-end-of-line):
      * net/soap-client.el (soap-client):
      * net/netrc.el (netrc-file):
      * net/gnutls.el (gnutls):
      * minibuffer.el (completion-category-overrides)
      (completion-cycle-threshold)
      (completion-pcm-complete-word-inserts-delimiters):
      * man.el (Man-name-local-regexp):
      * mail/feedmail.el (feedmail-display-full-frame):
      * international/characters.el (glyphless-char-display-control):
      * eshell/em-ls.el (eshell-ls-date-format):
      * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
      (lisp-lambda-list-keyword-parameter-indentation)
      (lisp-lambda-list-keyword-parameter-alignment):
      * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
      * dired-x.el (dired-omit-verbose):
      * cus-theme.el (custom-theme-allow-multiple-selections):
      * calc/calc.el (calc-highlight-selections-with-faces)
      (calc-lu-field-reference, calc-lu-power-reference)
      (calc-note-threshold):
      * battery.el (battery-mode-line-limit):
      * arc-mode.el (archive-7z-extract, archive-7z-expunge)
      (archive-7z-update):
      * allout.el (allout-prefixed-keybindings)
      (allout-unprefixed-keybindings)
      (allout-inhibit-auto-fill-on-headline)
      (allout-flattened-numbering-abbreviation):
      * allout-widgets.el (allout-widgets-auto-activation)
      (allout-widgets-icons-dark-subdir)
      (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
      (allout-widgets-theme-dark-background)
      (allout-widgets-theme-light-background)
      (allout-widgets-item-image-properties-emacs)
      (allout-widgets-item-image-properties-xemacs)
      (allout-widgets-run-unit-tests-on-load)
      (allout-widgets-time-decoration-activity)
      (allout-widgets-hook-error-post-time)
      (allout-widgets-track-decoration):
      * gnus/sieve-manage.el (sieve-manage-default-stream):
      * gnus/shr.el (shr):
      * gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-notmuch-program)
      (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
      (nnir-method-default-engines):
      * gnus/message.el (message-cite-reply-position):
      * gnus/gssapi.el (gssapi-program):
      * gnus/gravatar.el (gravatar):
      * gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
      * gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
      (gnus-registry-max-pruned-entries):
      * gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
      * gnus/gnus-int.el (gnus-after-set-mark-hook)
      (gnus-before-update-mark-hook):
      * gnus/gnus-async.el (gnus-async-post-fetch-function):
      * gnus/auth-source.el (auth-source-cache-expiry):
      Add missing :version tags to new defcustoms and defgroups.
      2bed3f04
  14. 11 Jan, 2012 1 commit
  15. 05 Jan, 2012 1 commit
  16. 19 Dec, 2011 1 commit
  17. 05 Dec, 2011 1 commit
  18. 27 Nov, 2011 1 commit
  19. 24 Nov, 2011 1 commit
  20. 23 Nov, 2011 1 commit
  21. 20 Nov, 2011 3 commits
  22. 17 Nov, 2011 2 commits
  23. 16 Nov, 2011 1 commit
  24. 15 Nov, 2011 2 commits
  25. 14 Nov, 2011 2 commits
  26. 19 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix minor mode docstrings for the new meaning of a nil ARG. · 06e21633
      Chong Yidong authored
      * abbrev.el (abbrev-mode):
      * allout.el (allout-mode):
      * autoinsert.el (auto-insert-mode):
      * autoarg.el (autoarg-mode, autoarg-kp-mode):
      * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
      (global-auto-revert-mode):
      * battery.el (display-battery-mode):
      * composite.el (global-auto-composition-mode)
      (auto-composition-mode):
      * delsel.el (delete-selection-mode):
      * desktop.el (desktop-save-mode):
      * dired-x.el (dired-omit-mode):
      * dirtrack.el (dirtrack-mode):
      * doc-view.el (doc-view-minor-mode):
      * double.el (double-mode):
      * electric.el (electric-indent-mode, electric-pair-mode):
      * emacs-lock.el (emacs-lock-mode):
      * epa-hook.el (auto-encryption-mode):
      * follow.el (follow-mode):
      * font-core.el (font-lock-mode):
      * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
      * help.el (temp-buffer-resize-mode):
      * hilit-chg.el (highlight-changes-mode)
      (highlight-changes-visible-mode):
      * hi-lock.el (hi-lock-mode):
      * hl-line.el (hl-line-mode, global-hl-line-mode):
      * icomplete.el (icomplete-mode):
      * ido.el (ido-everywhere):
      * image-file.el (auto-image-file-mode):
      * image-mode.el (image-minor-mode):
      * iswitchb.el (iswitchb-mode):
      * jka-cmpr-hook.el (auto-compression-mode):
      * linum.el (linum-mode):
      * longlines.el (longlines-mode):
      * master.el (master-mode):
      * mb-depth.el (minibuffer-depth-indicate-mode):
      * menu-bar.el (menu-bar-mode):
      * minibuf-eldef.el (minibuffer-electric-default-mode):
      * mouse-sel.el (mouse-sel-mode):
      * msb.el (msb-mode):
      * mwheel.el (mouse-wheel-mode):
      * outline.el (outline-minor-mode):
      * paren.el (show-paren-mode):
      * recentf.el (recentf-mode):
      * reveal.el (reveal-mode, global-reveal-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * ruler-mode.el (ruler-mode):
      * savehist.el (savehist-mode):
      * scroll-all.el (scroll-all-mode):
      * scroll-bar.el (scroll-bar-mode):
      * server.el (server-mode):
      * shell.el (shell-dirtrack-mode):
      * simple.el (auto-fill-mode, transient-mark-mode)
      (visual-line-mode, overwrite-mode, binary-overwrite-mode)
      (line-number-mode, column-number-mode, size-indication-mode)
      (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
      * strokes.el (strokes-mode):
      * time.el (display-time-mode):
      * t-mouse.el (gpm-mouse-mode):
      * tool-bar.el (tool-bar-mode):
      * tooltip.el (tooltip-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * view.el (view-mode):
      * whitespace.el (whitespace-mode, whitespace-newline-mode)
      (global-whitespace-mode, global-whitespace-newline-mode):
      * xt-mouse.el (xterm-mouse-mode): Doc fix.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
      autogenerated docstring.
      06e21633
  27. 24 Sep, 2011 1 commit
  28. 05 Jul, 2011 1 commit
    • Ken Manheimer's avatar
      * allout.el (allout-post-undo-hook): New allout outline-change event hook · 919d884a
      Ken Manheimer authored
      to signal undo activity.
      (allout-post-command-business): Run allout-post-undo-hook if an undo just
      occurred.
      (allout-after-copy-or-kill-hook), (allout-mode): Minor docstring changes.
      
      * allout-widgets.el (allout-widgets-after-undo-function): Ensure the
      integrity of the current item's decoration after it has been in the
      vicinity of an undo.
      (allout-widgets-mode): Include allout-widgets-after-undo-function on the
      new allout-post-undo-hook.
      919d884a
  29. 04 Jul, 2011 1 commit
    • Ken Manheimer's avatar
      * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide insecure · 13aa217b
      Ken Manheimer authored
      exception for current topic.  Also note that auto-saves are handled
      differently.
      
      (allout-auto-save-temporarily-disabled), (allout-just-did-undo): State
      variables for tracking auto-save inhibition situation.
      
      (allout-write-contents-hook-handler): Rename from
      'allout-write-file-hook-handler', and describe how it depends on
      write-contents-functions sensitivity to non-nil value to prevent file
      write.
      
      (allout-auto-save-hook-handler): Remove.  auto-save does not check this in
      individual buffers, only in the starting buffer, so this is not the right
      way for us to inhibit auto-save in a buffer according to its condition.
      
      (allout-mode): Use new allout-write-contents-hook-handler, and only with
      write-contents-functions.  Remove auto-save provisions - they're
      implemented elsewhere.
      
      (allout-before-change-handler): If undo is in progress, note that for
      attention of allout-post-command-business.
      
      (allout-post-command-business): If the command we're following was an undo,
      check for change in the status of encrypted items and adjust auto-save
      inhibitions accordingly.
      
      (allout-toggle-subtree-encryption): Adjust auto-save inhibition according
      to whether there are or aren't any plain-text topics pending encryption.
      
      (allout-inhibit-auto-save-info-for-decryption): Adjust buffer-saved-size
      and some allout state to inhibit auto-saves if there are plain-text topics
      pending encryption.
      
      (allout-maybe-resume-auto-save-info-after-encryption): Adjust
      buffer-saved-size and some allout state to not inhibit auto-saves if there
      are no longer any plain-text topics pending encryption.
      
      (allout-next-topic-pending-encryption), (allout-encrypt-decrypted): No
      longer provide for exemption of the current topic.
      13aa217b
  30. 02 Jul, 2011 1 commit
  31. 30 Jun, 2011 1 commit
    • Ken Manheimer's avatar
      * allout.el (allout-yank-processing): Fix injection of extra space between · 68ba37fb
      Ken Manheimer authored
      bullet and non-whitespace character in first topic when pasting, ensuring
      that the actual spacing in the pasted topic following the bullet char is
      preserved.  This extra space was causing pasted encrypted topics to get a
      decrypted status even when the content was actually still encrypted.  Now
      the decryption status from before the paste is preserved.
      
      (allout-flag-region): Set all allout overlays so they evaporate when
      reduced to zero length (evanescent), to prevent overlay leakage.
      68ba37fb
  32. 25 Jun, 2011 1 commit
  33. 23 May, 2011 2 commits
  34. 14 May, 2011 1 commit