1. 20 Jun, 2019 1 commit
  2. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  3. 20 May, 2019 1 commit
  4. 25 Apr, 2019 1 commit
    • Stefan Monnier's avatar
      Use lexical-binding by default for M-:, --eval, and *scratch* · e08e0880
      Stefan Monnier authored
      * lisp/startup.el (command-line): Default to lexical-binding in *scratch*.
      (normal-no-mouse-startup-screen, command-line-1):
      Use startup--get-buffer-create-scratch.
      (command-line-1):
      * lisp/simple.el (eval-expression):
      * lisp/server.el (server-eval-and-print): Use lexical-binding to
      evaluate the expression.
      (server-execute): Use startup--get-buffer-create-scratch.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Default to lexical-binding.
      e08e0880
  5. 01 Jan, 2019 1 commit
  6. 21 Jul, 2018 1 commit
    • Bozhidar Batsov's avatar
      Make ielm accept an optional buffer name param · 6eac401c
      Bozhidar Batsov authored
      The ielm buffer name was hardcoded which made it hard for programs to
      interactively create ielm buffers with different names and switch to
      them (e.g. perhaps you want to have one ielm buffer for each of the
      Elisp projects you're working on).
      6eac401c
  7. 20 Apr, 2018 1 commit
    • Glenn Morris's avatar
      The tedious game of whack-a-mole with compiler warnings continues · 9c3eeba4
      Glenn Morris authored
      * lisp/abbrev.el (edit-abbrevs-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/htmlfontify.el (hfy-optimisations):
      * lisp/ielm.el (inferior-emacs-lisp-mode-hook)
      (inferior-emacs-lisp-mode-map):
      * lisp/isearch.el (isearch-lazy-highlight-word):
      * lisp/select.el (x-select-enable-clipboard, x-select-enable-primary):
      * lisp/shell.el (shell-dirtrack-mode):
      * lisp/skeleton.el (skeleton-transformation, skeleton-filter):
      * lisp/startup.el (inhibit-splash-screen, inhibit-startup-message):
      * lisp/window.el (even-window-heights):
      * lisp/calendar/timeclock.el (timeclock-modeline-display):
      * lisp/cedet/semantic/db-mode.el (semanticdb-mode-hook)
      (semanticdb-global-mode):
      * lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings):
      * lisp/emacs-lisp/warnings.el (display-warning-minimum-level)
      (log-warning-minimum-level):
      * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook):
      * lisp/gnus/nnspool.el (news-path):
      * lisp/org/org-agenda.el (org-agenda-search-view-search-words-only)
      (org-agenda-remove-tags-when-in-prefix)
      (org-agenda-align-tags-to-column, org-agenda-keymap):
      * lisp/org/org.el (org-special-ctrl-a)
      (org-log-state-notes-into-drawer)
      (org-agenda-multi-occur-extra-files):
      * lisp/progmodes/flymake-proc.el (flymake-err-line-patterns)
      (flymake-check-file-limit):
      * lisp/progmodes/make-mode.el (makefile-query-one-target-method):
      * lisp/progmodes/octave.el (inferior-octave-startup-hook):
      * lisp/progmodes/python.el (python-buffer)
      (python-preoutput-result):
      * lisp/progmodes/sql.el (sql-dialect):
      * lisp/textmodes/artist.el (artist-text-renderer):
      * lisp/textmodes/bibtex.el (bibtex-autokey-name-case-convert)
      (bibtex-autokey-titleword-case-convert):
      * lisp/textmodes/flyspell.el (flyspell-generic-check-word-p):
      * lisp/textmodes/ispell.el (ispell-format-word):
      * lisp/textmodes/rst.el (rst-preferred-decorations):
      * lisp/textmodes/sgml-mode.el (sgml-transformation):
      Move aliases before targets, to silence new compiler warning.
      * lisp/term/ns-win.el (ns-option-modifier, ns-right-option-modifier):
      Silence warning.
      9c3eeba4
  8. 20 Jan, 2018 1 commit
  9. 15 Jan, 2018 1 commit
  10. 01 Jan, 2018 1 commit
  11. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  12. 01 Jan, 2017 1 commit
  13. 17 Jul, 2016 2 commits
  14. 01 Jan, 2016 1 commit
  15. 03 Dec, 2015 1 commit
  16. 30 Oct, 2015 1 commit
  17. 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
  18. 21 Aug, 2015 1 commit
  19. 21 May, 2015 1 commit
  20. 20 Jan, 2015 1 commit
    • Michal Nazarewicz's avatar
      eldoc: modify `eldoc-documentation-function' using `add-function' · fd020a29
      Michal Nazarewicz authored
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
      major modes should use `add-function' to alter value of the variable.
      
      * lisp/hexl.el (hexl-mode): Set `eldoc-documentation-function' using
      `add-function' so the default value is always used.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set
      `eldoc-documentation-function' using `add-function' so the default
      value is always used.
      * lisp/progmodes/cfengine.el (cfengine3-mode): Set
      `eldoc-documentation-function' using `add-function' so the default
      value is always used.
      * lisp/progmodes/elisp-mode (emacs-lisp-mode): Set
      `eldoc-documentation-function' using `add-function' so the default
      value is always used.
      * lisp/progmodes/octave.el (octave-mode): Set
      `eldoc-documentation-function' using `add-function' so the default
      value is always used.
      * lisp/progmodes/python.el (python-mode): Set
      `eldoc-documentation-function' using `add-function' so the default
      value is always used.
      * lisp/simple.el (read--expression): Set `eldoc-documentation-function'
      using `add-function' so the default value is always used.
      fd020a29
  21. 01 Jan, 2015 2 commits
  22. 27 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. · e6cfa098
      Stefan Monnier authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
      (eldoc-schedule-timer): Obey it.
      (eldoc-documentation-function): Default to nil.
      (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
      (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
      (eldoc-highlight-function-argument, eldoc-get-var-docstring)
      (eldoc-last-data-store, eldoc-docstring-first-line)
      (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
      (eldoc-beginning-of-sexp, eldoc-current-symbol)
      (eldoc-function-argstring): Move to elisp-mode.el.
      (eldoc-symbol-function): Remove, unused.
      * lisp/progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
      (elisp-completion-at-point): Rename from lisp-completion-at-point.
      (elisp--preceding-sexp): Rename from preceding-sexp.
      * lisp/loadup.el: Load new file progmodes/elisp-mode.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
      * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
      (lisp--local-variables-completion-table, lisp--expect-function-p)
      (lisp--form-quoted-p, lisp--company-doc-buffer)
      (lisp--company-doc-string, lisp--company-location)
      (lisp-completion-at-point): Move to elisp-mode.el.
      * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
      extracted from emacs-lisp-mode-syntax-table.
      (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
      elisp-mode.el.
      (lisp-imenu-generic-expression): Add comments to document what comes
      from which Lisp dialect.
      (emacs-lisp-mode-map, emacs-lisp-byte-compile)
      (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
      (emacs-lisp-mode, emacs-list-byte-code-comment-re)
      (emacs-lisp-byte-code-comment)
      (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
      (lisp-interaction-mode-map, lisp-interaction-mode)
      (eval-print-last-sexp, last-sexp-setup-props)
      (last-sexp-toggle-display, prin1-char, preceding-sexp)
      (eval-last-sexp-1, eval-last-sexp-print-value)
      (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
      (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
      * src/lisp.mk (lisp): Add elisp-mode.elc.
      e6cfa098
  23. 10 Feb, 2014 2 commits
  24. 30 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode' · ad78f432
      Glenn Morris authored
      * lisp/hexl.el (hexl-mode-hook):
      * lisp/ielm.el (ielm-mode-hook):
      * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
      (lisp-interaction-mode-hook):
      * lisp/progmodes/cfengine.e (cfengine3-documentation-function):
      Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
      
      * lisp/emacs-lisp/eldoc.el: Same in commentary.
      ad78f432
  25. 03 Jan, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/ielm.el (ielm-tab): Retarget. · 6ef9aed8
      Stefan Monnier authored
      (ielm-map): Use ielm-tab for tab.
      (ielm-complete-filename): Use comint-filename-completion.
      (ielm-complete-symbol): Remove.
      (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
      remove ielm-tab from completion-at-point-functions.
      
      Fixes: debbugs:16224
      6ef9aed8
  26. 01 Jan, 2014 1 commit
  27. 19 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/simple.el (eval-expression-print-format): Don't check for · b41594fd
      Juri Linkov authored
      command names and the last command.  Always display additional
      formats of the integer result in the echo area, and insert them
      to the current buffer only with a zero prefix arg.
      Display character when char-displayable-p is non-nil.
      (eval-expression): With a zero prefix arg, set `print-length' and
      `print-level' to nil, and insert the integer values from
      `eval-expression-print-format' at the end.  Doc fix. 
      
      * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
      `eval-last-sexp-arg-internal'.  Doc fix.
      (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
      `eval-last-sexp-print-value'.  Doc fix.
      (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
      Set `print-length' and `print-level' to nil when arg is zero.
      (eval-last-sexp): Doc fix.
      (eval-defun-2): Print the integer values from
      `eval-expression-print-format' at the end.
      
      * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
      values from `eval-expression-print-format' at the end.
      
      * lisp/ielm.el (ielm-eval-input): Print the integer
      values from `eval-expression-print-format' at the end.
      
      Fixes: debbugs:12985
      b41594fd
  28. 18 Oct, 2013 1 commit
  29. 30 May, 2013 1 commit
    • Glenn Morris's avatar
      Silence ielm compilation · d209d4a9
      Glenn Morris authored
      * lisp/ielm.el (ielm-map, ielm-complete-symbol):
      Use completion-at-point rather than obsolete functions.
      (inferior-emacs-lisp-mode): Doc fix.
      Set completion-at-point-functions, rather than
      comint-dynamic-complete-functions.
      d209d4a9
  30. 23 May, 2013 1 commit
  31. 01 Jan, 2013 1 commit
  32. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  33. 11 Jan, 2012 1 commit
  34. 05 Jan, 2012 1 commit
  35. 11 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Change modes that used same-window-* vars to use switch-to-buffer. · 37ac18a3
      Chong Yidong authored
      * cmuscheme.el (run-scheme, switch-to-scheme):
      * ielm.el (ielm):
      * shell.el (shell):
      * net/rlogin.el (rlogin):
      * net/telnet.el (telnet, rsh):
      * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
      
      * cus-edit.el (customize-group, custom-buffer-create)
      (customize-browse, custom-buffer-create-other-window): Use
      switch-to-buffer or switch-to-buffer-other-window.
      
      * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
      (Info-prev, Info-up, Info-speedbar-goto-node)
      (info-display-manual): Use switch-to-buffer.
      (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
      
      * lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
      (message-mail-other-window, message-mail-other-frame)
      (message-news-other-window, message-news-other-frame): Use
      switch-to-buffer-other-frame and switch-to-buffer-other-window instead
      of setting buffer display varibles.
      
      * mail/sendmail.el (mail): Use switch-to-buffer.
      (mail-recover): Use switch-to-buffer-other-window.
      
      * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
      Use switch-to-buffer.
      37ac18a3
  36. 10 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Tweaks to display-buffer default actions; remove same-window-* autoload forms. · 8319e0bf
      Chong Yidong authored
      * lisp/window.el (display-buffer-alist): Add entry for buffers
      previously handled same-window-*.
      (display-buffer-alist, display-buffer-default-action)
      (display-buffer-overriding-action): Mark as risky.
      (display-buffer-alist): Document action function changes.
      (display-buffer--same-window-action)
      (display-buffer--other-frame-action): New variables.
      (switch-to-buffer, display-buffer-other-frame): Use them.
      (display-buffer): Rename reuse-frame entry to reusable-frames.
      (display-buffer-reuse-selected-window): Function deleted.
      (display-buffer-reuse-window): Handle reusable-frames alist entry.
      If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
      (display-buffer-special): New function.
      (display-buffer--maybe-pop-up-frame-or-window): Rename from
      display-buffer-reuse-or-pop-window.  Split off special-display
      part into display-buffer-special.
      (display-buffer-use-some-window): Don't perform any special
      pop-up-frames handling.
      (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
      
      * lisp/cmuscheme.el:
      * lisp/ielm.el:
      * lisp/shell.el:
      * lisp/mail/sendmail.el:
      * lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.
      
      * lisp/cus-edit.el:
      * lisp/info.el:
      * lisp/net/rlogin.el:
      * lisp/net/telnet.el:
      * lisp/progmodes/gud.el: Don't set same-window-regexps.
      8319e0bf
  37. 23 May, 2011 1 commit