1. 21 May, 2013 2 commits
    • 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
  2. 20 May, 2013 2 commits
  3. 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
  4. 18 May, 2013 6 commits
  5. 17 May, 2013 6 commits
  6. 16 May, 2013 5 commits
    • Leo Liu's avatar
      * emacs-lisp/smie.el (smie-matching-block-highlight): New face. · ebfe68e8
      Leo Liu authored
      (smie--highlight-matching-block-overlay)
      (smie--highlight-matching-block-lastpos)
      (smie--highlight-matching-block-timer): New variables.
      (smie-highlight-matching-block): New function.
      (smie-highlight-matching-block-mode): New minor mode. 
      (smie-setup): Conditionally enable smie-blink-matching-open.
      
      Fixes: debbugs:14395
      ebfe68e8
    • Wilson Snyder's avatar
      Sync with upstream verilog-mode r840. · bc8bc17d
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-mode-version)
      (verilog-mode-release-date): Update.
      (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
      (verilog-sig-tieoff): Fix string error on
      AUTORESET with colon define, bug594.  Reported by Andrew Hou.
      (verilog-read-decls): Fix parameters confusing
      AUTOINST interfaces, bug565.  Reported by Leith Johnson.
      bc8bc17d
    • Leo Liu's avatar
      * progmodes/octave.el (octave-indent-defun): Mark obsolete. · 2d4bf34b
      Leo Liu authored
      (octave-mode-menu, octave-mode-map): Remove its uses.
      2d4bf34b
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.34.2. · 6b9c2d85
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el: Use `push' throughout.
      (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
      (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
      Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
      (vhdl-actual-generic-name): New option to derive actual generic name.
      (vhdl-port-paste-signals): Replace formal by actual generics.
      (vhdl-beautify): New name for old group vhdl-align.  Update users.
      (vhdl-beautify-options): New option.
      (vhdl-last-input-event): New compat alias.  Use throughout.
      (vhdl-goto-line): Replace user level function `goto-line'.
      (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
      vhdl-fix-statement-buffer.
      (vhdl-create-mode-menu): Add some entries.
      (vhdl-align-region-groups): Respect vhdl-beautify-options.
      (vhdl-align-inline-comment-region-1): Handle "--" inside string.
      (vhdl-fixup-whitespace-region): Handle symbols at EOL.
      (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
      to force statements on one line.
      (vhdl-remove-trailing-spaces-region):
      New, split from vhdl-remove-trailing-spaces.
      (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
      Respect vhdl-beautify-options.
      (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
      (vhdl-update-sensitivity-list): Not add with index if exists without.
      Not include array index with signal.  Ignore keywords in comments.
      (vhdl-get-visible-signals): Regexp tweaks.
      (vhdl-template-component-inst): Handle empty library.
      (vhdl-template-type): Add template for 'enum' type.
      (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
      Use vhdl-replace-string.
      (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
      (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
      (vhdl-speedbar-initialize): Update for above name change.
      (vhdl-compose-wire-components): Fix in handling of constants.
      (vhdl-error-regexp-emacs-alist): New variable.
      (vhdl-error-regexp-add-emacs): New function;
      adds support for new compile.el (Emacs 22+)
      (vhdl-generate-makefile-1): Change target order for single lib. units.
      Allow use of absolute file names.
      6b9c2d85
    • Leo Liu's avatar
      9df4ec5e
  7. 15 May, 2013 10 commits
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
    • Glenn Morris's avatar
      * lisp/cus-dep.el (custom-make-dependencies): Add a fallback method · 82a7c41b
      Glenn Morris authored
      for getting :group.
      82a7c41b
    • Glenn Morris's avatar
      custom-make-dependencies tweaks · f5ba00a6
      Glenn Morris authored
      * lisp/cus-dep.el (custom-make-dependencies): Ignore dotfiles (dir-locals).
      Don't mistakenly ignore files whose basenames match a basename
      from preloaded-file-list (eg cedet/ede/simple.el).
      f5ba00a6
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-char-by-name): Rename from · da547b32
      Juri Linkov authored
      `isearch-insert-char-by-name'.  Doc fix.
      (isearch-forward): Mention `isearch-char-by-name' in
      the docstring.
      
      Fixes: debbugs:13348
      da547b32
    • Juri Linkov's avatar
      * lisp/isearch.el (minibuffer-local-isearch-map): Bind "\r" to `exit-minibuffer' · 6d65486d
      Juri Linkov authored
      instead of `isearch-nonincremental-exit-minibuffer'.
      (isearch-edit-string): Remove mention of
      `isearch-nonincremental-exit-minibuffer' from docstring.
      (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
      (isearch-forward-exit-minibuffer)
      (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
      
      * doc/emacs/search.texi (Repeat Isearch): Mention key `RET' to finish
      editing the string.
      6d65486d
    • Stefan Monnier's avatar
      Use just DOC instead of DOC-nn.mm. · 6e911150
      Stefan Monnier authored
      * lisp/loadup.el: Just use unversioned DOC.
      * Makefile.in (install-doc): DOC file is not version specific any more.
      * .bzrignore: Don't ignore DOC-* any more.
      * admin/quick-install-emacs: Don't prune DOC-* files a any more.
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
      (Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
      * etc/.gitignore: Don't ignore DOC-* any more.
      * lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
      * msdos/sed1x.inp: Don't rewrite DOC any more.
      * nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
      * src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
      * src/makefile.w32-in (DOC): Use just "DOC".
      6e911150
    • Stefan Monnier's avatar
      * lisp/nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other · c9990474
      Stefan Monnier authored
      literals as extending to EOB.
      (nxml-last-fontify-end): Remove unused variable.
      (nxml-after-change1): Use with-silent-modifications.
      (nxml-extend-after-change-region): Simplify.
      (nxml-extend-after-change-region1): Remove function.
      (nxml-after-change1): Don't adjust for dependent regions.
      (nxml-fontify-matcher): Simplify.
      * lisp/nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
      (xmltok-add-dependent): Remove function.
      (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
      (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
      (xmltok-scan-prolog-after-processing-instruction-open): Treat
      unclosed <[[, <?, comment, and other literals as extending to EOB.
      * lisp/nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
      (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
      Remove functions.
      (rng-do-some-validation-1): Don't mark dependent regions.
      * lisp/nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
      (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
      (nxml-clear-dependent-regions): Remove functions.
      (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
      (nxml-ensure-scan-up-to-date):
      Don't clear&mark dependent regions.
      c9990474
    • Leo Liu's avatar
      * progmodes/octave.el (octave-goto-function-definition): Improve · e3772e98
      Leo Liu authored
      and fix callers.
      e3772e98
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-extra.el (cl-getf): Return the proper value in · c46c57b0
      Stefan Monnier authored
      the setter.
      
      Fixes: debbugs:14387
      c46c57b0
    • Stefan Monnier's avatar
      * lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in the · 5ac2eb34
      Stefan Monnier authored
      surrounding group.
      * src/regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart.
      
      Fixes: debbugs:14402
      5ac2eb34
  8. 14 May, 2013 4 commits
    • Juri Linkov's avatar
      * lisp/subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil. · 180ed218
      Juri Linkov authored
      Fixes: debbugs:14390
      180ed218
    • Glenn Morris's avatar
      0ac0fecb
    • Jean-Philippe Gravel's avatar
      * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove · 2e78e6a7
      Jean-Philippe Gravel authored
      signals for which replies are never received.
      2e78e6a7
    • Jean-Philippe Gravel's avatar
      * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845) · 53267cca
      Jean-Philippe Gravel authored
      (gdb-handler-alist, gdb-handler-number): Remove variables.
      (gdb-handler-list): New variable.
      (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
      (gdb-pending-handler-p, gdb-handle-reply)
      (gdb-remove-all-pending-triggers): New functions.
      (gdb-discard-unordered-replies): New defcustom.
      (gdb-handler): New defstruct.
      (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
      instead of gdb-pending-triggers.  Update docstring.
      (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
      (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
      (gdb-var-update-handler, def-gdb-auto-update-trigger)
      (def-gdb-auto-update-handler, gdb-get-changed-registers)
      (gdb-changed-registers-handler, gdb-get-main-selected-frame)
      (gdb-frame-handler): Pending triggers are now automatically managed.
      (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
      Remove argument.
      (gdb-input): Automatically handles pending triggers.  Update docstring.
      (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
      (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
      Update comments.
      (gdb-done-or-error): Now use gdb-handle-reply.
      53267cca
  9. 12 May, 2013 1 commit
  10. 14 May, 2013 2 commits