aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-12-12 16:40:01 -0800
committerPaul Eggert2014-12-12 16:50:36 -0800
commit67a48edb27172ae78182b13edf18789c2c79b7ac (patch)
treeabb864f3b76cca564637567f83749c618492c258
parent805074d059b5bdb868a4f795a0aca58f49302f66 (diff)
downloademacs-67a48edb27172ae78182b13edf18789c2c79b7ac.tar.gz
emacs-67a48edb27172ae78182b13edf18789c2c79b7ac.zip
Merge from gnulib (a couple more changes)
-rw-r--r--ChangeLog1
-rw-r--r--doc/misc/texinfo.tex51
-rw-r--r--lib/unistd.in.h2
3 files changed, 41 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 50715a1bd19..9d9aea676c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,6 +41,7 @@
41 41
42 Merge from gnulib 42 Merge from gnulib
43 2014-12-12 stddef: support C11's max_align_t 43 2014-12-12 stddef: support C11's max_align_t
44 2014-12-11 unistd: fix iOS check conditional
44 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions 45 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions
45 2014-12-02 support GNU format printf and scanf on mingw 46 2014-12-02 support GNU format printf and scanf on mingw
46 * doc/misc/texinfo.tex, lib/stat-time.h, lib/stddef.in.h: 47 * doc/misc/texinfo.tex, lib/stat-time.h, lib/stddef.in.h:
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 54cf66787d5..370d4505084 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2014-11-14.07} 6\def\texinfoversion{2014-12-03.16}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -96,7 +96,9 @@
96\let\ptexraggedright=\raggedright 96\let\ptexraggedright=\raggedright
97\let\ptexrbrace=\} 97\let\ptexrbrace=\}
98\let\ptexslash=\/ 98\let\ptexslash=\/
99\let\ptexsp=\sp
99\let\ptexstar=\* 100\let\ptexstar=\*
101\let\ptexsup=\sup
100\let\ptext=\t 102\let\ptext=\t
101\let\ptextop=\top 103\let\ptextop=\top
102{\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode 104{\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode
@@ -2081,12 +2083,9 @@ end
2081 \endgroup 2083 \endgroup
2082} 2084}
2083 2085
2084
2085% In order for the font changes to affect most math symbols and letters, 2086% In order for the font changes to affect most math symbols and letters,
2086% we have to define the \textfont of the standard families. Since 2087% we have to define the \textfont of the standard families. We don't
2087% texinfo doesn't allow for producing subscripts and superscripts except 2088% bother to reset \scriptfont and \scriptscriptfont; awaiting user need.
2088% in the main text, we don't bother to reset \scriptfont and
2089% \scriptscriptfont (which would also require loading a lot more fonts).
2090% 2089%
2091\def\resetmathfonts{% 2090\def\resetmathfonts{%
2092 \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy 2091 \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy
@@ -2100,8 +2099,8 @@ end
2100% \tenSTYLE to set the current font. 2099% \tenSTYLE to set the current font.
2101% 2100%
2102% Each font-changing command also sets the names \lsize (one size lower) 2101% Each font-changing command also sets the names \lsize (one size lower)
2103% and \lllsize (three sizes lower). These relative commands are used in 2102% and \lllsize (three sizes lower). These relative commands are used
2104% the LaTeX logo and acronyms. 2103% in, e.g., the LaTeX logo and acronyms.
2105% 2104%
2106% This all needs generalizing, badly. 2105% This all needs generalizing, badly.
2107% 2106%
@@ -2842,6 +2841,8 @@ end
2842 \let\v=\check 2841 \let\v=\check
2843 \let\~=\tilde 2842 \let\~=\tilde
2844 \let\dotaccent=\dot 2843 \let\dotaccent=\dot
2844 % have to provide another name for sup operator
2845 \let\mathopsup=\sup
2845 $\finishmath 2846 $\finishmath
2846} 2847}
2847\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. 2848\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
@@ -2865,6 +2866,18 @@ end
2865 } 2866 }
2866} 2867}
2867 2868
2869% for @sub and @sup, if in math mode, just do a normal sub/superscript.
2870% If in text, use math to place as sub/superscript, but switch
2871% into text mode, with smaller fonts. This is a different font than the
2872% one used for real math sub/superscripts (8pt vs. 7pt), but let's not
2873% fix it (significant additions to font machinery) until someone notices.
2874%
2875\def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi}
2876\def\finishsub#1{$\sb{\hbox{\selectfonts\lllsize #1}}$}%
2877%
2878\def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi}
2879\def\finishsup#1{$\ptexsp{\hbox{\selectfonts\lllsize #1}}$}%
2880
2868% ctrl is no longer a Texinfo command, but leave this definition for fun. 2881% ctrl is no longer a Texinfo command, but leave this definition for fun.
2869\def\ctrl #1{{\tt \rawbackslash \hat}#1} 2882\def\ctrl #1{{\tt \rawbackslash \hat}#1}
2870 2883
@@ -6335,6 +6348,7 @@ end
6335 % other math active characters (just in case), to plain's definitions. 6348 % other math active characters (just in case), to plain's definitions.
6336 \mathactive 6349 \mathactive
6337 % 6350 %
6351 % Inverse of the list at the beginning of the file.
6338 \let\b=\ptexb 6352 \let\b=\ptexb
6339 \let\bullet=\ptexbullet 6353 \let\bullet=\ptexbullet
6340 \let\c=\ptexc 6354 \let\c=\ptexc
@@ -6350,7 +6364,9 @@ end
6350 \let\+=\tabalign 6364 \let\+=\tabalign
6351 \let\}=\ptexrbrace 6365 \let\}=\ptexrbrace
6352 \let\/=\ptexslash 6366 \let\/=\ptexslash
6367 \let\sp=\ptexsp
6353 \let\*=\ptexstar 6368 \let\*=\ptexstar
6369 %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode
6354 \let\t=\ptext 6370 \let\t=\ptext
6355 \expandafter \let\csname top\endcsname=\ptextop % we've made it outer 6371 \expandafter \let\csname top\endcsname=\ptextop % we've made it outer
6356 \let\frenchspacing=\plainfrenchspacing 6372 \let\frenchspacing=\plainfrenchspacing
@@ -7416,7 +7432,6 @@ end
7416% 7432%
7417% \anythingelse will almost certainly be an error of some kind. 7433% \anythingelse will almost certainly be an error of some kind.
7418 7434
7419
7420% \mbodybackslash is the definition of \ in @macro bodies. 7435% \mbodybackslash is the definition of \ in @macro bodies.
7421% It maps \foo\ => \csname macarg.foo\endcsname => #N 7436% It maps \foo\ => \csname macarg.foo\endcsname => #N
7422% where N is the macro parameter number. 7437% where N is the macro parameter number.
@@ -7525,8 +7540,7 @@ end
7525% the catcode regime underwhich the body was input). 7540% the catcode regime underwhich the body was input).
7526% 7541%
7527% If you compile with TeX (not eTeX), and you have macros with 10 or more 7542% If you compile with TeX (not eTeX), and you have macros with 10 or more
7528% arguments, you need that no macro has more than 256 arguments, otherwise an 7543% arguments, no macro can have more than 256 arguments (else error).
7529% error is produced.
7530\def\parsemargdef#1;{% 7544\def\parsemargdef#1;{%
7531 \paramno=0\def\paramlist{}% 7545 \paramno=0\def\paramlist{}%
7532 \let\hash\relax 7546 \let\hash\relax
@@ -9283,6 +9297,18 @@ directory should work if nowhere else does.}
9283 \UTFviiiLoop 9297 \UTFviiiLoop
9284\endgroup 9298\endgroup
9285 9299
9300\def\globallet{\global\let} % save some \expandafter's below
9301
9302% @U{xxxx} to produce U+xxxx, if we support it.
9303\def\U#1{%
9304 \expandafter\ifx\csname uni:#1\endcsname \relax
9305 \errhelp = \EMsimple
9306 \errmessage{Unicode character U+#1 not supported, sorry}%
9307 \else
9308 \csname uni:#1\endcsname
9309 \fi
9310}
9311
9286\begingroup 9312\begingroup
9287 \catcode`\"=12 9313 \catcode`\"=12
9288 \catcode`\<=12 9314 \catcode`\<=12
@@ -9291,7 +9317,6 @@ directory should work if nowhere else does.}
9291 \catcode`\;=12 9317 \catcode`\;=12
9292 \catcode`\!=12 9318 \catcode`\!=12
9293 \catcode`\~=13 9319 \catcode`\~=13
9294
9295 \gdef\DeclareUnicodeCharacter#1#2{% 9320 \gdef\DeclareUnicodeCharacter#1#2{%
9296 \countUTFz = "#1\relax 9321 \countUTFz = "#1\relax
9297 %\wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}% 9322 %\wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}%
@@ -9306,6 +9331,8 @@ directory should work if nowhere else does.}
9306 \expandafter\expandafter\expandafter\expandafter 9331 \expandafter\expandafter\expandafter\expandafter
9307 \expandafter\expandafter\expandafter 9332 \expandafter\expandafter\expandafter
9308 \gdef\UTFviiiTmp{#2}% 9333 \gdef\UTFviiiTmp{#2}%
9334 % define an additional control sequence for this code point.
9335 \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp
9309 \endgroup} 9336 \endgroup}
9310 9337
9311 \gdef\parseXMLCharref{% 9338 \gdef\parseXMLCharref{%
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 219f43d9310..dda0b4d104a 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -402,7 +402,7 @@ _GL_WARN_ON_USE (dup3, "dup3 is unportable - "
402 "VARIABLE=VALUE", terminated with a NULL. */ 402 "VARIABLE=VALUE", terminated with a NULL. */
403# if defined __APPLE__ && defined __MACH__ 403# if defined __APPLE__ && defined __MACH__
404# include <TargetConditionals.h> 404# include <TargetConditionals.h>
405# if !defined TARGET_OS_IPHONE && !defined TARGET_IPHONE_SIMULATOR 405# if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR
406# define _GL_USE_CRT_EXTERNS 406# define _GL_USE_CRT_EXTERNS
407# endif 407# endif
408# endif 408# endif