aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-16 13:36:07 +0000
committerKaroly Lorentey2004-04-16 13:36:07 +0000
commit5ffa0039d41813857b4442d435ad4f65123737c5 (patch)
tree4145589d785cf7b6bfeb760a9b761a7713f7f4dd
parentbf11e465e7de681939128d851b82689de1a54849 (diff)
parent3f0d8131f84963c112c2528a3b79760a2c8873fd (diff)
downloademacs-5ffa0039d41813857b4442d435ad4f65123737c5.tar.gz
emacs-5ffa0039d41813857b4442d435ad4f65123737c5.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-218 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-219 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-139
-rwxr-xr-xconfigure48
-rw-r--r--etc/NEWS20
-rw-r--r--lisp/ChangeLog47
-rw-r--r--lisp/bookmark.el6
-rw-r--r--lisp/progmodes/gdb-ui.el46
-rw-r--r--lisp/progmodes/gud.el16
-rw-r--r--lisp/simple.el36
-rw-r--r--lisp/smerge-mode.el17
-rw-r--r--lisp/vc-hooks.el2
-rw-r--r--lisp/vc.el2
-rw-r--r--man/ChangeLog4
-rw-r--r--man/cmdargs.texi7
-rw-r--r--src/dired.c8
13 files changed, 179 insertions, 80 deletions
diff --git a/configure b/configure
index ce011807fb2..3e2bb4f6869 100755
--- a/configure
+++ b/configure
@@ -4193,6 +4193,54 @@ then
4193fi 4193fi
4194 4194
4195 4195
4196late_LDFLAGS=$LDFLAGS
4197if test $GCC = yes; then
4198 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
4199else
4200 LDFLAGS="$LDFLAGS -znocombreloc"
4201fi
4202
4203echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4204echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4205
4206cat >conftest.$ac_ext <<_ACEOF
4207main(){return 0;}
4208_ACEOF
4209rm -f conftest.$ac_objext conftest$ac_exeext
4210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4211 (eval $ac_link) 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag"
4219 || test ! -s conftest.err'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 (eval $ac_try) 2>&5
4222 ac_status=$?
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try='test -s conftest$ac_exeext'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 (eval $ac_try) 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232echo "${ECHO_T}yes" >&6
4233else
4234 echo "$as_me: failed program was:" >&5
4235sed 's/^/| /' conftest.$ac_ext >&5
4236
4237LDFLAGS=$late_LDFLAGS
4238 echo "$as_me:$LINENO: result: no" >&5
4239echo "${ECHO_T}no" >&6
4240fi
4241rm -f conftest.err conftest.$ac_objext \
4242 conftest$ac_exeext conftest.$ac_ext
4243
4196 4244
4197echo "$as_me:$LINENO: checking for egrep" >&5 4245echo "$as_me:$LINENO: checking for egrep" >&5
4198echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4246echo $ECHO_N "checking for egrep... $ECHO_C" >&6
diff --git a/etc/NEWS b/etc/NEWS
index 6e8a5766e33..e7b2355b222 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1604,13 +1604,19 @@ candidate is a directory.
1604to the text before point. If there is text in the buffer after point, 1604to the text before point. If there is text in the buffer after point,
1605it remains unchanged. 1605it remains unchanged.
1606 1606
1607** Visual feedback of *Completions* buffer is enhanced. 1607** Enhanced visual feedback in *Completions* buffer.
1608Faces are put on the common prefix substrings and the first uncommon 1608
1609charachters of each completion candidate in the *Completions* buffer. 1609Completions lists use faces to highlight what all completions
1610`completion-de-emphasis' is put on the common prefix substrings as the 1610have in common and where they begin to differ.
1611face; and `completion-emphasis' is put on the first uncommon 1611
1612charachters. By default `completion-de-emphasis' is inherited from 1612The common prefix shared by all possible completions uses the face
1613`default' face. `completion-emphasis' is inherited from `bold' face. 1613`completions-common-part', while the first character that isn't the
1614same uses the face `completions-first-difference'. By default,
1615`completions-common-part' inherits from `default', and
1616`completions-first-difference' inherits from `bold'. The idea of
1617`completions-common-part' is that you can use it to make the common
1618parts less visible than normal, so that the rest of the differing
1619parts is, by contrast, slightly highlighted.
1614 1620
1615+++ 1621+++
1616** New user option `inhibit-startup-buffer-menu'. 1622** New user option `inhibit-startup-buffer-menu'.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8571f7edd19..c4fd4341c89 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,31 @@
12004-04-16 Andre Spiegel <spiegel@gnu.org>
2
3 * vc-hooks.el (vc-default-workfile-unchanged-p): Quote signal.
4
5 * vc.el (vc-print-log): Likewise.
6
72004-04-16 Masatake YAMATO <jet@gyve.org>
8
9 * simple.el (completion-setup-function): Set an initial value
10 to `element-common-end' before entering loop. Set a value
11 to `element-common-end' at the end of loop.
12 The bug is reported by Juri Linkov <juri@jurta.org> in emacs-devel
13 list.
14 (completions-common-part): Rename from completion-de-emphasis.
15 (completions-first-difference): Rename from completion-emphasis.
16 Suggested by RMS.
17
182004-04-16 Juanma Barranquero <lektu@terra.es>
19
20 * bookmark.el (bookmark-send-edited-annotation): Fix docstring.
21 (bookmark-edit-annotation-mode): Add mode name.
22
232004-04-15 Nick Roberts <nick@nick.uklinux.net>
24
25 * progmodes/gdb-ui.el (gdb-goto-info): New function.
26
27 * progmodes/gud.el (gud-menu-map, gud-tool-bar-map): Add help button.
28
12004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> 292004-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 30
3 * emacs-lisp/bytecomp.el (batch-byte-compile-file): 31 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
@@ -288,7 +316,7 @@
288 316
2892004-04-08 Nick Roberts <nick@nick.uklinux.net> 3172004-04-08 Nick Roberts <nick@nick.uklinux.net>
290 318
291 * progmodes/gdb-ui.el (gdb-source-window): Remove variable 319 * progmodes/gdb-ui.el (gdb-source-window): Remove variable.
292 (gdb-goto-breakpoint, gdb-display-buffer) 320 (gdb-goto-breakpoint, gdb-display-buffer)
293 (gdb-display-source-buffer, gdb-view-source-function) 321 (gdb-display-source-buffer, gdb-view-source-function)
294 (gdb-view-assembler, gdb-setup-windows, gdb-restore-windows) 322 (gdb-view-assembler, gdb-setup-windows, gdb-restore-windows)
@@ -375,19 +403,6 @@
375 * help-mode.el (help-function-def, help-variable-def): Handle hyperrefs 403 * help-mode.el (help-function-def, help-variable-def): Handle hyperrefs
376 to C source files specially. 404 to C source files specially.
377 405
3782004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * progmodes/compile.el: Require CL.
381 (compilation-mode-font-lock-keywords): Re-install the "line as
382 function" patch.
383
384 * help-fns.el (help-C-source-directory): New var.
385 (help-subr-name, help-C-file-name, help-find-C-source): New funs.
386 (describe-function-1, describe-variable): Use them.
387
388 * help-mode.el (help-function-def, help-variable-def): Handle hyperrefs
389 to C source files specially.
390
3912004-04-07 Jan Nieuwenhuizen <janneke@gnu.org> 4062004-04-07 Jan Nieuwenhuizen <janneke@gnu.org>
392 407
393 * info.el (Info-hide-cookies-node): New function. 408 * info.el (Info-hide-cookies-node): New function.
@@ -667,7 +682,7 @@
667 682
668 * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item) 683 * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item)
669 (gud-gdba-marker-filter): Log the process input and output, if 684 (gud-gdba-marker-filter): Log the process input and output, if
670 required. (from Stefan Monnier) 685 required. From Stefan Monnier.
671 (gdb-debug-log, gdb-enable-debug-log): New variables. 686 (gdb-debug-log, gdb-enable-debug-log): New variables.
672 (gdb-post-prompt): Don't do gdb-var-update on Mac OS X. 687 (gdb-post-prompt): Don't do gdb-var-update on Mac OS X.
673 688
@@ -1505,7 +1520,7 @@
1505 1520
1506 * printing.el: Replace "As Is..." in PostScript file print/preview by 1521 * printing.el: Replace "As Is..." in PostScript file print/preview by
1507 "No Preprocessing...". Suggested by Colin Marquardt 1522 "No Preprocessing...". Suggested by Colin Marquardt
1508 <marquardt@zmd.de>. 1523 <_marquardt_@zmd.de>.
1509 (pr-insert-section-4): Adjust buffer interface. 1524 (pr-insert-section-4): Adjust buffer interface.
1510 1525
15112004-02-29 Kai Grossjohann <kai.grossjohann@gmx.net> 15262004-02-29 Kai Grossjohann <kai.grossjohann@gmx.net>
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 67ae2c84865..3ed66f229a8 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -893,7 +893,8 @@ When you have finished composing, type \\[bookmark-send-annotation].
893 (make-local-variable 'bookmark-annotation-name) 893 (make-local-variable 'bookmark-annotation-name)
894 (setq bookmark-annotation-name bookmark) 894 (setq bookmark-annotation-name bookmark)
895 (use-local-map bookmark-edit-annotation-mode-map) 895 (use-local-map bookmark-edit-annotation-mode-map)
896 (setq major-mode 'bookmark-edit-annotation-mode) 896 (setq major-mode 'bookmark-edit-annotation-mode
897 mode-name "Edit Bookmark Annotation")
897 (insert (funcall bookmark-read-annotation-text-func bookmark)) 898 (insert (funcall bookmark-read-annotation-text-func bookmark))
898 (let ((annotation (bookmark-get-annotation bookmark))) 899 (let ((annotation (bookmark-get-annotation bookmark)))
899 (if (and annotation (not (string-equal annotation ""))) 900 (if (and annotation (not (string-equal annotation "")))
@@ -902,7 +903,8 @@ When you have finished composing, type \\[bookmark-send-annotation].
902 903
903 904
904(defun bookmark-send-edited-annotation () 905(defun bookmark-send-edited-annotation ()
905 "Use buffer contents (minus beginning with `#' as annotation for a bookmark." 906 "Use buffer contents as annotation for a bookmark.
907Lines beginning with `#' are ignored."
906 (interactive) 908 (interactive)
907 (if (not (eq major-mode 'bookmark-edit-annotation-mode)) 909 (if (not (eq major-mode 'bookmark-edit-annotation-mode))
908 (error "Not in bookmark-edit-annotation-mode")) 910 (error "Not in bookmark-edit-annotation-mode"))
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 5163471f47a..8446266b2f3 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -75,21 +75,32 @@ pops up the GUD buffer unless `gdb-show-main' is t. In this case
75it starts with two windows: one displaying the GUD buffer and the 75it starts with two windows: one displaying the GUD buffer and the
76other with the source file with the main routine of the debugee. 76other with the source file with the main routine of the debugee.
77 77
78If `gdb-many-windows' is t the layout below will appear 78If `gdb-many-windows' is t, regardless of the value of
79regardless of the value of `gdb-show-main' unless 79`gdb-show-main', the layout below will appear unless
80`gdb-use-inferior-io-buffer' is nil when the source buffer 80`gdb-use-inferior-io-buffer' is nil when the source buffer
81occupies the full width of the frame. Keybindings are given in 81occupies the full width of the frame. Keybindings are given in
82relevant buffer. 82relevant buffer.
83 83
84Watch expressions appear in the speedbar/slowbar.
85
86The following interactive lisp functions help control operation :
87
88`gdb-many-windows' - Toggle the number of windows gdb uses.
89`gdb-restore-windows' - To restore the window layout.
90
91See Info node `(emacs)GDB Graphical Interface' for a more
92detailed description of this mode.
93
94
84--------------------------------------------------------------------- 95---------------------------------------------------------------------
85 GDB Toolbar 96 GDB Toolbar
86--------------------------------------------------------------------- 97---------------------------------------------------------------------
87GUD buffer (I/O of GDB) | Locals buffer 98 GUD buffer (I/O of GDB) | Locals buffer
88 | 99 |
89 | 100 |
90 | 101 |
91--------------------------------------------------------------------- 102---------------------------------------------------------------------
92Source buffer | Input/Output (of debugee) buffer 103 Source buffer | Input/Output (of debugee) buffer
93 | (comint-mode) 104 | (comint-mode)
94 | 105 |
95 | 106 |
@@ -98,28 +109,12 @@ Source buffer | Input/Output (of debugee) buffer
98 | 109 |
99 | 110 |
100--------------------------------------------------------------------- 111---------------------------------------------------------------------
101Stack buffer | Breakpoints buffer 112 Stack buffer | Breakpoints buffer
102 RET gdb-frames-select | SPC gdb-toggle-breakpoint 113 RET gdb-frames-select | SPC gdb-toggle-breakpoint
103 | RET gdb-goto-breakpoint 114 | RET gdb-goto-breakpoint
104 | d gdb-delete-breakpoint 115 | d gdb-delete-breakpoint
105--------------------------------------------------------------------- 116---------------------------------------------------------------------
106 117"
107All the buffers share the toolbar and source should always display in the same
108window e.g after typing g on a breakpoint in the breakpoints buffer. Breakpoint
109icons are displayed both by setting a break with gud-break and by typing break
110in the GUD buffer.
111
112This works best (depending on the size of your monitor) using most of the
113screen.
114
115Displayed expressions appear in separate frames. Arrays may be displayed
116as slices and visualised using the graph program from plotutils if installed.
117Pointers in structures may be followed in a tree-like fashion.
118
119The following interactive lisp functions help control operation :
120
121`gdb-many-windows' - Toggle the number of windows gdb uses.
122`gdb-restore-windows' - To restore the window layout."
123 ;; 118 ;;
124 (interactive (list (gud-query-cmdline 'gdba))) 119 (interactive (list (gud-query-cmdline 'gdba)))
125 ;; 120 ;;
@@ -224,6 +219,11 @@ speedbar."
224 `(lambda () (gdb-var-create-handler ,expr)))))) 219 `(lambda () (gdb-var-create-handler ,expr))))))
225 (select-window (get-buffer-window gud-comint-buffer))) 220 (select-window (get-buffer-window gud-comint-buffer)))
226 221
222(defun gdb-goto-info ()
223 (interactive)
224 (select-frame (make-frame))
225 (Info-goto-node "(emacs)GDB Graphical Interface"))
226
227(defconst gdb-var-create-regexp 227(defconst gdb-var-create-regexp
228"name=\"\\(.*?\\)\",numchild=\"\\(.*?\\)\",type=\"\\(.*?\\)\"") 228"name=\"\\(.*?\\)\",numchild=\"\\(.*?\\)\",type=\"\\(.*?\\)\"")
229 229
@@ -1656,7 +1656,7 @@ the source buffer."
1656 (other-window 1)) 1656 (other-window 1))
1657 1657
1658(defcustom gdb-many-windows nil 1658(defcustom gdb-many-windows nil
1659 "Nil (the default value) means just pops up the GUD buffer 1659 "Nil (the default value) means just pop up the GUD buffer
1660unless `gdb-show-main' is t. In this case it starts with two 1660unless `gdb-show-main' is t. In this case it starts with two
1661windows: one displaying the GUD buffer and the other with the 1661windows: one displaying the GUD buffer and the other with the
1662source file with the main routine of the debugee. Non-nil means 1662source file with the main routine of the debugee. Non-nil means
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index a34b0bb2d48..4627f2ac639 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -92,7 +92,9 @@ If SOFT is non-nil, returns nil if the symbol doesn't already exist."
92Used to grey out relevant toolbar icons.") 92Used to grey out relevant toolbar icons.")
93 93
94(easy-mmode-defmap gud-menu-map 94(easy-mmode-defmap gud-menu-map
95 '(([refresh] "Refresh" . gud-refresh) 95 '(([help] menu-item "Help" gdb-goto-info
96 :enable (eq gud-minor-mode 'gdba))
97 ([refresh] "Refresh" . gud-refresh)
96 ([run] menu-item "Run" gud-run 98 ([run] menu-item "Run" gud-run
97 :enable (and (not gud-running) 99 :enable (and (not gud-running)
98 (memq gud-minor-mode '(gdba gdb dbx jdb)))) 100 (memq gud-minor-mode '(gdba gdb dbx jdb))))
@@ -116,20 +118,17 @@ Used to grey out relevant toolbar icons.")
116 ([print] menu-item "Print Expression" gud-print 118 ([print] menu-item "Print Expression" gud-print
117 :enable (not gud-running)) 119 :enable (not gud-running))
118 ([watch] menu-item "Watch Expression" gud-watch 120 ([watch] menu-item "Watch Expression" gud-watch
119 :enable (and (not gud-running) 121 :enable (and (not gud-running) (eq gud-minor-mode 'gdba)))
120 (eq gud-minor-mode 'gdba)))
121 ([finish] menu-item "Finish Function" gud-finish 122 ([finish] menu-item "Finish Function" gud-finish
122 :enable (and (not gud-running) 123 :enable (and (not gud-running)
123 (memq gud-minor-mode 124 (memq gud-minor-mode
124 '(gdba gdb xdb jdb pdb bashdb)))) 125 '(gdba gdb xdb jdb pdb bashdb))))
125 ([stepi] menu-item "Step Instruction" gud-stepi 126 ([stepi] menu-item "Step Instruction" gud-stepi
126 :enable (and (not gud-running) 127 :enable (and (not gud-running)
127 (memq gud-minor-mode 128 (memq gud-minor-mode '(gdba gdb dbx))))
128 '(gdba gdb dbx))))
129 ([nexti] menu-item "Next Instruction" gud-nexti 129 ([nexti] menu-item "Next Instruction" gud-nexti
130 :enable (and (not gud-running) 130 :enable (and (not gud-running)
131 (memq gud-minor-mode 131 (memq gud-minor-mode '(gdba gdb dbx))))
132 '(gdba gdb dbx))))
133 ([step] menu-item "Step Line" gud-step 132 ([step] menu-item "Step Line" gud-step
134 :enable (not gud-running)) 133 :enable (not gud-running))
135 ([next] menu-item "Next Line" gud-next 134 ([next] menu-item "Next Line" gud-next
@@ -171,7 +170,8 @@ Used to grey out relevant toolbar icons.")
171 (gud-stepi . "gud-si") 170 (gud-stepi . "gud-si")
172 (gud-nexti . "gud-ni") 171 (gud-nexti . "gud-ni")
173 (gud-up . "gud-up") 172 (gud-up . "gud-up")
174 (gud-down . "gud-down")) 173 (gud-down . "gud-down")
174 (gdb-goto-info . "help"))
175 map) 175 map)
176 (tool-bar-local-item-from-menu 176 (tool-bar-local-item-from-menu
177 (car x) (cdr x) map gud-minor-mode-map))))) 177 (car x) (cdr x) map gud-minor-mode-map)))))
diff --git a/lisp/simple.el b/lisp/simple.el
index 13cb63af240..92cdb33fca1 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -987,7 +987,7 @@ as an argument limits undo to changes within the current region."
987 (undo-start)) 987 (undo-start))
988 ;; get rid of initial undo boundary 988 ;; get rid of initial undo boundary
989 (undo-more 1)) 989 (undo-more 1))
990 ;; If we got this far, the next command should be a consecutive undo. 990 ;; If we got this far, the next command should be a consecutive undo.
991 (setq this-command 'undo) 991 (setq this-command 'undo)
992 ;; Check to see whether we're hitting a redo record, and if 992 ;; Check to see whether we're hitting a redo record, and if
993 ;; so, ask the user whether she wants to skip the redo/undo pair. 993 ;; so, ask the user whether she wants to skip the redo/undo pair.
@@ -4120,12 +4120,12 @@ The completion list buffer is available as the value of `standard-output'.")
4120 4120
4121;; This function goes in completion-setup-hook, so that it is called 4121;; This function goes in completion-setup-hook, so that it is called
4122;; after the text of the completion list buffer is written. 4122;; after the text of the completion list buffer is written.
4123(defface completion-emphasis 4123(defface completions-first-difference
4124 '((t (:inherit bold))) 4124 '((t (:inherit bold)))
4125 "Face put on the first uncommon character in completions in *Completions* buffer." 4125 "Face put on the first uncommon character in completions in *Completions* buffer."
4126 :group 'completion) 4126 :group 'completion)
4127 4127
4128(defface completion-de-emphasis 4128(defface completions-common-part
4129 '((t (:inherit default))) 4129 '((t (:inherit default)))
4130 "Face put on the common prefix substring in completions in *Completions* buffer." 4130 "Face put on the common prefix substring in completions in *Completions* buffer."
4131 :group 'completion) 4131 :group 'completion)
@@ -4158,26 +4158,28 @@ The completion list buffer is available as the value of `standard-output'.")
4158 (save-match-data 4158 (save-match-data
4159 (if (minibufferp mainbuf) 4159 (if (minibufferp mainbuf)
4160 (setq completion-base-size 0)))) 4160 (setq completion-base-size 0))))
4161 ;; Put emphasis and de-emphasis faces on completions. 4161 ;; Put faces on first uncommon characters and common parts.
4162 (when completion-base-size 4162 (when completion-base-size
4163 (let ((common-string-length (length 4163 (let* ((common-string-length (length
4164 (substring mbuf-contents 4164 (substring mbuf-contents
4165 completion-base-size))) 4165 completion-base-size)))
4166 (element-start (next-single-property-change 4166 (element-start (next-single-property-change
4167 (point-min) 4167 (point-min)
4168 'mouse-face)) 4168 'mouse-face))
4169 element-common-end) 4169 (element-common-end (+ element-start common-string-length))
4170 (while element-start 4170 (maxp (point-max)))
4171 (setq element-common-end (+ element-start common-string-length)) 4171 (while (and element-start (< element-common-end maxp))
4172 (when (and (get-char-property element-start 'mouse-face) 4172 (when (and (get-char-property element-start 'mouse-face)
4173 (get-char-property element-common-end 'mouse-face)) 4173 (get-char-property element-common-end 'mouse-face))
4174 (put-text-property element-start element-common-end 4174 (put-text-property element-start element-common-end
4175 'font-lock-face 'completion-de-emphasis) 4175 'font-lock-face 'completions-common-part)
4176 (put-text-property element-common-end (1+ element-common-end) 4176 (put-text-property element-common-end (1+ element-common-end)
4177 'font-lock-face 'completion-emphasis)) 4177 'font-lock-face 'completions-first-difference))
4178 (setq element-start (next-single-property-change 4178 (setq element-start (next-single-property-change
4179 element-start 4179 element-start
4180 'mouse-face))))) 4180 'mouse-face))
4181 (if element-start
4182 (setq element-common-end (+ element-start common-string-length))))))
4181 ;; Insert help string. 4183 ;; Insert help string.
4182 (goto-char (point-min)) 4184 (goto-char (point-min))
4183 (if (display-mouse-p) 4185 (if (display-mouse-p)
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el
index bd4d8d04a6f..8194a7d8e21 100644
--- a/lisp/smerge-mode.el
+++ b/lisp/smerge-mode.el
@@ -477,6 +477,13 @@ An error is raised if not inside a conflict."
477 477
478 ;; handle the various conflict styles 478 ;; handle the various conflict styles
479 (cond 479 (cond
480 ((save-excursion
481 (goto-char mine-start)
482 (re-search-forward smerge-begin-re end t))
483 ;; There's a nested conflict and we're after the the beginning
484 ;; of the outer one but before the beginning of the inner one.
485 (error "There is a nested conflict"))
486
480 ((re-search-backward smerge-base-re start t) 487 ((re-search-backward smerge-base-re start t)
481 ;; a 3-parts conflict 488 ;; a 3-parts conflict
482 (set (make-local-variable 'smerge-conflict-style) 'diff3-A) 489 (set (make-local-variable 'smerge-conflict-style) 'diff3-A)
@@ -521,9 +528,11 @@ The submatches are the same as in `smerge-match-conflict'.
521Returns non-nil if a match is found between the point and LIMIT. 528Returns non-nil if a match is found between the point and LIMIT.
522The point is moved to the end of the conflict." 529The point is moved to the end of the conflict."
523 (when (re-search-forward smerge-begin-re limit t) 530 (when (re-search-forward smerge-begin-re limit t)
524 (ignore-errors 531 (condition-case err
525 (smerge-match-conflict) 532 (progn
526 (goto-char (match-end 0))))) 533 (smerge-match-conflict)
534 (goto-char (match-end 0)))
535 (error (smerge-find-conflict limit)))))
527 536
528(defun smerge-diff (n1 n2) 537(defun smerge-diff (n1 n2)
529 (smerge-match-conflict) 538 (smerge-match-conflict)
@@ -673,5 +682,5 @@ buffer names."
673 682
674(provide 'smerge-mode) 683(provide 'smerge-mode)
675 684
676;;; arch-tag: 605c8d1e-e43d-4943-a6f3-1bcc4333e690 685;; arch-tag: 605c8d1e-e43d-4943-a6f3-1bcc4333e690
677;;; smerge-mode.el ends here 686;;; smerge-mode.el ends here
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index e223599c535..32908a26afa 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -475,7 +475,7 @@ Return non-nil if FILE is unchanged."
475 (vc-find-backend-function (vc-backend file) 475 (vc-find-backend-function (vc-backend file)
476 'diff)))) 476 'diff))))
477 (not (eq (caddr err) 5))) 477 (not (eq (caddr err) 5)))
478 (signal wrong-number-of-arguments err) 478 (signal 'wrong-number-of-arguments err)
479 (vc-call diff file)))))) 479 (vc-call diff file))))))
480 480
481(defun vc-workfile-version (file) 481(defun vc-workfile-version (file)
diff --git a/lisp/vc.el b/lisp/vc.el
index 40afba81161..ba1972a0d6a 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2361,7 +2361,7 @@ If FOCUS-REV is non-nil, leave the point at that revision."
2361 (vc-find-backend-function (vc-backend file) 2361 (vc-find-backend-function (vc-backend file)
2362 'print-log)))) 2362 'print-log))))
2363 (not (eq (caddr err) 2))) 2363 (not (eq (caddr err) 2)))
2364 (signal wrong-number-of-arguments err) 2364 (signal 'wrong-number-of-arguments err)
2365 ;; for backward compatibility 2365 ;; for backward compatibility
2366 (vc-call print-log file) 2366 (vc-call print-log file)
2367 (set-buffer "*vc*")))) 2367 (set-buffer "*vc*"))))
diff --git a/man/ChangeLog b/man/ChangeLog
index 66ff49e2ced..44bb74b2061 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12004-04-15 Kim F. Storm <storm@cua.dk>
2
3 * cmdargs.texi (Initial Options): Add -Q.
4
12004-04-05 Kim F. Storm <storm@cua.dk> 52004-04-05 Kim F. Storm <storm@cua.dk>
2 6
3 * custom.texi (File Variables): Add safe-local-eval-forms. 7 * custom.texi (File Variables): Add safe-local-eval-forms.
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index 3daf96f0d00..f528b804c72 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -259,6 +259,13 @@ Do not load @file{site-start.el}. The options @samp{-q}, @samp{-u}
259and @samp{--batch} have no effect on the loading of this file---this is 259and @samp{--batch} have no effect on the loading of this file---this is
260the only option that blocks it. 260the only option that blocks it.
261 261
262@item -Q
263@opindex -Q
264Start emacs with minimum customizations and window decorations.
265This is like using @samp{-q} and @samp{--no-site-file}, but in
266addition it also disables the menu-bar, the tool-bar, the scroll-bars,
267tool tips, the blinking cursor, and the fancy startup screen.
268
262@item --no-splash 269@item --no-splash
263@opindex --no-splash 270@opindex --no-splash
264@vindex inhibit-startup-message 271@vindex inhibit-startup-message
diff --git a/src/dired.c b/src/dired.c
index f4102ff6edb..e833ceb216b 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -914,7 +914,13 @@ Elements of the attribute list are:
914 call the corresponding file handler. */ 914 call the corresponding file handler. */
915 handler = Ffind_file_name_handler (filename, Qfile_attributes); 915 handler = Ffind_file_name_handler (filename, Qfile_attributes);
916 if (!NILP (handler)) 916 if (!NILP (handler))
917 return call3 (handler, Qfile_attributes, filename, id_format); 917 { /* Only pass the extra arg if it is used to help backward compatibility
918 with old file handlers which do not implement the new arg. --Stef */
919 if (NILP (id_format))
920 return call2 (handler, Qfile_attributes, filename);
921 else
922 return call3 (handler, Qfile_attributes, filename, id_format);
923 }
918 924
919 encoded = ENCODE_FILE (filename); 925 encoded = ENCODE_FILE (filename);
920 926