]> code.delx.au - gnu-emacs/commitdiff
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-58
authorMiles Bader <miles@gnu.org>
Tue, 2 May 2006 05:51:52 +0000 (05:51 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 2 May 2006 05:51:52 +0000 (05:51 +0000)
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 239-258)

   - Update from CVS
   - (Ffield_beginning, find_field): Undo change of 2006-04-23.
   - Rcirc patch from Ryan Yeske
   - Merge from gnus--rel--5.10
   - Clean up lisp/gnus/ChangeLog a bit

 * gnus--rel--5.10  (patch 91-98)

   - Merge from emacs--devo--0
   - Update from CVS

26 files changed:
1  2 
etc/NEWS
lisp/ChangeLog
lisp/bindings.el
lisp/faces.el
lisp/gnus/mml.el
lisp/international/mule.el
lisp/simple.el
lisp/startup.el
lisp/subr.el
lisp/term/mac-win.el
lisp/time-stamp.el
src/.gdbinit
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/editfns.c
src/frame.c
src/keymap.c
src/macfns.c
src/macterm.c
src/syntax.c
src/w32fns.c
src/w32term.c
src/window.c
src/xdisp.c
src/xmenu.c

diff --cc etc/NEWS
Simple merge
diff --cc lisp/ChangeLog
Simple merge
Simple merge
diff --cc lisp/faces.el
Simple merge
Simple merge
Simple merge
diff --cc lisp/simple.el
Simple merge
diff --cc lisp/startup.el
Simple merge
diff --cc lisp/subr.el
Simple merge
Simple merge
Simple merge
diff --cc src/.gdbinit
Simple merge
diff --cc src/ChangeLog
Simple merge
Simple merge
diff --cc src/dispnew.c
Simple merge
diff --cc src/editfns.c
Simple merge
diff --cc src/frame.c
index 914bc5abf65402577ef144798865fbcfe9bb1ac0,c08d5a6f84d327bfcdc5fb5278c6a024100b6ea7..3efd04bf110024033cef13ec1059c030e3d769b9
@@@ -1,5 -1,5 +1,5 @@@
  /* Generic frame functions.
--   Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003,
++   Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2006,
                   2004, 2005, 2006 Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
@@@ -3092,10 -3092,15 +3092,16 @@@ x_set_font (f, arg, oldval
          if (old_fontset == FRAME_FONTSET (f))
            return;
        }
 -      else if (!NILP (Fequal (result, oldval)))
 +      store_frame_param (f, Qfont, result);
++
 +      if (!NILP (Fequal (result, oldval)))
          return;
  
 -      store_frame_param (f, Qfont, result);
+       /* Recalculate toolbar height.  */
+       f->n_tool_bar_rows = 0;
+       /* Ensure we redraw it.  */
+       clear_current_matrices (f);
        recompute_basic_faces (f);
      }
    else
diff --cc src/keymap.c
Simple merge
diff --cc src/macfns.c
Simple merge
diff --cc src/macterm.c
index b7a7fadeab2d88b6c52ad6cc213dc3f4b3f73c94,60b5545d510f5f289b5d388cef1fe9d7f9ce366f..8ddd8febd69c07eee03ce4a5e91feeafe01d4041
@@@ -2135,10 -2169,32 +2171,33 @@@ XTreset_terminal_modes (
  /* Function prototypes of this page.  */
  
  static XCharStruct *x_per_char_metric P_ ((XFontStruct *, XChar2b *));
 -static int mac_encode_char P_ ((int, XChar2b *, struct font_info *, int *));
 +static int mac_encode_char P_ ((int, XChar2b *, struct font_info *, 
 +                              struct charset *, int *));
  
  
+ static void
+ pcm_init (pcm, count)
+      XCharStruct *pcm;
+      int count;
+ {
+   bzero (pcm, sizeof (XCharStruct) * count);
+   while (--count >= 0)
+     {
+       pcm->descent = PCM_INVALID;
+       pcm++;
+     }
+ }
+ static enum pcm_status
+ pcm_get_status (pcm)
+      XCharStruct *pcm;
+ {
+   int height = pcm->ascent + pcm->descent;
+   /* Negative height means some special status.  */
+   return height >= 0 ? PCM_VALID : height;
+ }
  /* Get metrics of character CHAR2B in FONT.  Value is null if CHAR2B
     is not contained in the font.  */
  
diff --cc src/syntax.c
index f8d50d1e5b4e49078d4161b24db9629381e7970b,1c8d0debbf32f307020d4736c18f549c8b18989a..3f6058e3b1adc454bf0f8b654a4b3852a2b4d916
@@@ -2344,10 -2123,8 +2344,8 @@@ between them, return t; otherwise retur
              while (1)
                {
                  DEC_BOTH (from, from_byte);
-                 if (from == stop)
-                   break;
                  UPDATE_SYNTAX_TABLE_BACKWARD (from);
 -                c = FETCH_CHAR (from_byte);
 +                c = FETCH_CHAR_AS_MULTIBYTE (from_byte);
                  if (SYNTAX (c) == Scomment_fence
                      && !char_quoted (from, from_byte))
                    {
diff --cc src/w32fns.c
Simple merge
diff --cc src/w32term.c
Simple merge
diff --cc src/window.c
Simple merge
diff --cc src/xdisp.c
index 1689ec88be5259fd8ce1e7ebcbe6ad0ed0bd1029,ecc097343f2720f986309f8b93fcf6725d2d85f3..63a1338b2cbb4fce9270871edf913e0a3702a58e
@@@ -19008,10 -18925,10 +19039,10 @@@ get_char_face_and_encoding (f, c, face_
        /* Unibyte case.  We don't have to encode, but we have to make
         sure to use a face suitable for unibyte.  */
        STORE_XCHAR2B (char2b, 0, c);
 -      face_id = FACE_FOR_CHAR (f, face, c);
 +      face_id = FACE_FOR_CHAR (f, face, c, -1, Qnil);
        face = FACE_FROM_ID (f, face_id);
      }
-   else if (c < 128 && face_id < BASIC_FACE_ID_SENTINEL)
+   else if (c < 128)
      {
        /* Case of ASCII in a face known to fit ASCII.  */
        STORE_XCHAR2B (char2b, 0, c);
diff --cc src/xmenu.c
Simple merge