emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106641: Fix typos.


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106641: Fix typos.
Date: Fri, 09 Dec 2011 04:12:38 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106641
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2011-12-09 04:12:38 +0100
message:
  Fix typos.
modified:
  lisp/ChangeLog
  lisp/ChangeLog.9
  lisp/emacs-lisp/syntax.el
  lisp/erc/ChangeLog.02
  lisp/erc/ChangeLog.03
  lisp/printing.el
  lisp/simple.el
  lisp/window.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-12-08 13:23:43 +0000
+++ b/lisp/ChangeLog    2011-12-09 03:12:38 +0000
@@ -1,3 +1,24 @@
+2011-12-09  Juanma Barranquero  <address@hidden>
+
+       * printing.el (pr-mode-alist):
+       * simple.el (filter-buffer-substring-functions)
+       (completion-list-insert-choice-function):
+       * window.el (window-with-parameter, window-atom-root)
+       (window-sides-slots, window-size-fixed, window-min-delta)
+       (window-max-delta, window--resize-mini-window)
+       (window--resize-child-windows-normal, window-tree)
+       (delete-other-windows, quit-window, split-window)
+       (display-buffer-record-window, special-display-buffer-names)
+       (special-display-regexps, special-display-popup-frame)
+       (same-window-p, split-window-sensibly)
+       (display-buffer-overriding-action, display-buffer-alist)
+       (display-buffer-base-action, display-buffer, switch-to-buffer)
+       (switch-to-buffer-other-window, switch-to-buffer-other-frame)
+       (fit-window-to-buffer, recenter-positions)
+       (mouse-autoselect-window-state, mouse-autoselect-window-select):
+       * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
+       and remove unneeded backslashes in docstrings.
+
 2011-12-08  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
@@ -172,11 +193,11 @@
        (verilog-inject-sense, verilog-read-inst-pins)
        (verilog-read-sub-decls, verilog-read-sub-decls-line):
        Fix mismatching parenthesis inside commented out code when deleting
