emacs/lisp/calc
Paul Eggert 244c801689 Extend ‘format’ to translate curved quotes
This is a followup to the recent doc string change, and deals with
diagnostics and the like.  This patch is more conservative than
the doc string change, in that the behavior of ‘format’ changes
only if its first arg contains curved quotes and the user prefers
straight or grave quotes.  (Come to think of it, perhaps we should
be similarly conservative with doc strings too, but that can wait.)
The upside of this conservatism is that existing usage is almost
surely unaffected.  The downside is that we'll eventually have to
change Emacs's format strings to use curved quotes in places where
the user might want curved quotes, but that's a simple and
mechanical translation that I'm willing to do later.  (Bug#21222)
* doc/lispref/help.texi (Keys in Documentation):
Move description of text-quoting-style from here ...
* doc/lispref/strings.texi (Formatting Strings):
... to here, and describe new behavior of ‘format’.
* etc/NEWS: Describe new behavior.
* lisp/calc/calc-help.el (calc-describe-thing):
* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
* lisp/info.el (Info-find-index-name):
Use ‘concat’ rather than ‘format’ to avoid misinterpretation
of recently-added curved quotes.
* src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
Move from here ...
* src/lisp.h: ... to here.
* src/doc.c (text_quoting_style): New function.
(Fsubstitute_command_keys): Use it.
* src/editfns.c (Fformat): Implement new behavior.
* src/lisp.h (enum text_quoting_style): New enum.
2015-08-14 15:55:57 -07:00
..
calc-aent.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
calc-alg.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-arith.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-bin.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-comb.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-cplx.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-embed.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-ext.el * lisp/calc/calc-units.el (calc-convert-exact-units): New function. 2015-01-28 21:17:10 -06:00
calc-fin.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-forms.el Fix description of Unix time, mention new function. 2015-04-09 19:03:19 -05:00
calc-frac.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-funcs.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-graph.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-help.el Extend ‘format’ to translate curved quotes 2015-08-14 15:55:57 -07:00
calc-incom.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-keypd.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-lang.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-macs.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-map.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-math.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-menu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-misc.el Fix curved quotes in a few places 2015-06-04 23:54:49 -07:00
calc-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-mtx.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-nlfit.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-poly.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-prog.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-rewr.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-rules.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-sel.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-stat.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-store.el * lisp/calc-store.el (calc-insert-permanent-variable): Heed case. 2015-06-29 14:26:29 +02:00
calc-stuff.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-trail.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-undo.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-units.el * lisp/calc/calc-units.el (calc-convert-exact-units): Improve the 2015-01-28 21:37:24 -06:00
calc-vec.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-yank.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
calc.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
calcalg2.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calcalg3.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calccomp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calcsel2.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00