1. 02 Nov, 2019 1 commit
  2. 04 Aug, 2019 1 commit
  3. 26 Jun, 2019 2 commits
  4. 09 Apr, 2019 3 commits
  5. 17 Feb, 2019 1 commit
  6. 15 Jan, 2019 1 commit
  7. 14 Oct, 2017 2 commits
  8. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to HTTP for gnu.org · 5da53a01
      Paul Eggert authored
      This patch just changes code files; a followup companion patch
      (much larger) will affect the commentary.  This part is
      separated out to make it easier to review.
      * .dir-locals.el (change-log-mode):
      * lisp/org/org-info.el (org-info-other-documents)
      (org-info-map-html-url):
      * lisp/org/ox-html.el (org-html-creator-string):
      * lisp/startup.el (fancy-startup-text, fancy-about-text)
      (fancy-splash-head):
      * test/lisp/ffap-tests.el (ffap-other-window--bug-25352):
      * test/lisp/thingatpt-tests.el (thing-at-point-test-data):
      Use HTTPS instead of HTTP.
      5da53a01
  9. 09 Aug, 2016 1 commit
  10. 08 Jun, 2016 1 commit
  11. 09 May, 2016 1 commit
    • Alan Mackenzie's avatar
      CC Mode now uses the new :after-hook feature of define-derived-mode · a8231e00
      Alan Mackenzie authored
      It now runs internal variable setting functions after the mode hooks, no
      longer runs the mode hooks twice, and declares the configuration variables for
      noise macros and macros with semicolons as safe variables (when given suitable
      arguments).
      
      Fixes bug #16759 and bug #23476.
      
      * .dir-locals: Put the c-noise-macros-with-paren-names setting back into the C
      Mode value.
      
      * lisp/progmodes/cc-mode.el: (c-basic-common-init): Remove the call to
      c-make-macro-with-semi-re.
      (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Move
      c-make-noise-macro-regexps and c-make-macro-with-semi-re (where appropriate)
      and c-update-modeline into the :after-hook form.  Remove the explicit settings
      of the syntax table, the abbreviation table and the local key map, since they
      duplicate forms generated by define-derived-mode.  Remove the explicit
      invocation of each mode's mode hook, since they duplicate ones generated by
      define-derived-mode.
      
      * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
      functions.
      (c-noise-macro-names, c-noise-macro-with-parens-names): give the
      save-local-variable property c-string-list-p.
      (c-macro-names-with-semicolon): give the save-local-variable property
      c-string-or-string-list-p.
      
      * doc/misc/cc-mode.texi: (Macros with ;, Noise Macros): Note that it's not
      necessary to call the regexp generating functions after setting the pertinent
      configuration values in a mode hook.
      a8231e00
  12. 07 May, 2016 1 commit
  13. 30 Apr, 2016 1 commit
  14. 19 Apr, 2015 1 commit
    • Paul Eggert's avatar
      Prefer "Bug#1234" in commit messages · f2da220b
      Paul Eggert authored
      * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
      as this isn't useful for Git.
      * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
      f2da220b
  15. 14 Apr, 2015 1 commit
  16. 17 Nov, 2014 1 commit
  17. 13 Nov, 2014 2 commits
  18. 05 Nov, 2014 2 commits
  19. 01 Dec, 2013 1 commit
    • Dmitry Gutov's avatar
      Apply the initial log-edit tweaks discussed at emacs-devel · 52789f7f
      Dmitry Gutov authored
      * .dir-locals.el: (log-edit-move): Add the "Author: " header.
      
      * lisp/vc/log-edit.el (log-edit-mode-map): Add binding for
      `log-edit-beginning-of-line'.
      (log-edit-setup-add-author): New user option.
      (log-edit-beginning-of-line): New command.
      (log-edit): Move major mode call above the contents setup so that
      the local variable values are already applied.
      (log-edit): Only insert "Author: " when
      `log-edit-setup-add-author' is non-nil.
      (log-edit): When SETUP is non-nil, position point after ": "
      instead of point-min.
      52789f7f
  20. 24 Sep, 2012 1 commit
    • Stefan Monnier's avatar
      Rewrite sampler to use Elisp hash-tables. · 3d80c99f
      Stefan Monnier authored
      * src/profiler.c: Remove filtering functionality.
      (is_in_trace, Qgc): Remove vars.
      (make_log, record_backtrace, Fsample_profiler_log):
      Rewrite, using Elisp hash-tables.
      (approximate_median, evict_lower_half): New functions.
      (cpu_log): Rename from sample_log.
      (cpu_gc_count): New var.
      (Fsample_profiler_reset, Fmemory_profiler_reset): Remove.
      (sigprof_handler): Add count to cpu_gc_count during GC, detected via
      backtrace_list.
      (block_sigprof, unblock_sigprof): Remove.
      (gc_probe, mark_profiler): Remove functions.
      (syms_of_profiler): Staticpro cpu_log and memory_log.
      
      * lisp/profiler.el (profiler-sample-interval): Move before first use.
      Change default to 1ms.
      (profiler-entry=, profiler-backtrace-reverse, profiler-log-fixup-slot)
      (profiler-calltree-elapsed<, profiler-calltree-elapsed>): Remove functions.
      (profiler-entry-format): Don't use type-of.
      (profiler-slot, profiler-log): Remove structs.
      (profiler-log-timestamp, profiler-log-type, profiler-log-diff-p):
      Redefine for new log representation.
      (profiler-log-diff, profiler-log-fixup, profiler-calltree-build-1):
      Rewrite for new log representation.
      (profiler-calltree): Remove `elapsed' fields.
      (profiler-calltree-count<, profiler-report-make-entry-part):
      Remove gc special case.
      (profiler-calltree-find): Use equal.
      (profiler-calltree-walk): Remove `args'; rely on closures instead.
      (profiler-calltree-compute-percentages-1): Remove; inlined.
      (profiler-calltree-compute-percentages): Simplify.
      (profiler-report-log, profiler-report-reversed)
      (profiler-report-order): Use defvar-local.
      (profiler-report-line-format): Remove `elapsed', do a bit of CSE.
      (profiler-report-mode-map): Remove up/down bindings.
      (profiler-report-make-buffer-name): Simplify by CSE.
      (profiler-report-mode): Remove redundant code.
      (profiler-report-expand-entry, profiler-report-collapse-entry):
      Use inhibit-read-only.
      (profiler-report-render-calltree-1): Simplify by CSE.
      (profiler-reset): Rewrite for new subroutines.
      (profiler--report-cpu): Rename from sample-profiler-report.
      (profiler--report-memory): Rename from memory-profiler-report.
      
      * src/alloc.c (Fgarbage_collect): Record itself in backtrace_list.
      Don't set is_in_trace any more.  Don't call mark_profiler.
      Only call gc_probe for the memory profiler.
      (syms_of_alloc): Define Qautomatic_gc.
      
      * src/lisp.h (SXHASH_COMBINE): Move back to...
      * src/fns.c (SXHASH_COMBINE): ...here.
      
      * src/xdisp.c (Qautomatic_redisplay): New constant.
      (redisplay_internal): Record itself in backtrace_list.
      (syms_of_xdisp): Define Qautomatic_redisplay.
      
      * .dir-locals.el (indent-tabs-mode): Remove personal preference.
      3d80c99f
  21. 22 Aug, 2012 1 commit
  22. 09 Jul, 2012 2 commits
  23. 08 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/vc/log-edit.el: Add GNU coding standards highlighting. · 49ed9c8e
      Stefan Monnier authored
      (log-edit-font-lock-gnu-style)
      (log-edit-font-lock-gnu-keywords): New vars.
      (log-edit-font-lock-keywords): New fun.
      (log-edit-mode): Don't fold case in font-lock.
      (log-edit-font-lock-keywords): Do not assume case-folding.
      * .dir-locals.el (log-edit-mode): Enable gnu-style checks.
      49ed9c8e
  24. 19 Sep, 2011 1 commit
  25. 24 Apr, 2011 1 commit
  26. 25 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      Get rid of funvec. · 876c194c
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Handle new form of
      `byte-constant'.
      (byte-compile-close-variables, displaying-byte-compile-warnings):
      Add edebug spec.
      (byte-compile-toplevel-file-form): New fun, split out of
      byte-compile-file-form.
      (byte-compile-from-buffer): Use it to avoid applying cconv
      multiple times.
      (byte-compile): Only strip `function' if it's present.
      (byte-compile-lambda): Add `reserved-csts' argument.
      Use new lexenv arg of byte-compile-top-level.
      (byte-compile-reserved-constants): New var.
      (byte-compile-constants-vector): Obey it.
      (byte-compile-constants-vector): Handle new `byte-constant' form.
      (byte-compile-top-level): Add args `lexenv' and `reserved-csts'.
      (byte-compile-form): Don't check callargs here.
      (byte-compile-normal-call): Do it here instead.
      (byte-compile-push-unknown-constant)
      (byte-compile-resolve-unknown-constant): Remove, unused.
      (byte-compile-make-closure): Use `make-byte-code' rather than `curry',
      putting the environment into the "constant" pool.
      (byte-compile-get-closed-var): Use special byte-constant.
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Handle new
      intermediate special form `internal-make-vector'.
      (byte-optimize-lapcode): Handle new form of `byte-constant'.
      * lisp/help-fns.el (describe-function-1): Don't handle funvecs.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Only convert quote to
      function if the content is a lambda expression, not if it's a closure.
      * emacs-lisp/eieio-come.el: Remove.
      * lisp/emacs-lisp/eieio.el: Don't require eieio-comp.
      (defmethod): Do a bit more work to find the body and wrap it into
      a function before passing it to eieio-defmethod.
      (eieio-defmethod): New arg `code' for it.
      * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Don't hide things in
      debugger backtrace.
      * lisp/emacs-lisp/cl-extra.el (cl-macroexpand-all): Use backquotes, and be
      more careful when quoting a function value.
      * lisp/emacs-lisp/cconv.el (cconv-freevars): Accept defvar/defconst.
      (cconv-closure-convert-rec): Catch stray `internal-make-closure'.
      * lisp/Makefile.in (COMPILE_FIRST): Compile pcase and cconv early.
      
      * src/eval.c (Qcurry): Remove.
      (funcall_funvec): Remove.
      (funcall_lambda): Move new byte-code handling to reduce impact.
      Treat all args as lexical in the case of lexbind.
      (Fcurry): Remove.
      * src/data.c (Qfunction_vector): Remove.
      (Ffunvecp): Remove.
      * src/lread.c (read1): Revert to calling make_byte_code here.
      (read_vector): Don't call make_byte_code any more.
      * src/lisp.h (enum pvec_type): Rename back to PVEC_COMPILED.
      (XSETCOMPILED): Rename back from XSETFUNVEC.
      (FUNVEC_SIZE): Remove.
      (FUNVEC_COMPILED_TAG_P, FUNVEC_COMPILED_P): Remove.
      (COMPILEDP): Rename back from FUNVECP.
      * src/fns.c (Felt): Remove unexplained FUNVEC check.
      * src/doc.c (Fdocumentation): Don't handle funvec.
      * src/alloc.c (make_funvec, Ffunvec): Remove.
      * doc/lispref/vol2.texi (Top):
      * doc/lispref/vol1.texi (Top):
      * doc/lispref/objects.texi (Programming Types, Funvec Type, Type Predicates):
      * doc/lispref/functions.texi (Functions, What Is a Function, FunctionCurrying):
      * doc/lispref/elisp.texi (Top): Remove mentions of funvec and curry.
      876c194c
  27. 10 Nov, 2010 1 commit
  28. 08 Nov, 2010 1 commit
  29. 05 Oct, 2010 1 commit
  30. 19 Mar, 2010 1 commit
  31. 17 Dec, 2009 1 commit
  32. 14 Sep, 2009 1 commit
  33. 14 Jan, 2009 1 commit