-       AUTOINST, bug383. Reported by Jonathan Greenlaw.
+       AUTOINST, bug383.  Reported by Jonathan Greenlaw.
        (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
        non-numeric vector width.  Reported by Alex Reed.
        (verilog-auto-ascii-enum): Add "onehot" option to work around not
-       detecting signals with parameter widths. Reported by Alex Reed.
+       detecting signals with parameter widths.  Reported by Alex Reed.
        (verilog-auto-delete-trailing-whitespace):
        With `verilog-auto-delete-trailing-whitespace' remove trailing
        whitespace in auto expansion, bug371.  Reported by Brad Dobbie.

=== modified file 'lisp/ChangeLog.9'
--- a/lisp/ChangeLog.9  2011-11-24 01:58:14 +0000
+++ b/lisp/ChangeLog.9  2011-12-09 03:12:38 +0000
@@ -6620,7 +6620,7 @@
        (ansi-color-process-output): New function.  It is automatically
        added to comint-output-filter-functions if this is XEmacs.
        (ansi-color-unfontify-region): New optional parameter for XEmacs
-       compatibility.  Check wether font-lock-syntactic-keywords is
+       compatibility.  Check whether font-lock-syntactic-keywords is
        boundp before removing the syntax table text property, as XEmacs
        doesn't have it.
        (ansi-color-filter-region): Doc change.

=== modified file 'lisp/emacs-lisp/syntax.el'
--- a/lisp/emacs-lisp/syntax.el 2011-07-15 13:55:00 +0000
+++ b/lisp/emacs-lisp/syntax.el 2011-12-09 03:12:38 +0000
@@ -56,7 +56,7 @@
   ;; syntax-ppss-flush-cache since that would not only flush the cache but also
   ;; reset syntax-propertize--done which should not be done in this case).
   "Mode-specific function to apply the syntax-table properties.
-Called with 2 arguments: START and END.
+Called with two arguments: START and END.
 This function can call `syntax-ppss' on any position before END, but it
 should not call `syntax-ppss-flush-cache', which means that it should not
 call `syntax-ppss' on some position and later modify the buffer on some
@@ -248,7 +248,7 @@
                                  (if syntax
                                      (put-text-property
                                       mb me 'syntax-table syntax))))))))
-                               
+
                      (if (or (not (cddr rule)) (zerop gn))
                          (setq code (nconc (nreverse thiscode) code))
                        (push `(if (match-beginning ,gn)

=== modified file 'lisp/erc/ChangeLog.02'
--- a/lisp/erc/ChangeLog.02     2011-11-27 18:17:40 +0000
+++ b/lisp/erc/ChangeLog.02     2011-12-09 03:12:38 +0000
@@ -75,7 +75,7 @@
        everything but the last character.
 
        * erc.el 1.395 (erc-send-current-line):
-       Check wether point is in the input line. If
+       Check whether point is in the input line. If
        not, just beep and do nothing.
 
 2002-12-28  Alex Schroeder  <address@hidden>
@@ -98,7 +98,7 @@
 2002-12-28  Jorgen Schaefer  <address@hidden>
 
        * erc.el 1.392 (erc-log-irc-protocol):
-       Removed check wether get-buffer-create
+       Removed check whether get-buffer-create
            returned nil. "The value is never nil", says the docstring.
 
        * erc.el 1.391: Day Of The Small Changes
@@ -245,7 +245,7 @@
        (erc-process-alive): Check erc-process for boundp and processp.
 
        * erc.el 1.374 (erc-kill-buffer-function):
-       Do not check wether the process is
+       Do not check whether the process is
        alive before running the hook, because there might be functions on
        the hook that need to run even when the process is dead.  And
        function that wants to check this, should use (erc-process-alive).
@@ -1037,7 +1037,7 @@
        * (erc-away-p): new function
 
        erc-fill.el:
-       * (erc-fill-variable): Check wether erc-timestamp-format is bound before
+       * (erc-fill-variable): Check whether erc-timestamp-format is bound 
before
                               using it (erc-fill.el does not require 
erc-stamp).
 
 2002-11-10  Alex Schroeder  <address@hidden>

=== modified file 'lisp/erc/ChangeLog.03'
--- a/lisp/erc/ChangeLog.03     2011-11-20 03:48:53 +0000
+++ b/lisp/erc/ChangeLog.03     2011-12-09 03:12:38 +0000
@@ -693,10 +693,10 @@
 2003-04-29  Jorgen Schaefer  <address@hidden>
 
        * erc.el 1.525 (erc):
-       Check wether erc-save-buffer-in-logs is bound, too
+       Check whether erc-save-buffer-in-logs is bound, too
 
        * erc.el 1.524 (erc):
-       Check wether erc-logging-enabled is bound before using it - not
+       Check whether erc-logging-enabled is bound before using it - not
        everyone is using erc-log.el!
 
 2003-04-28  Andreas Fuchs  <address@hidden>
@@ -1166,7 +1166,7 @@
 
        (erc-person): Call erc-downcase before getting
        something from the hash.
-       (erc-nick-in-channel): Checking wether erc-process must be used is
+       (erc-nick-in-channel): Checking whether erc-process must be used is
        unnecessary -- this will be done in erc-person.
        (erc-nick-channels): New.
        (erc-add-nick-to-channel, erc-update-member): Call erc-downcase
@@ -1678,7 +1678,7 @@
 2003-01-11  Jorgen Schaefer  <address@hidden>
 
        * erc-stamp.el 1.22 (erc-insert-timestamp-right):
-       Check wether erc-fill-column is
+       Check whether erc-fill-column is
        available before using it. Else default to fill-column or if
        everything else fails, the window width of the current window. For the
        fill-columns, use them directly as the starting position for the

=== modified file 'lisp/printing.el'
--- a/lisp/printing.el  2011-11-25 07:14:48 +0000
+++ b/lisp/printing.el  2011-12-09 03:12:38 +0000
@@ -2536,7 +2536,7 @@
                nil, it's used (point-max).
 
 PS-PRINT       It's a symbol function for PostScript printing.  It's invoked
-               with 3 arguments: n-up printing, file name and the list:
+               with three arguments: n-up printing, file name and the list:
                (HEADER-LINES  LEFT-HEADER  RIGHT-HEADER DEFAULT...).
 
                Usually PS-PRINT function prepares the environment or buffer

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2011-12-05 17:46:27 +0000
+++ b/lisp/simple.el    2011-12-09 03:12:38 +0000
@@ -2915,11 +2915,11 @@
 
 (defvar filter-buffer-substring-functions nil
   "Wrapper hook around `filter-buffer-substring'.
-The functions on this special hook are called with 4 arguments:
+The functions on this special hook are called with four arguments:
   NEXT-FUN BEG END DELETE
-NEXT-FUN is a function of 3 arguments (BEG END DELETE)
-that performs the default operation.  The other 3 arguments are like
-the ones passed to `filter-buffer-substring'.")
+NEXT-FUN is a function of three arguments (BEG END DELETE)
+that performs the default operation.  The other three arguments
+are like the ones passed to `filter-buffer-substring'.")
 
 (defvar buffer-substring-filters nil
   "List of filter functions for `filter-buffer-substring'.
@@ -6023,7 +6023,7 @@
 
 (defvar completion-list-insert-choice-function #'completion--replace
   "Function to use to insert the text chosen in *Completions*.
-Called with 3 arguments (BEG END TEXT), it should replace the text
+Called with three arguments (BEG END TEXT), it should replace the text
 between BEG and END with TEXT.  Expected to be set buffer-locally
 in the *Completions* buffer.")
 

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2011-12-04 08:02:42 +0000
+++ b/lisp/window.el    2011-12-09 03:12:38 +0000
@@ -296,7 +296,7 @@
   "Return first window on FRAME with PARAMETER non-nil.
 FRAME defaults to the selected frame.  Optional argument VALUE
 non-nil means only return a window whose window-parameter value
-for PARAMETER equals VALUE \(comparison is done with `equal').
+for PARAMETER equals VALUE (comparison is done with `equal').
 Optional argument ANY non-nil means consider internal windows
 too."
   (let (this-value windows)
@@ -312,7 +312,7 @@
 (defun window-atom-root (&optional window)
   "Return root of atomic window WINDOW is a part of.
 WINDOW can be any window and defaults to the selected one.
-Return nil if WINDOW is not part of a atomic window."
+Return nil if WINDOW is not part of an atomic window."
   (setq window (window-normalize-window window))
   (let (root)
     (while (and window (window-parameter window 'window-atom))
@@ -380,7 +380,7 @@
 (defcustom window-sides-slots '(nil nil nil nil)
   "Maximum number of side window slots.
 The value is a list of four elements specifying the number of
-side window slots on \(in this order) the left, top, right and
+side window slots on (in this order) the left, top, right and
 bottom side of each frame.  If an element is a number, this means
 to display at most that many side windows on the corresponding
 side.  If an element is nil, this means there's no bound on the
@@ -504,7 +504,7 @@
 Any other non-nil value fixes both the width and the height.
 
 Emacs won't change the size of any window displaying that buffer,
-unless it has no other choice \(like when deleting a neighboring
+unless it has no other choice (like when deleting a neighboring
 window).")
 (make-variable-buffer-local 'window-size-fixed)
 
@@ -749,7 +749,7 @@
 tree but try to enlarge windows within WINDOW's combination only.
 
 Optional argument NODOWN non-nil means don't check whether WINDOW
-itself \(and its child windows) can be shrunk; check only whether
+itself (and its child windows) can be shrunk; check only whether
 at least one other window can be enlarged appropriately."
   (setq window (window-normalize-window window))
   (let ((size (window-total-size window horizontal))
@@ -831,7 +831,7 @@
 WINDOW's combination.
 
 Optional argument NODOWN non-nil means do not check whether
-WINDOW itself \(and its child windows) can be enlarged; check
+WINDOW itself (and its child windows) can be enlarged; check
 only whether other windows can be shrunk appropriately."
   (setq window (window-normalize-window window))
   (if (and (not (window--size-ignore window ignore))
@@ -1418,7 +1418,7 @@
 ;; window and is currently used, for example, by ispell.el.
 (defun window--resize-mini-window (window delta)
   "Resize minibuffer window WINDOW by DELTA lines.
-If WINDOW cannot be resized by DELTA lines make it as large \(or
+If WINDOW cannot be resized by DELTA lines make it as large (or
 as small) as possible but don't signal an error."
   (when (window-minibuffer-p window)
     (let* ((frame (window-frame window))
@@ -1513,12 +1513,12 @@
   "Recursively set new normal height of child windows of window PARENT.
 HORIZONTAL non-nil means set the new normal width of these
 windows.  WINDOW specifies a child window of PARENT that has been
-resized by THIS-DELTA lines \(columns).
+resized by THIS-DELTA lines (columns).
 
 Optional argument TRAIL either 'before or 'after means set values
 for windows before or after WINDOW only.  Optional argument
-OTHER-DELTA a number specifies that this many lines \(columns)
-have been obtained from \(or returned to) an ancestor window of
+OTHER-DELTA a number specifies that this many lines (columns)
+have been obtained from (or returned to) an ancestor window of
 PARENT in order to resize WINDOW."
   (let* ((delta-normal
          (if (and (= (- this-delta) (window-total-size window horizontal))
@@ -2190,7 +2190,7 @@
 the combined size and position of the child windows in the split,
 and the rest of the elements are the child windows in the split.
 Each of the child windows may again be a window or a list
-representing a window split, and so on.  EDGES is a list \(LEFT
+representing a window split, and so on.  EDGES is a list (LEFT
 TOP RIGHT BOTTOM) as returned by `window-edges'."
   (setq frame (window-normalize-frame frame))
   (window--subtree (frame-root-window frame) t))
@@ -2430,7 +2430,7 @@
 Otherwise, if WINDOW is part of an atomic window, call this
 function with the root of the atomic window as its argument.  If
 WINDOW is a non-side window, make WINDOW the only non-side window
-on the frame.  Side windows are not deleted. If WINDOW is a side
+on the frame.  Side windows are not deleted.  If WINDOW is a side
 window signal an error."
   (interactive)
   (setq window (window-normalize-window window))
@@ -2938,9 +2938,9 @@
 burying it.
 
 According to information stored in WINDOW's `quit-restore' window
-parameter either \(1) delete WINDOW and its frame, \(2) delete
-WINDOW, \(3) restore the buffer previously displayed in WINDOW,
-or \(4) make WINDOW display some other buffer than the present
+parameter either (1) delete WINDOW and its frame, (2) delete
+WINDOW, (3) restore the buffer previously displayed in WINDOW,
+or (4) make WINDOW display some other buffer than the present
 one.  If non-nil, reset `quit-restore' parameter to nil."
   (interactive "P")
   (setq window (window-normalize-window window t))
@@ -3047,14 +3047,14 @@
 Optional third argument SIDE nil (or `below') specifies that the
 new window shall be located below WINDOW.  SIDE `above' means the
 new window shall be located above WINDOW.  In both cases SIZE
-specifies the new number of lines for WINDOW \(or the new window
+specifies the new number of lines for WINDOW (or the new window
 if SIZE is negative) including space reserved for the mode and/or
 header line.
 
 SIDE t (or `right') specifies that the new window shall be
 located on the right side of WINDOW.  SIDE `left' means the new
 window shall be located on the left of WINDOW.  In both cases
-SIZE specifies the new number of columns for WINDOW \(or the new
+SIZE specifies the new number of columns for WINDOW (or the new
 window provided SIZE is negative) including space reserved for
 fringes and the scrollbar or a divider column.  Any other non-nil
 value for SIDE is currently handled like t (or `right').
@@ -3870,10 +3870,10 @@
 (defun display-buffer-record-window (type window buffer)
   "Record information for window used by `display-buffer'.
 TYPE specifies the type of the calling operation and must be one
-of the symbols 'reuse \(when WINDOW existed already and was
-reused for displaying BUFFER), 'window \(when WINDOW was created
-on an already existing frame), or 'frame \(when WINDOW was
-created on a new frame). WINDOW is the window used for or created
+of the symbols 'reuse (when WINDOW existed already and was
+reused for displaying BUFFER), 'window (when WINDOW was created
+on an already existing frame), or 'frame (when WINDOW was
+created on a new frame).  WINDOW is the window used for or created
 by the `display-buffer' routines.  BUFFER is the buffer that
 shall be displayed.
 
@@ -3968,7 +3968,7 @@
 
 Alternatively, an element of this list can be specified as
 \(BUFFER-NAME FRAME-PARAMETERS), where BUFFER-NAME is a buffer
-name and FRAME-PARAMETERS an alist of \(PARAMETER . VALUE) pairs.
+name and FRAME-PARAMETERS an alist of (PARAMETER . VALUE) pairs.
 `special-display-popup-frame' will interpret such pairs as frame
 parameters when it creates a special frame, overriding the
 corresponding values from `special-display-frame-alist'.
@@ -4044,7 +4044,7 @@
 
 As a special case, if FRAME-PARAMETERS contains (same-window . t)
 `special-display-popup-frame' displays buffers matching REGEXP in
-the selected window.  \(same-frame . t) in FRAME-PARAMETERS means
+the selected window.  (same-frame . t) in FRAME-PARAMETERS means
 to display such buffers in a window on the selected frame.
 
 If `special-display-function' specifies some other function than
@@ -4139,8 +4139,8 @@
 information.
 
 If ARGS is an alist, use it as a list of frame parameters.  If
-these parameters contain \(same-window . t), display BUFFER in
-the selected window.  If they contain \(same-frame . t), display
+these parameters contain (same-window . t), display BUFFER in
+the selected window.  If they contain (same-frame . t), display
 BUFFER in a window of the selected frame.
 
 If ARGS is a list whose car is a symbol, use (car ARGS) as a
@@ -4234,7 +4234,7 @@
   "Return non-nil if a buffer named BUFFER-NAME would be shown in the \"same\" 
window.
 This function returns non-nil if `display-buffer' or
 `pop-to-buffer' would show a buffer named BUFFER-NAME in the
-selected rather than \(as usual\) some other window.  See
+selected rather than (as usual) some other window.  See
 `same-window-buffer-names' and `same-window-regexps'."
   (cond
    ((not (stringp buffer-name)))
@@ -4396,11 +4396,11 @@
 customize the option `split-window-preferred-function'.
 
 You can enforce this function to not split WINDOW horizontally,
-by setting \(or binding) the variable `split-width-threshold' to
+by setting (or binding) the variable `split-width-threshold' to
 nil.  If, in addition, you set `split-height-threshold' to zero,
 chances increase that this function does split WINDOW vertically.
 
-In order to not split WINDOW vertically, set \(or bind) the
+In order to not split WINDOW vertically, set (or bind) the
 variable `split-height-threshold' to nil.  Additionally, you can
 set `split-width-threshold' to zero to make a horizontal split
 more likely to occur.
@@ -4565,7 +4565,7 @@
 (defvar display-buffer-overriding-action '(nil . nil)
   "Overriding action to perform to display a buffer.
 It should be a cons cell (FUNCTION . ALIST), where FUNCTION is a
-function or a list of functions.  Each function should accept 2
+function or a list of functions.  Each function should accept two
 arguments: a buffer to display and an alist similar to ALIST.
 See `display-buffer' for details.")
 (put 'display-buffer-overriding-action 'risky-local-variable t)
@@ -4579,7 +4579,7 @@
 
  ACTION is a cons cell (FUNCTION . ALIST), where FUNCTION is a
   function or a list of functions.  Each such function should
-  accept 2 arguments: a buffer to display and an alist of the
+  accept two arguments: a buffer to display and an alist of the
   same form as ALIST.  See `display-buffer' for details."
   :type `(alist :key-type
                (choice :tag "Condition"
@@ -4593,7 +4593,7 @@
 (defcustom display-buffer-base-action '(nil . nil)
   "User-specified default action for `display-buffer'.
 It should be a cons cell (FUNCTION . ALIST), where FUNCTION is a
-function or a list of functions.  Each function should accept 2
+function or a list of functions.  Each function should accept two
 arguments: a buffer to display and an alist similar to ALIST.
 See `display-buffer' for details."
   :type display-buffer--action-custom-type
@@ -4648,8 +4648,8 @@
 
 Optional argument ACTION should have the form (FUNCTION . ALIST).
 FUNCTION is either a function or a list of functions.  Each such
-function is called with 2 arguments: the buffer to display and an
-alist.  It should either display the buffer and return the
+function is called with two arguments: the buffer to display and
+an alist.  It should either display the buffer and return the
 window, or return nil if unable to display the buffer.
 
 The `display-buffer' function builds a function list and an alist
@@ -4996,7 +4996,7 @@
 determines whether to request confirmation before creating a new
 buffer.
 
-BUFFER-OR-NAME may be a buffer, a string \(a buffer name), or
+BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
 nil.  If BUFFER-OR-NAME is a string that does not identify an
 existing buffer, create a buffer with that name.  If
 BUFFER-OR-NAME is nil, switch to the buffer returned by
@@ -5036,7 +5036,7 @@
 
 (defun switch-to-buffer-other-window (buffer-or-name &optional norecord)
   "Select the buffer specified by BUFFER-OR-NAME in another window.
-BUFFER-OR-NAME may be a buffer, a string \(a buffer name), or
+BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
 nil.  Return the buffer switched to.
 
 If called interactively, prompt for the buffer name using the
@@ -5060,7 +5060,7 @@
 
 (defun switch-to-buffer-other-frame (buffer-or-name &optional norecord)
   "Switch to buffer BUFFER-OR-NAME in another frame.
-BUFFER-OR-NAME may be a buffer, a string \(a buffer name), or
+BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
 nil.  Return the buffer switched to.
 
 If called interactively, prompt for the buffer name using the
@@ -5169,7 +5169,7 @@
 Optional argument MAX-HEIGHT specifies the maximum height of
 WINDOW and defaults to the height of WINDOW's frame.  Optional
 argument MIN-HEIGHT specifies the minimum height of WINDOW and
-defaults to `window-min-height'.  Both, MAX-HEIGHT and MIN-HEIGHT
+defaults to `window-min-height'.  Both MAX-HEIGHT and MIN-HEIGHT
 are specified in lines and include the mode line and header line,
 if any.
 
@@ -5332,7 +5332,7 @@
 integer or float numbers that define the cycling order for
 the command `recenter-top-bottom'.
 
-Top and bottom destinations are `scroll-margin' lines the from true
+Top and bottom destinations are `scroll-margin' lines from the true
 window top and bottom.  Middle redraws the frame and centers point
 vertically within the window.  Integer number moves current line to
 the specified absolute window-line.  Float number between 0.0 and 1.0
@@ -5571,9 +5571,9 @@
 
 (defvar mouse-autoselect-window-state nil
   "When non-nil, special state of delayed window autoselection.
-Possible values are `suspend' \(suspend autoselection after a menu or
-scrollbar interaction\) and `select' \(the next invocation of
-'handle-select-window' shall select the window immediately\).")
+Possible values are `suspend' (suspend autoselection after a menu or
+scrollbar interaction) and `select' (the next invocation of
+`handle-select-window' shall select the window immediately).")
 
 (defun mouse-autoselect-window-cancel (&optional force)
   "Cancel delayed window autoselection.
@@ -5610,8 +5610,8 @@
 (defun mouse-autoselect-window-select ()
   "Select window with delayed window autoselection.
 If the mouse position has stabilized in a non-selected window, select
-that window.  The minibuffer window is selected only if the minibuffer is
-active.  This function is run by `mouse-autoselect-window-timer'."
+that window.  The minibuffer window is selected only if the minibuffer
+is active.  This function is run by `mouse-autoselect-window-timer'."
   (ignore-errors
    (let* ((mouse-position (mouse-position))
          (window


reply via email to

[Prev in Thread] Current Thread [Next in Thread]