Merge from emacs--devo--0
authorMiles Bader <miles@gnu.org>
Thu, 14 Sep 2006 09:24:00 +0000 (09:24 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 14 Sep 2006 09:24:00 +0000 (09:24 +0000)
Patches applied:

 * emacs--devo--0  (patch 427-436)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 134-136)

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

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-110

38 files changed:
1  2 
etc/NEWS
etc/PROBLEMS
etc/TODO
leim/quail/uni-input.el
lisp/ChangeLog
lisp/bindings.el
lisp/cus-start.el
lisp/desktop.el
lisp/gnus/rfc2047.el
lisp/info.el
lisp/mail/rmail.el
lisp/simple.el
lisp/startup.el
lisp/subr.el
lisp/term/mac-win.el
make-dist
src/ChangeLog
src/Makefile.in
src/casetab.c
src/config.in
src/dispextern.h
src/dispnew.c
src/editfns.c
src/emacs.c
src/keyboard.c
src/keymap.c
src/macfns.c
src/macterm.c
src/msdos.c
src/print.c
src/process.c
src/search.c
src/w32term.c
src/xdisp.c
src/xfns.c
src/xmenu.c
src/xterm.c
src/xterm.h

diff --cc etc/NEWS
Simple merge
diff --cc etc/PROBLEMS
Simple merge
diff --cc etc/TODO
Simple merge
Simple merge
diff --cc lisp/ChangeLog
Simple merge
Simple merge
Simple merge
diff --cc lisp/desktop.el
Simple merge
Simple merge
diff --cc lisp/info.el
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
diff --cc make-dist
Simple merge
diff --cc src/ChangeLog
Simple merge
diff --cc src/Makefile.in
Simple merge
diff --cc src/casetab.c
@@@ -283,15 -253,18 +283,18 @@@ init_casetab_once (
    up = Fmake_char_table (Qcase_table, Qnil);
    XCHAR_TABLE (down)->extras[0] = up;
  
 -  for (i = 0; i < CHAR_TABLE_SINGLE_BYTE_SLOTS; i++)
 -    XSETFASTINT (XCHAR_TABLE (up)->contents[i],
 -               ((i >= 'A' && i <= 'Z')
 -                ? i + ('a' - 'A')
 -                : ((i >= 'a' && i <= 'z')
 -                   ? i + ('A' - 'a')
 -                   : i)));
 +  for (i = 0; i < 128; i++)
 +    {
 +      int c = ((i >= 'A' && i <= 'Z') ? i + ('a' - 'A')
 +             : ((i >= 'a' && i <= 'z') ? i + ('A' - 'a')
 +                : i));;
 +      CHAR_TABLE_SET (up, i, make_number (c));
 +    }
  
    XCHAR_TABLE (down)->extras[2] = Fcopy_sequence (up);
+   /* Fill in what isn't filled in.  */
+   set_case_table (down, 1);
  }
  
  void
diff --cc src/config.in
Simple merge
Simple merge
diff --cc src/dispnew.c
Simple merge
diff --cc src/editfns.c
Simple merge
diff --cc src/emacs.c
Simple merge
diff --cc src/keyboard.c
Simple merge
diff --cc src/keymap.c
Simple merge
diff --cc src/macfns.c
Simple merge
diff --cc src/macterm.c
Simple merge
diff --cc src/msdos.c
Simple merge
diff --cc src/print.c
Simple merge
diff --cc src/process.c
Simple merge
diff --cc src/search.c
@@@ -131,9 -134,42 +131,12 @@@ compile_pattern_1 (cp, pattern, transla
    cp->regexp = Qnil;
    cp->buf.translate = (! NILP (translate) ? translate : make_number (0));
    cp->posix = posix;
 -  cp->buf.multibyte = multibyte;
 +  cp->buf.multibyte = STRING_MULTIBYTE (pattern);
 +  cp->buf.target_multibyte = multibyte;
    cp->whitespace_regexp = Vsearch_spaces_regexp;
+   /* Doing BLOCK_INPUT here has the effect that
+      the debugger won't run if an error occurs.
+      Why is BLOCK_INPUT needed here?  */
    BLOCK_INPUT;
    old = re_set_syntax (RE_SYNTAX_EMACS
                       | (posix ? 0 : RE_NO_POSIX_BACKTRACKING));
diff --cc src/w32term.c
Simple merge
diff --cc src/xdisp.c
Simple merge
diff --cc src/xfns.c
Simple merge
diff --cc src/xmenu.c
Simple merge
diff --cc src/xterm.c
@@@ -2864,35 -2689,23 +2864,36 @@@ x_draw_glyph_string (s
          if (!XGetFontProperty (s->font, XA_UNDERLINE_THICKNESS, &h))
            h = 1;
  
 -        y = s->y + s->height - h;
 -        if (!x_underline_at_descent_line)
 -            {
 -            /* Get the underline position.  This is the recommended
 -                 vertical offset in pixels from the baseline to the top of
 -                 the underline.  This is a signed value according to the
 -                 specs, and its default is
 -
 -               ROUND ((maximum descent) / 2), with
 -               ROUND(x) = floor (x + 0.5)  */
 -
 -              if (x_use_underline_position_properties
 -                  && XGetFontProperty (s->font, XA_UNDERLINE_POSITION, &tem))
 -                y = s->ybase + (long) tem;
 -              else if (s->face->font)
 -                y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2;
 -            }
 +#ifdef USE_FONT_BACKEND
 +        if (enable_font_backend)
 +          {
 +            if (s->face->font)
 +              /* In the future, we must use information of font.  */
 +              y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2;
 +            else
 +              y = s->y + s->height - h;
 +          }
 +        else
 +#endif
-           if (x_underline_at_descent_line)
-           y = s->y + s->height - h;
-           else
-             {
-             /* Get the underline position.  This is the recommended
-                  vertical offset in pixels from the baseline to the top of
-                  the underline.  This is a signed value according to the
-                  specs, and its default is
-                ROUND ((maximum descent) / 2), with
-                ROUND(x) = floor (x + 0.5)  */
-               if (x_use_underline_position_properties
-                   && XGetFontProperty (s->font, XA_UNDERLINE_POSITION, &tem))
-                 y = s->ybase + (long) tem;
-               else if (s->face->font)
-                 y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2;
-             }
++          {
++            y = s->y + s->height - h;
++            if (!x_underline_at_descent_line)
++              {
++                /* Get the underline position.  This is the recommended
++                   vertical offset in pixels from the baseline to the top of
++                   the underline.  This is a signed value according to the
++                   specs, and its default is
++
++                   ROUND ((maximum descent) / 2), with
++                   ROUND(x) = floor (x + 0.5)  */
++
++                if (x_use_underline_position_properties
++                    && XGetFontProperty (s->font, XA_UNDERLINE_POSITION, &tem))
++                  y = s->ybase + (long) tem;
++                else if (s->face->font)
++                  y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2;
++              }
++          }
  
          if (s->face->underline_defaulted_p)
            XFillRectangle (s->display, s->window, s->gc,
diff --cc src/xterm.h
Simple merge