1. 23 May, 2013 10 commits
    • Tassilo Horn's avatar
    • Tassilo Horn's avatar
      * lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files): · c43d45f9
      Tassilo Horn authored
        Accept options for bibliography commands.
      * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands): Add
        addbibresource.  Basic Biblatex support.
      c43d45f9
    • Michael Albinus's avatar
      * net/tramp-gvfs.el (top): · 7764286e
      Michael Albinus authored
      * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
      when loading package.  (Bug#14447)
      7764286e
    • Glenn Morris's avatar
      Silence em-ls compilation · 7efe0991
      Glenn Morris authored
      * lisp/eshell/em-ls.el: Adjust requires.
      (eshell-glob-regexp): Declare.
      7efe0991
    • Glenn Morris's avatar
      Silence some js compilation warnings · 8fa23984
      Glenn Morris authored
      * lisp/progmodes/js.el: No need to load comint when compiling.
      (ring-insert, comint-send-string, comint-send-input)
      (comint-last-input-end, ido-chop): Declare.
      8fa23984
    • Glenn Morris's avatar
      Silence ediff compilation · a5c7df1a
      Glenn Morris authored
      * lisp/vc/ediff-diff.el, lisp/vc/ediff-merg.el: Require ediff-util at run-time.
      
      * lisp/vc/ediff-mult.el: Adjust requires.
      (ediff-directories-internal, ediff-directory-revisions-internal)
      (ediff-patch-file-internal): Declare.
      
      * lisp/vc/ediff-ptch.el: Adjust requires.
      (ediff-use-last-dir, ediff-buffers-internal): Declare.
      (ediff-find-file): Autoload.
      
      * lisp/vc/ediff-util.el: No need to load ediff when compiling.
      (ediff-regions-internal): Declare.
      
      * lisp/vc/ediff-wind.el: Adjust requires.
      (ediff-compute-toolbar-width): Define when compiling.
      (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
      
      * lisp/vc/ediff.el: No need to load dired, ediff-ptch when compiling.
      (dired-get-filename, dired-get-marked-files)
      (ediff-last-dir-patch, ediff-patch-default-directory)
      (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
      (ediff-patch-buffer-internal): Declare.
      a5c7df1a
    • Glenn Morris's avatar
      Silence checkdoc.el compilation · e2aec513
      Glenn Morris authored
      * lisp/emacs-lisp/checkdoc.el: No need to load ispell when compiling.
      (ispell-process, ispell-buffer-local-words, lm-summary)
      (lm-section-start, lm-section-end): Declare.
      (checkdoc-ispell-init): Simplify.
      e2aec513
    • Glenn Morris's avatar
      Silence vera-mode compilation · e68bbd7c
      Glenn Morris authored
      * lisp/progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
      (he-string-member, he-reset-string, he-substitute-string): Declare.
      e68bbd7c
    • Glenn Morris's avatar
      Silence many eshell compilation warnings · f87b1284
      Glenn Morris authored
      * lisp/eshell/em-tramp.el: Adjust requires.
      (eshell-parse-command): Autoload.
      
      * lisp/eshell/em-xtra.el: Adjust requires.
      (eshell-parse-command): Autoload.
      
      * lisp/eshell/esh-ext.el: Adjust requires.
      (eshell-parse-command, eshell-close-handles): Autoload.
      
      * lisp/eshell/esh-io.el: Adjust requires.
      (eshell-output-filter): Autoload.
      
      * lisp/eshell/esh-util.el: No need to load tramp when compiling.
      (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime): Declare.
      (eshell-parse-ange-ls): Require ange-ftp and tramp.
      
      * lisp/eshell/em-alias.el, lisp/eshell/em-banner.el, lisp/eshell/em-basic.el:
      * lisp/eshell/em-cmpl.el, lisp/eshell/em-glob.el, lisp/eshell/em-pred.el:
      * lisp/eshell/em-prompt.el, lisp/eshell/em-rebind.el, lisp/eshell/em-smart.el:
      * lisp/eshell/em-term.el, lisp/eshell/esh-arg.el, lisp/eshell/esh-mode.el:
      * lisp/eshell/esh-opt.el, lisp/eshell/esh-proc.el:
      * lisp/eshell/esh-var.el: Adjust requires.
      
      * lisp/eshell/eshell.el: Do not require esh-util twice.
      (eshell-add-input-to-history): Declare.
      (eshell-command): Check history module is active before using it.
      f87b1284
    • Glenn Morris's avatar
      d361bc10
  2. 22 May, 2013 9 commits
    • Leo Liu's avatar
    • Michael Albinus's avatar
      * autorevert.el (auto-revert-notify-add-watch) · 5d0acd9d
      Michael Albinus authored
      (auto-revert-notify-handler): Add `attrib' for the inotify case,
      it indicates changes in file modification time.
      5d0acd9d
    • Glenn Morris's avatar
      Tweak byte-compile-file-form-autoload warnings · ca5995ec
      Glenn Morris authored
      * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
      Always delete the autoloaded function from the noruntime and
      unresolved functions lists.
      ca5995ec
    • 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
    • Glenn Morris's avatar
      Small viper clean-up · 9c6906f6
      Glenn Morris authored
      * lisp/emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
      (viper-set-parsing-style-toggling-macro)
      (viper-set-emacs-state-searchstyle-macros):
      Use called-interactively-p on Emacs.
      (viper-looking-back): Make it an obsolete alias.  Update callers.
      * lisp/emulation/viper-ex.el: Load viper-keym, not viper-cmd.
      Use looking-back rather than viper-looking-back.
      (viper-tmp-insert-at-eob, viper-enlarge-region)
      (viper-read-string-with-history, viper-register-to-point)
      (viper-append-to-register, viper-change-state-to-vi)
      (viper-backward-char-carefully, viper-forward-char-carefully)
      (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
      (viper-change-state-to-emacs): Declare.
      * lisp/emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
      (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
      * lisp/emulation/viper-mous.el: Do not load viper-cmd.
      (viper-backward-char-carefully, viper-forward-char-carefully)
      (viper-forward-word, viper-adjust-window): Declare.
      9c6906f6
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Silence w32console.el compilation · f6ebbb46
      Glenn Morris authored
      * lisp/term/w32console.el (w32-get-console-codepage)
      (w32-get-console-output-codepage): Declare.
      f6ebbb46
    • 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
  3. 21 May, 2013 6 commits
    • Leo Liu's avatar
      * progmodes/octave.el (octave-mode-menu): Update and re-organize · ee44b62a
      Leo Liu authored
      menu items.
      (octave-mode): Tweak fill-nobreak-predicate.
      (inferior-octave-startup): Check process to avoid infinite loop.
      (inferior-octave): Pop to buffer first to show abornmal process
      exit information.
      ee44b62a
    • Glenn Morris's avatar
      For now, revert previous rmail.el change · c2d41179
      Glenn Morris authored
      c2d41179
    • Glenn Morris's avatar
      Silence printing.el compilation · 79458038
      Glenn Morris authored
      * lisp/printing.el (pr-menu-bar): Define when compiling.
      79458038
    • Glenn Morris's avatar
      Silence rmail.el compilation · 640f050f
      Glenn Morris authored
      * lisp/mail/rmail.el (speedbar): No need to load when compiling.
      (speedbar-make-specialized-keymap, speedbar-with-attached-buffer)
      (speedbar-do-function-pointer): Declare.
      640f050f
    • Leo Liu's avatar
      9cc3e83f
    • Glenn Morris's avatar
      Silence some compiler warnings · f440830d
      Glenn Morris authored
      * calculator.el (electric, ehelp): No need to load when compiling.
      (Electric-command-loop, electric-describe-mode): Declare.
      
      * doc-view.el (doc-view-current-converter-processes): Move before use.
      
      * files.el (dired-unmark):
      * progmodes/gud.el (gdb-input): Update declarations.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
      Move MODE-set-explicitly definition before use.
      
      * erc/erc-log.el (erc-network-name): Declare.
      
      * erc/erc-notify.el (pcomplete--here): Declare.
      (pcomplete/erc-mode/NOTIFY): Require pcomplete.
      
      * international/mule-diag.el (mule-diag):
      Don't use obsolete window-system-version.
      
      * mail/feedmail.el (smtpmail): No need to load when compiling.
      (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
      
      * mail/mail-utils.el (rfc822): No need to load when compiling.
      (rfc822-addresses): Autoload it.
      (mail-strip-quoted-names): Trivial simplification.
      
      * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
      (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
      
      * net/snmp-mode.el (tempo): Don't duplicate requires.
      
      * progmodes/prolog.el (info): No need to load when compiling.
      (comint): Require before shell requires it.
      (Info-goto-node): Autoload it.
      (Info-follow-nearest-node): Declare.
      (prolog-help-info, prolog-goto-predicate-info): No need to require info.
      
      * textmodes/artist.el (picture-mode-exit): Declare.
      
      * textmodes/reftex-parse.el (reftex-parse-from-file):
      Trivial rewrite so the compiler can parse it better.
      
      * url/url-dav.el (url-http): Require it.
      (url-http-head-file-attributes): Don't autoload it.
      
      * url/url-proxy.el (url-http): Autoload it.
      f440830d
  4. 20 May, 2013 2 commits
  5. 19 May, 2013 2 commits
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Leave · 462388b6
      Dmitry Gutov authored
      point at bol following the heredoc openers.
      (ruby-syntax-propertize-expansions): Remove.
      462388b6
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to · 1a0a0a8a
      Dmitry Gutov authored
      start at point, so that expansion starting right after opening
      slash in a regexp is recognized.
      (ruby-syntax-before-regexp-re): New defvar, extracted from
      ruby-syntax-propertize-function.  Since the value of this regexp
      is looked up at runtime now, we should be able to turn
      `ruby-syntax-methods-before-regexp' into a defcustom later.
      (ruby-syntax-propertize-function): Split regexp matching into two
      parts, for opening and closing slashes.  That allows us to skip
      over string interpolations and support multiline regexps.
      Don't call `ruby-syntax-propertize-expansions', instead use another rule
      for them, which calls `ruby-syntax-propertize-expansion'.
      (ruby-syntax-propertize-expansions): Move `remove-text-properties'
      call to `ruby-syntax-propertize-function'.
      (ruby-syntax-propertize-expansion): Extracted from
      `ruby-syntax-propertize-expansions'.  Handles one expansion.
      (ruby-syntax-propertize-heredoc): Explicitly call
      `ruby-syntax-propertize-expansions'.
      (ruby-syntax-propertize-percent-literal): Leave point right after
      the percent symbol, so that the expression expansion rule can
      propertize the contents.
      
      * test/automated/ruby-mode-tests.el (ruby-heredoc-highlights-interpolations)
      (ruby-regexp-skips-over-interpolation)
      (ruby-regexp-continues-till-end-when-unclosed)
      (ruby-regexp-can-be-multiline)
      (ruby-interpolation-inside-percent-literal): New tests.
      
      * test/indent/ruby.rb: Add multiline regexp example.
      1a0a0a8a
  6. 18 May, 2013 6 commits
  7. 17 May, 2013 5 commits