aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-08-07 11:33:37 +0800
committerChong Yidong2012-08-07 11:33:37 +0800
commit9f6f48455f7d25e5cc2d50485d98ff3af43946a2 (patch)
tree2c2a07d59e656de8681a8ebbe2570e4b5e138f48
parent7d732d1a24f77e1ee68ec952130dcc4a65d3e6a7 (diff)
parent7178e7222c34f2654ccc126c64eb16fbe5f382b5 (diff)
downloademacs-9f6f48455f7d25e5cc2d50485d98ff3af43946a2.tar.gz
emacs-9f6f48455f7d25e5cc2d50485d98ff3af43946a2.zip
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/emacs.texi2
-rw-r--r--doc/lispref/ChangeLog8
-rw-r--r--doc/lispref/functions.texi3
-rw-r--r--doc/lispref/variables.texi4
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/url.texi35
-rw-r--r--etc/NEWS2
-rw-r--r--leim/quail/persian.el2
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/cperl-mode.el8
11 files changed, 53 insertions, 25 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 3f3592e64c9..8be343165f6 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12012-07-31 Chong Yidong <cyd@gnu.org>
2
3 * emacs.texi: Fix ISBN (Bug#12080).
4
12012-08-05 Chong Yidong <cyd@gnu.org> 52012-08-05 Chong Yidong <cyd@gnu.org>
2 6
3 * display.texi (Faces): Document frame-background-mode (Bug#7774). 7 * display.texi (Faces): Document frame-background-mode (Bug#7774).
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 1b457e01943..6357aebc6ff 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -94,7 +94,7 @@ developing GNU and promoting software freedom.''
94Published by the Free Software Foundation @* 94Published by the Free Software Foundation @*
9551 Franklin Street, Fifth Floor @* 9551 Franklin Street, Fifth Floor @*
96Boston, MA 02110-1301 USA @* 96Boston, MA 02110-1301 USA @*
97ISBN 978-0-9831592-3-0 97ISBN 978-0-9831592-4-7
98 98
99@sp 2 99@sp 2
100Cover art by Etienne Suvasa; cover design by Matt Lee. 100Cover art by Etienne Suvasa; cover design by Matt Lee.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index c262cecb02c..890cf0ef97c 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,11 @@
12012-08-06 Eli Zaretskii <eliz@gnu.org>
2
3 * functions.texi (Closures): Put the main index entry for
4 "closures" here. (Bug#12138)
5
6 * variables.texi (Lexical Binding): Disambiguate the index entry
7 for "closures".
8
12012-08-05 Chong Yidong <cyd@gnu.org> 92012-08-05 Chong Yidong <cyd@gnu.org>
2 10
3 * display.texi (Defining Faces): Move documentation of 11 * display.texi (Defining Faces): Move documentation of
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index ab2789b5e6d..9e1d3f9c6ae 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1100,8 +1100,9 @@ named function that you create (e.g.@: with @code{defun}), as well as
1100any anonymous function that you create using the @code{lambda} macro 1100any anonymous function that you create using the @code{lambda} macro
1101or the @code{function} special form or the @code{#'} syntax 1101or the @code{function} special form or the @code{#'} syntax
1102(@pxref{Anonymous Functions}), is automatically converted into a 1102(@pxref{Anonymous Functions}), is automatically converted into a
1103closure. 1103@dfn{closure}.
1104 1104
1105@cindex closure
1105 A closure is a function that also carries a record of the lexical 1106 A closure is a function that also carries a record of the lexical
1106environment that existed when the function was defined. When it is 1107environment that existed when the function was defined. When it is
1107invoked, any lexical variable references within its definition use the 1108invoked, any lexical variable references within its definition use the
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index affaff46ff9..3b078e7e19f 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -967,11 +967,11 @@ wants the current value of a variable, it looks first in the lexical
967environment; if the variable is not specified in there, it looks in 967environment; if the variable is not specified in there, it looks in
968the symbol's value cell, where the dynamic value is stored. 968the symbol's value cell, where the dynamic value is stored.
969 969
970@cindex closures 970@cindex closures, example of using
971 Lexical bindings have indefinite extent. Even after a binding 971 Lexical bindings have indefinite extent. Even after a binding
972construct has finished executing, its lexical environment can be 972construct has finished executing, its lexical environment can be
973``kept around'' in Lisp objects called @dfn{closures}. A closure is 973``kept around'' in Lisp objects called @dfn{closures}. A closure is
974created when you create a named or anonymous function with lexical 974created when you define a named or anonymous function with lexical
975binding enabled. @xref{Closures}, for details. 975binding enabled. @xref{Closures}, for details.
976 976
977 When a closure is called as a function, any lexical variable 977 When a closure is called as a function, any lexical variable
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index b44beaa811e..20c74cf70b2 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12012-08-06 Aurélien Aptel <aurelien.aptel@gmail.com>
2
3 * url.texi (Parsed URLs): Adjust to the code's use of defstruct
4 (bug#12096).
5
12012-08-01 Jay Belanger <jay.p.belanger@gmail.com> 62012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2 7
3 * calc.texi (Simplification modes, Conversions) 8 * calc.texi (Simplification modes, Conversions)
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index 680f1921479..898a9994a86 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -126,10 +126,10 @@ directory in @code{user-emacs-directory}, which is normally
126@section Parsed URLs 126@section Parsed URLs
127@cindex parsed URLs 127@cindex parsed URLs
128The library functions typically operate on @dfn{parsed} versions of 128The library functions typically operate on @dfn{parsed} versions of
129URLs. These are actually vectors of the form: 129URLs. These are actually CL structures (vectors) of the form:
130 130
131@example 131@example
132[@var{type} @var{user} @var{password} @var{host} @var{port} @var{file} @var{target} @var{attributes} @var{full}] 132[cl-struct-url @var{type} @var{user} @var{password} @var{host} @var{port} @var{filename} @var{target} @var{attributes} @var{fullness} @var{use-cookies}]
133@end example 133@end example
134 134
135@noindent where 135@noindent where
@@ -144,16 +144,19 @@ is the user password associated with it, or @code{nil};
144is the host name associated with it, or @code{nil}; 144is the host name associated with it, or @code{nil};
145@item port 145@item port
146is the port number associated with it, or @code{nil}; 146is the port number associated with it, or @code{nil};
147@item file 147@item filename
148is the ``file'' part of it, or @code{nil}. This doesn't necessarily 148is the ``file'' part of it, or @code{nil}. This doesn't necessarily
149actually refer to a file; 149actually refer to a file;
150@item target 150@item target
151is the target part, or @code{nil}; 151is the target part, or @code{nil};
152@item attributes 152@item attributes
153is the attributes associated with it, or @code{nil}; 153is the attributes associated with it, or @code{nil};
154@item full 154@item fullness
155is @code{t} for a fully-specified URL, with a host part indicated by 155is @code{t} for a fully-specified URL, with a host part indicated by
156@samp{//} after the scheme part. 156@samp{//} after the scheme part.
157@item use-cookies
158is @code{nil} to neither send or store cookies to the server, @code{t}
159otherwise.
157@end table 160@end table
158 161
159@findex url-type 162@findex url-type
@@ -161,23 +164,21 @@ is @code{t} for a fully-specified URL, with a host part indicated by
161@findex url-password 164@findex url-password
162@findex url-host 165@findex url-host
163@findex url-port 166@findex url-port
164@findex url-file 167@findex url-filename
165@findex url-target 168@findex url-target
166@findex url-attributes 169@findex url-attributes
167@findex url-full 170@findex url-fullness
168@findex url-set-type
169@findex url-set-user
170@findex url-set-password
171@findex url-set-host
172@findex url-set-port
173@findex url-set-file
174@findex url-set-target
175@findex url-set-attributes
176@findex url-set-full
177These attributes have accessors named @code{url-@var{part}}, where 171These attributes have accessors named @code{url-@var{part}}, where
178@var{part} is the name of one of the elements above, e.g., 172@var{part} is the name of one of the elements above, e.g.,
179@code{url-host}. Similarly, there are setters of the form 173@code{url-host}. These attributes can be set with the same accessors
180@code{url-set-@var{part}}. 174using @code{setf}:
175
176@example
177(setf (url-port url) 80)
178@end example
179
180If @var{port} is @var{nil}, @code{url-port} returns the default port
181of the protocol.
181 182
182There are functions for parsing and unparsing between the string and 183There are functions for parsing and unparsing between the string and
183vector forms. 184vector forms.
diff --git a/etc/NEWS b/etc/NEWS
index 62ec4d558fb..affc4480c93 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1179,7 +1179,7 @@ buffer was used.
1179The search is performed using `customize-apropos'. 1179The search is performed using `customize-apropos'.
1180To turn off the search field, set `custom-search-field' to nil. 1180To turn off the search field, set `custom-search-field' to nil.
1181 1181
1182*** Custom options now start out hidden if at their default values. 1182*** Options in customize group buffers start out hidden if not customized.
1183Use the arrow to the left of the option name to toggle visibility. 1183Use the arrow to the left of the option name to toggle visibility.
1184 1184
1185*** custom-buffer-sort-alphabetically now defaults to t. 1185*** custom-buffer-sort-alphabetically now defaults to t.
diff --git a/leim/quail/persian.el b/leim/quail/persian.el
index c795c0811b2..f4e74011ad8 100644
--- a/leim/quail/persian.el
+++ b/leim/quail/persian.el
@@ -22,8 +22,6 @@
22;; You should have received a copy of the GNU General Public License 22;; You should have received a copy of the GNU General Public License
23;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 23;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 24
25;; This is a Halaal Poly-Existential intended to remain perpetually Halaal.
26
27;;; Commentary: 25;;; Commentary:
28;; 26;;
29;; This file contains a collection of input methods for 27;; This file contains a collection of input methods for
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ebaea892a19..5d915a39814 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12012-08-06 Stefan Monnier <monnier@iro.umontreal.ca> 12012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4 syntax-propertize-function (bug#10095).
5
62012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7
3 * help-fns.el (help-fns--key-bindings, help-fns--signature) 8 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from 9 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5 describe-function-1. 10 describe-function-1.
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index d9b50ea3cc3..e1430b67e99 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1838,7 +1838,13 @@ or as help on variables `cperl-tips', `cperl-problems',
1838 (set (make-local-variable 'cperl-syntax-done-to) nil) 1838 (set (make-local-variable 'cperl-syntax-done-to) nil)
1839 (set (make-local-variable 'syntax-propertize-function) 1839 (set (make-local-variable 'syntax-propertize-function)
1840 (lambda (start end) 1840 (lambda (start end)
1841 (goto-char start) (cperl-fontify-syntaxically end)))) 1841 (goto-char start)
1842 ;; Even if cperl-fontify-syntaxically has already gone
1843 ;; beyond `start', syntax-propertize has just removed
1844 ;; syntax-table properties between start and end, so we have
1845 ;; to re-apply them.
1846 (setq cperl-syntax-done-to start)
1847 (cperl-fontify-syntaxically end))))
1842 (make-local-variable 'parse-sexp-lookup-properties) 1848 (make-local-variable 'parse-sexp-lookup-properties)
1843 ;; Do not introduce variable if not needed, we check it! 1849 ;; Do not introduce variable if not needed, we check it!
1844 (set 'parse-sexp-lookup-properties t) 1850 (set 'parse-sexp-lookup-properties t)