1. 30 Oct, 2014 1 commit
  2. 09 Feb, 2014 1 commit
  3. 02 Feb, 2014 1 commit
  4. 01 Jan, 2014 1 commit
  5. 25 Dec, 2013 1 commit
  6. 01 Jun, 2013 2 commits
    • Glenn Morris's avatar
      Plain boundp silences compilation warnings since Emacs 22.1. · 02c992ec
      Glenn Morris authored
      * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
      (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
      02c992ec
    • Glenn Morris's avatar
      Plain fboundp silences compilation warnings since Emacs 22.1 · 683853b9
      Glenn Morris authored
      * progmodes/cc-cmds.el (delete-forward-p):
      * progmodes/cc-defs.el (buffer-syntactic-context-depth):
      * progmodes/cc-engine.el (buffer-syntactic-context):
      * progmodes/cc-fonts.el (face-property-instance):
      * progmodes/cc-mode.el (set-keymap-parents):
      * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
      * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
      * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
      683853b9
  7. 05 May, 2013 1 commit
  8. 04 Mar, 2013 1 commit
    • Alan Mackenzie's avatar
      Replace `last-command-event' by `last-command-char' in XEmacs. · e0bc0f33
      Alan Mackenzie authored
      progmodes/cc-defs.el (c-last-command-char): New macro.
      progmodes/cc-align.el (c-semi&comma-inside-parenlist)
      (c-semi&comma-no-newlines-before-nonblanks)
      (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro in
      place of `last-command-event'.
      progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
      (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
      (c-electric-paren, c-electric-continued-statement): Use the new macro in
      place of `last-command-event'.
      e0bc0f33
  9. 01 Jan, 2013 1 commit
  10. 21 Nov, 2012 1 commit
  11. 13 Sep, 2012 1 commit
    • Glenn Morris's avatar
      Update some function declarations · 6a2e6868
      Glenn Morris authored
      * lisp/calc/calc-ext.el (math-compose-expr):
      * lisp/calc/calc.el (math-compose-expr):
      * lisp/progmodes/cc-defs.el (cl-macroexpand-all):
      * lisp/progmodes/cc-langs.el (delete-duplicates, mapcan)
      (cl-macroexpand-all): Update declarations.
      6a2e6868
  12. 26 Jun, 2012 1 commit
    • Sam Steingold's avatar
      * lisp/files.el (file-name-base): New convenience function. · d2c32364
      Sam Steingold authored
      * lisp/autoinsert.el, lisp/cus-dep.el, lisp/doc-view.el, lisp/image-dired.el,
      * lisp/woman.el, lisp/eshell/esh-cmd.el, lisp/progmodes/ada-xref.el,
      * lisp/progmodes/cc-defs.el, lisp/progmodes/cperl-mode.el,
      * lisp/progmodes/flymake.el, lisp/progmodes/gud.el, lisp/progmodes/idlwave.el,
      * lisp/textmodes/ispell.el, lisp/textmodes/reftex-ref.el,
      * lisp/textmodes/tex-mode.el: Use it.
      Did not touch cedet and org because they are maintained elsewhere.
      d2c32364
  13. 27 Apr, 2012 1 commit
  14. 11 Jan, 2012 1 commit
  15. 05 Jan, 2012 1 commit
  16. 05 Dec, 2011 1 commit
  17. 20 Nov, 2011 1 commit
  18. 14 Nov, 2011 1 commit
  19. 28 Oct, 2011 1 commit
  20. 27 Oct, 2011 1 commit
    • Alan Mackenzie's avatar
      Amend to indent and fontify macros "which include their own semicolon" · 536610a4
      Alan Mackenzie authored
      correctly, using the "virtual semicolon" mechanism.
      
      cc-defs.el: Update "virtual semicolon" comments.
      
      cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
      at time rather than having \n and \r explicitly in c-stmt-delim-chars
      (for some modes, e.g. AWK).
      (c-forward-label): Amend for virtual semicolons.
      (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
      
      cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.
      
      cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to
      earlier in the file.
      (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
      (c-opt-cpp-macro-define): Make into a full language variable.
      (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
      AWK Mode (including \n, \r) removed, no longer needed.
      
      cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
      c-make-macro-with-semi-re.
      
      cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New
      variables.
      (c-make-macro-with-semi-re): New function
      
      cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
      (Other Special Indentations): Add an xref to "Macros with ;".
      (Customizing Macros): Add stuff about syntax in macros.  Add an xref to
      "Macros with ;".
      (Macros with ;): New page.
      536610a4
  21. 23 Sep, 2011 1 commit
  22. 17 May, 2011 1 commit
  23. 26 Jan, 2011 1 commit
  24. 25 Jan, 2011 1 commit
  25. 15 Jan, 2011 1 commit
  26. 02 Jan, 2011 1 commit
  27. 29 Aug, 2010 1 commit
  28. 21 Jun, 2010 1 commit
    • Alan Mackenzie's avatar
      Fix an indentation bug: · 43a91810
      Alan Mackenzie authored
      progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
      (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
      of existing values.
      
      progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
      (c-clear->-pair-props-if-match-before): now return t when they've cleared
      properties, nil otherwise.
      (c-before-change-check-<>-operators): Set c-new-beg/end correctly by
      taking account of the existing value.
      
      progmodes/cc-defs.el (c-clear-char-property-with-value-function): Fix
      this to clear the property rather than overwriting it with nil.
      43a91810
  29. 12 Apr, 2010 2 commits
  30. 04 Feb, 2010 1 commit
  31. 19 Jan, 2010 1 commit
  32. 14 Jan, 2010 1 commit
  33. 13 Jan, 2010 1 commit
  34. 03 Dec, 2009 1 commit
    • Alan Mackenzie's avatar
      Enhance `c-parse-state' to run efficiently in "brace desserts". · 0ec1d2c5
      Alan Mackenzie authored
      * progmodes/cc-mode.el (c-basic-common-init): Call
      c-state-cache-init.
      (c-neutralize-syntax-in-and-mark-CPP):  Renamed from
      c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
      placing `category' properties value 'c-cpp-delimiter at its
      boundaries.
      
      * progmodes/cc-langs.el (c-before-font-lock-function):
      c-extend-and-neutralize-syntax-in-CPP has been renamed
      c-neutralize-syntax-in-and-mark-CPP.
      
      * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
      with `category' properties now, not `syntax-table' ones.
      
      * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
      enhanced (but slower) version of c-end-of-macro that won't land
      inside a literal or on another awkward character.
      (c-state-cache-too-far, c-state-cache-start)
      (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
      (c-state-nonlit-pos-cache-limit, c-state-point-min)
      (c-state-point-min-lit-type, c-state-point-min-lit-start)
      (c-state-min-scan-pos, c-state-brace-pair-desert)
      (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
      buffer local variables.
      (c-state-literal-at, c-state-lit-beg)
      (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
      (c-state-mark-point-min-literal, c-state-cache-top-lparen)
      (c-state-cache-top-paren, c-state-cache-after-top-paren)
      (c-get-cache-scan-pos, c-get-fallback-scan-pos)
      (c-state-balance-parens-backwards, c-parse-state-get-strategy)
      (c-renarrow-state-cache)
      (c-append-lower-brace-pair-to-state-cache)
      (c-state-push-any-brace-pair, c-append-to-state-cache)
      (c-remove-stale-state-cache)
      (c-remove-stale-state-cache-backwards, c-state-cache-init)
      (c-invalidate-state-cache-1, c-parse-state-1)
      (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
      (c-parse-state): Enhanced and refactored.
      (c-debug-parse-state): Amended to deal with all the new variables.
      
      * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
      (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
      modify to use category text properties rather than syntax-table
      ones.
      (c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts
      to switch off/on the syntactic paren property of C++ template
      delimiters using the category property.
      (c-with-<->-as-parens-suppressed): Macro to invoke code with
      template delims suppressed.
      (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
      New constant/macros which apply category properties to the start
      and end of preprocessor constructs.
      (c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which
      "comment out" the syntactic value of characters in preprocessor
      constructs.
      (c-with-cpps-commented-out)
      (c-with-all-but-one-cpps-commented-out): Macros to invoke code
      with characters in all or all but one preprocessor constructs
      "commented out".
      0ec1d2c5
  35. 18 Nov, 2009 1 commit
  36. 31 Oct, 2009 1 commit
    • Stefan Monnier's avatar
      * textmodes/two-column.el (2C-split): · 9a529312
      Stefan Monnier authored
      * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
      * textmodes/tex-mode.el (tex-set-buffer-directory):
      * textmodes/spell.el (spell-region, spell-string):
      * textmodes/reftex.el (reftex-erase-buffer):
      (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
      * textmodes/reftex-toc.el (reftex-toc-promote-action):
      * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
      (reftex-select-item):
      * textmodes/reftex-ref.el (reftex-label-info-update)
      (reftex-offer-label-menu):
      * textmodes/reftex-index.el (reftex-index-change-entry)
      (reftex-index-phrases-info):
      * textmodes/reftex-global.el (reftex-create-tags-file)
      (reftex-save-all-document-buffers, reftex-ensure-write-access):
      * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
      (reftex-view-crossref-from-bibtex):
      * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
      (reftex-extract-bib-entries-from-thebibliography)
      (reftex-all-used-citation-keys, reftex-create-bibtex-file):
      * textmodes/refbib.el (r2b-capitalize-title):
      (r2b-convert-buffer, r2b-help):
      * textmodes/page-ext.el (pages-directory)
      (pages-directory-goto-with-mouse):
      * textmodes/bibtex.el (bibtex-validate-globally):
      * textmodes/bib-mode.el (bib-capitalize-title):
      * textmodes/artist.el (artist-clear-buffer, artist-system):
      * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
      (local-set-scheme-interaction-buffer, xscheme-process-filter)
      (verify-xscheme-buffer, xscheme-enter-interaction-mode)
      (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
      (xscheme-send-control-g-interrupt, xscheme-start-process)
      (xscheme-process-sentinel, xscheme-cd):
      * progmodes/verilog-mode.el (verilog-read-always-signals)
      (verilog-set-define, verilog-getopt-file)
      (verilog-module-inside-filename-p):
      * progmodes/sh-script.el:
      * progmodes/python.el (python-pdbtrack-get-source-buffer)
      (python-pdbtrack-grub-for-buffer, python-execute-file):
      * progmodes/octave-inf.el (inferior-octave):
      * progmodes/idlwave.el (idlwave-scan-user-lib-files)
      (idlwave-shell-compile-helper-routines, idlwave-set-local)
      (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
      (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
      (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
      * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
      (idlwave-shell-filter, idlwave-shell-examine-highlight)
      (idlwave-shell-sentinel, idlwave-shell-filter-directory)
      (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
      (idlwave-shell-examine-display, idlwave-shell-run-region)
      (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
      (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
      * progmodes/idlw-help.el (idlwave-help-get-special-help)
      (idlwave-help-get-help-buffer):
      * progmodes/gud.el (gud-basic-call, gud-find-class)
      (gud-tooltip-activate-mouse-motions-if-enabled):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
      (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
      (ebrowse-tags-next-file):
      * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
      (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
      (ebnf-eps-finish-and-write):
      * progmodes/cpp.el (cpp-edit-save):
      * progmodes/cperl-mode.el (cperl-pod-to-manpage):
      * progmodes/cc-defs.el (c-emacs-features):
      * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
      (antlr-directory-dependencies):
      * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
      (ada-run-application, ada-find-in-src-path, ada-goto-parent)
      (ada-find-any-references, ada-make-filename-from-adaname)
      (ada-make-body-gnatstub):
      * obsolete/rnews.el (news-list-news-groups):
      * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
      * obsolete/iso-acc.el (iso-acc-minibuf-setup):
      * net/rcirc.el (rcirc-debug):
      * net/newst-treeview.el (newsticker--treeview-list-add-item)
      (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
      (newsticker--treeview-list-update-faces, newsticker-treeview-save)
      (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
      (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
      (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
      (newsticker--treeview-list-clear-highlight)
      (newsticker--treeview-list-update-highlight)
      (newsticker--treeview-list-highlight-start)
      (newsticker--treeview-tree-update-highlight)
      (newsticker--treeview-get-selected-item)
      (newsticker-treeview-mark-list-items-old)
      (newsticker--treeview-set-current-node):
      * net/newst-plainview.el (newsticker--buffer-set-uptodate):
      * net/newst-backend.el (newsticker--get-news-by-funcall)
      (newsticker--get-news-by-wget, newsticker--image-get)
      (newsticker--image-sentinel):
      * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
      * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
      (eudc-ph-close-session):
      * net/eudc.el (eudc-save-options):
      * language/thai-word.el (thai-update-word-table):
      * language/japan-util.el (japanese-string-conversion):
      * international/titdic-cnv.el (tsang-quick-converter)
      (ziranma-converter, ctlau-converter):
      * international/mule-cmds.el (describe-language-environment):
      * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
      (skkdic-convert-postfix, skkdic-convert-prefix):
      (skkdic-convert-okuri-nasi, skkdic-convert):
      * emacs-lisp/re-builder.el (reb-update-overlays):
      * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
      * emacs-lisp/gulp.el (gulp-send-requests):
      * emacs-lisp/find-gc.el (trace-call-tree):
      * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
      (eieio-describe-generic):
      * emacs-lisp/eieio-base.el (eieio-persistent-read):
      * emacs-lisp/edebug.el (edebug-outside-excursion):
      * emacs-lisp/debug.el (debugger-make-xrefs):
      * emacs-lisp/cust-print.el (custom-prin1-to-string):
      * emacs-lisp/chart.el (chart-new-buffer):
      * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
      Use with-current-buffer.
      * textmodes/artist.el (artist-system): Don't call
      copy-sequence on a fresh string.
      * progmodes/idlw-shell.el (easymenu setup): Use dolist.
      9a529312
  37. 29 Jul, 2009 1 commit
  38. 12 Feb, 2009 1 commit