1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00
emacs/lisp/progmodes
Paul Eggert fbb5531fa1 More-conservative ‘format’ quote restyling
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.
2015-08-23 22:39:06 -07:00
..
ada-mode.el
ada-prj.el
ada-stmt.el
ada-xref.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-awk.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-bytecomp.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-cmds.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-defs.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-engine.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-fonts.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-guess.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-langs.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-menus.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-mode.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-styles.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cc-vars.el * lisp/progmodes/cc-*.el: Fix up commenting style 2015-08-21 23:46:21 -04:00
cfengine.el Fix a bug in cfengine3-mode 2015-07-19 12:39:37 +08:00
cmacexp.el Fix error diagnostics of c-macro-expand 2015-05-02 12:01:04 +03:00
compile.el * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038) 2015-08-13 16:59:16 -04:00
cperl-mode.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
cpp.el Don't quote symbols 'like-this' in docstrings etc. 2015-08-20 17:34:57 -07:00
cwarn.el
dcl-mode.el
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el More-conservative ‘format’ quote restyling 2015-08-23 22:39:06 -07:00
ebrowse.el Don't quote symbols 'like-this' in docstrings etc. 2015-08-20 17:34:57 -07:00
elisp-mode.el Don't quote symbols 'like-this' in docstrings etc. 2015-08-20 17:34:57 -07:00
etags.el Don't pass NOVISIT to find-file 2015-08-01 14:40:55 +03:00
executable.el * lisp/progmodes/executable.el (executable-self-display): Obsolete. 2015-06-10 16:24:32 -04:00
f90.el * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists 2015-07-05 19:25:04 -07:00
flymake.el More-conservative ‘format’ quote restyling 2015-08-23 22:39:06 -07:00
fortran.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
gdb-mi.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
glasses.el
grep.el Bind grep-highlight-matches around the rgrep call 2015-06-28 04:38:11 +03:00
gud.el
hideif.el
hideshow.el
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
idlw-toolbar.el
idlwave.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
inf-lisp.el ; Comment fixes. 2015-06-15 21:24:24 -04:00
js.el * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize. 2015-08-21 09:03:52 -04:00
ld-script.el
m4-mode.el
make-mode.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
mantemp.el
meta-mode.el
mixal-mode.el
modula2.el
octave.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
opascal.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
pascal.el Don't quote symbols 'like-this' in docstrings etc. 2015-08-20 17:34:57 -07:00
perl-mode.el * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/ 2015-06-15 17:10:06 -04:00
prog-mode.el Generalize prettify-symbols to arbitrary modes 2015-08-21 08:41:29 +02:00
project.el Add project-vc-search-path and project-vc-ignores 2015-08-10 04:05:24 +03:00
prolog.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
ps-mode.el
python.el python.el: Fix python-shell-buffer-substring on indented code 2015-08-23 19:56:47 -03:00
ruby-mode.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
scheme.el
sh-script.el * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049) 2015-08-13 17:05:44 -04:00
simula.el
sql.el
subword.el
tcl.el * lisp/progmodes/tcl.el (tcl-filter): 2015-05-12 21:19:38 -04:00
vera-mode.el
verilog-mode.el Don't quote symbols 'like-this' in docstrings etc. 2015-08-20 17:34:57 -07:00
vhdl-mode.el More-conservative ‘format’ quote restyling 2015-08-23 22:39:06 -07:00
which-func.el
xref.el elisp--xref-find-definitions handle cl-defstuct default constructor 2015-08-11 14:29:34 -05:00
xscheme.el