1. 23 Jun, 2015 1 commit
  2. 22 Jun, 2015 1 commit
  3. 19 Jun, 2015 2 commits
    • Paul Eggert's avatar
      Improve the optional translation of quotes · c4151ebe
      Paul Eggert authored
      Fix several problems with the recently-added custom variable
      help-quote-translation where the code would quote inconsistently
      in help buffers.  Add support for quoting 'like this', which
      is common in other GNU programs in ASCII environments.  Change
      help-quote-translation to use more mnemonic values: values are now the
      initial quoting char, e.g., (setq help-quote-translation ?`) gets the
      traditional Emacs help-buffer quoting style `like this'.  Change the
      default behavior of substitute-command-keys to match what's done in
      set-locale-environment, i.e., quote ‘like this’ if displayable,
      'like this' otherwise.
      * doc/lispref/help.texi (Keys in Documentation): Document
      new behavior of substitute-command-keys, and document
      help-quote-translation.
      * doc/lispref/tips.texi (Documentation Tips):
      Mention the effect of help-quote-translation.
      * etc/NEWS: Mention new behavior of substitute-command-keys,
      and merge help-quote-translation news into it.
      When talking about doc strings, mention new ways to type quotes.
      * lisp/cedet/mode-local.el (overload-docstring-extension):
      Revert my recent change to this function, which shouldn't be
      needed as the result is a doc string.
      * lisp/cedet/mode-local.el (mode-local-print-binding)
      (mode-local-describe-bindings-2):
      * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
      (eieio-help-constructor):
      * lisp/emacs-lisp/package.el (describe-package-1):
      * lisp/faces.el (describe-face):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--parent-mode)
      (help-fns--obsolete, help-fns--interactive-only)
      (describe-function-1, describe-variable):
      * lisp/help.el (describe-mode):
      Use substitute-command-keys to ensure a more-consistent quoting
      style in help buffers.
      * lisp/cus-start.el (standard):
      Document new help-quote-translation behavior.
      * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
      * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
      (help-xref-url-regexp):
      * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
      * lisp/wid-edit.el (widget-documentation-link-regexp):
      Also match 'foo', in case we're in a help buffer generated when
      help-quote-translation is ?'.
      * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
      (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
      (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
      (Fsubstitute_command_keys): Document and implement new behavior.
      (Vhelp_quote_translation): Document new behavior.
      c4151ebe
    • Glenn Morris's avatar
      * lisp/cus-start.el (help-quote-translation): Add :version. · aad7ea32
      Glenn Morris authored
      ; * etc/NEWS: Add placeholder.
      aad7ea32
  4. 18 Jun, 2015 2 commits
    • Eli Zaretskii's avatar
      Update data files from just-released Unicode 8.0 · c09f1d9c
      Eli Zaretskii authored
      * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
      status.
      * test/BidiCharacterTest.txt: Update from Unicode 8.0.
      * admin/unidata/BidiMirroring.txt:
      * admin/unidata/BidiBrackets.txt:
      * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
      c09f1d9c
    • Daiki Ueno's avatar
      Add pinentry.el for better GnuPG integration · dbc192b4
      Daiki Ueno authored
      * lisp/pinentry.el: New file.
      * etc/NEWS: Add entry about pinentry.el.
      * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
      
      Fixes: debbugs:20550
      dbc192b4
  5. 17 Jun, 2015 1 commit
  6. 16 Jun, 2015 1 commit
  7. 15 Jun, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/info.el: Cleanup bytepos/charpos issues · b95f53f0
      Stefan Monnier authored
      * lisp/international/mule-util.el: Use lexical-binding.
      (filepos-to-bufferpos): New function.
      * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
      (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
      (Info-read-subfile, Info-search): Use 0-based file positions.
      b95f53f0
  8. 08 Jun, 2015 2 commits
    • Oleh Krehel's avatar
      Add new command checkdoc-package-keywords · 20de61c8
      Oleh Krehel authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New
        defcustom.
      (checkdoc-list-of-strings-p): Add doc.
      (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
      non-nil, call `checkdoc-package-keywords'.
      (checkdoc-get-keywords): New defun.
      (checkdoc-package-keywords): New command. Warns if the current file
      has package.el-style keywords that aren't in `finder-known-keywords'.
      
      * etc/NEWS: Add entry.
      20de61c8
    • Oleh Krehel's avatar
      checkdoc.el (checkdoc-file): New function · c941d479
      Oleh Krehel authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When
        `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning
        to the standard output.
      
      (bug#20754)
      c941d479
  9. 04 Jun, 2015 1 commit
  10. 03 Jun, 2015 2 commits
  11. 01 Jun, 2015 1 commit
    • Paul Eggert's avatar
      Treat batch stdout/stderr like standard display · 467af178
      Paul Eggert authored
      Calls like (print FOO) could generate improperly encoded or
      hard-to-read output if FOO contains characters outside the system
      locale.  Fix this by treating batch stdout and stderr like
      interactive standard display, when it comes to transliterating and
      encoding characters (Bug#20545).
      * doc/emacs/mule.texi (Communication Coding):
      * doc/lispref/display.texi (Active Display Table):
      * doc/lispref/nonascii.texi (Locales):
      * etc/NEWS:
      * src/coding.c (syms_of_coding):
      * src/dispnew.c (syms_of_display):
      Document this.
      * src/print.c: Include disptab.h.
      (printchar_to_stream): New function, with much of the guts of the
      old Fexternal_debugging_output, except this one also uses the
      standard display table.
      (printchar, strout, Fexternal_debugging_output): Use it.
      467af178
  12. 28 May, 2015 5 commits
    • Samer Masterson's avatar
      Show files when `initial-buffer-choice' is non-nil · d3605ed7
      Samer Masterson authored
      * startup.el (command-line-1): When Emacs is given a file as an
      argument and `initial-buffer-choice' is non-nil, display both the file
      and `initial-buffer-choice'.  For more than one file, show
      `initial-buffer-choice' and *Buffer List*.  Refactor display-changing
      commands out of the command line arg parser.
      (initial-buffer-choice): Clarify docstring.
      d3605ed7
    • Paul Eggert's avatar
      New minor mode Electric Quote · 73512b8c
      Paul Eggert authored
      This lets you easily insert quotes ‘like this’ by typing
      quotes `like this', and similarly you can easily insert
      quotes “like this” by typing quotes ``like this'' (Bug#20545).
      * doc/emacs/basic.texi (Inserting Text):
      * doc/emacs/modes.texi (Minor Modes):
      * etc/NEWS: Document it.
      * doc/emacs/text.texi (Quotation Marks): New section.
      * lisp/electric.el (electric-quote-comment)
      (electric-quote-string, electric-quote-paragraph):
      New custom vars.
      (electric--insertable-p)
      (electric-quote-post-self-insert-function): New functions.
      (electric-quote-mode, electric-quote-local-mode): New minor modes.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Add curved single quotes to electric-pair-text-pairs.
      Set electric-quote-string in this buffer.
      73512b8c
    • Paul Eggert's avatar
      Support curved quotes in doc strings · 0fd5e659
      Paul Eggert authored
      Emacs's traditional doc string style has been to quote symbols
      `like this'.  This worked well on now-obsolete terminals where
      ` and ' were symmetric quotes, but nowadays curved quotes
      ‘like this’ look better.  Support quoting the new way too.
      (Bug#20385)
      * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
      ‘like-this’ as well as `like-this'.
      * etc/NEWS: Mention this.
      * lisp/cedet/mode-local.el (overload-docstring-extension)
      (mode-local-print-binding, mode-local-describe-bindings-2):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
      (eieio-help-constructor):
      * lisp/emacs-lisp/package.el (describe-package-1):
      * lisp/faces.el (describe-face):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
      (help-fns--interactive-only, describe-function-1):
      (describe-variable):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (describe-input-method)
      (describe-language-environment):
      * lisp/international/mule-diag.el (describe-character-set)
      (print-coding-system-briefly, list-input-methods)
      (list-input-methods-1):
      Insert curved quotes rather than grave accent and apostrophe.
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
      (checkdoc-proper-noun-region-engine):
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
      (lisp-cl-font-lock-keywords-2):
      * lisp/finder.el (finder-font-lock-keywords):
      * lisp/gnus/gnus-art.el (gnus-button-alist):
      * lisp/help-fns.el (help-do-arg-highlight)
      (describe-function-1, describe-variable):
      * lisp/help-mode.el (help-xref-symbol-regexp)
      (help-xref-info-regexp, help-xref-url-regexp):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
      * lisp/wid-edit.el (widget-documentation-link-regexp):
      Parse symbols quoted ‘like-this’ as well as `like-this'.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Add "‘" and "’" to electric-pair-text-pairs.
      (elisp--form-quoted-p): Also allow "‘" as a quoting char.
      (elisp-completion-at-point, elisp--preceding-sexp):
      Also treat "‘" and "’" as quoting chars.
      0fd5e659
    • Paul Eggert's avatar
      substitute-command-keys now curves quotes · 11b2744f
      Paul Eggert authored
      So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
      * doc/lispref/help.texi (Keys in Documentation):
      * etc/NEWS: Document this.
      * src/doc.c (Fsubstitute_command_keys): Implement it.
      11b2744f
    • Stefan Monnier's avatar
      f655987d
  13. 27 May, 2015 3 commits
  14. 25 May, 2015 2 commits
    • Philipp Stephani's avatar
      * lisp/term/xterm.el: Add gui-get-selection support via OSC-52 · 816a2b36
      Philipp Stephani authored
      (xterm--extra-capabilities-type): Add `getSelection'.
      (xterm--query): Add `no-async' argument.
      (xterm--init-activate-get-selection): New function.
      (terminal-init-xterm): Use it.
      (xterm--init-modify-other-keys): Rename from
      terminal-init-xterm-modify-other-keys.
      (xterm--init-bracketed-paste-mode): Rename from
      terminal-init-xterm-bracketed-paste-mode.
      (xterm--init-activate-set-selection): Rename from
      terminal-init-xterm-activate-set-selection.
      (xterm--selection-char): New function.
      (gui-backend-set-selection): Use it.  Use the &context to only apply
      this method in terminals where we enabled the feature.
      (gui-backend-get-selection): New method.
      816a2b36
    • Paul Eggert's avatar
      Make TAGS files more portable to MS-Windows · 1efdf7fe
      Paul Eggert authored
      * etc/NEWS: Document this.
      * lib-src/etags.c (readline_internal) [DOS_NT]:
      Don't treat CRs differently from GNUish hosts.
      * lisp/progmodes/etags.el (etags-goto-tag-location):
      Adjust STARTPOS to account for the skipped CRs in dos-style files.
      1efdf7fe
  15. 24 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/tabulated-list.el: New optional print method · c205098b
      Artur Malabarba authored
      (tabulated-list-print): New optional argument, UPDATE.  If
      non-nil, the list is printed by only adding and deleting the
      changed entries, instead of erasing the whole buffer.  This method
      is much faster when few or no entries have changed.
      
      * doc/lispref/modes.texi (Tabulated List Mode): Document it.
      
      * etc/NEWS: Document it.
      c205098b
  16. 21 May, 2015 1 commit
    • kwhite's avatar
      * lisp/erc/erc.el: Hide network/channel messages · fdad3350
      kwhite authored
      (erc-network-hide-list, etc-channel-hide-list): New lists to define
      message types per network/channel.
      (erc-add-targets): New function to parse list of targets
      (erc-hide-current-message-p): Modified to check for new targets
      fdad3350
  17. 20 May, 2015 1 commit
    • Martin Rudalics's avatar
      Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472) · 31d58d45
      Martin Rudalics authored
      * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
      (switch-to-buffer): If the selected window is strongly dedicated
      to its buffer, signal error before prompting for buffer name.  Handle
      `switch-to-buffer-in-dedicated-window'.  (Bug#20472)
      * doc/lispref/windows.texi (Switching Buffers): Document
      `switch-to-buffer-in-dedicated-window'.
      31d58d45
  18. 19 May, 2015 1 commit
  19. 17 May, 2015 2 commits
    • Samer Masterson's avatar
      * lisp/eshell/em-term.el (eshell-term-sentinel): · 76f2d19e
      Samer Masterson authored
      No-op by default, only kills term buffer if
      `eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
      (eshell-destroy-buffer-when-process-dies): New custom to preserve
      previous behavior.
      76f2d19e
    • Samer Masterson's avatar
      eshell: Introduce new buffer syntax · e37da5a4
      Samer Masterson authored
      The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
      buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
      needed (Bug#19319).
      
      * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
      (eshell-get-target): Remove shorthand-specific code.
      * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
      '#<buffer-name>'.
      e37da5a4
  20. 16 May, 2015 2 commits
  21. 13 May, 2015 2 commits
    • Glenn Morris's avatar
      ; * etc/NEWS: Small edit. · a8a0be4f
      Glenn Morris authored
      a8a0be4f
    • Glenn Morris's avatar
      Add basic VC push support. · 660c30cc
      Glenn Morris authored
      * lisp/vc/vc.el (vc-push): New autoloaded command.
      * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
      * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
      (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
      (vc-bzr-push): New.
      * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
      (vc-git-pull): Reimplement using vc-git--pushpull.
      (vc-git-push): New.
      * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
      (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
      * doc/emacs/maintaining.texi (Pulling / Pushing):
      Rename from "VC Pull".  Mention pushing.
      (VC With A Merging VCS, VC Change Log): Update xrefs.
      (Branches): Update menu.
      * doc/emacs/emacs.texi: Update menu.
      * etc/NEWS: Mention this.
      660c30cc
  22. 11 May, 2015 1 commit
    • Paul Eggert's avatar
      C-x 8 shorthands for curved quotes, Euro, etc. · 4b41540b
      Paul Eggert authored
      Although C-x 8 lets you insert arbitrary Unicode characters,
      it's awkward to use this to insert commonly used symbols such as curved
      quotes, the Euro symbol, etc.  This patch adds simpler sequences for
      characters commonly found in English text and in basic math.
      For example, assuming the Alt key works on your keyboard and iso-transl
      is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
      to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
      (Bug#20499)
      * doc/emacs/mule.texi (Unibyte Mode):
      A few other printing characters now work too.
      * etc/NEWS: Document this.
      * lisp/international/iso-transl.el (iso-transl-char-map):
      Also support the following characters:
      ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← →  − ≈ ≠ ≤ ≥
      4b41540b
  23. 08 May, 2015 1 commit
  24. 07 May, 2015 2 commits
    • Artur Malabarba's avatar
      * etc/NEWS: Fix typo in commit 14bb519f · ead05a1c
      Artur Malabarba authored
      ead05a1c
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: New "external" package status · 14bb519f
      Artur Malabarba authored
      An external package is any installed package that's not built-in
      and not from `package-user-dir', which usually means it's from an
      entry in `package-directory-list'.  They are treated much like
      built-in packages, in that they cannot be through the Package Menu
      deleted and are not considered for upgrades.
      
      (package-desc-status): Identify if a package is installed outside
      `package-user-dir'.
      (package-menu--print-info-simple)
      (package-menu--status-predicate): Add support for it.
      
      * etc/NEWS: Document it.
      14bb519f
  25. 06 May, 2015 1 commit