]> code.delx.au - gnu-emacs/commitdiff
Spelling and punctuation fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Dec 2013 22:33:13 +0000 (14:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Dec 2013 22:33:13 +0000 (14:33 -0800)
23 files changed:
configure.ac
lisp/ChangeLog.16
lisp/net/eww.el
lisp/net/shr.el
lisp/window.el
lwlib/ChangeLog
src/ChangeLog.12
src/alloc.c
src/blockinput.h
src/buffer.h
src/charset.h
src/chartab.c
src/dispextern.h
src/frame.h
src/lread.c
src/nsterm.m
src/print.c
src/regex.c
src/w32fns.c
src/window.c
src/xdisp.c
src/xrdb.c
test/automated/reftex-tests.el

index a2e4cd9e159833539cb743c8d4f54cf257287401..46ddb43635c0f558e68165e5e72fef0d4ac99fca 100644 (file)
@@ -3843,7 +3843,7 @@ dnl The MSYS Bash has heuristics for replacing ':' with ';' when it
 dnl decides that a command-line argument to be passed to a MinGW program
 dnl is a PATH-style list of directories.  But that heuristics plays it
 dnl safe, and only does the replacement when it is _absolutely_ sure it
-dnl sees a colon-seperated list of file names; e.g. ":." is left alone,
+dnl sees a colon-separated list of file names; e.g. ":." is left alone,
 dnl which breaks in-tree builds.  So we do this manually instead.
 dnl Note that we cannot rely on PATH_SEPARATOR, as that one will always
 dnl be computed as ':' in MSYS Bash.
index ebdab33e5eaff77a521d7b44615defc3d2e86295..fb2ce5ecd7e48fc6eb61ec1f2738757f4b5cc9cf 100644 (file)
 2012-11-19  Daniel Colascione  <dancol@dancol.org>
 
        * term/w32-win.el (cygwin-convert-path-from-windows):
-       Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
+       Accommodate rename of cygwin_convert_path* to
+       cygwin_convert_file_name*.
 
 2012-11-18  Chong Yidong  <cyd@gnu.org>
 
index 2726748337c91d0e7bbb0d19f31db959a78eeb34..461236f04f6041ecfdc189645f99caaec261e7af 100644 (file)
@@ -992,7 +992,7 @@ If EXTERNAL, browse the URL using `shr-external-browser'."
       (eww-browse-url url)))))
 
 (defun eww-same-page-p (url1 url2)
-  "Return non-nil if boths URLs represent the same page.
+  "Return non-nil if both URLs represent the same page.
 Differences in #targets are ignored."
   (let ((obj1 (url-generic-parse-url url1))
        (obj2 (url-generic-parse-url url2)))
index fff1898df51f046be64ec1ab019cb8ce4e823889..5857517684a0c216b7224d213069366117348485 100644 (file)
@@ -1139,7 +1139,7 @@ The preference is a float determined from `shr-prefer-media-type'."
           (setq pref new-pref
                 url (cdr (assq :src elem)))
           (message "new %s %s" url pref))
