1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 15:11:30 -08:00
emacs/etc
Paul Eggert 71781c31a4 format-message now curves ` and '
That way, the caller doesn’t have to use curved quotes to
get diagnostics that match the text-quoting-style preferences.
Suggested by Dmitry Gutov in:
http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
This means we no longer need %qs, so remove that format.
While we’re at it, fix an unlikely bug and lessen the pressure
on the garbage collector by processing the string once rather
than twice in the usual case.
* doc/lispref/strings.texi (Formatting Strings):
* etc/NEWS: Document this.
* lisp/subr.el (format-message): Remove; now done in C.
* src/callint.c (Fcall_interactively):
* src/editfns.c (Fmessage, Fmessage_box):
Use Fformat_message instead of Finternal__text_restyle
followed by Fformat.
* src/doc.c (LSQM, RSQM): Remove; all uses changed to use
uLSQM and uRSQM.
(Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
when pure ASCII now suffices.  Fix unlikely bug when parsing
unibyte string containing non-ASCII bytes.  Use inline code
rather than memcpy, as it’s a tiny number of bytes.
(Finternal__text_restyle): Remove; no longer used.
(syms_of_doc): Don’t declare it.
* src/editfns.c (Fformat): Rewrite in terms of new function
‘styled_format’.
(Fformat_message): New function, moved here from subr.el.
(styled_format): New function, with the old guts of Fformat,
except it now optionally transliterates quotes, and it transliterates
traditional grave accent and apostrophe quoting as well.
Remove recently-added q flag; no longer needed or used.
(syms_of_editfns): Define format-message.
* src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
Remove; no longer need to be global symbols.
* src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
so that callers can use `%s'.
* src/image.c (image_size_error, xbm_load_image, xbm_load)
(xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
(gif_load, imagemagick_load_image, imagemagick_load, svg_load)
(svg_load_image, gs_load, x_kill_gs_process):
* src/lread.c (load_warn_old_style_backquotes):
* src/xfaces.c (load_pixmap):
* src/xselect.c (x_clipboard_manager_error_1):
Use `%s' instead of %qs in formats.
2015-08-25 19:00:20 -07:00
..
charsets Remove charset map files from repository, generate in first bootstrap 2015-05-23 16:38:13 -07:00
e
forms Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gnus
images Splash images refurbished 2015-01-30 00:38:02 +01:00
nxml
org Update copyright year to 2015 2015-01-01 14:26:41 -08:00
refcards Update source file encoding list 2015-04-28 10:52:06 -07:00
schema Update copyright year to 2015 2015-01-01 14:26:41 -08:00
srecode Update copyright year to 2015 2015-01-01 14:26:41 -08:00
themes Add ace-window face config 2015-04-30 23:00:06 +02:00
tutorials * etc/tutorials/TUTORIAL.ja: Improve translation. 2015-07-26 00:25:05 -07:00
AUTHORS Merge from origin/emacs-24 2015-03-08 18:49:27 -07:00
CALC-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
CENSORSHIP Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
ChangeLog.1 Rename ChangeLogs for gitlog-to-changelog 2015-04-07 00:00:06 -07:00
compilation.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
COPYING
DEBUG * etc/DEBUG: Mention 'maybe_call_debugger' 2015-06-06 08:34:46 +02:00
DEVEL.HUMOR PS: I re-read the manual of bzr to make sure I don't break anything. 2013-08-02 16:26:22 +02:00
DISTRIB Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-user.el Fix minor quoting problems in doc strings 2015-05-28 00:22:03 -07:00
emacs-buffer.gdb Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs.appdata.xml Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
enriched.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ERC-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ETAGS.EBNF Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ETAGS.README Update copyright year to 2015 2015-01-01 14:26:41 -08:00
FTP Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
future-bug
GNU Update copyright year to 2015 2015-01-01 09:18:06 -08:00
GNUS-NEWS etc/GNUS-NEWS: Nore X-GM-LABELS 2015-02-05 03:55:13 +00:00
gnus-tut.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
grep.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
HELLO Update copyright year to 2015 2015-01-01 14:26:41 -08:00
JOKES
LINUX-GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
MACHINES Update copyright year to 2015 2015-01-01 14:26:41 -08:00
MH-E-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
MORE.STUFF * etc/MORE.STUFF: Replace contents with pointer to efaq.info. 2014-01-09 14:14:28 -05:00
NEWS format-message now curves ` and ' 2015-08-25 19:00:20 -07:00
NEWS.1-17 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.18 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.19 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.20 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.21 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.22 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.23 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.24 Merge from origin/emacs-24 2015-03-03 14:52:04 -08:00
NEXTSTEP Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NXML-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS Describe problems with cursor caused by Windows Magnifier 2015-04-14 19:34:05 +03:00
ps-prin0.ps Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ps-prin1.ps Update copyright year to 2015 2015-01-01 14:26:41 -08:00
publicsuffix.txt Update the etc/publicsuffix.txt file 2015-01-26 15:21:34 +11:00
README Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rgb.txt
ses-example.ses Update copyright year to 2015 2015-01-01 14:26:41 -08:00
spook.lines * etc/spook.lines: Minor commentary update 2013-08-28 21:05:19 -04:00
TERMS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
THE-GNU-PROJECT Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
TODO * etc/TODO: Remove obsolete entries. 2015-03-25 14:28:25 -04:00
WHY-FREE Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2015 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)