1. 03 Sep, 2015 7 commits
    • Paul Eggert's avatar
      Fix some more docstring etc. quoting problems · 26bd978d
      Paul Eggert authored
      Mostly these fixes prevent the transliteration of apostrophes
      that should stay apostrophes.  Also, prefer curved quotes in
      Bahá’í proper names, as that’s the preferred Bahá’í style and
      these names are chock-full of non-ASCII characters anyway.
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
      * lisp/emacs-lisp/eieio.el (defclass):
      * lisp/hi-lock.el (hi-lock-mode):
      Don’t transliterate Lisp apostrophes when generating a
      doc string or diagnostic.
      * lisp/international/mule-diag.el (list-coding-systems-1):
      * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
      * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
      * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
      Substitute quotes before putting them in the help buffer.
    • Stefan Monnier's avatar
      Re-add the notion of echo_prompt lost in the translation · 944d77f0
      Stefan Monnier authored
      * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
      echo_prompt which contains the actual string.  Update all uses.
      * src/keyboard.c (kset_echo_prompt): New function.
      (echo_update): Add echo_prompt at the very beginning.
      (read_char): Remove workaround for bug#19875, not needed any more.
      (read_key_sequence): Set echo_prompt rather than echo_string (bug#21403).
      (mark_kboards): Mark echo_prompt.
    • Stefan Monnier's avatar
      Fix disassembly of non-compiled lexical functions (bug#21377) · c624ab22
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
      * lisp/emacs-lisp/disass.el: Use lexical-binding.
      (disassemble): Recognize `closure's as well.
      (disassemble-internal): Use indirect-function and
      help-function-arglist, and accept `closure's.
      (disassemble-internal): Use interactive-form.
      (disassemble-1): Use functionp.
    • Stefan Monnier's avatar
      (tex--prettify-symbols-compose-p): Don't compose in verbatim blocks! · 2d19f8c8
      Stefan Monnier authored
      * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
      Don't compose inside verbatim blocks!
    • Mark Oteiza's avatar
      * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:" · c37ef754
      Mark Oteiza authored
    • Mark Oteiza's avatar
    • Dmitry Gutov's avatar
      vc-git-mode-line-string: Explicitly re-apply the face · 66f5720d
      Dmitry Gutov authored
      * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
      the face (bug#21404).
  2. 02 Sep, 2015 10 commits
    • Paul Eggert's avatar
      Treat initial-scratch-message as a doc string · 3d08d06a
      Paul Eggert authored
      * doc/emacs/building.texi (Lisp Interaction):
      * doc/lispref/os.texi (Startup Summary):
      * etc/NEWS: Document this.
      * lisp/startup.el (initial-scratch-message):
      Look up find-file’s key rather than hardcoding it.
      (command-line-1): Substitute the doc string.
      This also substitutes the quotes, which will help test display
      quoting at startup.
    • Paul Eggert's avatar
      Fix describe-char bug with glyphs on terminals · b28ad0e9
      Paul Eggert authored
      * lisp/descr-text.el (describe-char): Terminals can have glyphs in
      buffers too, so don’t treat them differently from graphic displays.
      Without this fix, describe-char would throw an error on a terminal
      if given a glyph with a non-default face.
    • Paul Eggert's avatar
      Follow text-quoting-style in display table init · a9706c6c
      Paul Eggert authored
      This attempts to fix a problem reported by Alan Mackenzie in:
      * doc/lispref/display.texi (Active Display Table):
      Mention how text-quoting-style affects it.
      * doc/lispref/help.texi (Keys in Documentation):
      Say how to set text-quoting-style in ~/.emacs.
      * etc/NEWS: Document the change.
      * lisp/startup.el (startup--setup-quote-display):
      Follow user preference if text-quoting-style is set.
      (command-line): Setup quote display again if user expresses
      a preference in .emacs.
    • K. Handa's avatar
      Fix typo · fa5a9c7b
      K. Handa authored
      * ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask -> OTF_positioning_type_components_mask.
    • K. Handa's avatar
    • K. Handa's avatar
      fix previous change · ae08d073
      K. Handa authored
      * ftfont.c (ftfont_drive_otf): Remember some bits of
      OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
    • David Caldwell's avatar
      * lisp/vc/vc-hooks.el (vc-refresh-state): New command · 30866274
      David Caldwell authored
      (vc-refresh-state): Rename from vc-find-file-hook and make interactive.
      (vc-find-file-hook): Redefine as obsolete alias.
      Copyright-paperwork-exempt: yes
    • Paul Eggert's avatar
      Escape ` and ' in doc · 19532d14
      Paul Eggert authored
      Escape apostrophes and grave accents in docstrings if they are
      are supposed to stand for themselves and are not quotes.  Remove
      apostrophes from docstring examples like ‘'(calendar-nth-named-day
      -1 0 10 year)’ that confuse source code with data.  Do some other
      minor docstring fixups as well, e.g., insert a missing close
    • Stefan Monnier's avatar
      Generalize the prefix-command machinery of C-u · 5dc644a6
      Stefan Monnier authored
      * lisp/simple.el (prefix-command-echo-keystrokes-functions)
      (prefix-command-preserve-state-hook): New hooks.
      (internal-echo-keystrokes-prefix): New function.
      (prefix-command--needs-update, prefix-command--last-echo): New vars.
      (prefix-command-update, prefix-command-preserve): New functions.
      (reset-this-command-lengths): New compatibility definition.
      (universal-argument--mode): Call prefix-command-update.
      (universal-argument, universal-argument-more, negative-argument)
      (digit-argument): Call prefix-command-preserve-state.
      * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
      the "prefix argument" to echo.
      (this_command_key_count_reset, before_command_key_count)
      (before_command_echo_length): Delete variables.
      (echo_add_key): Always add a space.
      (echo_char): Remove.
      (echo_dash): Don't give up when this_command_key_count is 0, since that
      is now the case after a prefix command.
      (echo_update): New function, extracted from echo_now.
      (echo_now): Use it.
      (add_command_key, read_char, record_menu_key): Remove old disabled code.
      (command_loop_1): Don't refrain from pushing an undo boundary when
      prefix-arg is set.  Remove other prefix-arg special case, now handled
      directly in the prefix commands instead.  But call echo_now if there's
      a prefix state to echo.
      (read_char, record_menu_key): Use echo_update instead of echo_char.
      (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
      (Freset_this_command_lengths): Delete function.
      (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
      (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
      * lisp/simple.el: Use those new hooks for C-u.
      (universal-argument--description): New function.
      (prefix-command-echo-keystrokes-functions): Use it.
      (universal-argument--preserve): New function.
      (prefix-command-preserve-state-hook): Use it.
      (command-execute): Call prefix-command-update if needed.
      * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
      (kmacro-step-edit-prefix-index): Delete variables.
      (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
      support for prefix arg commands.
      (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
      * lisp/emulation/cua-base.el (cua--prefix-override-replay)
      (cua--shift-control-prefix): Use prefix-command-preserve-state.
      Remove now unused arg `arg'.
      (cua--prefix-override-handler, cua--prefix-repeat-handler)
      (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
      Update accordingly.
      (cua--prefix-override-timeout): Don't call reset-this-command-lengths
      any more.
      (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
      if the mark is not set.
    • Paul Eggert's avatar
      Rework quoting in tutorial · afe1cf00
      Paul Eggert authored
      * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
      (if in more detail, type-of-animal in detail, else): Rework the
      early example to use " rather than ' so that we don’t burden
      complete novices with the low-priority detail of text quoting style.
      (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
      (kill-new function, kill-ring-yank-pointer)
      (Complete forward-sentence, Loading Files)
      (Code for current-kill, Code for current-kill, yank):
      Resurrect the Emacs 22 versions of the code, which uses grave
      quoting style in doc strings.
      (Complete zap-to-char): Mention how quoting works in doc strings.
  3. 01 Sep, 2015 17 commits
  4. 31 Aug, 2015 6 commits
    • Rüdiger Sonderfeld's avatar
      hideif.el: Recognize .h++ as C++ header. · 5c0fb39c
      Rüdiger Sonderfeld authored
      * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
    • Rüdiger Sonderfeld's avatar
    • Rüdiger Sonderfeld's avatar
      isearch: Document character folding mode. · 8307c06e
      Rüdiger Sonderfeld authored
      * isearch.el (isearch-forward): Mention `isearch-toggle-character-fold'
      in docstring.
    • Paul Eggert's avatar
      Quoting fixes in ERC and Eshell · 244c417a
      Paul Eggert authored
      * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
      * lisp/erc/erc-backend.el (define-erc-response-handler):
      * lisp/erc/erc-fill.el (erc-fill-static-center):
      * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
      * lisp/eshell/em-glob.el (eshell-glob-entries):
      * lisp/eshell/em-hist.el (eshell-save-some-history):
      * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
      * lisp/eshell/esh-cmd.el (eshell-do-eval):
      * lisp/eshell/esh-proc.el (eshell-process-interact)
      Respect ‘text-quoting-style’ in diagnostics and doc strings.
    • Paul Eggert's avatar
      Quoting fixes in Gnus · 86f69200
      Paul Eggert authored
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
      * lisp/gnus/gnus-eform.el (gnus-edit-form):
      * lisp/gnus/gnus-group.el (gnus-group-edit-group)
      * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
      * lisp/gnus/message.el (message-strip-subject-encoded-words)
      (message-check-recipients, message-send-form-letter):
      * lisp/gnus/mm-decode.el (mm-display-part):
      * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
      * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
      * lisp/gnus/spam-report.el (spam-report-process-queue):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/gnus/gnus-art.el (article-display-face)
      * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
      Use straight quoting in email.
      * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
      Escape apostrophes in doc strings.
    • Paul Eggert's avatar
      Quoting fixes in lisp mail, mh-e, net, url · 8bbff0d6
      Paul Eggert authored
      * lisp/mail/emacsbug.el (report-emacs-bug)
      (report-emacs-bug-hook): Use straight quotes in outgoing email,
      * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
      * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
      * lisp/mail/rmailout.el (rmail-output-read-file-name):
      * lisp/net/imap.el (imap-interactive-login):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/url/url-auth.el (url-register-auth-scheme):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/mh-e/mh-e.el (mh-sortm-args):
      Quote docstring example using text quotes, not as a Lisp quote.