1. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  2. 28 Sep, 2015 1 commit
  3. 07 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Go back to grave quoting in source-code docstrings etc. · 6afef3f6
      Paul Eggert authored
      This reverts almost all my recent changes to use curved quotes
      in docstrings and/or strings used for error diagnostics.
      There are a few exceptions, e.g., Bahá’í proper names.
      * admin/unidata/unidata-gen.el (unidata-gen-table):
      * lisp/abbrev.el (expand-region-abbrevs):
      * lisp/align.el (align-region):
      * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
      (outlineify-sticky):
      * lisp/apropos.el (apropos-library):
      * lisp/bookmark.el (bookmark-default-annotation-text):
      * lisp/button.el (button-category-symbol, button-put)
      (make-text-button):
      * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
      * lisp/calc/calc-embed.el (calc-do-embedded):
      * lisp/calc/calc-ext.el (calc-user-function-list):
      * lisp/calc/calc-graph.el (calc-graph-show-dumb):
      * lisp/calc/calc-help.el (calc-describe-key)
      (calc-describe-thing, calc-full-help):
      * lisp/calc/calc-lang.el (calc-c-language)
      (math-parse-fortran-vector-end, math-parse-tex-sum)
      (math-parse-eqn-matrix, math-parse-eqn-prime)
      (calc-yacas-language, calc-maxima-language, calc-giac-language)
      (math-read-giac-subscr, math-read-math-subscr)
      (math-read-big-rec, math-read-big-balance):
      * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
      * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
      (calc-auto-recompute):
      * lisp/calc/calc-prog.el (calc-fix-token-name)
      (calc-read-parse-table-part, calc-user-define-invocation)
      (math-do-arg-check):
      * lisp/calc/calc-store.el (calc-edit-variable):
      * lisp/calc/calc-units.el (math-build-units-table-buffer):
      * lisp/calc/calc-vec.el (math-read-brackets):
      * lisp/calc/calc-yank.el (calc-edit-mode):
      * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
      * lisp/calendar/appt.el (appt-display-message):
      * lisp/calendar/diary-lib.el (diary-check-diary-file)
      (diary-mail-entries, diary-from-outlook):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--convert-float-to-ical)
      (icalendar--convert-date-to-ical)
      (icalendar--convert-ical-to-diary)
      (icalendar--convert-recurring-to-diary)
      (icalendar--add-diary-entry):
      * lisp/calendar/time-date.el (format-seconds):
      * lisp/calendar/timeclock.el (timeclock-mode-line-display)
      (timeclock-make-hours-explicit, timeclock-log-data):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
      (todo-item-mark, todo-check-format)
      (todo-insert-item--next-param, todo-edit-item--next-key)
      (todo-mode):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/mode-local.el (describe-mode-local-overload)
      (mode-local-print-binding, mode-local-describe-bindings-2):
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
      * lisp/cus-start.el (standard):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/custom.el (custom-add-dependencies, custom-check-theme)
      (custom--sort-vars-1, load-theme):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/dired-x.el (dired-do-run-mail):
      * lisp/dired.el (dired-log):
      * lisp/emacs-lisp/advice.el (ad-read-advised-function)
      (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
      (ad-disable-advice, ad-remove-advice, ad-set-argument)
      (ad-set-arguments, ad--defalias-fset, ad-activate)
      (ad-deactivate):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
      (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
      (byte-optimize-while, byte-optimize-apply):
      * lisp/emacs-lisp/byte-run.el (defun, defsubst):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
      (byte-compile-log-file, byte-compile-format-warn)
      (byte-compile-nogroup-warn, byte-compile-arglist-warn)
      (byte-compile-cl-warn)
      (byte-compile-warn-about-unresolved-functions)
      (byte-compile-file, byte-compile--declare-var)
      (byte-compile-file-form-defmumble, byte-compile-form)
      (byte-compile-normal-call, byte-compile-check-variable)
      (byte-compile-variable-ref, byte-compile-variable-set)
      (byte-compile-subr-wrong-args, byte-compile-setq-default)
      (byte-compile-negation-optimizer)
      (byte-compile-condition-case--old)
      (byte-compile-condition-case--new, byte-compile-save-excursion)
      (byte-compile-defvar, byte-compile-autoload)
      (byte-compile-lambda-form)
      (byte-compile-make-variable-buffer-local, display-call-tree)
      (batch-byte-compile):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
      * lisp/emacs-lisp/chart.el (chart-space-usage):
      * lisp/emacs-lisp/check-declare.el (check-declare-scan)
      (check-declare-warn, check-declare-file)
      (check-declare-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
      (checkdoc-message-text-engine):
      * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
      (cl--describe-class):
      * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
      (cl--generic-describe, cl-generic-generalizers):
      * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
      (cl-symbol-macrolet):
      * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
      * lisp/emacs-lisp/copyright.el (copyright)
      (copyright-update-directory):
      * lisp/emacs-lisp/edebug.el (edebug-read-list):
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
      * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
      (eieio-oref):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
      * lisp/emacs-lisp/eieio-speedbar.el:
      (eieio-speedbar-child-make-tag-lines)
      (eieio-speedbar-child-description):
      * lisp/emacs-lisp/eieio.el (defclass, change-class):
      * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
      (elint-init-form, elint-check-defalias-form)
      (elint-check-let-form):
      * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
      (ert-results-pop-to-backtrace-for-test-at-point)
      (ert-results-pop-to-messages-for-test-at-point)
      (ert-results-pop-to-should-forms-for-test-at-point)
      (ert-describe-test):
      * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
      (find-function-library):
      * lisp/emacs-lisp/generator.el (iter-yield):
      * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
      * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
      * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
      * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
      (advice--make, define-advice):
      * lisp/emacs-lisp/package-x.el (package-upload-file):
      * lisp/emacs-lisp/package.el (package-version-join)
      (package-disabled-p, package-activate-1, package-activate)
      (package--download-one-archive)
      (package--download-and-read-archives)
      (package-compute-transaction, package-install-from-archive)
      (package-install, package-install-selected-packages)
      (package-delete, package-autoremove, describe-package-1)
      (package-install-button-action, package-delete-button-action)
      (package-menu-hide-package, package-menu--list-to-prompt)
      (package-menu--perform-transaction)
      (package-menu--find-and-notify-upgrades):
      * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
      * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
      * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
      * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
      (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
      (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
      (rx-form):
      * lisp/emacs-lisp/smie.el (smie-config-save):
      * lisp/emacs-lisp/subr-x.el (internal--check-binding):
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
      * lisp/emacs-lisp/testcover.el (testcover-1value):
      * lisp/emacs-lisp/timer.el (timer-event-handler):
      * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
      (viper-toggle-search-style, viper-kill-buffer)
      (viper-brac-function):
      * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
      * lisp/env.el (setenv):
      * lisp/erc/erc-button.el (erc-nick-popup):
      * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
      * lisp/eshell/em-dirs.el (eshell/cd):
      * lisp/eshell/em-glob.el (eshell-glob-regexp)
      (eshell-glob-entries):
      * lisp/eshell/em-pred.el (eshell-parse-modifiers):
      * lisp/eshell/esh-opt.el (eshell-show-usage):
      * lisp/facemenu.el (facemenu-add-new-face)
      (facemenu-add-new-color):
      * lisp/faces.el (read-face-name, read-face-font, describe-face)
      (x-resolve-font-name):
      * lisp/files-x.el (modify-file-local-variable):
      * lisp/files.el (locate-user-emacs-file, find-alternate-file)
      (set-auto-mode, hack-one-local-variable--obsolete)
      (dir-locals-set-directory-class, write-file, basic-save-buffer)
      (delete-directory, copy-directory, recover-session)
      (recover-session-finish, insert-directory)
      (file-modes-char-to-who, file-modes-symbolic-to-number)
      (move-file-to-trash):
      * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
      * lisp/find-cmd.el (find-generic, find-to-string):
      * lisp/finder.el (finder-commentary):
      * lisp/font-lock.el (font-lock-fontify-buffer):
      * lisp/format.el (format-write-file, format-find-file)
      (format-insert-file):
      * lisp/frame.el (get-device-terminal, select-frame-by-name):
      * lisp/fringe.el (fringe--check-style):
      * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
      * 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)
      (describe-minor-mode-from-indicator):
      * lisp/image.el (image-type):
      * lisp/international/ccl.el (ccl-dump):
      * lisp/international/fontset.el (x-must-resolve-font-name):
      * lisp/international/mule-cmds.el (prefer-coding-system)
      (select-safe-coding-system-interactively)
      (select-safe-coding-system, activate-input-method)
      (toggle-input-method, describe-current-input-method)
      (describe-language-environment):
      * lisp/international/mule-conf.el (code-offset):
      * lisp/international/mule-diag.el (describe-character-set)
      (list-input-methods-1):
      * lisp/mail/feedmail.el (feedmail-run-the-queue):
      * lisp/mouse.el (minor-mode-menu-from-indicator):
      * lisp/mpc.el (mpc-playlist-rename):
      * lisp/msb.el (msb--choose-menu):
      * lisp/net/ange-ftp.el (ange-ftp-shell-command):
      * lisp/net/imap.el (imap-interactive-login):
      * lisp/net/mairix.el (mairix-widget-create-query):
      * lisp/net/newst-backend.el (newsticker--sentinel-work):
      * lisp/net/newst-treeview.el (newsticker--treeview-load):
      * lisp/net/rlogin.el (rlogin):
      * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
      * 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-clock.el (org-clock-notify-once-if-expired)
      (org-clock-resolve):
      * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
      * 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/proced.el (proced-log):
      * lisp/progmodes/ada-mode.el (ada-get-indent-case)
      (ada-check-matching-start, ada-goto-matching-start):
      * lisp/progmodes/ada-prj.el (ada-prj-display-page):
      * lisp/progmodes/ada-xref.el (ada-find-executable):
      * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
      * lisp/progmodes/etags.el (etags-tags-apropos-additional):
      * lisp/progmodes/flymake.el (flymake-parse-err-lines)
      (flymake-start-syntax-check-process):
      * lisp/progmodes/python.el (python-shell-get-process-or-error)
      (python-define-auxiliary-skeleton):
      * lisp/progmodes/sql.el (sql-comint):
      * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
      * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
      * lisp/recentf.el (recentf-open-files):
      * lisp/replace.el (query-replace-read-from)
      (occur-after-change-function, occur-1):
      * lisp/scroll-bar.el (scroll-bar-columns):
      * lisp/server.el (server-get-auth-key):
      * lisp/simple.el (execute-extended-command)
      (undo-outer-limit-truncate, list-processes--refresh)
      (compose-mail, set-variable, choose-completion-string)
      (define-alternatives):
      * lisp/startup.el (site-run-file, tty-handle-args, command-line)
      (command-line-1):
      * lisp/subr.el (noreturn, define-error, add-to-list)
      (read-char-choice, version-to-list):
      * lisp/term/common-win.el (x-handle-xrm-switch)
      (x-handle-name-switch, x-handle-args):
      * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
      * lisp/textmodes/reftex-ref.el (reftex-label):
      * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
      * lisp/textmodes/two-column.el (2C-split):
      * lisp/tutorial.el (tutorial--describe-nonstandard-key)
      (tutorial--find-changed-keys):
      * lisp/type-break.el (type-break-noninteractive-query):
      * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
      (wdired-do-perm-changes):
      * lisp/whitespace.el (whitespace-report-region):
      Prefer grave quoting in source-code strings used to generate help
      and diagnostics.
      * lisp/faces.el (face-documentation):
      No need to convert quotes, since the result is a docstring.
      * lisp/info.el (Info-virtual-index-find-node)
      (Info-virtual-index, info-apropos):
      Simplify by generating only curved quotes, since info files are
      typically that ways nowadays anyway.
      * lisp/international/mule-diag.el (list-input-methods):
      Don’t assume text quoting style is curved.
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      Revert my recent changes, going back to the old quoting style.
      6afef3f6
  4. 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
  5. 29 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor text quoting in calc, calendar, vc · 5e63c842
      Paul Eggert authored
      * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
      * lisp/calc/calc-help.el (calc-j-prefix-help):
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
      Escape an apostrophe in a docstring.
      * lisp/calc/calc-forms.el (calc-hms-notation):
      * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
      Escape an apostrophe in a diagnostic.
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calendar/diary-lib.el (diary-include-files):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
      * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/ediff-merg.el (ediff-re-merge):
      * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
      * lisp/vc/ediff-util.el (ediff-test-save-region)
      (ediff-status-info):
      * lisp/vc/ediff.el (ediff-merge-revisions)
      (ediff-merge-revisions-with-ancestor):
      * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      Respect text quoting style in doc string or diagnostic.
      * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
      * lisp/vc/add-log.el (change-log-goto-source):
      Avoid double-formatting.
      * lisp/vc/ediff-init.el (format-message):
      New backward-compatibility alias.
      5e63c842
  6. 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
  7. 21 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Follow user preference in calendar diagnostics · 8c01e889
      Paul Eggert authored
      Respect text-quoting-style preference in diagnostic formats by
      using curved quotes (which are translated as per text-quoting-style)
      instead of grave accent and apostrophe (which are not).
      * lisp/calendar/appt.el (appt-display-message):
      * lisp/calendar/diary-lib.el (diary-check-diary-file)
      (diary-mail-entries, diary-from-outlook):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--convert-float-to-ical)
      (icalendar--convert-date-to-ical)
      (icalendar--convert-ical-to-diary)
      (icalendar--convert-recurring-to-diary)
      (icalendar--add-diary-entry):
      * lisp/calendar/time-date.el (format-seconds):
      * lisp/calendar/timeclock.el (timeclock-mode-line-display)
      (timeclock-make-hours-explicit):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
      (todo-item-mark, todo-check-format)
      (todo-insert-item--next-param, todo-edit-item--next-key)
      (todo-mode):
      Use curved quotes in diagnostic format strings.
      * lisp/calendar/icalendar.el (icalendar-import-format-sample):
      * test/automated/icalendar-tests.el (icalendar--import-format-sample):
      Just use straight quoting for simple test case.
      8c01e889
  8. 10 Jun, 2015 1 commit
    • Glenn Morris's avatar
      Use 'user-error' in a few calendar files. · fb723401
      Glenn Morris authored
      * lisp/calendar/appt.el (appt-add):
      * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
      (calendar-generate):
      * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
      Replace 'error' with 'user-error'.
      fb723401
  9. 21 May, 2015 1 commit
  10. 01 Jan, 2015 2 commits
  11. 23 Nov, 2014 1 commit
  12. 11 Oct, 2014 1 commit
  13. 06 Oct, 2014 1 commit
    • Glenn Morris's avatar
      Remove calendar code obsolete since at least version 23.1 · 3f659704
      Glenn Morris authored
      * lisp/calendar/cal-bahai.el (calendar-absolute-from-bahai)
      (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
      (calendar-goto-bahai-date, list-bahai-diary-entries)
      (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
      (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
      (insert-yearly-bahai-diary-entry):
      * lisp/calendar/cal-china.el (chinese-calendar-time-zone)
      (chinese-calendar-location-name)
      (chinese-calendar-daylight-time-offset)
      (chinese-calendar-standard-time-zone-name)
      (chinese-calendar-daylight-time-zone-name)
      (chinese-calendar-daylight-savings-starts)
      (chinese-calendar-daylight-savings-ends)
      (chinese-calendar-daylight-savings-starts-time)
      (chinese-calendar-daylight-savings-ends-time)
      (chinese-calendar-celestial-stem)
      (chinese-calendar-terrestrial-branch)
      (calendar-absolute-from-chinese, calendar-print-chinese-date)
      (calendar-goto-chinese-date):
      * lisp/calendar/cal-coptic.el (calendar-absolute-from-coptic)
      (calendar-print-coptic-date, coptic-prompt-for-date)
      (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
      (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
      * lisp/calendar/cal-french.el (calendar-absolute-from-french)
      (calendar-print-french-date, calendar-goto-french-date):
      * lisp/calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
      (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
      (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
      (holiday-rosh-hashanah-etc, holiday-hanukkah)
      (holiday-passover-etc, holiday-tisha-b-av-etc)
      (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
      (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
      (insert-monthly-hebrew-diary-entry)
      (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
      (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
      (diary-sabbath-candles):
      * lisp/calendar/cal-islam.el (calendar-absolute-from-islamic)
      (calendar-print-islamic-date, calendar-goto-islamic-date)
      (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
      (mark-islamic-diary-entries, insert-islamic-diary-entry)
      (insert-monthly-islamic-diary-entry)
      (insert-yearly-islamic-diary-entry):
      * lisp/calendar/cal-iso.el (calendar-absolute-from-iso)
      (calendar-print-iso-date, calendar-iso-read-args)
      (calendar-goto-iso-date, calendar-goto-iso-week):
      * lisp/calendar/cal-julian.el (calendar-absolute-from-julian)
      (calendar-print-julian-date, calendar-goto-julian-date)
      (calendar-absolute-from-astro, calendar-print-astro-day-number)
      (calendar-goto-astro-day-number):
      * lisp/calendar/cal-mayan.el (calendar-print-mayan-date)
      (calendar-next-haab-date, calendar-previous-haab-date)
      (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
      (calendar-next-calendar-round-date)
      (calendar-previous-calendar-round-date)
      (calendar-absolute-from-mayan-long-count)
      (calendar-goto-mayan-long-count-date):
      * lisp/calendar/cal-move.el (scroll-calendar-left)
      (scroll-calendar-right, scroll-calendar-left-three-months)
      (scroll-calendar-right-three-months):
      * lisp/calendar/cal-persia.el (calendar-absolute-from-persian)
      (calendar-print-persian-date, persian-prompt-for-date)
      (calendar-goto-persian-date):
      * lisp/calendar/cal-x.el (calendar-after-frame-setup-hooks):
      * lisp/calendar/calendar.el (view-diary-entries-initially)
      (mark-diary-entries-in-calendar, calendar-today-face)
      (diary-face, holiday-face, view-calendar-holidays-initially)
      (mark-holidays-in-calendar, initial-calendar-window-hook)
      (today-visible-calendar-hook, today-invisible-calendar-hook)
      (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
      (bahai-diary-entry-symbol, american-date-diary-pattern)
      (european-date-diary-pattern, european-calendar-display-form)
      (american-calendar-display-form, holidays-in-diary-buffer)
      (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
      (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
      (fancy-diary-buffer, increment-calendar-month)
      (extract-calendar-month, extract-calendar-day)
      (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
      (mark-visible-calendar-date, calendar-version):
      * lisp/calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
      (diary-display-hook, list-diary-entries-hook)
      (mark-diary-entries-hook, nongregorian-diary-listing-hook)
      (nongregorian-diary-marking-hook, print-diary-entries-hook)
      (abbreviated-calendar-year, number-of-diary-entries)
      (view-other-diary-entries, add-to-diary-list)
      (include-other-diary-files, simple-diary-display)
      (fancy-diary-display, print-diary-entries, mark-diary-entries)
      (mark-sexp-diary-entries, mark-included-diary-files)
      (mark-calendar-days-named, mark-calendar-month)
      (mark-calendar-date-pattern, sort-diary-entries)
      (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
      (insert-weekly-diary-entry, insert-monthly-diary-entry)
      (insert-yearly-diary-entry, insert-anniversary-diary-entry)
      (insert-block-diary-entry, insert-cyclic-diary-entry)
      (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
      * lisp/calendar/holidays.el (general-holidays, oriental-holidays)
      (local-holidays, other-holidays, hebrew-holidays)
      (christian-holidays, islamic-holidays, bahai-holidays)
      (solar-holidays, list-calendar-holidays)
      (check-calendar-holidays, mark-calendar-holidays)
      (filter-visible-calendar-holidays):
      * lisp/calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
      (diary-phases-of-moon): Remove obsolete aliases.
      
      * lisp/calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
      * calendar/cal-x.el (calendar-one-frame-setup)
      (calendar-only-one-frame-setup, calendar-two-frame-setup):
      Remove obsolete functions.
      (cal-x-load-hook): Remove obsolete hook.
      
      * calendar/calendar.el (european-calendar-style): Remove obsolete variable.
      (calendar-date-style): No longer consult european-calendar-style.
      
      * calendar/calendar.el (european-calendar, american-calendar):
      Remove obsolete commands.
      
      * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
      
      * calendar/diary-lib.el (diary-face): Remove obsolete variable.
      (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
      Use the face `diary' instead of the variable `diary-face'.
      
      * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
      (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
      
      * lisp/calendar/icalendar.el (icalendar--date-style): Remove function.
      Replace all uses with calendar-date-style.
      
      * lisp/textmodes/remember.el (calendar-date-style): Declare.
      (remember-diary-convert-entry):
      No longer consult european-calendar-style.
      
      * test/automated/icalendar-tests.el (icalendar--calendar-style):
      Remove test, no longer relevant.
      3f659704
  14. 09 Sep, 2014 1 commit
  15. 08 Sep, 2014 1 commit
  16. 04 May, 2014 2 commits
    • Leo Liu's avatar
      * etc/NEWS: Correct spelling. · f930a063
      Leo Liu authored
      * lisp/calendar/diary-lib.el (calendar-chinese-month-name-array):
      Defvar to pacify compiler.
      f930a063
    • Leo Liu's avatar
      Support Chinese diary entries in calendar and diary · bbdcf64f
      Leo Liu authored
      * doc/emacs/cal-xtra.texi (Non-Gregorian Diary): Document new features for
      Chinese calendar and diary.
      
      * etc/NEWS: Mention support for Chinese dates in calendar and diary.
      
      * lisp/calendar/cal-china.el (calendar-chinese-month-name-array): New var.
      (calendar-chinese-from-absolute-for-diary)
      (calendar-chinese-to-absolute-for-diary)
      (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
      (diary-chinese-list-entries): New functions to list and mark
      Chinese diary entries in the calendar window.
      (diary-chinese-anniversary)
      (diary-chinese-insert-anniversary-entry)
      (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
      (diary-chinese-insert-yearly-entry): New commands to insert
      Chinese diary entries.
      
      * lisp/calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
      inserting Chinese diary entries.
      
      * lisp/calendar/calendar.el (diary-chinese-entry-symbol): New
      customizable variable.
      (calendar-mode-map): Add bindings for inserting Chinese diary
      entries.
      
      * lisp/calendar/diary-lib.el (diary-font-lock-keywords): Support
      font-locking Chinese dates.
      
      Fixes: debbugs:17393
      bbdcf64f
  17. 01 Jan, 2014 1 commit
  18. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  19. 18 Jun, 2013 1 commit
  20. 12 May, 2013 1 commit
  21. 04 May, 2013 1 commit
  22. 01 Jan, 2013 1 commit
  23. 27 Nov, 2012 1 commit
  24. 24 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Fix uses of long-obsolete font-lock-reference face. · 6c27f0f8
      Chong Yidong authored
      * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
      * calendar/calendar.el (calendar-font-lock-keywords):
      * calendar/diary-lib.el (diary-font-lock-keywords)
      (diary-fancy-font-lock-keywords):
      * textmodes/reftex-sel.el (reftex-insert-docstruct):
      * textmodes/reftex-index.el (reftex-insert-index):
      * textmodes/reftex-cite.el (reftex-format-bib-entry):
      * progmodes/ruby-mode.el (ruby-font-lock-keywords):
      * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
      * progmodes/prolog.el (prolog-font-lock-keywords):
      * progmodes/idlwave.el (idlwave-idl-keywords):
      * progmodes/ada-mode.el (ada-font-lock-keywords):
      * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
      
      * font-lock.el (font-lock-reference-face): Use
      define-obsolete-variable-alias.
      6c27f0f8
  25. 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
  26. 20 Aug, 2012 1 commit
  27. 18 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Use utf-8 Baha'i in calendar doc-strings, menus, etc · 6818b449
      Glenn Morris authored
      * lisp/calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
      * lisp/calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
      (calendar-bahai-all-holidays-flag, calendar-other-dates):
      * lisp/calendar/diary-lib.el (diary-abbreviated-year-flag):
      * lisp/calendar/holidays.el (holiday-bahai-holidays)
      (calendar-holidays, list-holidays):
      Use utf-8 Baha'i in doc-strings, menus, etc.
      6818b449
  28. 11 Jan, 2012 1 commit
  29. 05 Jan, 2012 1 commit
  30. 20 Nov, 2011 1 commit
  31. 25 Jun, 2011 3 commits
  32. 18 May, 2011 1 commit
    • Glenn Morris's avatar
      Rationalize calendar handling of day and month abbrev-arrays. · e565dd37
      Glenn Morris authored
      * lisp/calendar/calendar.el (calendar-customized-p): New function.
      (calendar-abbrev-construct, calendar-make-alist): Change what it does.
      (calendar-day-name-array, calendar-month-name-array): Doc fix.
      Add :set function.
      (calendar-abbrev-length, calendar-day-abbrev-array)
      (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
      (calendar-day-abbrev-array, calendar-month-abbrev-array):
      Elements may no longer be nil.
      (calendar-day-name, calendar-month-name):
      Update for changed nature of abbrev arrays.
      * calendar/diary-lib.el (diary-name-pattern):
      Update for changed nature of abbrev arrays.
      (diary-mark-entries-1): Update calendar-make-alist calls.
      (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
      * calendar/cal-html.el (cal-html-day-abbrev-array):
      Simply inherit from calendar-day-abbrev-array.
      
      * etc/NEWS: Mention this.
      e565dd37
  33. 10 May, 2011 1 commit
    • Glenn Morris's avatar
      diary-lib.el doc fixes. · 4f99f44b
      Glenn Morris authored
      * lisp/calendar/diary-lib.el (diary-list-entries-hook)
      (diary-mark-entries-hook, diary-nongregorian-listing-hook)
      (diary-nongregorian-marking-hook, diary-list-entries)
      (diary-include-other-diary-files, diary-mark-entries)
      (diary-mark-included-diary-files): Doc fixes.
      4f99f44b
  34. 07 May, 2011 1 commit
  35. 06 May, 2011 2 commits