1. 05 May, 2015 2 commits
  2. 04 May, 2015 11 commits
    • Dmitry Gutov's avatar
      Highlight both type and symbol name · f773a4dd
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
      Highlight both type and symbol name.
      f773a4dd
    • Dmitry Gutov's avatar
      Insert, highlight and align line numbers in xref output · 9fa69f6b
      Dmitry Gutov authored
      * lisp/progmodes/etags.el (xref-location-line): Specialize for
      xref-etags-location.
      
      * lisp/progmodes/xref.el (xref-location-line): New generic method.
      (xref-file-location): Add reader for the line slot.
      (xref--location-at-point): Skip to the `xref-location' property.
      (xref--collect-reference): Drop the line number from description.
      (xref--insert-xrefs): Insert, highlight and align line numbers.
      9fa69f6b
    • Daniel Colascione's avatar
      Fix previous commit · 1ddb81a6
      Daniel Colascione authored
      1ddb81a6
    • Dmitry Gutov's avatar
      Don't pulse the indentation, or the newline · 943c45f6
      Dmitry Gutov authored
      * lisp/cedet/pulse.el (pulse-lighten-highlight)
      (pulse-reset-face): Fall back to the inherited background
      attribute in FACE.
      (pulse-momentary-highlight-region): Add autoload cookie.
      
      * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
      indentation, or the newline, if the line's non-empty
      (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
      943c45f6
    • Daniel Colascione's avatar
      Add `save-mark-and-excursion', which has the old `save-excursion' behavior · 255a011f
      Daniel Colascione authored
      * doc/lispref/positions.texi (Excursions): Document
      `save-mark-and-excursion'.
      
      * lisp/font-lock.el (font-lock-fontify-block): Use
      `save-mark-and-excursion' instead of `save-excursion', restoring
      Emacs 24 behavior.
      
      * lisp/simple.el (save-mark-and-excursion--save)
      (save-mark-and-excursion--restore): New functions.
      (save-mark-and-excursion): New user macro.
      
      * src/editfns.c (Fsave_excursion): Mention
      `save-mark-and-excursion' in `save-excursion' documentation.
      255a011f
    • Dmitry Gutov's avatar
      Classify lone symbol inside let varlist as variable · fe4e258b
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
      Classify lone symbol inside let varlist as variable.
      
      * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
      New test.
      fe4e258b
    • Dmitry Gutov's avatar
      Add xref-pulse-on-jump · 14c1d210
      Dmitry Gutov authored
      * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
      Add autoload cookie.
      
      * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
      (xref--maybe-pulse): New function.
      (xref-pop-marker-stack, xref--pop-to-location)
      (xref--display-position): Use it.
      (xref--location-at-point): Use back-to-indentation.
      14c1d210
    • Stefan Monnier's avatar
      * lisp/org/org-{macs,list}.el: Fix lexical warnings · 9d4eaff3
      Stefan Monnier authored
      * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
      (org-list-get-next-item, org-list-get-prev-item)
      (org-list-get-children): Mark unused arg `struct'.
      (org-list-use-alpha-bul-p): Remove unused var `bul'.
      (org-toggle-checkbox): Mark unused var.
      (org-update-checkbox-count): Remove unused var `box-num'.
      (org-adapt-indentation): Declare.
      (org-list-parse-list): Declare var instead of adding a dummy duplicate.
      (org-list-send-list): Remove unused var `txt'.
      (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
      (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
      
      * lisp/org/org-macs.el: Use `declare'.
      (org-with-limited-levels): Declare dyn-bound vars.
      9d4eaff3
    • Eli Zaretskii's avatar
      Fix minor issues with CEDET on MS-Windows · 8c392682
      Eli Zaretskii authored
      * lisp/cedet/semantic/symref/idutils.el
      (semantic-symref-parse-tool-output-one-line): Fix the search
      regexp to match MS-Windows file names with drive letters.
      (Bug#19468)
      * lisp/cedet/semantic/symref/grep.el
      (semantic-symref-grep-use-template): Remove "--color=always" from
      Grep switches on MS-Windows.
      (semantic-symref-grep-shell): Use shell-file-name as the default
      value, so this works not only on Posix platforms.
      (semantic-symref-perform-search): Use shell-quote-argument instead
      of literal '..' for portable quoting of Grep command-line
      argument.  Use shell-command-switch instead of a literal "-c".
      * lisp/cedet/semantic/bovine/gcc.el
      (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
      for an absolute file name in a portable way.
      8c392682
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Remove `package--silence' variable · 5d3940a3
      Artur Malabarba authored
      (package-import-keyring, package-refresh-contents)
      (package-compute-transaction, package--save-selected-packages)
      (package-install-from-archive, package-delete)
      (package-menu--perform-transaction): Use `inhibit-message'
      instead.
      (package--compile): Set `warning-minimum-level' to :error.
      5d3940a3
    • Stefan Monnier's avatar
      * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom · 4183482f
      Stefan Monnier authored
      (terminal-init-screen): Use it (bug#20356).
      * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
      (xterm--extra-capabilities-type): New const.
      (xterm-extra-capabilities): Use it.
      (xterm--version-handler): Lower the pseudo-version for `screen'.
      4183482f
  3. 03 May, 2015 4 commits
    • Dmitry Gutov's avatar
      b7bb71c8
    • Dmitry Gutov's avatar
      xref--insert-xrefs: Tweak the faces · bcfdfd25
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
      Always insert a newline at the end (to avoid mouse-face background
      tail at the last line).
      bcfdfd25
    • Dmitry Gutov's avatar
      elisp-completion-at-point: Prioritize being quoted over funpos · ac5586a1
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
      Only consider function position when not inside quoted form
      (bug#20425).
      
      * test/automated/elisp-mode-tests.el: New file.
      ac5586a1
    • Dmitry Gutov's avatar
      Stop vc-print-log from jumping to the top · 27036297
      Dmitry Gutov authored
      * lisp/vc/vc.el (vc-print-log-internal): Pass nil
      GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
      is not specified.
      (vc-incoming-outgoing-internal): Always pass nil.
      (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
      call it, and don't set vc-sentinel-movepoint (bug#15322).
      (vc-print-root-log): Don't fetch the root working revision, nor
      pass it to vc-print-log-internal.
      27036297
  4. 02 May, 2015 5 commits
  5. 01 May, 2015 18 commits