]> code.delx.au - gnu-emacs/commitdiff
Merge from emacs--rel--22
authorMiles Bader <miles@gnu.org>
Mon, 10 Mar 2008 00:49:47 +0000 (00:49 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 10 Mar 2008 00:49:47 +0000 (00:49 +0000)
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095

18 files changed:
etc/AUTHORS
etc/NEWS.22
lisp/ChangeLog
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el
lisp/help.el
lisp/iswitchb.el
lisp/net/socks.el
lisp/newcomment.el
lisp/progmodes/verilog-mode.el
lisp/startup.el
lisp/textmodes/bibtex-style.el
lisp/textmodes/css-mode.el
lisp/vc-mtn.el
src/ChangeLog
src/dispnew.c
src/fileio.c
src/xdisp.c

index 5ff1dc83a1b65547db8921685fd403f10a12cd8f..69273d8087f60c88c2417499ddff618f51e24fbb 100644 (file)
@@ -39,8 +39,8 @@ Aki Vehtari: changed bibtex.el gnus-art.el gnus-score.el gnus-sum.el
 Alakazam Petrofsky: changed hanoi.el
 
 Alan Mackenzie: wrote cc-awk.el
-and changed cc-cmds.el cc-engine.el cc-mode.el cc-defs.el cc-vars.el
-  cc-langs.el cc-mode.texi cc-styles.el cc-align.el cc-fonts.el lread.c
+and changed cc-cmds.el cc-mode.el cc-engine.el cc-defs.el cc-langs.el
+  cc-vars.el cc-mode.texi cc-styles.el cc-fonts.el cc-align.el lread.c
   programs.texi cc-subword.el isearch.el lisp.el search.texi startup.el
   subr.el text.texi buffers.texi bytecomp.el and 20 other files
 
@@ -225,6 +225,8 @@ Bill Carpenter: wrote feedmail.el (public domain)
 
 Bill Mann: changed configure.in unexaix.c ibmrs6000.h usg5-4-3.h
 
+Bill Meier: changed sh-script.el
+
 Bill Pringlemeir: changed messcompat.el
 
 Bill Richter: changed fill.el quail.el ccl.el encoded-kb.el fontset.el
@@ -342,10 +344,10 @@ Charlie Martin: wrote autoinsert.el
 Cheng Gao: changed MORE.STUFF flymake.el tips.texi url-dired.el
   url-file.el url-handlers.el url-http.el url-nfs.el
 
-Chong Yidong: changed cus-edit.el files.el simple.el longlines.el xdisp.c
-  display.texi custom.el files.texi image-mode.el info.el keyboard.c
+Chong Yidong: changed files.el cus-edit.el simple.el xdisp.c longlines.el
+  display.texi custom.el files.texi image-mode.el keyboard.c info.el
   compile.el custom.texi text.texi xterm.c frames.texi image.c mouse.el
-  misc.texi startup.el wid-edit.el and 301 other files
+  misc.texi startup.el wid-edit.el and 302 other files
 
 Chris Hanson: changed xscheme.el scheme.el xterm.c hpux.h x11term.c
   hp9000s300.h keyboard.c process.c texinfmt.el emacsclient.c sort.el
@@ -407,7 +409,7 @@ D. E. Evans: changed basic.texi
 Daiki Ueno: wrote pgg-def.el pgg-gpg.el pgg-parse.el pgg-pgp.el
   pgg-pgp5.el pgg.el starttls.el
 and changed gnus-sum.el mml2015.el faces.el gnus-agent.el gnus-srvr.el
-  message.texi mml1991.el pgg.texi
+  message.texi mml1991.el pgg.texi utf-7.el
 
 Dale Gulledge: changed TUTORIAL.eo
 
@@ -426,10 +428,10 @@ Dan Christensen: changed gnus-sum.el nnfolder.el gnus-art.el
   gnus-group.el gnus-registry.el gnus-score.el nndoc.el nnmail.el
 
 Dan Nicolaescu: wrote iris-ansi.el romanian.el
-and changed xterm.el term.el hideshow.el vc-hg.el files.el isearch.el
-  sh-script.el icon.el lisp.h vc.el verilog-mode.el cus-edit.el faces.el
-  font-lock.el grep.el diff-mode.el eterm-color.ti ibuffer.el replace.el
-  rxvt.el term.c and 187 other files
+and changed xterm.el term.el hideshow.el vc-hg.el verilog-mode.el
+  files.el isearch.el sh-script.el icon.el lisp.h vc.el cus-edit.el
+  faces.el font-lock.el grep.el diff-mode.el eterm-color.ti ibuffer.el
+  replace.el rxvt.el term.c and 191 other files
 
 Daniel Brockman: changed cus-start.el format-spec.el ibuffer.el rcirc.el
 
@@ -874,7 +876,7 @@ Glenn Morris: changed f90.el diary-lib.el calendar.el fortran.el
   calendar.texi COPYING appt.el Makefile.in files.el sh-script.el
   timeclock.el cal-menu.el configure.in simple.el tex-mode.el calc.texi
   complete.el fr-refcard.tex orgcard.tex programs.texi startup.el
-  and 247 other files
+  and 249 other files
 
 Glynn Clements: wrote gamegrid.el snake.el tetris.el
 
@@ -1083,8 +1085,8 @@ Jason Merrill: changed gnus-sum.el gnus-salt.el imap.el nnfolder.el
 Jason Rumney: wrote w32-vars.el
 and changed w32fns.c w32term.c w32menu.c w32-win.el makefile.w32-in
   w32term.h w32.c w32bdf.c w32-fns.el w32proc.c w32select.c w32console.c
-  mule-cmds.el w32gui.h keyboard.c emacs.c fileio.c nmake.defs w32bdf.h
-  w32inevt.c xdisp.c and 93 other files
+  mule-cmds.el w32gui.h keyboard.c emacs.c fileio.c files.el nmake.defs
+  w32bdf.h w32inevt.c and 94 other files
 
 Jay Belanger: changed calc.texi calc.el calc-ext.el calc-embed.el
   calc-aent.el calc-prog.el calc-arith.el calc-help.el calc-lang.el
@@ -1258,7 +1260,7 @@ and changed erc-chess.el erc.el iswitchb.el Makefile.in allout.el
   cal-menu.el calendar.el compile.el desktop.el diary-lib.el erc-bbdb.el
   erc-button.el erc-complete.el erc-fill.el erc-ibuffer.el erc-list.el
   erc-match.el erc-menu.el erc-nets.el erc-replace.el erc-speak.el
-  and 11 other files
+  and 12 other files
 
 John Williams: changed etags.el
 
@@ -1311,9 +1313,9 @@ Juan Le\e,As\e(Bn Lahoz Garc\e,Am\e(Ba: wrote wdired.el
 and changed files.el perl-mode.el
 
 Juanma Barranquero: changed makefile.w32-in subr.el faces.el files.el
-  help-fns.el bs.el w32fns.c buffer.c simple.el emacsclient.c replace.el
-  eval.c org.el desktop.el idlwave.el ido.el process.c vhdl-mode.el
-  window.c xdisp.c allout.el and 658 other files
+  help-fns.el bs.el w32fns.c buffer.c simple.el desktop.el emacsclient.c
+  replace.el eval.c org.el idlwave.el ido.el process.c vhdl-mode.el
+  window.c xdisp.c allout.el and 660 other files
 
 Juergen Hoetzel: changed url-handlers.el
 
@@ -1328,8 +1330,8 @@ Junio Hamano: changed window.el
 Jure Cuhalev: changed ispell.el
 
 Juri Linkov: changed info.el simple.el isearch.el replace.el compile.el
-  faces.el display.texi grep.el descr-text.el cus-edit.el dired.el
-  dired-aux.el edebug.el startup.el compare-w.el desktop.el files.el
+  faces.el display.texi grep.el descr-text.el cus-edit.el startup.el
+  dired.el dired-aux.el edebug.el compare-w.el desktop.el files.el
   lisp-mode.el lisp.el man.el menu-bar.el and 224 other files
 
 Justin Sheehy: changed gnus-sum.el nntp.el
@@ -2225,7 +2227,7 @@ Reiner Steib: wrote gmm-utils.el
 and changed gnus-art.el gnus.texi message.el gnus-sum.el gnus.el
   gnus-group.el gnus-faq.texi mm-util.el gnus-start.el gnus-util.el
   message.texi mml.el gnus-score.el gnus-agent.el gnus-msg.el spam.el
-  files.el spam-report.el mm-decode.el nnmail.el nnweb.el
+  files.el nnmail.el spam-report.el mm-decode.el nnweb.el
   and 168 other files
 
 Remek Trzaska: changed gnus-ems.el
@@ -2470,7 +2472,7 @@ Stefan Monnier: wrote bibtex-style.el bibtex.el css-mode.el cvs-status.el
   diff-mode.el log-edit.el log-view.el pcvs-defs.el pcvs-info.el
   pcvs-parse.el pcvs-util.el reveal.el smerge-mode.el vc-mtn.el
 and changed vc.el font-lock.el pcvs.el newcomment.el subr.el lisp.h
-  keyboard.c tex-mode.el fill.el keymap.c vc-hooks.el compile.el
+  keyboard.c fill.el tex-mode.el keymap.c vc-hooks.el compile.el
   simple.el files.el alloc.c easy-mmode.el regex.c syntax.c info.el
   xdisp.c sh-script.el and 528 other files
 
@@ -2580,7 +2582,7 @@ Teodor Zlatanov: wrote gnus-registry.el spam-report.el
 and changed spam.el gnus.el gnus-sum.el nnmail.el gnus-start.el
   spam-stat.el gnus.texi lpath.el nnbabyl.el nnfolder.el nnimap.el
   nnmbox.el nnmh.el nnml.el replace.el simple.el basic.texi building.texi
-  commands.texi compile.el dig.el and 12 other files
+  commands.texi compile.el dig.el and 13 other files
 
 Terje Rosten: changed xfns.c version.el xterm.c xterm.h
 
@@ -2694,9 +2696,11 @@ and changed calendar.texi newsticker.texi Makefile.in
 Ulrich Leodolter: changed w32proc.c
 
 Ulrich Mueller: changed gud.el ChgPane.c ChgSel.c Makefile.in
-  XMakeAssoc.c case-table.el files.el fortran.el iso-acc.el
+  XMakeAssoc.c bibtex.el case-table.el files.el fortran.el iso-acc.el
   msdog-xtra.texi simple.el sysdep.c
 
+Ulrich Neumerkel: changed xterm.c
+
 Ulrik Vieth: wrote meta-mode.el
 and changed files.el
 
@@ -2795,7 +2799,7 @@ Yagi Tatsuya: changed gnus-art.el gnus-start.el
 Yamamoto Mitsuharu: changed macterm.c macfns.c mac-win.el mac.c macterm.h
   macmenu.c macgui.h image.c macselect.c xdisp.c keyboard.c emacs.c
   makefile.MPW config.h INSTALL Makefile.in macos.texi darwin.h
-  unexmacosx.c xfaces.c dispnew.c and 79 other files
+  unexmacosx.c xfaces.c dispnew.c and 80 other files
 
 Yann Dirson: changed imenu.el
 
@@ -2809,6 +2813,8 @@ Yoshiki Hayashi: changed texinfmt.el nnheader.el
 
 Yoshinori Koseki: changed fontset.el
 
+Yuri Shtil: changed etags.c
+
 Yutaka Niibe: changed indent.c xdisp.c configure.in Makefile.in dispnew.c
   sysdep.c config.in dired.el emacs.c fill.el fns.c gmalloc.c gnu-linux.h
   indent.h process.c simple.el term.c window.c
index 5a1880aa8e0dd138ee8c1baa5e0f9b485d577a4e..fe5f9144d0c6bc6a9382a4e2abfe7e8b012da15d 100644 (file)
@@ -42,8 +42,31 @@ below.  Emacs tries to warn you about these through `bad-packages-alist'.
 
 ** Support for GNU/kFreeBSD (GNU userland and FreeBSD kernel) was added.
 
+** Deprecated machine types and operating systems
+
+Certain machine types and operating systems have been deprecated.  On
+these systems, configure will print a warning and exit, and you must
+edit the configure script for compilation to proceed.  The deprecated
+systems will not be supported at all in Emacs 23.  We are not aware of
+anyone running Emacs on these systems; if you are, please email
+emacs-devel@gnu.org to take it off the list of deprecated systems.
+
+*** Deprecated machine types
+pmax, hp9000s300, ibm370aix, ncr386, ews4800, mips-siemens, powerpcle,
+and tandem-s2
+
+*** Deprecated operating systems
+bsd386, bsdos2-1, bsdos2, bsdos3, bsdos4, bsd4-1, bsd4-2, bsd4-3,
+usg5-0, usg5-2-2, usg5-2, usg5-3, ultrix4-3, 386bsd, hpux, hpux8,
+hpux9, hpux9shr, hpux10, hpux10-20, aix3-1, aix3-2-5, aix3-2, aix4-1,
+nextstep, ux4800, uxpds, and uxpv
+
 * Changes in Emacs 22.2
 
+** `describe-project' is renamed to `describe-gnu-project'.
+
+** `view-todo' is renamed to `view-emacs-todo'.
+
 ** `find-name-dired' now uses -iname rather than -name
 for case-insensitive filesystems.  The default behavior is determined
 by the value of `read-file-name-completion-ignore-case'; if you don't
@@ -114,7 +137,7 @@ was mistakenly scrolled on compiles after the first.  Customize
 
 *** VC backends can provide completion of revision names.
 
-*** VC backends can provide extra menu entries to be added to the "Version Control" menu.
+*** VC backends can provide extra menu entries to the "Version Control" menu.
 This can be used to add menu entries for backend specific functions.
 
 *** VC has some support for Mercurial (Hg).
@@ -145,7 +168,6 @@ first.
 ** The function invisible-p returns non-nil if the character
 after a specified position is invisible.
 
-+++
 ** inhibit-modification-hooks is bound to t while running modification hooks.
 As a happy consequence, after-change-functions and before-change-functions
 are not bound to nil any more while running an (after|before)-change-function.
@@ -166,14 +188,6 @@ of strings, undoing any quoting added by `combine-and-quote-strings'.
 (For some separator/string combinations, the original strings cannot
 be recovered.)
 
-* Systems that will not be supported in the future
-configure will print a warning and exit for a set of systems that are
-believed to not be in use anymore.  The support has not been removed
-yet, but configure will need to be edited in order to allow
-compilation to proceed on such a system.  If you are using such a
-system, please send a message to emacs-devel@gnu.org in order to take
-off the list of systems.
-
 \f
 * Installation Changes in Emacs 22.1
 
index bb2291dc3e98c4478aa28524d9b034c123417638..d13d048c98eccad09811d708d5b6de3c48a3757b 100644 (file)
@@ -1,3 +1,43 @@
+2008-03-06  Kim F. Storm  <storm@cua.dk>
+
+       * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
+       function aliases for the old names.
+
+2008-03-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * iswitchb.el (iswitchb-use-faces): Doc fix.
+       (iswitchb-buffer-ignore, iswitchb-read-buffer): Fix typos in
+       docstrings.
+
+2008-03-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
+       Fix typo.
+       (verilog-type-font-keywords): Reindent.
+
+2008-03-03  Michael McNamara  <mac@mail.brushroad.com>
+
+       * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
+       grouping-keyword regular expression.
+       (verilog-font-lock-keywords): Allow users to toggle special
+       highlight of grouping-keywords.
+       (verilog-highlight-grouping-keywords): The toggle for special
+       highlighting of grouping keywords.
+
+2008-03-02  Juri Linkov  <juri@jurta.org>
+
+       * startup.el: Revert 2008-02-28 change that adds initial message
+       to *scratch* buffer regardless of the value of
+       `inhibit-startup-screen'.
+
+2008-03-01  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
+       * textmodes/bibtex-style.el (bibtex-style-indent-basic):
+       * progmodes/verilog-mode.el (verilog-mode):
+       * net/socks.el (socks):
+       * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
+
 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
index d71fcb0e73cebf7dd7687b414538fd9cb810f5b2..7cc373e435b20693bdc2056cab9115de044e49a4 100644 (file)
@@ -1,9 +1,14 @@
 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
 
-       * lisp/gnus/gnus-bookmark.el: Adjust for renames in bookmark.el.
+       * gnus-bookmark.el: Adjust for renames in bookmark.el.
        (gnus-bookmark-make-record): Was `gnus-bookmark-make-cell'.
        (gnus-bookmark-jump): Adjust some variable names.
 
+2008-03-05  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * gnus-sum.el (gnus-print-buffer): Honor ps-print-color-p.
+       Suggested by <chris.anderton@zetnet.co.uk>.
+
 2008-03-05  Glenn Morris  <rgm@gnu.org>
 
        * gnus-art.el (gnus-article-mode-line-format-alist): Move to gnus-sum.
 2008-02-11  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus-topic.el (gnus-topic-select-group, gnus-topic-read-group):
-       Document negativ prefix.
+       Document negative prefix.
 
-       * gnus-group.el (gnus-group-read-group): Document negativ prefix.
+       * gnus-group.el (gnus-group-read-group): Document negative prefix.
 
 2008-02-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
index ce22d17168626e4dcbe048c3775cb3b053fe16ca..48232ae53f7133d396f51d289743fa1004417974 100644 (file)
@@ -9277,7 +9277,7 @@ to save in."
                          (mail-header-date gnus-current-headers) ")"))))
            (gnus-run-hooks 'gnus-ps-print-hook)
            (save-excursion
-             (if window-system
+             (if ps-print-color-p
                  (ps-spool-buffer-with-faces)
                (ps-spool-buffer)))))
       (kill-buffer buffer))))
index 30734752abf8c2e67a70e83e8a359245a262afb2..a698e87950b4877dfbdf1cd2d864750f94ff12a6 100644 (file)
@@ -315,6 +315,8 @@ If that doesn't give a function, return nil."
   (interactive)
   (view-help-file "THE-GNU-PROJECT"))
 
+(define-obsolete-function-alias 'describe-project 'describe-gnu-project "22.2")
+
 (defun describe-no-warranty ()
   "Display info on all the kinds of warranty Emacs does NOT have."
   (interactive)
@@ -418,6 +420,9 @@ With argument, display info only for the selected version."
   (interactive "P")
   (view-help-file "TODO"))
 
+(define-obsolete-function-alias 'view-todo 'view-emacs-todo "22.2")
+
+
 (defun view-echo-area-messages ()
   "View the log of recent echo-area messages: the `*Messages*' buffer.
 The number of messages retained in that buffer
index e14d8ed53f9137174c086e9012edb0b03cf0b13c..4e89659dc8d04cff358fad49b482815d456aea7f 100644 (file)
@@ -270,7 +270,7 @@ is temporarily case sensitive."
   "*List of regexps or functions matching buffer names to ignore.
 For example, traditional behavior is not to list buffers whose names begin
 with a space, for which the regexp is `^ '.  See the source file for
-example functions that filter buffernames."
+example functions that filter buffer names."
   :type '(repeat (choice regexp function))
   :group 'iswitchb)
 (put 'iswitchb-buffer-ignore 'risky-local-variable t)
@@ -354,7 +354,7 @@ See also `iswitchb-newbuffer'."
   :group 'iswitchb)
 
 (defcustom iswitchb-use-faces t
-  "*Non-nil means use font-lock fonts for showing first match."
+  "*Non-nil means use font-lock faces for showing first match."
   :type 'boolean
   :group 'iswitchb)
 (define-obsolete-variable-alias 'iswitchb-use-fonts 'iswitchb-use-faces "22.1")
@@ -606,7 +606,7 @@ Return the name of a buffer selected.
 PROMPT is the prompt to give to the user.
 DEFAULT if given is the default buffer to be selected, which will
 go to the front of the list.
-If REQUIRE-MATCH is non-nil, an existing-buffer must be selected.
+If REQUIRE-MATCH is non-nil, an existing buffer must be selected.
 If START is a string, the selection process is started with that
 string.
 If MATCHES-SET is non-nil, the buflist is not updated before
index c02db08d060bc211d14a12c74ed985f3e82dada7..40020df9a1ca5d4a736ca9fdad74351b213f84db 100644 (file)
@@ -100,6 +100,7 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"."
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (defgroup socks nil
   "SOCKS Support"
+  :version "22.2"
   :prefix "socks-"
   :group 'processes)
 
index ac7592287c028c14be09af3616e40ef1c74e7d8c..565b5e39137d27192425b227810071293f718eaf 100644 (file)
@@ -677,7 +677,7 @@ With any other arg, set comment column to indentation of the previous comment
 
 ;;;###autoload
 (defun comment-kill (arg)
-  "Kill the comment on this line, if any.
+  "Kill the first comment on this line, if any.
 With prefix ARG, kill comments on that many lines starting with this one."
   (interactive "P")
   (comment-normalize-vars)
index fd9b3d30d59e6d8edd01d595297d1978f0d0bbba..b24ccdc5bad66584f0df9652fde3d3b48bd02663 100644 (file)
 ;;; Code:
 
 ;; This variable will always hold the version number of the mode
-(defconst verilog-mode-version "399"
+(defconst verilog-mode-version "404"
   "Version of this Verilog mode.")
-(defconst verilog-mode-release-date "2008-02-19-GNU"
+(defconst verilog-mode-release-date "2008-03-02-GNU"
   "Release date of this Verilog mode.")
 (defconst verilog-mode-release-emacs t
   "If non-nil, this version of Verilog mode was released with Emacs itself.")
@@ -276,6 +276,7 @@ STRING should be given if the last search was by `string-match' on STRING."
 
 (defgroup verilog-mode nil
   "Facilitates easy editing of Verilog source text."
+  :version "22.2"
   :group 'languages)
 
 ; (defgroup verilog-mode-fonts nil
@@ -530,6 +531,15 @@ to see the effect as font color choices are cached by Emacs."
   :type 'boolean)
 (put 'verilog-highlight-p1800-keywords 'safe-local-variable 'verilog-booleanp)
 
+(defcustom verilog-highlight-grouping-keywords nil
+  "*True means highlight grouping keywords 'begin' and 'end' more dramatically.
+If false, these words are in the font-lock-type-face; if True then they are in
+`verilog-font-lock-ams-face'. Some find that special highlighting on these
+grouping constructs allow the structure of the code to be understood at a glance."
+  :group 'verilog-mode-indent
+  :type 'boolean)
+(put 'verilog-highlight-grouping-keywords 'safe-local-variable 'verilog-booleanp)
+
 (defcustom verilog-auto-endcomments t
   "*True means insert a comment /* ... */ after 'end's.
 The name of the function or case will be set between the braces."
@@ -1898,13 +1908,16 @@ See also `verilog-font-lock-extra-types'.")
         ;; Fontify all builtin keywords
         (concat "\\<\\(" verilog-font-keywords "\\|"
                       ;; And user/system tasks and functions
-                      "\\$[a-zA-Z][a-zA-Z0-9_\\$]*"
-                      "\\)\\>")
+              "\\$[a-zA-Z][a-zA-Z0-9_\\$]*"
+              "\\)\\>")
         ;; Fontify all types
-        (cons (concat "\\(\\<" verilog-font-grouping-keywords "\\)\\>") 
-              'verilog-font-lock-ams-face)
-        (cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>") 
-              'font-lock-type-face)
+        (if verilog-highlight-grouping-keywords
+            (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
+                  'verilog-font-lock-ams-face)
+          (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
+                'font-lock-type-face))
+        (cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>")
+          'font-lock-type-face)
         ;; Fontify IEEE-P1800 keywords appropriately
         (if verilog-highlight-p1800-keywords
             (cons (concat "\\<\\(" verilog-p1800-keywords "\\)\\>")
index 8ab56eee180092325488e8407ad74cf018d53ece..1f0cff2ccecba1b96e1bb9ebd734d8435e125d9e 100644 (file)
@@ -56,6 +56,7 @@ directory using `find-file'.  If t, open the `*scratch*' buffer."
 
 (defcustom inhibit-startup-screen nil
   "Non-nil inhibits the startup screen.
+It also inhibits display of the initial message in the `*scratch*' buffer.
 
 This is for use in your personal init file (but NOT site-start.el), once
 you are familiar with the contents of the startup screen."
@@ -1154,7 +1155,9 @@ opening the first frame (e.g. open a connection to an X server).")
 
 ")
   "Initial message displayed in *scratch* buffer at startup.
-If this is nil, no message will be displayed."
+If this is nil, no message will be displayed.
+If `inhibit-startup-screen' is non-nil, then no message is displayed,
+regardless of the value of this variable."
   :type '(choice (text :tag "Message")
                 (const :tag "none" nil))
   :group 'initialization)
@@ -2239,6 +2242,14 @@ A fancy display is used on graphic displays, normal otherwise."
       ;; (with-no-warnings
       ;;       (setq menubar-bindings-done t))
 
+      ;; If *scratch* exists and is empty, insert initial-scratch-message.
+      (and initial-scratch-message
+          (get-buffer "*scratch*")
+          (with-current-buffer "*scratch*"
+            (when (zerop (buffer-size))
+              (insert initial-scratch-message)
+              (set-buffer-modified-p nil))))
+
       (if (> file-count 0)
          (display-startup-screen t)
        (display-startup-screen nil)))))
index 24400ceeaf5daa395be61975aebdb089b4036367..0c5317c7d4e8f08a4b11ac9be516780b97f730ee 100644 (file)
@@ -95,6 +95,7 @@
 
 (defcustom bibtex-style-indent-basic 2
   "Basic amount of indentation to use in BibTeX Style mode."
+  :version "22.2"
   :type 'integer
   :group 'bibtex)
 
index 2359f8ff1a1b4b66f9ef4852f2e579b721b7d432..60ba63f3a59fca4826b6bfabc008bedef4e1e8cd 100644 (file)
 
 (defcustom css-electric-keys '(?\} ?\;) ;; '()
   "Self inserting keys which should trigger re-indentation."
+  :version "22.2"
   :type '(repeat character)
   :options '((?\} ?\;))
   :group 'css)
 
 (defcustom css-indent-offset 4
   "Basic size of one indentation step."
+  :version "22.2"
   :type 'integer
   :group 'css)
 
index e2002f4e782b679be9ae5401501a6c1ee71f69dc..6a7f72db44bdbcab34e890494e99f07c062c0eaf 100644 (file)
   '(("\\`[^:/#]*[:/#]" . ""))           ;Drop the host part.
   "Rewrite rules to shorten Mtn's revision names on the mode-line."
   :type '(repeat (cons regexp string))
+  :version "22.2"
   :group 'vc)
 
 (defun vc-mtn-mode-line-string (file)
index d7f8e5b9c1925211631b3919cbff599a151b3c17..0678ed7488e90d7a9674c79a8f0a2a0cb4a8efd3 100644 (file)
@@ -1,3 +1,18 @@
+2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum
+       size of resulting string.
+
+2008-03-05  Jason Rumney  <jasonr@gnu.org>
+
+       * dispnew.c (adjust_glyph_matrix): Initialize window_height.
+
+2008-03-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes.
+       Don't pretend as if characters with display property haven't been
+       consumed for string-replacing-string case.
+
 2008-03-08  Kim F. Storm  <storm@cua.dk>
 
        * xdisp.c (GET_NEXT_DISPLAY_ELEMENT): New macro.
index 096bca9d4601e07df7a9521f1e020aed9520cdb6..4f6e6374da3fc2c48c5e95e4bb0dce3ca7b42447 100644 (file)
@@ -633,7 +633,7 @@ adjust_glyph_matrix (w, matrix, x, y, dim)
   int header_line_changed_p = 0;
   int header_line_p = 0;
   int left = -1, right = -1;
-  int window_width = -1, window_height;
+  int window_width = -1, window_height = -1;
 
   /* See if W had a header line that has disappeared now, or vice versa.
      Get W's size.  */
index 4430cf4db57964057a6cb97ad23e882e985df59c..f478b4a1fada0ba5e3ced3e9bd2d0e53e49f574d 100644 (file)
@@ -2224,8 +2224,8 @@ duplicates what `expand-file-name' does.  */)
        /* Get variable value */
        o = (unsigned char *) egetenv (target);
        if (o)
-         {
-           total += strlen (o);
+         { /* Eight-bit chars occupy upto 2 bytes in multibyte.  */
+           total += strlen (o) * (STRING_MULTIBYTE (filename) ? 2 : 1);
            substituted = 1;
          }
        else if (*p == '}')
index b7a5ceec495935a2f8b118b85db2d720d9564174..add712fc85b772784d4613e8b7acf2391536feff 100644 (file)
@@ -4331,15 +4331,13 @@ handle_single_display_spec (it, spec, object, overlay, position,
             `display' property yet.  The call to pop_it in
             set_iterator_to_next will clean this up.  */
          if (BUFFERP (object))
-           it->current.pos = start_pos;
+           *position = start_pos;
        }
       else if (CONSP (value) && EQ (XCAR (value), Qspace))
        {
          it->method = GET_FROM_STRETCH;
          it->object = value;
-         it->position = start_pos;
-         if (BUFFERP (object))
-           it->current.pos = start_pos;
+         *position = it->position = start_pos;
        }
 #ifdef HAVE_WINDOW_SYSTEM
       else
@@ -4353,8 +4351,7 @@ handle_single_display_spec (it, spec, object, overlay, position,
          /* Say that we haven't consumed the characters with
             `display' property yet.  The call to pop_it in
             set_iterator_to_next will clean this up.  */
-         if (BUFFERP (object))
-           it->current.pos = start_pos;
+         *position = start_pos;
        }
 #endif /* HAVE_WINDOW_SYSTEM */