1. 21 Sep, 2015 2 commits
    • Eli Zaretskii's avatar
      Don't rely on defaults in decoding UTF-8 encoded Lisp files · db828f62
      Eli Zaretskii authored
      * lisp/replace.el:
      * lisp/textmodes/rst.el:
      * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
      db828f62
    • Paul Eggert's avatar
      Clarify or replace a few \u escapes. · 818fc6e1
      Paul Eggert authored
      * doc/lispref/nonascii.texi (Character Properties)
      More-detailed commentary for \u escapes.
      * lisp/progmodes/python.el (python--prettify-symbols-alist):
      * lisp/replace.el (query-replace-from-to-separator):
      * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
      (rst-mode-syntax-table):
      * lisp/whitespace.el (whitespace-display-mappings):
      Prefer actual character to \u escape when this makes the code
      easier to follow in the usual case where Unicode chars can be
      displayed.
      818fc6e1
  2. 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
  3. 03 Sep, 2015 1 commit
    • 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)
      (eieio-defclass-internal):
      * 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.
      26bd978d
  4. 06 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Fix some confusion with ‘format’ · 0c856a2c
      Paul Eggert authored
      * lisp/allout-widgets.el (allout-widgets-before-change-handler)
      (allout-graphics-modification-handler):
      Protect arbitrary string in a format context with "%s" format.
      * lisp/avoid.el:
      * lisp/cedet/semantic/bovine/scm.el: Fix comment.
      * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
      * lisp/erc/erc-button.el (erc-button-beats-to-time):
      * lisp/gnus/message.el (message-send-form-letter):
      * lisp/org/ob-core.el (org-babel-check-evaluate)
      (org-babel-confirm-evaluate):
      * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
      * lisp/org/ox-latex.el (org-latex-compile):
      * lisp/org/ox-man.el (org-man-compile):
      * lisp/org/ox-odt.el (org-odt-template):
      * lisp/org/ox-texinfo.el (org-texinfo-compile):
      * lisp/progmodes/prolog.el (prolog-help-info)
      (prolog-view-predspec):
      * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
      * lisp/progmodes/verilog-mode.el (verilog-showscopes):
      * lisp/textmodes/rst.el (rst-replace-lines):
      Change (message (format ...)) to (message ...), and likewise
      for ‘error’.  This lessens the probability of confusion when the
      output of ‘format’ contains ‘%’.
      0c856a2c
  5. 20 May, 2015 1 commit
    • Paul Eggert's avatar
      Prefer "this" to “this” in doc strings · f743819b
      Paul Eggert authored
      This mostly just straightens quotes introduced in my previous patch.
      Suggested by Dmitry Gutov in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
      * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
      * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
      * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
      * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
      * lisp/vc/log-edit.el, lisp/xt-mouse.el:
      Prefer straight double quotes to curved double quotes in doc strings.
      f743819b
  6. 19 May, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      ("hebrew-biblical-sil"):
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      (semantic-tag-components):
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      (gnus-article-mode-syntax-table):
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      (org-structure-template-alist):
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
      9d35bb8d
  7. 01 Jan, 2015 2 commits
  8. 22 Jun, 2014 1 commit
  9. 28 Apr, 2014 1 commit
  10. 16 Mar, 2014 1 commit
    • Juanma Barranquero's avatar
      lisp/textmodes/rst.el: Implement missing but documented functionality. · 57348c4d
      Juanma Barranquero authored
      (rst-arabic-to-roman, rst-roman-to-arabic):
      Implement inserting into current buffer, documented in their docstrings.
      (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
      (rst-section-tree-point, rst-forward-section, rst-indent)
      (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
      (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
      (rst-font-lock-handle-adornment-pre-match-form)
      (rst-repeat-last-character): Reflow docstrings.
      (rst-preferred-adornments, rst-update-section, rst-find-title-line)
      (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
      (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
      (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
      Fix docstring typos.
      (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
      (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
      (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
      57348c4d
  11. 13 Jan, 2014 1 commit
  12. 06 Jan, 2014 1 commit
  13. 01 Jan, 2014 1 commit
  14. 28 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Every defcustom should specify its type · 9c5a5c77
      Glenn Morris authored
      * apropos.el (apropos-match-face):
      * calculator.el (calculator-displayer):
      * dabbrev.el (dabbrev-search-these-buffers-only):
      * face-remap.el (buffer-face-mode-face):
      * simple.el (yank-handled-properties):
      * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
      * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
      * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
      (hashcash-double-spend-database):
      * progmodes/ruby-mode.el (ruby-deep-indent-paren)
      (ruby-deep-indent-paren-style):
      * textmodes/flyspell.el (flyspell-auto-correct-binding):
      * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
      (rst-toc-insert-number-separator, rst-toc-insert-max-level):
      * vc/pcvs-defs.el (cvs-minor-mode-prefix):
      * erc/erc-log.el (erc-log-file-coding-system):
      * gnus/gnus-sieve.el (gnus-sieve-select-method):
      * gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl)
      (gravatar-rating, gravatar-size):
      * gnus/message.el (message-minibuffer-local-map):
      * gnus/sieve-manage.el (sieve-manage-authenticators)
      (sieve-manage-authenticator-alist):
      Specify custom types.
      
      * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
      Update callers.
      9c5a5c77
  15. 20 Jun, 2013 1 commit
    • Paul Eggert's avatar
      Add log2 support and make log10 obsolete for consistency. · 89561f72
      Paul Eggert authored
      * configure.ac (log2): Check for this function.
      * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
      * lisp/subr.el (log10): Move here from C code, and declare as obsolete.
      All uses of (log10 X) replaced with (log X 10).
      * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
      base is 2; this is more accurate.
      (Flog10): Move to Lisp (marked obsolete there).
      89561f72
  16. 15 May, 2013 1 commit
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
  17. 01 Jan, 2013 1 commit
  18. 07 Oct, 2012 2 commits
  19. 06 Oct, 2012 2 commits
    • Glenn Morris's avatar
      Clarify some rst.el obsolescence versions · 18dec750
      Glenn Morris authored
      * lisp/textmodes/rst.el (rst-preferred-decorations)
      (rst-shift-basic-offset): Clarify obsolescence versions.
      18dec750
    • Glenn Morris's avatar
      Add missing :version tags · d1a1c7e6
      Glenn Morris authored
      * profiler.el (profiler): Add missing group :version tag.
      * avoid.el (mouse-avoidance-banish-position):
      * proced.el (proced-renice-command):
      * calc/calc.el (calc-ensure-consistent-units):
      * calendar/icalendar.el (icalendar-import-format-uid):
      * net/tramp.el (tramp-save-ad-hoc-proxies):
      * progmodes/bug-reference.el (bug-reference-bug-regexp):
      * progmodes/flymake.el (flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position):
      * progmodes/sh-script.el (sh-indent-after-continuation):
      * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
      (verilog-before-save-font-hook, verilog-after-save-font-hook):
      * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
      (vhdl-array-index-record-field-in-sensitivity-list)
      (vhdl-indent-comment-like-next-code-line):
      * textmodes/reftex-vars.el (reftex-ref-style-alist)
      (reftex-ref-macro-prompt, reftex-ref-style-default-list)
      (reftex-cite-key-separator, reftex-create-bibtex-header)
      (reftex-create-bibtex-footer):
      * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
      (rst-indent-literal-normal, rst-indent-literal-minimized)
      (rst-indent-comment): Add missing custom :version tags.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-mode)
      (semantic-displayor-tooltip-initial-max-tags)
      (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
      * cedet/ede/linux.el (project-linux): Add missing group :version tag.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
      
      * erc/erc.el (erc-lurker):
      * erc/erc-desktop-notifications.el (erc-notifications):
      Add missing group :version tags.
      
      * gnus/gnus-notifications.el (gnus-notifications):
      Add missing group :version tag.
      * gnus/gnus-msg.el (gnus-gcc-pre-body-encode-hook)
      (gnus-gcc-post-body-encode-hook):
      * gnus/gnus-sync.el (gnus-sync-lesync-name)
      (gnus-sync-lesync-install-topics): Add missing custom :version tags.
      d1a1c7e6
  20. 23 Sep, 2012 1 commit
  21. 22 Sep, 2012 1 commit
    • Stefan Merten's avatar
      * rst.el: Revamp section title faces. · 48a24920
      Stefan Merten authored
      (rst-official-version)
      (rst-package-emacs-version-alist): Sync with official version
      V1.4.0.
      (rst-faces-defaults, rst-set-level-default)
      (rst-level-face-max, rst-level-face-base-color)
      (rst-level-face-base-light, rst-level-face-format-light)
      (rst-level-face-step-light, rst-define-level-faces): Obsolete.
      (rst-adornment-faces-alist): Match new setup.
      (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
      (rst-level-5, rst-level-6): New faces.
      48a24920
  22. 20 Sep, 2012 1 commit
    • Stefan Merten's avatar
      * rst.el: Integrate support for `imenu' and `which-function'. · ee97deee
      Stefan Merten authored
      Fixes feature request bug#11711.
      
      (rst-mode): Create `imenu-create-index-function'.
      (rst-get-stripped-line): Delete after refactoring.
      (rst-section-tree, rst-section-tree-rec)
      (rst-section-tree-point): Refactor and document properly.
      (rst-imenu-find-adornments-for-position)
      (rst-imenu-convert-cell, rst-imenu-create-index): New
      function.
      ee97deee
  23. 17 Sep, 2012 2 commits
    • Stefan Merten's avatar
      2012-09-17 Stefan Merten <smerten@oekonux.de> · 64f6a736
      Stefan Merten authored
      	* rst.el: Add support for `testcover'.
      	(rst-defcustom-testcover, rst-testcover-add-compose)
      	(rst-testcover-add-1value): New functions.
      	(rst-portable-mark-active-p): Replace by `use-region-p'.
      	(rst-update-section, rst-classify-adornment)
      	(rst-find-title-line): Mark `1value' forms.
      	(rst-classify-adornment): Remove superfluous form.
      	(rst-update-section, rst-get-adornments-around)
      	(rst-adornment-complete-p, rst-get-next-adornment)
      	(rst-adjust, rst-promote-region)
      	(rst-display-adornments-hierarchy, rst-straighten-adornments)
      	(rst-find-pfx-in-region, rst-section-tree-rec)
      	(rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
      	(rst-toc-node, rst-toc, rst-forward-section)
      	(rst-iterate-leftmost-paragraphs)
      	(rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
      	(rst-bullet-list-region)
      	(rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
      	(rst-compile-find-conf, rst-compile)
      	(rst-repeat-last-character): Fix style.
      64f6a736
    • 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
  24. 15 Aug, 2012 1 commit
  25. 30 Jul, 2012 1 commit
    • Stefan Merten's avatar
      Silence `checkdoc-ispell'. · 1f45e27e
      Stefan Merten authored
      (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
      (rst-official-version, rst-official-cvs-rev)
      (rst-package-emacs-version-alist): Update to upstream V1.3.1.
      (rst-mode-map): New key binding.
      1f45e27e
  26. 27 Jun, 2012 1 commit
  27. 17 Jun, 2012 1 commit
  28. 16 Jun, 2012 2 commits
  29. 07 Jun, 2012 1 commit
    • Stefan Merten's avatar
      * rst.el: Use `eval-when-compile' for requiring · 7b4cdbf4
      Stefan Merten authored
      `cl.el'.  Silence compiler warnings.  Fix versions.
      
      (rst-position-if, rst-position, rst-some, rst-signum): New
      functions.
      (rst-shift-region, rst-adornment-level, rst-compute-tabs)
      (rst-indent-line, rst-shift-region, rst-forward-line): Use new
      functions.
      
      (rst-package-emacs-version-alist): Correct Emacs version to
      represent major merge with upstream.
      (rst-transition, rst-adornment, rst-compile-toolsets): Fix
      versions.
      7b4cdbf4
  30. 03 Jun, 2012 1 commit
  31. 02 Jun, 2012 2 commits
  32. 29 May, 2012 2 commits