1. 17 Apr, 2016 1 commit
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.38.1. · 2007e324
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
      (vhdl-mode): No longer set comment-padding.
      (vhdl-begin-p): Handle missing space between keyword and parenthesis.
      (vhdl-beginning-of-statement-1): Fix indentation for "else generate".
      (vhdl-template-else, vhdl-template-elsif): Support generate statement.
      (vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
      2007e324
  2. 28 Feb, 2016 1 commit
  3. 05 Feb, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix problems caused by new implementation of sub-word mode · c1d32a65
      Eli Zaretskii authored
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      New functions.
      (word-move-empty-char-table): New variable.
      
      * etc/NEWS: Mention 'forward-word-strictly' and
      'backward-word-strictly'.
      
      * doc/lispref/positions.texi (Word Motion): Document
      'find-word-boundary-function-table', 'forward-word-strictly', and
      'backward-word-strictly'.  (Bug#22560)
      
      * src/syntax.c (syms_of_syntax)
      <find-word-boundary-function-table>: Doc fix.
      
      * lisp/wdired.el (wdired-xcase-word):
      * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
      (texinfo-copy-section-title, texinfo-start-menu-description)
      (texinfo-copy-menu-title, texinfo-specific-section-type)
      (texinfo-insert-node-lines, texinfo-copy-next-section-title):
      * lisp/textmodes/texinfo.el (texinfo-clone-environment)
      (texinfo-insert-@end):
      * lisp/textmodes/texinfmt.el (texinfo-format-scan)
      (texinfo-anchor, texinfo-multitable-widths)
      (texinfo-multitable-item):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
      * lisp/skeleton.el (skeleton-insert):
      * lisp/simple.el (count-words):
      * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
      (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
      (vhdl-update-sensitivity-list, vhdl-template-block)
      (vhdl-template-break, vhdl-template-case, vhdl-template-default)
      (vhdl-template-default-indent, vhdl-template-for-loop)
      (vhdl-template-if-then-use, vhdl-template-bare-loop)
      (vhdl-template-nature, vhdl-template-procedural)
      (vhdl-template-process, vhdl-template-selected-signal-asst)
      (vhdl-template-type, vhdl-template-variable)
      (vhdl-template-while-loop, vhdl-beginning-of-block)
      (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
      * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
      (verilog-forward-sexp, verilog-beg-of-statement)
      (verilog-set-auto-endcomments, verilog-backward-token)
      (verilog-do-indent):
      * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
      (vera-indent-block-closing):
      * lisp/progmodes/simula.el (simula-context)
      (simula-backward-up-level, simula-forward-down-level)
      (simula-previous-statement, simula-next-statement)
      (simula-skip-comment-backward, simula-calculate-indent)
      (simula-find-if, simula-electric-keyword):
      * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
      * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-singleton-class-p, ruby-calculate-indent)
      (ruby-forward-sexp, ruby-backward-sexp):
      * lisp/progmodes/ps-mode.el (ps-run-goto-error):
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
      (perl-syntax-propertize-special-constructs)
      (perl-backward-to-start-of-continued-exp):
      * lisp/progmodes/pascal.el (pascal-indent-declaration):
      * lisp/progmodes/octave.el (octave-function-file-p):
      * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
      * lisp/progmodes/js.el (js--forward-function-decl):
      * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
      (idlwave-beginning-of-block, idlwave-end-of-block)
      (idlwave-block-jump-out, idlwave-determine-class):
      * lisp/progmodes/icon.el (icon-is-continuation-line)
      (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
      * lisp/progmodes/hideif.el (hide-ifdef-define):
      * lisp/progmodes/f90.el (f90-change-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
      (cperl-linefeed, cperl-electric-terminator)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-invert-if-unless):
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
      * lisp/progmodes/cc-align.el (c-lineup-java-inher):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
      (ada-adjust-case-skeleton, ada-create-case-exception)
      (ada-create-case-exception-substring)
      (ada-case-read-exceptions-from-file, ada-after-keyword-p)
      (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
      (ada-get-indent-if, ada-get-indent-block-start)
      (ada-get-indent-loop, ada-get-indent-type)
      (ada-search-prev-end-stmt, ada-check-defun-name)
      (ada-goto-decl-start, ada-goto-matching-start)
      (ada-goto-matching-end, ada-looking-at-semi-or)
      (ada-looking-at-semi-private, ada-in-paramlist-p)
      (ada-search-ignore-complex-boolean, ada-move-to-start)
      (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
      * lisp/net/quickurl.el (quickurl-grab-url):
      * lisp/mail/sendmail.el (mail-do-fcc):
      * lisp/mail/rmail.el (rmail-resend):
      * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      * lisp/json.el (json-read-keyword):
      * lisp/files.el (insert-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/completion.el (symbol-under-point, symbol-before-point)
      (symbol-before-point-for-complete, next-cdabbrev)
      (add-completions-from-c-buffer):
      * lisp/cedet/semantic/texi.el (semantic-up-context)
      (semantic-beginning-of-context):
      * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
      use 'forward-word-strictly' and 'backward-word-strictly' instead
      of 'forward-word' and 'backward-word'.
      c1d32a65
  4. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
      fbce4757
  5. 01 Jan, 2016 1 commit
  6. 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
  7. 17 Sep, 2015 2 commits
    • 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
    • Paul Eggert's avatar
      Fix several backslash typos in Elisp strings · 753fbfbe
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
      (todo-find-filtered-items-file, todo-reset-nondiary-marker)
      (todo-reset-done-string, todo-reset-comment-string)
      (todo-reset-highlight-item):
      * lisp/erc/erc-networks.el (erc-networks-alist):
      * lisp/gnus/gnus-art.el (gnus-button-handle-library):
      * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      * lisp/gnus/spam-report.el (spam-report-gmane-regex):
      * lisp/image-dired.el (image-dired-rotate-original):
      (image-dired-get-exif-file-name):
      * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
      * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
      * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
      * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-docview.el (org-docview-export):
      * lisp/org/org-entities.el (org-entities):
      * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
      * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
      (ebnf-style-database):
      * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
      * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
      * lisp/progmodes/sql.el (sql-product-alist):
      * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
      (verilog-error-font-lock-keywords)
      (verilog-assignment-operator-re):
      * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
      * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
      * lisp/vc/add-log.el (change-log-version-number-regexp-list):
      Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
      For example, to get the regular expression ‘\.’ use the string
      literal "\\.", not "\." (which is equivalent to ".").
      * lisp/emulation/viper-util.el (viper-glob-unix-files):
      Remove stray ‘\j’ from string.
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      Treat > like $ when matching a shell prompt.
      * lisp/progmodes/make-mode.el (makefile-browse):
      Properly quote a diagnostic.
      753fbfbe
  8. 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
  9. 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
  10. 31 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Quoting fixes in lisp/progmodes · 4c24b9e3
      Paul Eggert authored
      * lisp/progmodes/cc-engine.el (c-bos-report-error):
      * lisp/progmodes/cpp.el (cpp-edit-reset):
      * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
      * lisp/progmodes/etags.el (etags-tags-apropos-additional)
      (etags-tags-apropos, list-tags, tags-apropos):
      * lisp/progmodes/executable.el (executable-set-magic):
      * lisp/progmodes/octave.el (octave-sync-function-file-names)
      (octave-help, octave-find-definition-default-filename)
      (octave-find-definition):
      Respect text quoting style in doc strings and diagnostics.
      * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
      * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
      Escape apostrophes in doc strings.
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      Use straight quoting in ASCII comment.
      * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
      (idlwave-pad-keyword):
      * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
      (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
      (vhdl-electric-semicolon, vhdl-electric-comma)
      (vhdl-electric-period, vhdl-electric-equal):
      Use directed quotes in diagnostics and doc strings.
      4c24b9e3
  11. 24 Aug, 2015 1 commit
    • Paul Eggert's avatar
      More-conservative ‘format’ quote restyling · fbb5531f
      Paul Eggert authored
      Instead of restyling curved quotes for every call to ‘format’,
      create a new function ‘format-message’ that does the restyling,
      and using the new function instead of ‘format’ only in contexts
      where this seems appropriate.
      Problem reported by Dmitry Gutov and Andreas Schwab in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
      * doc/lispref/commands.texi (Using Interactive):
      * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
      * doc/lispref/display.texi (Displaying Messages, Progress):
      * doc/lispref/elisp.texi:
      * doc/lispref/help.texi (Keys in Documentation):
      * doc/lispref/minibuf.texi (Minibuffer Misc):
      * doc/lispref/strings.texi (Formatting Strings):
      * etc/NEWS:
      Document the changes.
      * lisp/abbrev.el (expand-region-abbrevs):
      * lisp/apropos.el (apropos-library):
      * lisp/calc/calc-ext.el (calc-record-message)
      (calc-user-function-list):
      * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
      * lisp/calc/calc-lang.el (math-read-big-balance):
      * lisp/calc/calc-store.el (calc-edit-variable):
      * lisp/calc/calc-units.el (math-build-units-table-buffer):
      * lisp/calc/calc-yank.el (calc-edit-mode):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--add-diary-entry):
      * lisp/cedet/mode-local.el (mode-local-print-binding)
      (mode-local-describe-bindings-2):
      * lisp/cedet/semantic/complete.el (semantic-completion-message):
      * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
      * lisp/cedet/semantic/wisent/comp.el (wisent-log):
      * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/dframe.el (dframe-message):
      * lisp/dired-aux.el (dired-query):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
      (byte-compile-log-file, byte-compile-warn, byte-compile-form):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
      (cconv-analyze-form):
      * lisp/emacs-lisp/check-declare.el (check-declare-warn):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
      * lisp/emacs-lisp/edebug.el (edebug-format):
      * lisp/emacs-lisp/eieio-core.el (eieio-oref):
      * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
      (eldoc-message):
      * lisp/emacs-lisp/elint.el (elint-file, elint-log):
      * lisp/emacs-lisp/find-func.el (find-function-library):
      * 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):
      * lisp/emacs-lisp/package.el (package-compute-transaction)
      (package-install-button-action, package-delete-button-action)
      (package-menu--list-to-prompt):
      * lisp/emacs-lisp/timer.el (timer-event-handler):
      * lisp/emacs-lisp/warnings.el (lwarn, warn):
      * lisp/emulation/viper-cmd.el:
      (viper-toggle-parse-sexp-ignore-comments)
      (viper-kill-buffer, viper-brac-function):
      * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
      * lisp/facemenu.el (facemenu-add-new-face):
      * lisp/faces.el (face-documentation, read-face-name)
      (face-read-string, read-face-font, describe-face):
      * lisp/files.el (find-alternate-file, hack-local-variables)
      (hack-one-local-variable--obsolete, write-file)
      (basic-save-buffer, delete-directory):
      * lisp/format.el (format-write-file, format-find-file)
      (format-insert-file):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--obsolete)
      (help-fns--interactive-only, describe-function-1)
      (describe-variable):
      * lisp/help.el (describe-mode):
      * lisp/info-xref.el (info-xref-output):
      * lisp/info.el (Info-virtual-index-find-node)
      (Info-virtual-index, info-apropos):
      * lisp/international/kkc.el (kkc-error):
      * lisp/international/mule-cmds.el:
      (select-safe-coding-system-interactively)
      (select-safe-coding-system, describe-input-method):
      * lisp/international/mule-conf.el (code-offset):
      * lisp/international/mule-diag.el (describe-character-set)
      (list-input-methods-1):
      * lisp/international/quail.el (quail-error):
      * lisp/minibuffer.el (minibuffer-message):
      * lisp/mpc.el (mpc--debug):
      * lisp/msb.el (msb--choose-menu):
      * lisp/net/ange-ftp.el (ange-ftp-message):
      * lisp/net/gnutls.el (gnutls-message-maybe):
      * lisp/net/newst-backend.el (newsticker--sentinel-work):
      * lisp/net/newst-treeview.el (newsticker--treeview-load):
      * lisp/net/nsm.el (nsm-query-user):
      * lisp/net/rlogin.el (rlogin):
      * lisp/net/soap-client.el (soap-warning):
      * lisp/net/tramp.el (tramp-debug-message):
      * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
      * lisp/nxml/nxml-parse.el (nxml-parse-error):
      * lisp/nxml/rng-cmpct.el (rng-c-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
      * lisp/org/org-ctags.el:
      (org-ctags-ask-rebuild-tags-file-then-find-tag):
      * lisp/proced.el (proced-log):
      * lisp/progmodes/ebnf2ps.el (ebnf-log):
      * lisp/progmodes/flymake.el (flymake-log):
      * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
      * lisp/replace.el (occur-1):
      * lisp/simple.el (execute-extended-command)
      (undo-outer-limit-truncate, define-alternatives):
      * lisp/startup.el (command-line):
      * lisp/subr.el (error, user-error, add-to-list):
      * lisp/tutorial.el (tutorial--describe-nonstandard-key)
      (tutorial--find-changed-keys):
      * src/callint.c (Fcall_interactively):
      * src/editfns.c (Fmessage, Fmessage_box):
      Restyle the quotes of format strings intended for use as a
      diagnostic, when restyling seems appropriate.
      * lisp/subr.el (format-message): New function.
      * src/doc.c (Finternal__text_restyle): New function.
      (syms_of_doc): Define it.
      fbb5531f
  12. 21 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Avoid hard-coding "M-x command" in docstrings · c1cacb09
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-mode):
      * lisp/desktop.el (desktop-save-mode):
      * lisp/edmacro.el (edit-kbd-macro):
      * lisp/emacs-lisp/package.el (package-menu-execute):
      * lisp/emulation/viper-cmd.el (viper-ask-level):
      * lisp/emulation/viper-init.el (viper-expert-level):
      * lisp/filesets.el (filesets-add-buffer):
      * lisp/follow.el (follow-mode):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/international/ogonek.el (ogonek-informacja)
      (ogonek-information):
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/org/org-gnus.el (org-gnus-no-new-news):
      * lisp/org/org.el (org-ellipsis):
      * lisp/progmodes/python.el (python-shell-get-process-or-error):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/server.el (server-start):
      * lisp/type-break.el (type-break-noninteractive-query):
      * lisp/userlock.el (ask-user-about-supersession-help):
      * lisp/whitespace.el (whitespace-report-region):
      Prefer (substitute-command-keys "`\\[foo-command]'")
      to "`M-x foo-command'" in docstrings and the like.
      c1cacb09
  13. 04 Aug, 2015 1 commit
  14. 31 Jul, 2015 1 commit
    • Paul Eggert's avatar
      Don't overflow if computing approximate percentage · eb0f65b4
      Paul Eggert authored
      * lisp/align.el (align-region):
      * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
      * lisp/cedet/semantic/wisent.el (wisent-parse-region):
      * lisp/cus-edit.el (custom-buffer-create-internal):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
      (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
      (checkdoc-next-message-error):
      * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
      * lisp/epa.el (epa-progress-callback-function):
      * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
      * lisp/ffap.el (ffap-menu-rescan):
      * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
      * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
      * lisp/gnus/nneething.el (nneething-retrieve-headers):
      * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
      * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
      * lisp/gnus/nnml.el (nnml-retrieve-headers):
      * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
      * lisp/gnus/nntp.el (nntp-retrieve-headers)
      (nntp-retrieve-articles):
      * lisp/imenu.el (imenu--relative-position):
      * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
      (skkdic-convert-okuri-nasi):
      * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
      * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
      * lisp/org/org-list.el (org-update-checkbox-count):
      * lisp/org/org.el (org-table-map-tables)
      (org-update-parent-todo-statistics):
      * lisp/play/decipher.el (decipher-insert-frequency-counts)
      (decipher-analyze-buffer):
      * lisp/profiler.el (profiler-format-percent):
      * lisp/progmodes/cc-cmds.el (c-progress-update):
      * lisp/progmodes/cpp.el (cpp-highlight-buffer):
      * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
      (idlwave-list-load-path-shadows):
      * lisp/progmodes/opascal.el (opascal-step-progress):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-scan-directory-contents):
      * lisp/textmodes/bibtex.el (bibtex-progress-message):
      * lisp/textmodes/flyspell.el (flyspell-small-region)
      (flyspell-external-point-words):
      * lisp/textmodes/table.el (table-recognize):
      Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
      progress-report percentages and the like.  This avoids problems
      if (* 100 NUMERATOR) would overflow.
      * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
      * lisp/gnus/registry.el (registry-reindex):
      Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
      * lisp/descr-text.el (describe-char):
      * lisp/org/org-colview.el (org-nofm-to-completion):
      * lisp/ps-print.el (ps-plot):
      * lisp/simple.el (what-cursor-position):
      Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
      more-complicated and less-accurate approximation.
      eb0f65b4
  15. 30 Jun, 2015 1 commit
    • Paul Eggert's avatar
      In strings, prefer plain ` and ' to \` and \' · 3213d770
      Paul Eggert authored
      * lisp/allout.el (allout-insert-listified):
      * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
      * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
      (ls-lisp-string-lessp):
      * lisp/menu-bar.el (menu-bar-open):
      * lisp/obsolete/otodo-mode.el (todo-top-priorities):
      * lisp/progmodes/compile.el (compile):
      * lisp/progmodes/etags.el (tags-loop-scan):
      * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
      * lisp/subr.el (posn-actual-col-row):
      * lisp/term/pc-win.el (x-list-fonts):
      * lisp/textmodes/texinfmt.el (texinfmt-version):
      * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
      * lisp/time.el (display-time-world-list):
      * lisp/tmm.el (tmm-menubar):
      * src/buffer.c (syms_of_buffer):
      * src/fileio.c (syms_of_fileio):
      Omit unnecessary and confusing backslash before quote.
      * lisp/erc/erc.el (erc-cmd-LASTLOG):
      * lisp/progmodes/flymake.el (flymake-fix-file-name):
      * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
      Fix string that was intended to escape a backslash and not a quote.
      3213d770
  16. 30 May, 2015 1 commit
  17. 10 Apr, 2015 1 commit
  18. 21 Feb, 2015 1 commit
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support. · 80e67e43
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
      (vhdl-doc-release-notes): Update.
      (vhdl-standard): Add VHDL'08 option.
      (vhdl-sensitivity-list-all): New option.
      (vhdl-directive-keywords): Add psl.
      (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
      (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
      (vhdl-imenu-generic-expression): Add context, directive.
      (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
      (vhdl-template-map-init): Add vhdl-template-context.
      (vhdl-mode-syntax-table): Support VHDL'08 block comments.
      (vhdl-create-mode-menu): Add some entries.
      (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
      (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives): New constants.
      (vhdl-directives): New variable.
      (vhdl-words-init, vhdl-template-process)
      (vhdl-template-replace-header-keywords): Support VHDL'08.
      (vhdl-abbrev-list-init): Add vhdl-directives.
      (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
      (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
      (vhdl-lineup-comment): Handle block comments and directives.
      (vhdl-beginning-of-directive, vhdl-template-context)
      (vhdl-template-context-hook): New functions.
      (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
      (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
      (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
      (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
      (vhdl-scan-context-clause): Add context.
      
      * etc/NEWS: Mention this.
      80e67e43
  19. 01 Jan, 2015 2 commits
  20. 09 Dec, 2014 1 commit
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.36.1 · fb0fcda8
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
      (vhdl-compiler-alist): Anchor all error regexps.
      (vhdl-compile-use-local-error-regexp): Change default to nil.
      (vhdl-asort, vhdl-anot-head-p): Remove.
      (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
      Remove optional argument of vhdl-aget and update all callers.
      (vhdl-import-project): Also set `vhdl-compiler'.
      fb0fcda8
  21. 31 Oct, 2014 1 commit
  22. 31 Mar, 2014 3 commits
  23. 26 Mar, 2014 1 commit
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.35.1 · fb3deac8
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
      (vhdl-compiler-alist): Doc fix.
      (vhdl-goto-line): Remove.
      (vhdl-mode-abbrev-table-init): Add XEmacs compat.
      (vhdl-mode) <paragraph-start>: Fix value.
      (vhdl-fix-statement-region): Not `for' in wait-statement.
      (vhdl-beautify-region): Also (un)tabify.
      (vhdl-get-visible-signals):
      Scan declarative part of generate statements.
      (vhdl-template-record): Fix indentation for record type declaration.
      (vhdl-expand-abbrev, vhdl-expand-paren): FIXME.
      (vhdl-scan-directory-contents): Tweak.
      (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
      (vhdl-compose-components-package):
      Replace vhdl-goto-line with forward-line.
      (top-level): Tweak speedbar frame selection.
      (vhdl-generate-makefile-1): Support for compilers with no
      unit-to-file name mapping (create directory with dummy files).
      fb3deac8
  24. 01 Jan, 2014 1 commit
  25. 22 May, 2013 1 commit
    • Glenn Morris's avatar
      Small speedbar-related clean-up · 0cdffd7d
      Glenn Morris authored
      * lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
      Remove unnecessary declarations.
      (dframe-message): Doc fix.
      
      * lisp/info.el (dframe-select-attached-frame, dframe-current-frame):
      Declare.
      
      * lisp/speedbar.el (speedbar-message): Make it an obsolete alias.
      Update all callers.
      (speedbar-with-attached-buffer)
      (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
      (speedbar-with-writable): Use backquote.
      
      * lisp/emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
      
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
      Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
      rather than speedbar- aliases.
      
      * lisp/mail/rmail.el: Load dframe rather than speedbar when compiling.
      (speedbar-make-specialized-keymap, speedbar-insert-button)
      (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
      (speedbar-do-function-pointer): Declare.
      (rmail-speedbar-button, rmail-speedbar-find-file)
      (rmail-speedbar-move-message):
      Use dframe-with-attached-buffer rather than speedbar- alias.
      
      * lisp/progmodes/gud.el: Load dframe rather than speedbar when compiling.
      (dframe-message, speedbar-make-specialized-keymap)
      (speedbar-add-expansion-list, speedbar-mode-functions-list)
      (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
      (speedbar-insert-button, dframe-select-attached-frame)
      (dframe-maybee-jump-to-attached-frame)
      (speedbar-change-initial-expansion-list)
      (speedbar-previously-used-expansion-list-name): Declare.
      (gud-speedbar-item-info, gud-gdb-goto-stackframe):
      Use dframe-message, dframe-with-attached-buffer rather than
      speedbar- aliases.
      (gud-sentinel): Silence compiler.
      
      * lisp/progmodes/vhdl-mode.el (speedbar-refresh)
      (speedbar-do-function-pointer, speedbar-add-supported-extension)
      (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
      (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
      (speedbar-extension-list-to-regex, speedbar-directory-buttons)
      (speedbar-file-lists, speedbar-make-tag-line)
      (speedbar-line-directory, speedbar-goto-this-file)
      (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
      (speedbar-delete-subblock, speedbar-position-cursor-on-line)
      (speedbar-make-button, speedbar-reset-scanners)
      (speedbar-files-item-info, speedbar-line-text)
      (speedbar-find-file-in-frame, speedbar-set-timer)
      (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
      (speedbar-with-writable): Do not (re)define it.
      (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
      rather than speedbar- alias.
      
      * lisp/cedet/ede/speedbar.el (ede-file-find, ede-tag-find):
      * lisp/cedet/semantic/sb.el (semantic-sb-token-jump):
      Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
      
      * lisp/mh-e/mh-speed.el (mh-speed-view):
      Use dframe-with-attached-buffer rather than speedbar- alias.
      0cdffd7d
  26. 18 May, 2013 1 commit
  27. 16 May, 2013 1 commit
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.34.2. · 6b9c2d85
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el: Use `push' throughout.
      (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
      (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
      Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
      (vhdl-actual-generic-name): New option to derive actual generic name.
      (vhdl-port-paste-signals): Replace formal by actual generics.
      (vhdl-beautify): New name for old group vhdl-align.  Update users.
      (vhdl-beautify-options): New option.
      (vhdl-last-input-event): New compat alias.  Use throughout.
      (vhdl-goto-line): Replace user level function `goto-line'.
      (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
      vhdl-fix-statement-buffer.
      (vhdl-create-mode-menu): Add some entries.
      (vhdl-align-region-groups): Respect vhdl-beautify-options.
      (vhdl-align-inline-comment-region-1): Handle "--" inside string.
      (vhdl-fixup-whitespace-region): Handle symbols at EOL.
      (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
      to force statements on one line.
      (vhdl-remove-trailing-spaces-region):
      New, split from vhdl-remove-trailing-spaces.
      (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
      Respect vhdl-beautify-options.
      (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
      (vhdl-update-sensitivity-list): Not add with index if exists without.
      Not include array index with signal.  Ignore keywords in comments.
      (vhdl-get-visible-signals): Regexp tweaks.
      (vhdl-template-component-inst): Handle empty library.
      (vhdl-template-type): Add template for 'enum' type.
      (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
      Use vhdl-replace-string.
      (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
      (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
      (vhdl-speedbar-initialize): Update for above name change.
      (vhdl-compose-wire-components): Fix in handling of constants.
      (vhdl-error-regexp-emacs-alist): New variable.
      (vhdl-error-regexp-add-emacs): New function;
      adds support for new compile.el (Emacs 22+)
      (vhdl-generate-makefile-1): Change target order for single lib. units.
      Allow use of absolute file names.
      6b9c2d85
  28. 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
  29. 08 May, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_". · 1d5963cc
      Stefan Monnier authored
      Change all regexps to use things like \_< and \_>.
      
      * lisp/progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
      (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
      the declaration.
      (ada-create-syntax-table): Remove.
      (ada-capitalize-word): Don't mess with the syntax of "_" since it
      already has the right syntax nowadays.
      (ada-goto-next-word): Don't change the syntax of "_".
      
      * lisp/progmodes/autoconf.el (autoconf-definition-regexp)
      (autoconf-font-lock-keywords, autoconf-current-defun-function):
      Handle a _ with symbol syntax.
      (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
      
      * lisp/progmodes/vera-mode.el (vera-underscore-is-part-of-word):
      * lisp/progmodes/prolog.el (prolog-underscore-wordchar-flag)
      (prolog-char-quote-workaround):
      * lisp/progmodes/cperl-mode.el (cperl-under-as-char):
      * lisp/progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
       Mark as obsolete.
       (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
      their declaration.
      (vhdl-mode-syntax-table-init): Remove.
      
      * lisp/progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
      syntax for "_".
      (ld-script-font-lock-keywords):
      Change regexps to use things like \_< and \_>.
      
      * lisp/progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
      
      * lisp/font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
      with-wrapper-hook.
      
      * lisp/mh-e/mh-comp.el (mh-regexp-in-field-p): Minor simplification.
      1d5963cc
  30. 01 Jan, 2013 1 commit
  31. 06 Oct, 2012 1 commit
    • 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
  32. 29 Sep, 2012 1 commit
    • Glenn Morris's avatar
      Do not autoload defcustoms in hippie-exp.el · de82e29b
      Glenn Morris authored
      * lisp/hippie-exp.el (hippie-expand-try-functions-list)
      (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
      (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
      (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
      (hippie-expand-only-buffers): Do not autoload defcustoms.
      * lisp/progmodes/vhdl-mode.el (vhdl-line-expand):
      Explicitly load hippie-exp, so it does not get autoloaded
      while hippie-expand-try-functions-list is let-bound.
      de82e29b
  33. 06 Sep, 2012 1 commit
    • Rüdiger Sonderfeld's avatar
      Fix use of obsolete variables in vhdl-mode.el. · 20367d28
      Rüdiger Sonderfeld authored
      * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
      obsolete alias speedbar-key-map.
      (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
      (vhdl-index-menu-init): Don't use obsolete variable font-lock-maximum-size.
      20367d28
  34. 25 Jul, 2012 1 commit
  35. 02 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Remove incorrect uses of "modeline". · 37269466
      Chong Yidong authored
      * ansi-color.el (ansi-color-faces-vector): Change default faces.
      
      * cus-edit.el (mode-line):
      * dframe.el (dframe-mouse-hscroll):
      * emacs-lisp/re-builder.el:
      * emacs-lisp/easy-mmode.el (define-minor-mode):
      * frame.el (set-frame-name):
      * help.el (lookup-minor-mode-from-indicator):
      * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
      * progmodes/cc-cmds.el (c-toggle-auto-newline)
      (c-toggle-hungry-state):
      * progmodes/antlr-mode.el (antlr-language-alist):
      * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/which-func.el (which-func, which-func-cleanup-function):
      * term/ns-win.el (ns-face-at-pos):
      * term/sup-mouse.el (sup-mouse-report):
      * textmodes/flyspell.el (flyspell-mode-line-string):
      * textmodes/ispell.el (ispell-highlight-face):
      * textmodes/reftex-global.el:
      * vc/vc-arch.el (vc-arch-mode-line-string):
      * vc/vc-cvs.el (vc-cvs-mode-line-string):
      * vc/vc-git.el (vc-git-mode-line-string):
      * vc/vc-h...
      37269466
  36. 28 May, 2012 1 commit