1. 19 Jun, 2017 4 commits
  2. 18 Jun, 2017 2 commits
  3. 17 Jun, 2017 16 commits
  4. 16 Jun, 2017 4 commits
    • Philipp Stephani's avatar
      Correctly detect URLs surrounded by parentheses in comments · 3b6e01cc
      Philipp Stephani authored
      * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url):
      Make parentheses match work inside comments.
      
      * test/lisp/thingatpt-tests.el (thing-at-point-url-in-comment): Add
      unit test.
      3b6e01cc
    • Michael Albinus's avatar
      Fix load-path issue when it contains remote directories · ea196ebb
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-file-name-handler): Use `autoloadp'.
      (tramp-use-absolute-autoload-file-names): New defun.  Call it
      after loading tramp.el.
      
      * test/lisp/net/tramp-tests.el (tramp-test38-remote-load-path):
      New test.
      (tramp-test39-unload): Rename.
      ea196ebb
    • Alan Mackenzie's avatar
      Ensure C++ initializer lists don't get fontified. · 8c21f8fa
      Alan Mackenzie authored
      * lisp/progmodes/cc-cmds.el (c-block-comment-flag): Move declaration to solve
      compiler warning.
      
      * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Add an extra
      clause to handle C++ member initialization lists.
      (c-font-lock-single-decl): New function, extracted from
      c-font-lock-declarations.
      (c-font-lock-declarations): Call c-font-lock-single-decl in place of inline
      code.
      (c-font-lock-cut-off-declarators): Make more rigorous by calling
      c-get-fontification-context, c-forward-decl-or-cast-1, and
      c-font-lock-single-decl in place of rather approximate code.
      8c21f8fa
    • Alan Mackenzie's avatar
      Fix hang in CC Mode when ":" is typed after identifier at EOB. · cc6a66b9
      Alan Mackenzie authored
      * list/progmodes/cc-engine.el (c-forward-declarator): Fix coding error
      confusing ":" and EOB.
      cc6a66b9
  5. 15 Jun, 2017 5 commits
    • Alan Mackenzie's avatar
      Create a toggle between block and line comments in CC Mode. · 7a2038d7
      Alan Mackenzie authored
      Also (unrelated change) initialize the modes' keymaps at each loading.
      
      * lisp/progmodes/cc-cmds.el (c-update-modeline): amend for the new information
      on the modeline.
      (c-block-comment-flag): New variable.
      (c-toggle-comment-style): New function.
      
      * lisp/progmodes/cc-langs.el (c-block-comment-starter)
      (c-line-comment-starter): Make them c-lang-defvars.
      (c-block-comment-is-default): New c-lang-defvar.
      (comment-start, comment-end): Make the default values dependent on
      c-block-comment-is-default.
      
      * lisp/progmodes/cc-mode.el (c-mode-base-map): Define C-c C-k in this map.
      (c-basic-common-init): Initialize c-block-comment-flag.
      (c-mode-map, c++-mode-map, objc-mode-map, java-mode-map, idl-mode-map)
      (pike-mode-map, awk-mode-map): Make entries in these key maps each time the
      mode is loaded rather than just once per Emacs session.
      
      * doc/misc/cc-mode.texi (Comment Commands): Introduce the notion of comment
      style.
      (Minor Modes): Define comment style.  Describe how comment style influences
      the information displayed on the modeline.  Document c-toggle-comment-style.
      (FAQ): Add a question about toggling the comment style.
      7a2038d7
    • Paul Eggert's avatar
      Pacify clang without munging C source · 21d10e59
      Paul Eggert authored
      * configure.ac (WARN_CFLAGS): With Clang, use
      -Wno-tautological-compare regardless of --enable-gcc-warnings.
      (WERROR_CFLAGS): Simplify assignments, and guarantee it’s always set.
      * lib/strftime.c: Copy from gnulib, reverting Clang-specific
      change which I hope is no longer needed.
      * src/emacs.c (main): Revert rlim_t change, as rlim_t is signed on
      some older non-POSIX hosts.
      21d10e59
    • Paul Eggert's avatar
      No need to complicate make-docfile.c for Clang · 2b9620e6
      Paul Eggert authored
      * lib-src/make-docfile.c (put_filename): Undo recent change.
      The Clang false alarm occurs only with CFLAGS=-save-temps and
      we needn’t worry about pacifying unusual compiler configurations.
      2b9620e6
    • Paul Eggert's avatar
      Port './configure CC=clang' to Fedora 25 · 1ac8c9bb
      Paul Eggert authored
      * configure.ac (HAVE_IMAGEMAGICK): Disable if even a
      standard function like MagickRelinquishMemory does not link.
      1ac8c9bb
    • Paul Eggert's avatar
      Don’t worry about __STDC_VERSION__ in emacs-module · ebdcfa96
      Paul Eggert authored
      * src/emacs-module.h: Remove __STDC_VERSION__ check.  In the past
      we’ve found that some compilers do not define this symbol even
      when they work well enough.  If necessary features like stdbool.h
      are missing the compiler will complain eventually anyway.
      ebdcfa96
  6. 14 Jun, 2017 9 commits