1. 23 Apr, 2016 1 commit
    • Jö Fahlke's avatar
      Regexps for matching CMake output · 912e9159
      Jö Fahlke authored
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
      regexps for matching CMake output.
      * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add
      CMake test cases.
      * etc/compilation.txt (CMake): Add CMake examples.
      
      Copyright-paperwork-exempt: yes
      912e9159
  2. 08 Apr, 2016 1 commit
    • Paul Eggert's avatar
      Comint and compile no longer set EMACS · a1f221bd
      Paul Eggert authored
      This mostly restores the change that I reverted on March 23,
      fixing most of Bug#20202.  The only part of the change that is
      still reverted is the change to M-x term, where compatibility with
      current Bash constrains us from moving too quickly (Bug#20484).
      Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
      * etc/NEWS: Document this.
      * lisp/comint.el (comint-exec-1):
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      * lisp/progmodes/compile.el (compilation-start):
      Don’t set EMACS=t in the subsidiary process.
      a1f221bd
  3. 23 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Comint, term, and compile now set EMACS · 73d213f2
      Paul Eggert authored
      This fixes directory tracking in ansi-term, at the expense of
      breaking some usages of 'configure'.  Setting EMACS is meant to be
      a somewhat temporary measure, until Bash 4.4 comes out and is
      common.  (Bug#20484).
      * etc/NEWS: Document this.
      * lisp/comint.el (comint-exec-1):
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      * lisp/progmodes/compile.el (compilation-start):
      * lisp/term.el (term-exec-1):
      Go back to setting the EMACS environment variable, for backward
      compatibility to Bash 4.3 and earlier.
      73d213f2
  4. 03 Jan, 2016 1 commit
  5. 01 Jan, 2016 1 commit
  6. 23 Nov, 2015 1 commit
    • Alan Mackenzie's avatar
      Expunge occurrences of `setq' with an odd number of arguments. · 54547083
      Alan Mackenzie authored
      * lisp/apropos.el (apropos-documentation):
      * lisp/obsolete/complete.el (PC-include-file-all-completions):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
      Insert missing nil at end of `setq' forms.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
      erroneous trailing variable name from a setq, thus allowing a compilation
      properly to track functions not defined at runtime.
      54547083
  7. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  8. 04 Oct, 2015 1 commit
  9. 20 Sep, 2015 1 commit
  10. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  11. 25 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Prefer directed to neutral quotes · 875a5d0e
      Paul Eggert authored
      Prefer directed to neutral quotes in docstings and diagnostics.
      In docstrings, escape apostrophes that would otherwise be translated
      to curved quotes using the newer, simpler rules.
      * admin/unidata/unidata-gen.el (unidata-gen-table):
      * lisp/align.el (align-region):
      * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
      * lisp/bookmark.el (bookmark-default-annotation-text):
      * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
      * lisp/calc/calc-lang.el (math-read-giac-subscr)
      (math-read-math-subscr):
      * lisp/calc/calc-misc.el (report-calc-bug):
      * lisp/calc/calc-prog.el (calc-fix-token-name)
      (calc-read-parse-table-part):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      * lisp/dabbrev.el (dabbrev-expand):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/elint.el (elint-get-top-forms):
      * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
      * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
      * lisp/erc/erc-button.el (erc-nick-popup):
      * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
      * lisp/eshell/em-dirs.el (eshell/cd):
      * lisp/eshell/em-glob.el (eshell-glob-regexp):
      * lisp/eshell/em-pred.el (eshell-parse-modifiers):
      * lisp/eshell/esh-arg.el (eshell-parse-arguments):
      * lisp/eshell/esh-opt.el (eshell-show-usage):
      * lisp/files-x.el (modify-file-local-variable):
      * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
      (filesets-update-pre010505):
      * lisp/find-cmd.el (find-generic, find-to-string):
      * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
      * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
      (gnus-agent-fetch-headers):
      * lisp/gnus/gnus-int.el (gnus-start-news-server):
      * lisp/gnus/gnus-registry.el:
      (gnus-registry--split-fancy-with-parent-internal):
      * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
      * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
      * lisp/gnus/gnus-topic.el (gnus-topic-rename):
      * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
      * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
      * lisp/gnus/spam.el (spam-check-blackholes):
      * lisp/mail/feedmail.el (feedmail-run-the-queue):
      * lisp/mpc.el (mpc-playlist-rename):
      * lisp/net/ange-ftp.el (ange-ftp-shell-command):
      * lisp/net/mairix.el (mairix-widget-create-query):
      * lisp/net/tramp-cache.el:
      * lisp/obsolete/otodo-mode.el (todo-more-important-p):
      * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
      * lisp/org/ob-core.el (org-babel-goto-named-src-block)
      (org-babel-goto-named-result):
      * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
      * lisp/org/ob-ref.el (org-babel-ref-resolve):
      * lisp/org/org-agenda.el (org-agenda-prepare):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
      (org-clock-resolve):
      * lisp/org/org-feed.el (org-feed-parse-atom-entry):
      * lisp/org/org-habit.el (org-habit-parse-todo):
      * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
      (org-mouse-context-menu):
      * lisp/org/org-table.el (org-table-edit-formulas):
      * lisp/org/ox.el (org-export-async-start):
      * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
      (dun-rooms, dun-endgame-questions):
      * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
      * lisp/progmodes/ada-xref.el (ada-find-executable):
      * lisp/progmodes/antlr-mode.el (antlr-options-alists):
      * lisp/progmodes/flymake.el (flymake-parse-err-lines)
      (flymake-start-syntax-check-process):
      * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
      * lisp/progmodes/sql.el (sql-comint):
      * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
      * lisp/server.el (server-get-auth-key):
      * lisp/subr.el (version-to-list):
      * lisp/textmodes/reftex-ref.el (reftex-label):
      * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
      Use directed rather than neutral quotes in diagnostics.
      875a5d0e
  12. 13 Aug, 2015 1 commit
  13. 04 Jul, 2015 1 commit
  14. 30 Jun, 2015 1 commit
    • Paul Eggert's avatar
      In strings, prefer plain ` and ' to \` and \' · 3213d770
      Paul Eggert authored
      * lisp/allout.el (allout-insert-listified):
      * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
      * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
      (ls-lisp-string-lessp):
      * lisp/menu-bar.el (menu-bar-open):
      * lisp/obsolete/otodo-mode.el (todo-top-priorities):
      * lisp/progmodes/compile.el (compile):
      * lisp/progmodes/etags.el (tags-loop-scan):
      * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
      * lisp/subr.el (posn-actual-col-row):
      * lisp/term/pc-win.el (x-list-fonts):
      * lisp/textmodes/texinfmt.el (texinfmt-version):
      * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
      * lisp/time.el (display-time-world-list):
      * lisp/tmm.el (tmm-menubar):
      * src/buffer.c (syms_of_buffer):
      * src/fileio.c (syms_of_fileio):
      Omit unnecessary and confusing backslash before quote.
      * lisp/erc/erc.el (erc-cmd-LASTLOG):
      * lisp/progmodes/flymake.el (flymake-fix-file-name):
      * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
      Fix string that was intended to escape a backslash and not a quote.
      3213d770
  15. 18 May, 2015 1 commit
  16. 09 Apr, 2015 1 commit
    • Stefan Monnier's avatar
      Stop messing with the EMACS env var · beaab898
      Stefan Monnier authored
      Fixes: debbugs:20202
      
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      * lisp/comint.el (comint-exec-1):
      * lisp/term.el (term-exec-1): Don't set EMACS envvar.
      * lisp/progmodes/compile.el (compilation-start): Same and bring
      INSIDE_EMACS's format in line with other users.
      beaab898
  17. 01 Jan, 2015 2 commits
  18. 01 Nov, 2014 1 commit
  19. 29 Oct, 2014 1 commit
  20. 15 Oct, 2014 1 commit
  21. 13 Aug, 2014 1 commit
    • Jan Nieuwenhuizen's avatar
      Support Guile backtraces in compilation mode. · 8f944212
      Jan Nieuwenhuizen authored
      	* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      	Add Guile regexpses.
      
      	* etc/compilation.txt (file): Add Guile backtrace example.
      
      	* test/automated/compile-tests.el (compile--test-error-line):
      	Grok FILE being nil.  Allows for Guile tests to pass.
      	(compile-tests--test-regexps-data): Add Guile tests.
      8f944212
  22. 29 May, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions. · 6711a21f
      Stefan Monnier authored
      (font-lock-fontify-buffer): Mark interactive-only.
      (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
      Make buffer-local.
      (font-lock-specified-p): Remove redundant boundp check.
      (font-lock-flush-function, font-lock-ensure-function): New vars.
      (font-lock-turn-on-thing-lock): Set them.
      (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
      (font-lock-after-change-function): Make `old-len' optional.
      (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
      Call font-lock-flush, just in case.
      * lisp/progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
      recent Emacsen.
      * lisp/progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
      (vera-mode-map, vera-mode-menu): Remove bindings to it.
      * lisp/progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
      and with-syntax-table.
      * lisp/textmodes/conf-mode.el (conf-quote-normal):
      * lisp/progmodes/sh-script.el (sh-set-shell):
      * lisp/progmodes/prog-mode.el (prettify-symbols-mode):
      * lisp/progmodes/f90.el (f90-font-lock-n):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
      * lisp/progmodes/compile.el (compilation-setup, compilation--unsetup):
      * lisp/hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
      (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
      * lisp/mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
      font-lock-fontify-buffer-function and
      font-lock-unfontify-buffer-function.
      (rmail-unfontify-buffer-function, rmail-fontify-message):
      Use with-silent-modifications.
      * lisp/htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
      and font-lock-ensure.
      * lisp/bs.el (bs-show-in-buffer): Use font-lock-ensure.
      * lisp/gnus/mm-view.el (mm-display-inline-fontify): Use font-lock-ensure.
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Use font-lock-flush.
      * lisp/org/org-compat.el (org-font-lock-ensure): New function.
      * lisp/org/ox-odt.el (org-odt-do-format-code):
      * lisp/org/ox-html.el (org-html-fontify-code):
      * lisp/org/org.el (org-fontify-like-in-org-mode):
      * lisp/org/org-src.el (org-src-font-lock-fontify-block):
      * lisp/org/org-clock.el (org-clock-get-clocktable): Use it.
      * lisp/org/ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
      from Elisp.
      * test/automated/ruby-mode-tests.el (ruby-assert-face): Use font-lock-ensure.
      (ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize.
      6711a21f
  23. 09 May, 2014 1 commit
  24. 05 May, 2014 1 commit
  25. 10 Feb, 2014 1 commit
  26. 01 Jan, 2014 1 commit
  27. 16 Dec, 2013 1 commit
  28. 06 Dec, 2013 1 commit
    • Michael Albinus's avatar
      Bug#16045 · 4803595d
      Michael Albinus authored
      * progmodes/compile.el (compilation-start):
      * progmodes/grep.el (rgrep): Revert change of 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
      
      * net/tramp-sh.el (tramp-sh-handle-start-file-process):
      Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
      4803595d
  29. 03 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/window.el (display-buffer-no-window): New action function. · 9139632a
      Juri Linkov authored
      (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
      
      * lisp/simple.el (shell-command): Add window alist entry `allow-no-window'
      to `display-buffer'.
      (async-shell-command): Doc fix.
      
      * lisp/progmodes/compile.el (compilation-start): Rename window alist
      entry `no-display-ok' to `allow-no-window'.
      
      * doc/lispref/windows.texi (Choosing Window): Rename `no-display-ok' to
      `allow-no-window'.
      9139632a
  30. 19 Nov, 2013 1 commit
  31. 23 Oct, 2013 1 commit
  32. 07 Oct, 2013 1 commit
  33. 02 Oct, 2013 1 commit
  34. 13 Aug, 2013 1 commit
    • Glenn Morris's avatar
      Tweak some settings of compile-command · 55e47f95
      Glenn Morris authored
      * progmodes/compile.el (compile-command): Tweak example in doc.
      * obsolete/scribe.el (scribe-mode):
      * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.
      
      Fixes: debbugs:15053
      55e47f95
  35. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  36. 04 Jun, 2013 1 commit
  37. 24 Apr, 2013 1 commit
  38. 19 Mar, 2013 1 commit
  39. 12 Feb, 2013 1 commit