-        ;; libxml's html parser isn't HML5 compliant and non terminated
+        ;; libxml's html parser isn't HTML5 compliant and non terminated
         ;; source tags might end up as children.  So recursion it is...
         (dolist (child (cdr elem))
           (when (and (listp child)
index d35d89814abde77e357e6dd829d53f07c0944ac8..7978623ac7774cd2b112fbc2167d0dd3feaf62d0 100644 (file)
@@ -1165,7 +1165,7 @@ of WINDOW."
                   0
                 window-min-width)))))
         (pixelwise
-         (max 
+         (max
           (+ (window-safe-min-size window nil t)
              (window-header-line-height window)
              (window-mode-line-height window))
@@ -2753,7 +2753,7 @@ zero, this function can resize fixed-size windows in order to
 recover the necessary lines.  Return the number of lines that
 were recovered.
 
-Third argument PIXELWISE non-nil means to intepret DELTA as
+Third argument PIXELWISE non-nil means to interpret DELTA as
 pixels and return the number of pixels that were recovered.
 
 This function is called by the minibuffer window resizing
@@ -3189,7 +3189,7 @@ Return 'frame if deleting WINDOW should also delete its frame."
   (setq window (window-normalize-window window))
 
   (unless (or ignore-window-parameters
-             (eq (window-parameter window 'delete-window) t)) 
+             (eq (window-parameter window 'delete-window) t))
     ;; Handle atomicity.
     (when (window-parameter window 'window-atom)
       (setq window (window-atom-root window))))
@@ -4093,7 +4093,7 @@ 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').
 
-PIXELWISE, if non-nil, means to intepret SIZE pixelwise.
+PIXELWISE, if non-nil, means to interpret SIZE pixelwise.
 
 If the variable `ignore-window-parameters' is non-nil or the
 `split-window' parameter of WINDOW equals t, do not process any
@@ -7091,7 +7091,7 @@ accessible position."
                           (if pixelwise
                               (window-safe-min-pixel-width)
                             window-safe-min-width))
-                   ;; Preserve fringes, margines, scrollbars if present.
+                   ;; Preserve fringes, margins, scrollbars if present.
                    (window-min-size nil nil t pixelwise)))
                 (max-width
                  ;; Sanitize MAX-WIDTH.
index e4ab1a91cac2b153e2f3e7d39c2f48ccbd60656e..27bf65db84b70ad4fbeebf2f623570f4234790b1 100644 (file)
        Add eventhandler for expose to expose_cb.  Remove creation of xft_draw.
        (create_pixmap_for_menu): New function.
        (remap_menubar): Pop down menus that aren't the same as in old_stack.
-       Set width, heigh, x, y on widget with XtVaSetValues.
+       Set width, height, x, y on widget with XtVaSetValues.
        Call create_pixmap_for_menu.
        Replace XUnmapWindow with XtPopdown.
        Remowe two last parameters to display_menu.
index b14ce20ede31566e8b561feffc4780018d6e3454..02940840eaa7038a6c72acd659514f6d9be2dea2 100644 (file)
 2012-11-19  Daniel Colascione  <dancol@dancol.org>
 
        * w32fns.c (Fx_file_dialog):
-       (Fx_file_dialog): Accomodate rename of cygwin_convert_path* to
+       (Fx_file_dialog): Accommodate rename of cygwin_convert_path* to
        cygwin_convert_file_name*.
 
        * cygw32.c (Fcygwin_convert_path_to_windows, syms_of_cygw32):
index 7024b47fc7d601b513b7d0aae26dfae1bba34c48..f076075a94f5da486c0dd956ff07d974b6bc8d8a 100644 (file)
@@ -4317,7 +4317,7 @@ live_buffer_p (struct mem_node *m, void *p)
 void dump_zombies (void) EXTERNALLY_VISIBLE;
 
 /* Array of objects that are kept alive because the C stack contains
-   a pattern that looks like a reference to them .  */
+   a pattern that looks like a reference to them.  */
 
 #define MAX_ZOMBIES 10
 static Lisp_Object zombies[MAX_ZOMBIES];
index 8f1b1e18985952270862c71fa688e22314007a6a..6c69b01d3dd2e23f22bd27a9da33bb59b34268bf 100644 (file)
@@ -59,7 +59,7 @@ extern void unblock_input (void);
 extern void totally_unblock_input (void);
 extern void unblock_input_to (int);
 
-/* In critical section ? */
+/* In critical section */
 
 INLINE bool
 input_blocked_p (void)
index 586090fbe88f74f333da7577d12b99224cdf20b3..10d5fdc23e0344f174946c674441b231fed41ce8 100644 (file)
@@ -741,7 +741,7 @@ struct buffer
   Lisp_Object INTERNAL_FIELD (cursor_in_non_selected_windows);
 
   /* No more Lisp_Object beyond this point.  Except undo_list,
-     which is handled specially in Fgarbage_collect .  */
+     which is handled specially in Fgarbage_collect.  */
 
   /* This structure holds the coordinates of the buffer contents
      in ordinary buffers.  In indirect buffers, this is not used.  */
index 6e6a8891b4a53aae57c18539e511b4da89e78146..d5c41ec6f4995e33250970a55e1c9ae71f995df0 100644 (file)
@@ -208,7 +208,7 @@ struct charset
   unsigned min_code, max_code;
 
   /* Offset value used by macros CODE_POINT_TO_INDEX and
-      INDEX_TO_CODE_POINT.  */
+      INDEX_TO_CODE_POINT.  */
   unsigned char_index_offset;
 
   /* Minimum and Maximum character codes of the charset.  If the
index 16dd85c12c00431e16be176dbdd6c5c61c3cf706..2a8bbc6983a328aa696ae6b5c2fbe20e367b6011 100644 (file)
@@ -1272,7 +1272,7 @@ uniprop_encode_value_run_length (Lisp_Object table, Lisp_Object value)
 
 
 /* Encode VALUE as an element of char-table TABLE which adopts RUN-LENGTH
-   compression and contains numbers as elements .  */
+   compression and contains numbers as elements.  */
 
 static Lisp_Object
 uniprop_encode_value_numeric (Lisp_Object table, Lisp_Object value)
index 977e2f8c66c7e3973c2448f23a7a374b29e19dc2..2ce0a8f4c99a6d78536704e3a078f6575a158bfc 100644 (file)
@@ -1471,8 +1471,8 @@ struct glyph_string
    So maybe these checks should be removed and any clipping left to the
    window manager.  */
 
-/* Value is non-zero if window W wants a mode line and is large enough
-   to accomodate it.  */
+/* Value is true if window W wants a mode line and is large enough
+   to accommodate it.  */
 #define WINDOW_WANTS_MODELINE_P(W)                                     \
   (BUFFERP ((W)->contents)                                             \
    ? (!MINI_WINDOW_P (W)                                               \
@@ -1482,8 +1482,8 @@ struct glyph_string
       && WINDOW_PIXEL_HEIGHT (W) > WINDOW_FRAME_LINE_HEIGHT (W))       \
    : 0)
 
-/* Value is non-zero if window W wants a header line and is large enough
-   to accomodate it.  */
+/* Value is true if window W wants a header line and is large enough
+   to accommodate it.  */
 #define WINDOW_WANTS_HEADER_LINE_P(W)                                  \
      (BUFFERP ((W)->contents)                                          \
       ? (!MINI_WINDOW_P (W)                                            \
index 4a0ff461f6de07b22bc20ccd70db49f56feac168..8369cf6b17e29b4df8e78b3eb12276dc24db4edb 100644 (file)
@@ -254,7 +254,7 @@ struct frame
   int text_width, text_height;
 
   /* New text height and width for pending size change.  0 if no change
-     pending.  These value represent pixels or canoncial character units
+     pending.  These values represent pixels or canonical character units
      according to the value of new_pixelwise and correlate to the the
      text width/height of the frame.  */
   int new_width, new_height;
@@ -1170,7 +1170,7 @@ extern Lisp_Object Vframe_list;
                              - FRAME_INTERNAL_BORDER_WIDTH (f))))
 
 /* Return the pixel width/height of frame F with a text size of
-   width/heigh.  */
+   width/height.  */
 
 #define FRAME_TEXT_TO_PIXEL_WIDTH(f, width)      \
   ((width)                                       \
@@ -1182,7 +1182,7 @@ extern Lisp_Object Vframe_list;
   ((height) + 2 * FRAME_INTERNAL_BORDER_WIDTH (f))
 
 /* Return the text width/height of frame F with a pixel size of
-   width/heigh.  */
+   width/height.  */
 
 #define FRAME_PIXEL_TO_TEXT_WIDTH(f, width)      \
   ((width)                                       \
index 679cbb7837504175edd889735d25501fd0caf3de..a64f083a5acbde2cb113f2493e8714757283d5b4 100644 (file)
@@ -3537,7 +3537,7 @@ read_vector (Lisp_Object readcharfun, bool bytecodeflag)
   return vector;
 }
 
-/* FLAG means check for ] to terminate rather than ) and .  */
+/* FLAG means check for ']' to terminate rather than ')' and '.'.  */
 
 static Lisp_Object
 read_list (bool flag, Lisp_Object readcharfun)
index 7121366527baddc25c1798b11b79c789c7bccc5e..e58ac9b927780f5f8be9c4c7260e469fe8bd2af3 100644 (file)
@@ -1390,7 +1390,7 @@ ns_index_color (NSColor *color, struct frame *f)
       color_table->empty_indices = [[NSMutableSet alloc] init];
     }
 
-  /* do we already have this color ? */
+  /* Do we already have this color?  */
   for (i = 1; i < color_table->avail; i++)
     if (color_table->colors[i] && [color_table->colors[i] isEqual: color])
       return i;
@@ -7585,5 +7585,5 @@ baseline level.  The default value is nil.  */);
 #else
   Fprovide (Qgnustep, Qnil);
 #endif
-  
+
 }
index 80e010ee0f5e1d7d6eb2b9a6d2348f5430e229cc..6e8aec37ba544fd5e95e548475f799b1b2255878 100644 (file)
@@ -1119,7 +1119,7 @@ print (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag)
    string (its text properties will be traced), or a symbol that has
    no obarray (this is for the print-gensym feature).
    The status fields of Vprint_number_table mean whether each object appears
-   more than once in OBJ: Qnil at the first time, and Qt after that .  */
+   more than once in OBJ: Qnil at the first time, and Qt after that.  */
 static void
 print_preprocess (Lisp_Object obj)
 {
index 615fb3fdf3484035117071767bcffcac4bb06550..b45dbcaada744195c2a675ae12445031a02ee02e 100644 (file)
@@ -5907,7 +5907,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const_re_char *string1,
            EXTRACT_NUMBER_AND_INCR (mcnt, p);
            /* Here, we discard `const', making re_match non-reentrant.  */
            p2 = (unsigned char*) p + mcnt;
-           /* Signedness doesn't matter since we only copy MCNT's bits .  */
+           /* Signedness doesn't matter since we only copy MCNT's bits.  */
            EXTRACT_NUMBER_AND_INCR (mcnt, p);
            DEBUG_PRINT ("  Setting %p to %d.\n", p2, mcnt);
            PUSH_NUMBER (p2, mcnt);
index 975d3f95e67bfb3efd051bfbdf0f980097db8b23..f574a86b1e1a429405e676587e4bc9b9eeed04b9 100644 (file)
@@ -6153,7 +6153,7 @@ Text larger than the specified size is clipped.  */)
     {
       /* PXW: Why do we do the pixel-to-cols conversion only if
         seen_reversed_p holds?  Don't we have to set other fields of
-        the window/frame stucture ?
+        the window/frame structure?
 
         w->total_cols and FRAME_TOTAL_COLS want the width in columns,
         not in pixels.  */
index e62fdad6827899bf9e29c86db80be1449e7db0ef..a28449ba1dbfec4614ed6354d374f8613928fd46 100644 (file)
@@ -1212,7 +1212,7 @@ coordinates_in_window (register struct window *w, int x, int y)
     return ON_NOTHING;
 
   /* On vertical window divider (which prevails horizontal
-     dividers) ?  */
+     dividers)?  */
   if (!WINDOW_RIGHTMOST_P (w)
       && WINDOW_RIGHT_DIVIDER_WIDTH (w)
       && x >= right_x - WINDOW_RIGHT_DIVIDER_WIDTH (w)
@@ -1285,8 +1285,8 @@ coordinates_in_window (register struct window *w, int x, int y)
      terminals, the vertical line's x coordinate is right_x.  */
   else if (!w->pseudo_window_p
           && !WINDOW_RIGHTMOST_P (w)
-          /* Why check ux if we are not the rightmost window ?  Also
-             shouldn't a pseudo window always be rightmost ?  */
+          /* Why check ux if we are not the rightmost window?  Also
+             shouldn't a pseudo window always be rightmost?  */
           && x > right_x - ux)
     return ON_VERTICAL_BORDER;
 
@@ -5844,12 +5844,12 @@ struct save_window_data
        From `frame-cols' down, the fields are ignored by the GC.  */
     /* We should be able to do without the following two.  */
     int frame_cols, frame_lines;
-    /* These two should get eventually replaced by their pixelized
+    /* These two should get eventually replaced by their pixel
        counterparts.  */
     int frame_menu_bar_lines, frame_tool_bar_lines;
     int frame_text_width, frame_text_height;
-    /* These are currently unused.  We need them as soon as we pixelize
-       them.  */
+    /* These are currently unused.  We need them as soon as we convert
+       to pixels.  */
     int frame_menu_bar_height, frame_tool_bar_height;
   };
 
index e192ed3fd6b6b210f01c548960bc60a3678363fd..b52c89a755607057dba7ccc47cd75f0f717fdd9a 100644 (file)
@@ -1907,8 +1907,7 @@ pixel_to_glyph_coords (struct frame *f, register int pix_x, register int pix_y,
                           FRAME_COLUMN_WIDTH (f) - 1,
                           FRAME_LINE_HEIGHT (f) - 1);
 
-      /* PXW: Should we clip pixelized before converting to
-        columns/lines ?  */
+      /* PXW: Should we clip pixels before converting to columns/lines?  */
       if (!noclip)
        {
          if (pix_x < 0)
@@ -2814,7 +2813,7 @@ init_iterator (struct it *it, struct window *w,
          && ((!NILP (Vtruncate_partial_width_windows)
               && !INTEGERP (Vtruncate_partial_width_windows))
              || (INTEGERP (Vtruncate_partial_width_windows)
-                 /* PXW: Shall we do something about this ?  */
+                 /* PXW: Shall we do something about this?  */
                  && (WINDOW_TOTAL_COLS (it->w)
                      < XINT (Vtruncate_partial_width_windows))))))
     it->line_wrap = TRUNCATE;
@@ -12072,7 +12071,7 @@ tool_bar_height (struct frame *f, int *n_rows, bool pixelwise)
      F->desired_tool_bar_string in the tool-bar window of frame F.  */
   init_iterator (&it, w, -1, -1, temp_row, TOOL_BAR_FACE_ID);
   it.first_visible_x = 0;
-  /* PXW: Use FRAME_PIXEL_WIDTH (f) here ?  */
+  /* PXW: Use FRAME_PIXEL_WIDTH (f) here?  */
   it.last_visible_x = FRAME_TOTAL_COLS (f) * FRAME_COLUMN_WIDTH (f);
   reseat_to_string (&it, NULL, f->desired_tool_bar_string, 0, 0, 0, -1);
   it.paragraph_embedding = L2R;
@@ -13494,7 +13493,7 @@ redisplay_internal (void)
               /* Make sure the cursor was last displayed
                  in this window.  Otherwise we have to reposition it.  */
 
-              /* PXW: Must be pixelized, probably.  */
+              /* PXW: Must be converted to pixels, probably.  */
               && 0 <= w->cursor.vpos
               && w->cursor.vpos < WINDOW_TOTAL_LINES (w))
        {
@@ -13588,7 +13587,7 @@ redisplay_internal (void)
          if (FRAME_WINDOW_P (f) || FRAME_TERMCAP_P (f) || f == sf)
            {
              bool gcscrollbars
-               /* Only GC scollbars when we redisplay the whole frame.  */
+               /* Only GC scrollbars when we redisplay the whole frame.  */
                = f->redisplay || !REDISPLAY_SOME_P ();
              /* Mark all the scroll bars to be removed; we'll redeem
                 the ones we want when we redisplay their windows.  */
@@ -15046,7 +15045,7 @@ try_scrolling (Lisp_Object window, int just_this_one_p,
       if (! cursor_row_fully_visible_p (w, extra_scroll_margin_lines <= 1, 0)
          /* It's possible that the cursor is on the first line of the
             buffer, which is partially obscured due to a vscroll
-            (Bug#7537).  In that case, avoid looping forever . */
+            (Bug#7537).  In that case, avoid looping forever. */
          && extra_scroll_margin_lines < w->desired_matrix->nrows - 1)
        {
          clear_glyph_matrix (w->desired_matrix);
@@ -15101,7 +15100,7 @@ compute_window_start_on_continuation_line (struct window *w)
       /* If the line start is "too far" away from the window start,
          say it takes too much time to compute a new window start.  */
       if (CHARPOS (start_pos) - IT_CHARPOS (it)
-         /* PXW: Do we need upper bounds here ?  */
+         /* PXW: Do we need upper bounds here?  */
          < WINDOW_TOTAL_LINES (w) * WINDOW_TOTAL_COLS (w))
        {
          int min_distance, distance;
@@ -20728,7 +20727,7 @@ display_menu_bar (struct window *w)
   eassert (!FRAME_WINDOW_P (f));
   init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID);
   it.first_visible_x = 0;
-  /* PXW: Use FRAME_PIXEL_WIDTH (f) here ?  */
+  /* PXW: Use FRAME_PIXEL_WIDTH (f) here?  */
   it.last_visible_x = FRAME_TOTAL_COLS (f) * FRAME_COLUMN_WIDTH (f);
 #elif defined (HAVE_X_WINDOWS) /* X without toolkit.  */
   if (FRAME_WINDOW_P (f))
@@ -20740,7 +20739,7 @@ display_menu_bar (struct window *w)
       init_iterator (&it, menu_w, -1, -1, menu_w->desired_matrix->rows,
                     MENU_FACE_ID);
       it.first_visible_x = 0;
-      /* PXW: Use FRAME_PIXEL_WIDTH (f) here ?  */
+      /* PXW: Use FRAME_PIXEL_WIDTH (f) here?  */
       it.last_visible_x = FRAME_TOTAL_COLS (f) * FRAME_COLUMN_WIDTH (f);
     }
   else
index ea823b2b3135f3da0be177a7e9eeb8ced027fbf4..7220915e63132fd5ba1aedac4150c00f876068b6 100644 (file)
@@ -179,7 +179,7 @@ magic_db (const char *string, ptrdiff_t string_len, const char *class,
       else
        next = p, next_len = 1;
 
-      /* Do we have room for this component followed by a '\0' ?  */
+      /* Do we have room for this component followed by a '\0'?  */
       if (path_size - path_len <= next_len)
        {
          if (min (PTRDIFF_MAX, SIZE_MAX) / 2 - 1 - path_len < next_len)
index 74a9f3d806c06cd7f42adaf722c69b06dff919eb..0eb3be9fec93392221e480d328aac8f002641ce4 100644 (file)
@@ -99,7 +99,7 @@
   ;; MS-Windows into their long file-name equivalents, which is
   ;; necessary for the 'equal' and 'string=' comparisons below.  This
   ;; also resolves any symlinks, which cannot be bad for the same
-  ;; reason.  (An alternatrive solution would be to use file-equal-p,
+  ;; reason.  (An alternative solution would be to use file-equal-p,
   ;; but I'm too lazy to do that, as one of the tests compares a
   ;; list.)
   (let* ((temp-dir (file-truename (make-temp-file "reftex-parse" 'dir)))