summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-03-10 00:49:47 +0000
committerMiles Bader <miles@gnu.org>2008-03-10 00:49:47 +0000
commit56388398e7a1251497f002072c061002ec9d9e81 (patch)
treeb9b4a189840efadb47820e9fc7ad447e58d4c89e
parenta9f8b49b44a4083d8e5a2429306ce41e7f3cfe0e (diff)
parent286b40657d59d8614f7a71844a6e4a7e8819da1b (diff)
downloademacs-56388398e7a1251497f002072c061002ec9d9e81.tar.gz
emacs-56388398e7a1251497f002072c061002ec9d9e81.tar.bz2
emacs-56388398e7a1251497f002072c061002ec9d9e81.zip
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
-rw-r--r--etc/AUTHORS54
-rw-r--r--etc/NEWS.2234
-rw-r--r--lisp/ChangeLog40
-rw-r--r--lisp/gnus/ChangeLog11
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/help.el5
-rw-r--r--lisp/iswitchb.el6
-rw-r--r--lisp/net/socks.el1
-rw-r--r--lisp/newcomment.el2
-rw-r--r--lisp/progmodes/verilog-mode.el29
-rw-r--r--lisp/startup.el13
-rw-r--r--lisp/textmodes/bibtex-style.el1
-rw-r--r--lisp/textmodes/css-mode.el2
-rw-r--r--lisp/vc-mtn.el1
-rw-r--r--src/ChangeLog15
-rw-r--r--src/dispnew.c2
-rw-r--r--src/fileio.c4
-rw-r--r--src/xdisp.c9
18 files changed, 171 insertions, 60 deletions
diff --git a/etc/AUTHORS b/etc/AUTHORS
index 5ff1dc83a1b..69273d8087f 100644
--- a/etc/AUTHORS
+++ b/etc/AUTHORS
@@ -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,As(Bn Lahoz Garc,Am(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
diff --git a/etc/NEWS.22 b/etc/NEWS.22
index 5a1880aa8e0..fe5f9144d0c 100644
--- a/etc/NEWS.22
+++ b/etc/NEWS.22
@@ -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.
-
* Installation Changes in Emacs 22.1
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb2291dc3e9..d13d048c98e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index d71fcb0e73c..7cc373e435b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -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.
@@ -144,9 +149,9 @@
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>
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index ce22d171686..48232ae53f7 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -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))))
diff --git a/lisp/help.el b/lisp/help.el
index 30734752abf..a698e87950b 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -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
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index e14d8ed53f9..4e89659dc8d 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -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
diff --git a/lisp/net/socks.el b/lisp/net/socks.el
index c02db08d060..40020df9a1c 100644
--- a/lisp/net/socks.el
+++ b/lisp/net/socks.el
@@ -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)
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index ac7592287c0..565b5e39137 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -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)
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index fd9b3d30d59..b24ccdc5bad 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -115,9 +115,9 @@
;;; 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 "\\)\\>")
diff --git a/lisp/startup.el b/lisp/startup.el
index 8ab56eee180..1f0cff2ccec 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -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)))))
diff --git a/lisp/textmodes/bibtex-style.el b/lisp/textmodes/bibtex-style.el
index 24400ceeaf5..0c5317c7d4e 100644
--- a/lisp/textmodes/bibtex-style.el
+++ b/lisp/textmodes/bibtex-style.el
@@ -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)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 2359f8ff1a1..60ba63f3a59 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -177,6 +177,7 @@
(defcustom css-electric-keys '(?\} ?\;) ;; '()
"Self inserting keys which should trigger re-indentation."
+ :version "22.2"
:type '(repeat character)
:options '((?\} ?\;))
:group 'css)
@@ -399,6 +400,7 @@
(defcustom css-indent-offset 4
"Basic size of one indentation step."
+ :version "22.2"
:type 'integer
:group 'css)
diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el
index e2002f4e782..6a7f72db44b 100644
--- a/lisp/vc-mtn.el
+++ b/lisp/vc-mtn.el
@@ -110,6 +110,7 @@
'(("\\`[^:/#]*[:/#]" . "")) ;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)
diff --git a/src/ChangeLog b/src/ChangeLog
index d7f8e5b9c19..0678ed7488e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/dispnew.c b/src/dispnew.c
index 096bca9d460..4f6e6374da3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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. */
diff --git a/src/fileio.c b/src/fileio.c
index 4430cf4db57..f478b4a1fad 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -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 == '}')
diff --git a/src/xdisp.c b/src/xdisp.c
index b7a5ceec495..add712fc85b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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 */