aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2012-12-14 12:05:03 -0800
committerPaul Eggert2012-12-14 12:05:03 -0800
commitcccaebd24d257278c31493e10a7a837ddb12fc4f (patch)
treeb88427373bd9f7afac6b575979cc340f73a42d47
parent7e90af267484ac6f286e91f55d38a31dd36c2395 (diff)
downloademacs-cccaebd24d257278c31493e10a7a837ddb12fc4f.tar.gz
emacs-cccaebd24d257278c31493e10a7a837ddb12fc4f.zip
Spelling fixes.
My favorite was that the word "dictionary" was misspelled. Also, correct the title in the DeRemer & Pennello 1982 citation, and add a URL.
-rw-r--r--doc/misc/org.texi6
-rw-r--r--doc/misc/srecode.texi53
-rw-r--r--doc/misc/wisent.texi15
-rw-r--r--lisp/json.el2
-rw-r--r--lisp/progmodes/ruby-mode.el2
-rw-r--r--src/ChangeLog2
-rw-r--r--src/dispnew.c2
7 files changed, 42 insertions, 40 deletions
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index b8c385fab29..4ff91976c37 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -946,7 +946,7 @@ description on Worg}.
946Installing Info files is system dependent, because of differences in the 946Installing Info files is system dependent, because of differences in the
947@file{install-info} program. The Info documentation is installed together 947@file{install-info} program. The Info documentation is installed together
948with the rest of Org mode. If you don't install Org mode, it is possible to 948with the rest of Org mode. If you don't install Org mode, it is possible to
949install the Info documentation seperately (you need to have 949install the Info documentation separately (you need to have
950install-info@footnote{The output from install-info (if any) is system 950install-info@footnote{The output from install-info (if any) is system
951dependent. In particular Debian and its derivatives use two different 951dependent. In particular Debian and its derivatives use two different
952versions of install-info and you may see the message: 952versions of install-info and you may see the message:
@@ -16698,7 +16698,7 @@ on @file{org-element.el} and @file{org-export.el} has been outstanding, and
16698opened the doors for many new ideas and features. 16698opened the doors for many new ideas and features.
16699 16699
16700@item Jambunathan K 16700@item Jambunathan K
16701Jambunathan contributed the ODT exporter, definitly a killer feature of 16701Jambunathan contributed the ODT exporter, definitely a killer feature of
16702Org mode. He also contributed the new HTML exporter, which is another core 16702Org mode. He also contributed the new HTML exporter, which is another core
16703feature of Org. Here too, I knew I could rely on him to fix bugs in these 16703feature of Org. Here too, I knew I could rely on him to fix bugs in these
16704areas and to patiently explain the users what was the problems and solutions. 16704areas and to patiently explain the users what was the problems and solutions.
@@ -16706,7 +16706,7 @@ areas and to patiently explain the users what was the problems and solutions.
16706@item Achim Gratz 16706@item Achim Gratz
16707Achim rewrote the building process of Org, turning some @emph{ad hoc} tools 16707Achim rewrote the building process of Org, turning some @emph{ad hoc} tools
16708into a flexible and conceptually clean process. He patiently coped with the 16708into a flexible and conceptually clean process. He patiently coped with the
16709many hicups that such a change can create for users. 16709many hiccups that such a change can create for users.
16710 16710
16711@item Nick Dokos 16711@item Nick Dokos
16712The Org mode mailing list would not be such a nice place without Nick, who 16712The Org mode mailing list would not be such a nice place without Nick, who
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi
index 10a0d8770dc..a6e4d73cc69 100644
--- a/doc/misc/srecode.texi
+++ b/doc/misc/srecode.texi
@@ -226,7 +226,7 @@ template files, and determining which templates are relevant to the
226current buffer. Template files are sorted by priority, with user 226current buffer. Template files are sorted by priority, with user
227templates being found first, and system level default templates last. 227templates being found first, and system level default templates last.
228Templates are also sorted by application. Each application has its 228Templates are also sorted by application. Each application has its
229own templates, and are kept seperate from the generic templates. 229own templates, and are kept separate from the generic templates.
230 230
231@section Dictionary 231@section Dictionary
232Dictionaries contain values associated with variable. Variables are 232Dictionaries contain values associated with variable. Variables are
@@ -312,7 +312,7 @@ template to be inserted again.
312 312
313By default, when inserting a template, if the user needs to enter text 313By default, when inserting a template, if the user needs to enter text
314to fill in a part of the template, then the minibuffer is used to 314to fill in a part of the template, then the minibuffer is used to
315query for that information. SRecode also supports a field-edting mode 315query for that information. SRecode also supports a field-editing mode
316that can be used instead. To enable it set: 316that can be used instead. To enable it set:
317 317
318@defun srecode-insert-ask-variable-method 318@defun srecode-insert-ask-variable-method
@@ -344,7 +344,7 @@ Once the cursor moves out of the are inserted by the template, all the
344fields are cancelled. 344fields are cancelled.
345 345
346@b{NOTE}: Some conveniences in templates, such as completion, or 346@b{NOTE}: Some conveniences in templates, such as completion, or
347character restrictins are lost when using field editing mode. 347character restrictions are lost when using field editing mode.
348 348
349@node Template Writing 349@node Template Writing
350@chapter Template Writing 350@chapter Template Writing
@@ -401,7 +401,7 @@ set VARNAME "some value"
401@end example 401@end example
402 402
403Note that a VARIABLE is a name in a dictionary that can be used in a 403Note that a VARIABLE is a name in a dictionary that can be used in a
404MACRO in a template. The macro referernces some variable by name. 404MACRO in a template. The macro references some variable by name.
405 405
406@menu 406@menu
407* String Values:: Basic Variable values 407* String Values:: Basic Variable values
@@ -420,7 +420,7 @@ other characters. Strings are interpreted by the Emacs Lisp reader so
420@code{\n}, @code{\t}, and @code{\"} work. 420@code{\n}, @code{\t}, and @code{\"} work.
421 421
422When a string is inserted as part of a template, nothing within the 422When a string is inserted as part of a template, nothing within the
423string is interperted, such as template escape characters. 423string is interpreted, such as template escape characters.
424 424
425@node Multi-string Values 425@node Multi-string Values
426@subsection Multi-string Values 426@subsection Multi-string Values
@@ -545,7 +545,7 @@ Any template file that has a project specified will get have a
545priority that is set between SRecode base templates, and user defined 545priority that is set between SRecode base templates, and user defined
546templates. 546templates.
547 547
548Templates can be compiled via a project system, such as EDE. EDE 548Templates can be compiled via a project system, such as EDE@. EDE
549loaded templates will get a @var{project} set automatically. 549loaded templates will get a @var{project} set automatically.
550 550
551Example: 551Example:
@@ -599,7 +599,7 @@ variables from Lisp.
599A template represents a text pattern that can be inserted into 599A template represents a text pattern that can be inserted into
600a buffer. 600a buffer.
601 601
602A basic template is declaired like this: 602A basic template is declared like this:
603 603
604@example 604@example
605template TEMPLATENAME :arg1 :arg2 605template TEMPLATENAME :arg1 :arg2
@@ -621,7 +621,7 @@ contain the text "-----".
621 621
622@menu 622@menu
623* Template Section Dictionaries:: Template Scoped Macro values 623* Template Section Dictionaries:: Template Scoped Macro values
624* Template Macros:: Macros occuring in template patterns 624* Template Macros:: Macros occurring in template patterns
625@end menu 625@end menu
626 626
627@node Template Section Dictionaries 627@node Template Section Dictionaries
@@ -644,7 +644,7 @@ An end line
644@end example 644@end example
645 645
646In this example, the @var{NAME} variable gets the value ``foo'', but 646In this example, the @var{NAME} variable gets the value ``foo'', but
647only while it is inside section macro A. The outer scoped NAME will 647only while it is inside section macro A@. The outer scoped NAME will
648be empty. 648be empty.
649 649
650This is particularly useful while using an include macro to pull in a 650This is particularly useful while using an include macro to pull in a
@@ -847,7 +847,7 @@ template foo
847 847
848context C2 848context C2
849 849
850temlate foo 850template foo
851"Foo template in C2" 851"Foo template in C2"
852---- 852----
853---- 853----
@@ -858,13 +858,13 @@ C1. The second is available in context C2.
858 858
859This is useful if there are multiple ways to declare something like a 859This is useful if there are multiple ways to declare something like a
860function or variable that differ only by where it is in the syntax of 860function or variable that differ only by where it is in the syntax of
861the lanugage. The name @code{foo} is not ambiguous because each is in 861the language. The name @code{foo} is not ambiguous because each is in
862a different context. 862a different context.
863 863
864@node Prompts 864@node Prompts
865@section Prompt 865@section Prompt
866 866
867Some templates use promtping macro insertion. A macro that needs a 867Some templates use prompting macro insertion. A macro that needs a
868prompt looks like this: 868prompt looks like this:
869 869
870@example 870@example
@@ -881,7 +881,7 @@ Specify NAME:
881 881
882For such macros, you can pre-define prompts for any dictionary entry. 882For such macros, you can pre-define prompts for any dictionary entry.
883When that dictionary entry is first encountered, the user is prompted, 883When that dictionary entry is first encountered, the user is prompted,
884and subsequent occurances of that dictionary entry use the same value. 884and subsequent occurrences of that dictionary entry use the same value.
885 885
886To get a different prompt, use a prompt command like this: 886To get a different prompt, use a prompt command like this:
887 887
@@ -926,7 +926,7 @@ need to use the @code{defaultmacro} keyword instead.
926prompt VARNAME "Varname: " defaultmacro "PREFIX" 926prompt VARNAME "Varname: " defaultmacro "PREFIX"
927@end example 927@end example
928 928
929now, when it attempts to read in VARNAME, it will pre-populte the text 929now, when it attempts to read in VARNAME, it will pre-populate the text
930editing section with whatever the value of PREFIX is. 930editing section with whatever the value of PREFIX is.
931 931
932Some language arguments may supply possible prefixes for prompts. 932Some language arguments may supply possible prefixes for prompts.
@@ -972,7 +972,7 @@ When building an @srecode{} based application, you will need to setup
972your dictionary values yourself. There are several utility functions 972your dictionary values yourself. There are several utility functions
973for this. 973for this.
974 974
975In the simplest form, you can assocate a string with a variable. 975In the simplest form, you can associate a string with a variable.
976 976
977@defun srecode-dictionary-set-value dict name value 977@defun srecode-dictionary-set-value dict name value
978@anchor{srecode-dictionary-set-value} 978@anchor{srecode-dictionary-set-value}
@@ -997,8 +997,9 @@ You can add several dictionaries to the same section entry.
997For each dictionary added to a variable, the block of codes in 997For each dictionary added to a variable, the block of codes in
998the template will be repeated. 998the template will be repeated.
999 999
1000If optional argument @var{SHOW-ONLY} is non-@code{nil}, then don't add a new dictionarly 1000If optional argument @var{SHOW-ONLY} is non-@code{nil}, then don't add
1001if there is already one in place. Also, don't add @var{FIRST}/@var{LAST} entries. 1001a new dictionary if there is already one in place. Also, don't add
1002@var{FIRST}/@var{LAST} entries.
1002These entries are not needed when we are just showing a section. 1003These entries are not needed when we are just showing a section.
1003 1004
1004Each dictionary added will automatically get values for positional macros 1005Each dictionary added will automatically get values for positional macros
@@ -1126,7 +1127,7 @@ want, but adding dictionary values is the right thing.
1126@node Querying a Dictionary 1127@node Querying a Dictionary
1127@section Querying a Dictionary 1128@section Querying a Dictionary
1128 1129
1129When creating a new argument, it may be useful to ask the dicitonary 1130When creating a new argument, it may be useful to ask the dictionary
1130what entries are already set there, and conditionally create new 1131what entries are already set there, and conditionally create new
1131entries based on those. 1132entries based on those.
1132 1133
@@ -1234,7 +1235,7 @@ The current hour in 24 hour format.
1234@item HOUR12 1235@item HOUR12
1235The current hour in 12 hour format. 1236The current hour in 12 hour format.
1236@item AMPM 1237@item AMPM
1237Locale equivalent of AM or PM. Usefule with HOUR12. 1238Locale equivalent of AM or PM@. Useful with HOUR12.
1238@item MINUTE 1239@item MINUTE
1239The current minute. 1240The current minute.
1240@item SECOND 1241@item SECOND
@@ -1331,7 +1332,7 @@ entries.
1331 1332
1332@table @code 1333@table @code
1333@item ARGS 1334@item ARGS
1334A Loop macro value. Each argument is inserted in ARGS. To create a 1335A Loop macro value. Each argument is inserted in ARGS@. To create a
1335comma separated list of arguments, you might do this: 1336comma separated list of arguments, you might do this:
1336 1337
1337@example 1338@example
@@ -1412,7 +1413,7 @@ name.
1412Converts the filename into text that would be suitable as a class-name 1413Converts the filename into text that would be suitable as a class-name
1413for the main class in the file. 1414for the main class in the file.
1414@item CURRENT_PACKAGE 1415@item CURRENT_PACKAGE
1415Finds the occurance of ``package'' and gets its value. 1416Finds the occurrence of ``package'' and gets its value.
1416@end table 1417@end table
1417 1418
1418@subsubsection Argument :el 1419@subsubsection Argument :el
@@ -1430,7 +1431,7 @@ to namespaces in other languages.
1430The name of the Emacs Custom group that instances of @code{defcustom} 1431The name of the Emacs Custom group that instances of @code{defcustom}
1431ought to use. 1432ought to use.
1432@item FACEGROUP 1433@item FACEGROUP
1433The name of the Emacs Custom group that faces delcared with 1434The name of the Emacs Custom group that faces declared with
1434@code{defface} ought to use. 1435@code{defface} ought to use.
1435@end table 1436@end table
1436 1437
@@ -1551,7 +1552,7 @@ tables that do not belong to an application will be searched.
1551@end defun 1552@end defun
1552 1553
1553For purposes of an @srecode{} application, it is important to decide 1554For purposes of an @srecode{} application, it is important to decide
1554what to call yoru application, and use that with this method call. 1555what to call your application, and use that with this method call.
1555 1556
1556@section Creating dictionaries 1557@section Creating dictionaries
1557 1558
@@ -1582,7 +1583,7 @@ If @var{stream} is nil, then use the current buffer.
1582@node Template Naming Conventions 1583@node Template Naming Conventions
1583@chapter Template Naming Conventions 1584@chapter Template Naming Conventions
1584 1585
1585For @srecode{} to work across langauges reliably, templates need to 1586For @srecode{} to work across languages reliably, templates need to
1586follow a predictable pattern. For every language of similar nature 1587follow a predictable pattern. For every language of similar nature
1587(OO, functional, doc based) if they all provide the same base 1588(OO, functional, doc based) if they all provide the same base
1588templates, then an application can be written against the base 1589templates, then an application can be written against the base
@@ -1613,7 +1614,7 @@ Functional languages should attempt to support the following:
1613@item function 1614@item function
1614A standalone function. Not a method, external method, or other. 1615A standalone function. Not a method, external method, or other.
1615@item method 1616@item method
1616A method belonging to some class declaired outside the textual bounds 1617A method belonging to some class declared outside the textual bounds
1617of that class' declaration. 1618of that class' declaration.
1618@item variable 1619@item variable
1619A global variable. 1620A global variable.
@@ -1685,7 +1686,7 @@ also the following useful dictionary values.
1685 1686
1686@table @var 1687@table @var
1687@item TAG 1688@item TAG
1688A special insertion value TAG. You can use semantic functions to turn 1689A special insertion value TAG@. You can use semantic functions to turn
1689the tag into a string. 1690the tag into a string.
1690@item HAVEDEFAULT 1691@item HAVEDEFAULT
1691@itemx DEFAULT 1692@itemx DEFAULT
diff --git a/doc/misc/wisent.texi b/doc/misc/wisent.texi
index 6237e74eeb6..5c04631e3c7 100644
--- a/doc/misc/wisent.texi
+++ b/doc/misc/wisent.texi
@@ -134,10 +134,11 @@ June 1985, Report No. UCB/CSD 85/251.
134 134
135@item 135@item
136For generating the lookahead sets, Wisent uses the well-known 136For generating the lookahead sets, Wisent uses the well-known
137technique of F. DeRemer and A. Pennello they described in: 137technique of F. DeRemer and A. Pennello described in:
138@quotation 138@quotation
139@cite{Efficient Construction of LALR(1) Lookahead Sets}@* 139@cite{Efficient Computation of LALR(1) Look-Ahead Sets}@*
140October 1982, ACM TOPLS Vol 4 No 4. 140October 1982, ACM TOPLAS Vol 4 No 4, 615--49,
141@uref{http://dx.doi.org/10.1145/69622.357187}.
141@end quotation 142@end quotation
142 143
143@item 144@item
@@ -284,7 +285,7 @@ For example,
284 285
285Says that two groupings of type @samp{exp}, with a @samp{+} token in 286Says that two groupings of type @samp{exp}, with a @samp{+} token in
286between, can be combined into a larger grouping of type @samp{exp}. 287between, can be combined into a larger grouping of type @samp{exp}.
287 288
288@cindex grammar coding conventions 289@cindex grammar coding conventions
289By convention, a nonterminal symbol should be in lower case, such as 290By convention, a nonterminal symbol should be in lower case, such as
290@samp{exp}, @samp{stmt} or @samp{declaration}. Terminal symbols 291@samp{exp}, @samp{stmt} or @samp{declaration}. Terminal symbols
@@ -1217,7 +1218,7 @@ data type.
1217 1218
1218@item start 1219@item start
1219@itemx end 1220@itemx end
1220Are the optionals beginning and end positions of @var{value} in the 1221Are the optional beginning and ending positions of @var{value} in the
1221input stream. 1222input stream.
1222@end table 1223@end table
1223 1224
@@ -1340,8 +1341,8 @@ of the current statement if an error is detected:
1340 1341
1341@example 1342@example
1342@group 1343@group
1343(stmnt (( error ?; )) ;; on error, skip until ';' is read 1344(statement (( error ?; )) ;; on error, skip until ';' is read
1344 ) 1345 )
1345@end group 1346@end group
1346@end example 1347@end example
1347 1348
diff --git a/lisp/json.el b/lisp/json.el
index 0927625de9f..8432ba40c12 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -100,7 +100,7 @@ tell the difference between `false' and `null'. Consider let-binding
100this around your call to `json-read' instead of `setq'ing it.") 100this around your call to `json-read' instead of `setq'ing it.")
101 101
102(defvar json-encoding-separator "," 102(defvar json-encoding-separator ","
103 "Value to use as an element seperator when encoding.") 103 "Value to use as an element separator when encoding.")
104 104
105(defvar json-encoding-default-indentation " " 105(defvar json-encoding-default-indentation " "
106 "The default indentation level for encoding. 106 "The default indentation level for encoding.
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 8ac2f659058..bc53c1f9556 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1340,7 +1340,7 @@ It will be properly highlighted even when the call omits parens."))
1340 (goto-char start) 1340 (goto-char start)
1341 ;; Find all expression expansions and 1341 ;; Find all expression expansions and
1342 ;; - save the match data to a text property, for font-locking later, 1342 ;; - save the match data to a text property, for font-locking later,
1343 ;; - set the syntax of all double quotes and backticks to puctuation. 1343 ;; - set the syntax of all double quotes and backticks to punctuation.
1344 (while (re-search-forward ruby-expression-expansion-re end 'move) 1344 (while (re-search-forward ruby-expression-expansion-re end 'move)
1345 (let ((beg (match-beginning 2)) 1345 (let ((beg (match-beginning 2))
1346 (end (match-end 2))) 1346 (end (match-end 2)))
diff --git a/src/ChangeLog b/src/ChangeLog
index d29988b39ba..960e4e52c59 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -10687,7 +10687,7 @@
106872012-05-09 Michael Albinus <michael.albinus@gmx.de> 106872012-05-09 Michael Albinus <michael.albinus@gmx.de>
10688 10688
10689 * dbusbind.c (xd_registered_buses): New internal Lisp object. 10689 * dbusbind.c (xd_registered_buses): New internal Lisp object.
10690 Rename all occurences of Vdbus_registered_buses to xd_registered_buses. 10690 Rename all occurrences of Vdbus_registered_buses to xd_registered_buses.
10691 (syms_of_dbusbind): Remove declaration of Vdbus_registered_buses. 10691 (syms_of_dbusbind): Remove declaration of Vdbus_registered_buses.
10692 Initialize xd_registered_buses. 10692 Initialize xd_registered_buses.
10693 10693
diff --git a/src/dispnew.c b/src/dispnew.c
index 11ae112f837..02b2f9c84e4 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4017,7 +4017,7 @@ set_window_cursor_after_update (struct window *w)
4017 } 4017 }
4018 4018
4019 /* Window cursor can be out of sync for horizontally split windows. 4019 /* Window cursor can be out of sync for horizontally split windows.
4020 Horisontal position is -1 when cursor is on the left fringe. */ 4020 Horizontal position is -1 when cursor is on the left fringe. */
4021 hpos = clip_to_bounds (-1, hpos, w->current_matrix->matrix_w - 1); 4021 hpos = clip_to_bounds (-1, hpos, w->current_matrix->matrix_w - 1);
4022 vpos = clip_to_bounds (0, vpos, w->current_matrix->nrows - 1); 4022 vpos = clip_to_bounds (0, vpos, w->current_matrix->nrows - 1);
4023 rif->cursor_to (vpos, hpos, cy, cx); 4023 rif->cursor_to (vpos, hpos, cy, cx);