1. 25 Nov, 2018 3 commits
    • Michael Heerdegen's avatar
      Replace insignificant backquotes · 1808d254
      Michael Heerdegen authored
      Replace most insignificant occurrences of '`' with a straight quote,
      sharp quote or nothing.  This includes backquotes in 'pcase' patterns.
      
      * admin/admin.el:
      * lisp/apropos.el:
      * lisp/arc-mode.el:
      * lisp/auth-source.el:
      * lisp/avoid.el:
      * lisp/bindings.el:
      * lisp/bs.el:
      * lisp/calculator.el:
      * lisp/calendar/todo-mode.el:
      * lisp/cedet/semantic.el:
      * lisp/cedet/semantic/analyze/debug.el:
      * lisp/cedet/semantic/bovine.el:
      * lisp/cedet/semantic/dep.el:
      * lisp/cedet/semantic/grammar.el:
      * lisp/cedet/semantic/wisent/comp.el:
      * lisp/cedet/semantic/wisent/grammar.el:
      * lisp/cedet/srecode/mode.el:
      * lisp/cus-edit.el:
      * lisp/doc-view.el:
      * lisp/elec-pair.el:
      * lisp/electric.el:
      * lisp/emacs-lisp/autoload.el:
      * lisp/emacs-lisp/benchmark.el:
      * lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/cl-extra.el:
      * lisp/emacs-lisp/cl-generic.el:
      * lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/copyright.el:
      * lisp/emacs-lisp/debug.el:
      * lisp/emacs-lisp/eieio-compat.el:
      * lisp/emacs-lisp/ert.el:
      * lisp/emacs-lisp/generator.el:
      * lisp/emacs-lisp/inline.el:
      * lisp/emacs-lisp/macroexp.el:
      * lisp/emacs-lisp/map.el:
      * lisp/emacs-lisp/package-x.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/radix-tree.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/epa.el:
      * lisp/erc/erc-dcc.el:
      * lisp/erc/erc-track.el:
      * lisp/erc/erc.el:
      * lisp/eshell/em-ls.el:
      * lisp/eshell/esh-cmd.el:
      * lisp/files.el:
      * lisp/filesets.el:
      * lisp/font-lock.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-cite.el:
      * lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-srvr.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el:
      * lisp/gnus/gnus.el:
      * lisp/gnus/message.el:
      * lisp/gnus/mm-util.el:
      * lisp/gnus/mml.el:
      * lisp/gnus/nnheader.el:
      * lisp/gnus/nnimap.el:
      * lisp/gnus/nnmairix.el:
      * lisp/gnus/spam.el:
      * lisp/hexl.el:
      * lisp/hi-lock.el:
      * lisp/ibuf-ext.el:
      * lisp/ibuffer.el:
      * lisp/ido.el:
      * lisp/info.el:
      * lisp/international/mule-cmds.el:
      * lisp/international/mule-util.el:
      * lisp/json.el:
      * lisp/jsonrpc.el:
      * lisp/language/cyrillic.el:
      * lisp/language/european.el:
      * lisp/language/georgian.el:
      * lisp/language/tibetan.el:
      * lisp/language/utf-8-lang.el:
      * lisp/language/vietnamese.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mail-extr.el:
      * lisp/man.el:
      * lisp/menu-bar.el:
      * lisp/mh-e/mh-acros.el:
      * lisp/mh-e/mh-folder.el:
      * lisp/mh-e/mh-mime.el:
      * lisp/mh-e/mh-show.el:
      * lisp/mh-e/mh-speed.el:
      * lisp/minibuffer.el:
      * lisp/mpc.el:
      * lisp/net/ange-ftp.el:
      * lisp/net/hmac-def.el:
      * lisp/net/newst-backend.el:
      * lisp/net/quickurl.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-compat.el:
      * lisp/notifications.el:
      * lisp/obsolete/pgg-parse.el:
      * lisp/obsolete/vc-arch.el:
      * lisp/obsolete/xesam.el:
      * lisp/org/ob-C.el:
      * lisp/org/ob-core.el:
      * lisp/org/ob-exp.el:
      * lisp/org/ob-groovy.el:
      * lisp/org/ob-haskell.el:
      * lisp/org/ob-io.el:
      * lisp/org/ob-lisp.el:
      * lisp/org/ob-lob.el:
      * lisp/org/ob-lua.el:
      * lisp/org/ob-octave.el:
      * lisp/org/ob-perl.el:
      * lisp/org/ob-python.el:
      * lisp/org/ob-ref.el:
      * lisp/org/ob-ruby.el:
      * lisp/org/ob-sql.el:
      * lisp/org/org-agenda.el:
      * lisp/org/org-capture.el:
      * lisp/org/org-clock.el:
      * lisp/org/org-colview.el:
      * lisp/org/org-duration.el:
      * lisp/org/org-element.el:
      * lisp/org/org-entities.el:
      * lisp/org/org-gnus.el:
      * lisp/org/org-indent.el:
      * lisp/org/org-info.el:
      * lisp/org/org-inlinetask.el:
      * lisp/org/org-lint.el:
      * lisp/org/org-list.el:
      * lisp/org/org-mouse.el:
      * lisp/org/org-plot.el:
      * lisp/org/org-src.el:
      * lisp/org/org-table.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-html.el:
      * lisp/org/ox-latex.el:
      * lisp/org/ox-man.el:
      * lisp/org/ox-md.el:
      * lisp/org/ox-org.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox-texinfo.el:
      * lisp/org/ox.el:
      * lisp/play/bubbles.el:
      * lisp/play/gamegrid.el:
      * lisp/progmodes/autoconf.el:
      * lisp/progmodes/cc-defs.el:
      * lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-fonts.el:
      * lisp/progmodes/cc-langs.el:
      * lisp/progmodes/cperl-mode.el:
      * lisp/progmodes/ebrowse.el:
      * lisp/progmodes/elisp-mode.el:
      * lisp/progmodes/flymake-cc.el:
      * lisp/progmodes/flymake.el:
      * lisp/progmodes/fortran.el:
      * lisp/progmodes/grep.el:
      * lisp/progmodes/gud.el:
      * lisp/progmodes/idlwave.el:
      * lisp/progmodes/js.el:
      * lisp/progmodes/m4-mode.el:
      * lisp/progmodes/make-mode.el:
      * lisp/progmodes/mixal-mode.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ps-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/progmodes/sql.el:
      * lisp/progmodes/verilog-mode.el:
      * lisp/ps-mule.el:
      * lisp/rtree.el:
      * lisp/ruler-mode.el:
      * lisp/ses.el:
      * lisp/simple.el:
      * lisp/startup.el:
      * lisp/subr.el:
      * lisp/term/ns-win.el:
      * lisp/textmodes/bibtex.el:
      * lisp/textmodes/conf-mode.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/refill.el:
      * lisp/textmodes/sgml-mode.el:
      * lisp/textmodes/tex-mode.el:
      * lisp/tutorial.el:
      * lisp/url/url-dav.el:
      * lisp/url/url-gw.el:
      * lisp/url/url-http.el:
      * lisp/url/url-methods.el:
      * lisp/url/url-privacy.el:
      * lisp/vc/cvs-status.el:
      * lisp/vc/diff-mode.el:
      * lisp/vc/ediff-init.el:
      * lisp/vc/ediff-ptch.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/log-view.el:
      * lisp/vc/pcvs-info.el:
      * lisp/vc/pcvs.el:
      * lisp/vc/smerge-mode.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-mtn.el:
      * lisp/vc/vc-rcs.el:
      * lisp/whitespace.el:
      * lisp/window.el:
      * test/lisp/electric-tests.el:
      * test/lisp/emacs-lisp/cl-lib-tests.el:
      * test/lisp/emacs-lisp/ert-tests.el:
      * test/lisp/epg-tests.el:
      * test/lisp/jsonrpc-tests.el:
      * test/src/data-tests.el:
      * test/src/json-tests.el: Replace most insignificant backquotes.
      1808d254
    • Stephen Berman's avatar
      3826ecc7
    • Stephen Berman's avatar
      Handle narrowing when marking entries of included diary files · 29ef7d13
      Stephen Berman authored
      * lisp/calendar/diary-lib.el (diary-mark-entries): Widen before
      marking entries (bug#33423).
      29ef7d13
  2. 24 Nov, 2018 12 commits
    • Juri Linkov's avatar
      Add new Isearch commands to new Isearch menu (bug#29321, bug#32990) · 7559c6a8
      Juri Linkov authored
      * lisp/isearch.el (isearch-menu-bar-map): Add menu items for
      isearch-beginning-of-buffer and isearch-end-of-buffer.
      (isearch-forward): Add them to docstring.
      7559c6a8
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 3aa22e6e
      Glenn Morris authored
      9877c032 (origin/emacs-26) Fix bug #33416, where typing a ) in a comme...
      3aa22e6e
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 0525b495
      Glenn Morris authored
      The following commit was skipped:
      
      25a42052 Update the calc units table
      0525b495
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 023502af
      Glenn Morris authored
      56e3e4fe Improve indexing in the ELisp manual
      7a4992a0 More Symbola-related extensions for default fontset
      4ae0a754 Better support for display of U+1F900..U+1F9FF block
      8f0c7887 Improve documentation of 'edit-abbrevs-mode'
      3c643e73 ; NEWS tweak
      477414ac Improve documentation of 'dired-do-compress'
      9c09b1d2 ; * etc/NES: Minor change in the description of Dired's 'Z'.
      52715e36 Improve doc string and display of 'describe-character'
      93242b14 * etc/NEWS: Clarify what 'Z' does in Dired.  (Bug#33450)
      0d59ae3f Update the docs of object internals
      
      Conflicts:
      	etc/NEWS
      023502af
    • Michael Albinus's avatar
      dcacff41
    • Michael Albinus's avatar
      Add Tramp rclone method · a7d9c38d
      Michael Albinus authored
      * doc/misc/tramp.texi (Top): Remove "History".
      (History): Remove node.
      (Quick Start Guide): New section "Using rclone".
      (External methods) <rclone>: Describe.
      
      * etc/NEWS: Mention Tramp rclone method.
      
      * lisp/net/tramp-rclone.el: New file.
      a7d9c38d
    • Michael Albinus's avatar
      Revert patch in tramp-equal-remote · 5f9b2967
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-timeout-session):
      Use `tramp-file-name-equal-p'.
      
      * lisp/net/tramp.el (tramp-equal-remote): Revert patch.
      5f9b2967
    • Charles A. Roelli's avatar
      Add tool-bar and menu-bar menu for Isearch (Bug#32990) · 57b14370
      Charles A. Roelli authored
      * etc/NEWS (Search and Replace): Mention this change.
      
      * lisp/isearch.el: Declare the new, non-autoloaded function
      'tmm-menubar-keymap'.
      (isearch-tmm-menubar): New function.
      (isearch-menu-bar-commands): New variable.
      (isearch-menu-bar-yank-map, isearch-menu-bar-map): New variables.
      (isearch-mode-map): Define a menu-bar search menu and remap
      'tmm-menubar' bindings to point to 'isearch-tmm-menubar'.
      (isearch-tool-bar-old-map): New variable.
      (isearch-tool-bar-image): New function.
      (isearch-tool-bar-map): New variable.
      (minor-mode-map-alist): Add an entry for Isearch so that
      'isearch-menu-bar-map' shows during search.
      (isearch-mode, isearch-done): Save and restore possible
      buffer-local 'tool-bar-map' using 'isearch-tool-bar-old-map'.
      (iseacrh-mouse-commands): New variable.
      (isearch-mouse-leave-buffer): Allow commands in
      isearch-mouse-commands.
      (with-isearch-suspended): Only push changed states of Isearch
      after running the body argument of this macro.
      (isearch-pre-command-hook): Additionally allow bindings in
      'isearch-tool-bar-map' to pass through, as well as commands
      in isearch-menu-bar-commands.
      (isearch-post-command-hook): Call 'force-mode-line-update' at its
      end to make sure the menu- and tool-bars are up-to-date.
      
      * lisp/tmm.el (tmm-menubar-keymap): New function factored out from
      'tmm-menubar'.
      (tmm-menubar): Use 'tmm-menubar-keymap'.
      (tmm-prompt): New optional argument 'no-execute'.
      57b14370
    • Michael Albinus's avatar
      Remove find-file-noselect in Tramp, it was handled in XEmacs · 1342cccd
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      Remove `find-file-noselect'.
      1342cccd
    • Alan Mackenzie's avatar
      Fix bug #33416, where typing a ) in a comment at EOB caused a loop (CC Mode). · 9877c032
      Alan Mackenzie authored
      * lisp/progmodes/cc-mode.el (c-fl-decl-start): A c-forward-syntactic-ws leaves
      point inside whitespace when moving over a comment at EOB which has no
      terminating LF.  Check this possibility and correct for it.
      9877c032
    • Ulrich Müller's avatar
      Update the calc units table · 25a42052
      Ulrich Müller authored
      On 2018-11-16, the 26th meeting of the General Conference on Weights
      and Measures (CGPM) has redefined the International System of Units by
      adopting fixed values for the Planck constant, the elementary charge,
      the Boltzmann constant, and the Avogadro constant:
      https://www.bipm.org/utils/en/pdf/CGPM/Draft-Resolution-A-EN.pdf
      
      * lisp/calc/calc-units.el (math-standard-units): Update according
      to redefinition of the SI in 2018.  (Bug#33412)
      25a42052
    • Eli Zaretskii's avatar
      Improve indexing in the ELisp manual · 56e3e4fe
      Eli Zaretskii authored
      * doc/lispref/control.texi (Control Structures, Sequencing)
      (Conditionals, Iteration, Catch and Throw, Handling Errors)
      (Cleanups):
      * doc/lispref/eval.texi (Self-Evaluating Forms)
      (Symbol Forms, Function Forms, Macro Forms, Special Forms)
      (Quoting, Backquote): Add index entries that begin with
      "forms".  (Bug#33440)
      56e3e4fe
  3. 23 Nov, 2018 9 commits
    • Eli Zaretskii's avatar
      More Symbola-related extensions for default fontset · 7a4992a0
      Eli Zaretskii authored
      * lisp/international/fontset.el (setup-default-fontset): Add
      few more blocks of symbols and punctuation supported by	latest
      Symbola.
      7a4992a0
    • Eli Zaretskii's avatar
      Better support for display of U+1F900..U+1F9FF block · 4ae0a754
      Eli Zaretskii authored
      * lisp/international/fontset.el (setup-default-fontset): Add
      the [#x1F900..#x1F9FF] block to those supported by Symbola.
      4ae0a754
    • Eric Abrahamsen's avatar
      Provide new gnus-mode, derive all gnus major modes from this · 4ef9bcd0
      Eric Abrahamsen authored
      * lisp/gnus/gnus.el (gnus-mode): New do-nothing major mode, derived
        from special mode.
      * lisp/gnus/gnus-sum.el (gnus-summary-mode): Change from a function to
        a major mode, derive from gnus-mode.
        (gnus-summary-setup-buffer): Change call a bit -- can no longer pass
        an argument to the mode function.
      * lisp/gnus/gnus-srvr.el (gnus-browse-mode): Derive from gnus-mode.
        (gnus-server-setup-buffer): Remove unnecessary function.
        (gnus-enter-server-buffer): Call gnus-server-mode here, and call it
        whether the server buffer already existed or not.
        (gnus-server-mode): Change from a function to a major mode.
        (gnus-server-mode-hook): Delete custom option, this is automatically
        created.
      * lisp/gnus/gnus-salt.el (gnus-tree-mode): Derive from gnus-mode.
        (gnus-tree-mode-hook): Delete custom option, this is automatically
        created.
      * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-hook): Delete custom
        option.
      * lisp/gnus/gnus-group.el (gnus-group-mode):
      * lisp/gnus/gnus-art.el (gnus-article-mode):
      * lisp/gnus/gnus-agent.el (gnus-category-mode): Derive from gnus-mode.
        (gnus-category-mode-hook): Delete custom option.
      
      (Bug#33263)
      4ef9bcd0
    • Filipp Gunbin's avatar
      search.texi fix for leftover from C-M-w to C-M-d change · efccd13c
      Filipp Gunbin authored
      * doc/emacs/search.texi: Replace C-M-w with C-M-d.
      efccd13c
    • Eli Zaretskii's avatar
      Improve documentation of 'edit-abbrevs-mode' · 8f0c7887
      Eli Zaretskii authored
      * lisp/abbrev.el (edit-abbrevs-mode): Refer to 'edit-abbrevs'
      for more detailed usage information.  (Bug#33443)
      (edit-abbrevs): Doc fix.
      8f0c7887
    • Eli Zaretskii's avatar
      Avoid compilation warning in emacsclient.c · 2b1bc701
      Eli Zaretskii authored
      * lib-src/emacsclient.c (set_tcp_socket): Avoid compilation
      warning in MS-Windows build.
      2b1bc701
    • Paul Eggert's avatar
      emacsclient: fix child exit when exec fails · 652dabff
      Paul Eggert authored
      * lib-src/emacsclient.c (start_daemon_and_retry_set_socket):
      If the execvp of Emacs fails exit instead of having the child
      run on and do the work of the parent.  Coalesce duplicate code.
      652dabff
    • Paul Eggert's avatar
      emacsclient: one ‘main’ function · ef1f6030
      Paul Eggert authored
      * lib-src/emacsclient.c (main): Simplify by having just one
      ‘main’ function instead of two.  Don’t assume argc is positive (!).
      ef1f6030
    • Paul Eggert's avatar
      emacsclient: tidy socket failure cleanup · 5daba9d8
      Paul Eggert authored
      * lib-src/emacsclient.c (set_tcp_socket, set_local_socket):
      Close socket (instead of leaking it) when ‘connect’ fails.
      (socket_status): Return errno if stat fails and -1 if we don’t own.
      (set_local_socket): Simplify based on socket_status change.
      5daba9d8
  4. 22 Nov, 2018 9 commits
  5. 21 Nov, 2018 7 commits
    • Paul Eggert's avatar
      emacsclient: omit EXTRA_SPACE guesswork · 0f22bf09
      Paul Eggert authored
      * lib-src/emacsclient.c: Include <intprops.h>.
      (EXTRA_SPACE): Remove; code no longer guesses this is enough.
      (open_config): New function.
      (get_server_config): Use it.
      (set_local_socket): Compute upper bound of buffer size
      instead of guessing via EXTRA_SPACE.
      0f22bf09
    • Juri Linkov's avatar
      Add prefix arg to isearch-forward-symbol-at-point (bug#29321) · cdb0d080
      Juri Linkov authored
      * lisp/isearch.el (isearch-forward-symbol-at-point): Add optional arg.
      cdb0d080
    • Paul Eggert's avatar
      emacsclient: take more care with int width · 8f49cb00
      Paul Eggert authored
      * lib-src/emacsclient.c: Include inttypes.h, stddef.h.
      (emacs_pid, main): Don’t assume pid fits in int.
      (fail): Don’t assume pointer difference fits in int.
      (set_local_socket): Don’t assume uid fits in long.
      8f49cb00
    • Paul Eggert's avatar
      emacsclient.c: use C99 to avoid {} · c0870736
      Paul Eggert authored
      * lib-src/emacsclient.c (set_local_socket):
      Assume C99 decl-after-statement and reindent.
      c0870736
    • Paul Eggert's avatar
      emacsclient: improve use of locals · 3fe110d3
      Paul Eggert authored
      * lib-src/emacsclient.c (main):
      Use smaller scopes for some locals.
      3fe110d3
    • Paul Eggert's avatar
      emacsclient: fix unlikely crash with "&" · 7a85a40e
      Paul Eggert authored
      * lib-src/emacsclient.c (quote_argument):
      Mention *DATA in comment so it’s clear DATA must be non-null.
      (quote_argument, unquote_argument): Simplify.
      (unquote_argument): Don’t crash if the string ends in "&".
      7a85a40e
    • Eric Abrahamsen's avatar
      Fix "Allow use of Gnus search groups as notmuch path: search term" · e01d0307
      Eric Abrahamsen authored
      * lisp/gnus/nnir.el (nnir-notmuch-filter-group-names-function):
        Default to nil -- getting correct behavior requires user
        intervention too often to have this enabled by default.
      * lisp/gnus/nnir.el (nnir-run-notmuch): If the user has turned this
        on, then also hardcode `gnus-group-short-name' as a filter -- things
        will never work without it. Also move leading space to before the
        opening parenthesis.
      * doc/misc/gnus.texi: Document option.
      
      (Bug#33122)
      e01d0307