1. 05 May, 2015 3 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.
    • 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
      * 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.
    • Daniel Colascione's avatar
      Fix previous commit · 1ddb81a6
      Daniel Colascione authored
    • 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
    • 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
      * 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.
    • 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.
    • 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.
    • 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.
    • 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.
      * 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.
    • 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'
      (package--compile): Set `warning-minimum-level' to :error.
    • 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'.
  3. 03 May, 2015 4 commits
    • Dmitry Gutov's avatar
    • 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).
    • 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
      * test/automated/elisp-mode-tests.el: New file.
    • 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.
  4. 02 May, 2015 8 commits
  5. 01 May, 2015 14 commits
    • Dmitry Gutov's avatar
    • Simen Heggestøyl's avatar
      * lisp/files.el (pwd): · a58c6cb5
      Simen Heggestøyl authored
      When called with a prefix argument, insert the current default
      directory at point.
    • Stefan Monnier's avatar
      * lisp/isearch.el (isearch-mode-map): Allow backspace remapping · f2f5a39c
      Stefan Monnier authored
      * lisp/isearch.el (isearch-mode-map): Don't inhibit
      function-key-map remapping for backspace (bug#20466).
    • Dmitry Gutov's avatar
      Implement xref-find-references in etags and elisp-mode · fed6a0d6
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
      (elisp-xref-find): Use it.
      * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
      * lisp/progmodes/xref.el (xref-collect-references):
      (xref--collect-reference): New functions.
    • Dmitry Gutov's avatar
    • Paul Eggert's avatar
      Prefer plain characters to Texinfo circumlocutions · 08782a2e
      Paul Eggert authored
      For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
      'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
    • Paul Eggert's avatar
      Fix single-quoting style in PDF manuals · c33d89cc
      Paul Eggert authored
      The PDF versions of the GNU manuals used curved single quotes to
      represent grave accent and apostrophe, which made it a pain to cut
      and paste code examples from them.  Fix the PDF versions to use
      grave accent and apostrophe for Lisp source code, keystrokes, etc.
      This change does not affect the info files, nor does it affect
      ordinary uses of curved single quotes in PDF.
      * doc/emacs/docstyle.texi: New file, which specifies treatment for
      grave accent and apostrophe, as well as the document encoding.
      * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/back.texi, doc/lispref/book-spine.texi:
      * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
      * doc/misc/ada-mode.texi, doc/misc/auth.texi:
      * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
      * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
      * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
      * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
      * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
      * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
      * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
      * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
      * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
      * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
      * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
      * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
      * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
      * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
      * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
      * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
      * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
      * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
      * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
      * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
      * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
      * doc/misc/woman.texi:
      Use it instead of '@documentencoding UTF-8', to lessen the need for
      global changes like this in the future.
      * doc/emacs/Makefile.in (EMACS_XTRA):
      * doc/lispintro/Makefile.in (srcs):
      * doc/lispref/Makefile.in (srcs):
      Add dependency on docstyle.texi.
      * doc/misc/Makefile.in (style): New macro.
      (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
      (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
      Use it.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match) · a73af965
      Glenn Morris authored
      (help-fns--signature): Declare.
    • Glenn Morris's avatar
    • Przemysław Wojnowski's avatar
      ; Add cl-adjoin tests · 85eb934e
      Przemysław Wojnowski authored
      * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): New tests.
    • Pontus Michael's avatar
    • Przemysław Wojnowski's avatar
      ; Add class name to error message · 7e7fd301
      Przemysław Wojnowski authored
      * lisp/emacs-lisp/eieio-core.el (eieio-oref): Add class name to error
        message to ease finding offending code.
    • Glenn Morris's avatar