1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00
Commit Graph

74667 Commits

Author SHA1 Message Date
Juri Linkov
c066bafa71 (Text from Minibuffer, Minibuffer Completion, High-Level Completion):
Document a list of default value strings in the DEFAULT argument,
for which minibuffer functions return the first element.
2007-10-22 00:30:11 +00:00
Juri Linkov
eabd84c93d (Minibuffer History): Add text about a list of minibuffer default values. 2007-10-22 00:28:52 +00:00
Juri Linkov
5420b51477 (dired-guess-shell-command): Put all guesses to the
minibuffer default value list instead of pushing them temporarily
to the history list.
2007-10-22 00:22:56 +00:00
Juri Linkov
fb30dfd235 Allow minibuffer default to be a list of default values.
With empty input use the first element of this list as returned default.
(string_to_object):
(read_minibuf_noninteractive):  If defalt is cons, set val to its car.
(read_minibuf): If defalt is cons, set histstring to its car.
(Fread_string): If default_value is cons, set val to its car.
(Fread_buffer): If def is cons, use its car.
(Fcompleting_read): If defalt is cons, set val to its car.
2007-10-22 00:20:06 +00:00
Juri Linkov
b38fc7f11a (goto-history-element): Allow minibuffer-default to be
a list of default values accessible by typing M-n in the minibuffer.
2007-10-22 00:17:55 +00:00
Stefan Monnier
538a93d833 (byte-optimize-featurep): Fix paren typo. 2007-10-21 20:10:06 +00:00
Dan Nicolaescu
200fe89b7c * w32-fns.el (w32-quote-process-args):
* dos-w32.el (print-region-function, lpr-headers-switches)
(ps-print-region-function): Pacify byte-compiler.
2007-10-21 19:35:11 +00:00
Dan Nicolaescu
f82460271e * emulation/edt-mapper.el (function-key-map):
(edt-map-key): Make it a function instead of using fset. Inline
edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
(edt-gnu-map-key, edt-lucid-map-key): Remove.
(edt-x-emacs-p): Remove.
(edt-emacs-variant, edt-window-system, edt-xserver):
Use featurep 'xemacs.

* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
Replace eudc-xemacs-p with its definition.
(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
(eudc-emacs-mule-p): Remove.
(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
eudc-xemacs-p with feature tests.

* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
(eudc-bob-url-keymap, eudc-bob-sound-keymap)
(eudc-bob-generic-keymap, eudc-bob-popup-menu)
(eudc-bob-toggle-inline-display):
* net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
eudc-emacs-p and eudc-xemacs-p with feature tests.

* net/eudcb-ph.el (eudc-ph-open-session): Replace
eudc-xemacs-mule-p with its former definition.

* progmodes/octave-mod.el (octave-xemacs-p): Remove.
(octave-abbrev-start): Replace octave-xemacs-p with
(featurep 'xemacs).

* progmodes/vera-mode.el (vera-xemacs): Remove.
(vera-mode-syntax-table): Replace vera-xemacs with
(featurep 'xemacs).

* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
(vhdl-speedbar-initialize, vhdl-ps-print-init)
(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
with (featurep 'xemacs).

* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
(save-buffer-state-x):
* obsolete/fast-lock.el (fast-lock-verbose):
* emulation/viper-init.el (viper-xemacs-p)
(viper-cond-compile-for-xemacs-or-emacs):
* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
* ps-print.el (case-fold-search):
* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
* calculator.el (calculator-help): Use featurep 'xemacs.
2007-10-21 17:22:04 +00:00
Dan Nicolaescu
3cd79f623b * progmodes/prolog.el: Undo previous change.
(comint-prompt-regexp, comint-process-echoes): Pacify
byte-compiler.

* progmodes/dcl-mode.el:
* play/yow.el:
* calendar/todo-mode.el:
* calendar/cal-hebrew.el:
* vc-hg.el: Undo previous change.

* vms-patch.el: Likewise.
(print-region-function): Pacify byte-compiler.
2007-10-21 14:54:34 +00:00
Michael Albinus
dd75368812 * tramp.texi (Cleanup remote connections): New section.
(Password caching): Remove `tramp-clear-passwd'.  It's not a command
anymore.
(Bug Reports): Add `tramp-bug' to function index.
(Function Index, Variable Index): New nodes.
(Remote shell setup): Describe `tramp-password-prompt-regexp'.

* trampver.texi: Update release number.
2007-10-21 14:11:18 +00:00
Michael Albinus
9c13938d8e * net/tramp.el (top): Put load of all tramp-* files into a dolist.
Require tramp-cmds.el.
(tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
(tramp-handle-file-name-all-completions): Expand DIRECTORY.
 (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `make-temp-name'.  This is
possible, because we don't need to create the temporary file, but
we need a prefix for ssh, which has its own temporary file
handling.
(tramp-handle-delete-directory): Add "-f" to rmdir.
(tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
(tramp-handle-insert-file-contents): Don't raise a tramp-error but
a signal, in order to give the callee a chance to suppress.
(tramp-handle-write-region): Set owner also in case of short
track.  Don't use compatibility calls for `write-region' anymore.
(tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
(tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.

* net/tramp-cmds.el: New file.

* net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
`tramp-clear-passwd'.

* net/trampver.el: Update release number.
2007-10-21 14:02:38 +00:00
Juanma Barranquero
ba63d44107 *** empty log message *** 2007-10-21 12:25:52 +00:00
Michael Albinus
1f163f2814 * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. 2007-10-21 10:53:16 +00:00
Michael Albinus
5b2e628f4c * files.el (backup-buffer-copy): Call `copy-file' with non-nil
preserve-uid-gid.

* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
compatibility.  It is not used, though.
2007-10-21 10:48:28 +00:00
Martin Rudalics
74e248f328 *** empty log message *** 2007-10-21 07:53:45 +00:00
Dan Nicolaescu
2f42c75fb0 * progmodes/gud.el (gud-target-name): Move definition before use.
* progmodes/dcl-mode.el: Require imenu at compile time.

* progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify
byte-compiler.

* obsolete/fast-lock.el: Use featurep test instead of
string-match.

* eshell/esh-mode.el (eshell-handle-ansi-color): Require
ansi-color at compile time too.

* eshell/em-unix.el (eshell/info): Require info at compile time
too.

* w32-fns.el: Require w32-vars.

* diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
time too.
2007-10-21 07:33:32 +00:00
Dan Nicolaescu
3b0664df03 Undo previous change. 2007-10-21 03:39:23 +00:00
Stefan Monnier
c46f60a821 ([ignore]): Use ignore.
(double-setup): Inline into double-mode.
(double-mode): Use define-minor-mode.
2007-10-21 02:35:16 +00:00
Dan Nicolaescu
729f1525da * textmodes/reftex.el: Move require easymenu before first use.
(reftex-info): Require info at compile too.

* textmodes/org-publish.el (org-publish-org-to-html)
(org-publish-org-to): Require org at compile time too.
(org-publish-attachment): Require at compile time too.

* term/tty-colors.el (w32-tty-standard-colors): Pacify
byte-compiler.

* term/pc-win.el (frame-creation-function-alist): Add to this
instead of setting frame-creation-function.

* play/blackbox.el (bb-up, bb-down): Use forward-line.

* net/rcirc.el (rcirc-markup-text-functions): Move definition
earlier.

* calendar/todo-mode.el: Require calendar at compile time.

* calendar/cal-islam.el: Require diary-lib at compile time.

* calendar/cal-hebrew.el: Require diary-lib and holidays at
compile time.

* w32-vars.el: Provide w32-vars.

* term/w32-win.el: Require w32-vars.
(w32-color-map): Pacify byte-compiler.

* loadup.el: Load w32-wars before term/w32-win.
2007-10-21 00:24:32 +00:00
Juri Linkov
64b53a1f5a (fill-paragraph): When the region is active, don't try other `or' branches
regardless of the value returned by fill-region; just return t.
2007-10-20 23:55:30 +00:00
Eric S. Raymond
675007bc7c *** empty log message *** 2007-10-20 21:10:32 +00:00
Eric S. Raymond
ccd9fab66a Restore vc-next-action functionality of registering files. 2007-10-20 21:02:46 +00:00
Juanma Barranquero
db3534c36a (Fdocumentation): Check for advice in all cases. 2007-10-20 20:21:42 +00:00
Martin Rudalics
6554da9965 *** empty log message *** 2007-10-20 17:02:54 +00:00
Eric S. Raymond
e0752dd75b Condition out a misleading message. 2007-10-20 16:34:44 +00:00
Jay Belanger
437806ed0b Add some recent news. 2007-10-20 15:51:12 +00:00
Jay Belanger
9c26440366 (Trigonometric and Hyperbolic Functions): Fix typo. 2007-10-20 15:38:24 +00:00
Jason Rumney
059d1e6662 (info-nmake): Change into correct directories. 2007-10-20 13:05:54 +00:00
Eli Zaretskii
3a1ebd63a6 A better solution for the last change:
(docflags, doldflags): New variables.
(genmakefiles): Use them to work around problems with whitespace in
arguments of the `if' command.
2007-10-20 12:28:52 +00:00
Eli Zaretskii
6d005ee796 (usercflags, userldflags): Quote %1. 2007-10-20 11:33:03 +00:00
Dan Nicolaescu
d5d1f5fdd8 * play/decipher.el (decipher-keypress): Use forward-line. 2007-10-20 06:53:06 +00:00
Dan Nicolaescu
975460179e * term/x-win.el (x-gtk-stock-map, icon-map-list)
(x-gtk-map-stock): Delete duplicated definitions from merge.

* progmodes/octave-mod.el: Require octave-inf at compile time

* progmodes/compile.el (compilation-skip-to-next-location)
(compilation-skip-threshold, compilation-skip-visited): Move
definitions earlier.

* play/zone.el (zone-fall-through-ws):
* play/landmark.el (lm-move-down, lm-move-up):
* play/handwrite.el (handwrite):
* mail/mspools.el (mspools-visit-spool):
* wdired.el (wdired-next-line, wdired-previous-line):
* tar-mode.el (tar-subfile-save-buffer):
* scroll-lock.el (scroll-lock-next-line)
(scroll-lock-previous-line):
* image-dired.el (image-dired-next-line)
(image-dired-previous-line):
* ediff-help.el (ediff-help-message-line-length): Use
forward-line.

* smerge-mode.el (smerge-auto-refine):
* diff-mode.el (diff-auto-refine): Add :group.

* play/yow.el: Require doctor at compile time.

* vmsproc.el: Provide vmsproc.
(command-send-input): Use forward-line.

* vms-patch.el: Require ps-print and vmsproc at compile time.

* vc-mtn.el (log-view-message-re, log-view-file-re)
(log-view-font-lock-keywords): Pacify byte-compiler.

* vc-hg.el: Require log-view at compile time.
2007-10-20 06:30:18 +00:00
Kenichi Handa
fbd80e28b7 ("\\qed"): Add this rule. 2007-10-20 06:26:37 +00:00
Eric S. Raymond
dce693f89b Adapt log-view-diff for new VC API. 2007-10-20 04:39:42 +00:00
Eric S. Raymond
0b43c7e24f Disambiguate two slightly different uses of the term 'filesets'. 2007-10-20 04:24:26 +00:00
Glenn Morris
dd026a6a38 (f90-font-lock-keywords-2, f90-looking-at-type-like): Fix regexp typos. 2007-10-20 03:56:39 +00:00
Miles Bader
f76840f36c Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 129-130)

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

 * gnus--rel--5.10  (patch 259-260)

   - Merge from emacs--rel--22
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-900
2007-10-20 02:21:09 +00:00
Miles Bader
5255e3ffc7 Merge from gnus--rel--5.10
Patches applied:

 * gnus--rel--5.10  (patch 259-260)

   - Merge from emacs--rel--22
   - Update from CVS

2007-10-18  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Use rmail-dont-reply-to to
   exclude address matching message-dont-reply-to-names.

Revision: emacs@sv.gnu.org/emacs--rel--22--patch-130
2007-10-20 02:22:19 +00:00
Stefan Monnier
c3bb6fdbcb *** empty log message *** 2007-10-20 02:04:43 +00:00
Stefan Monnier
2659df6808 (diff-auto-refine): New var.
(diff-hunk): Use it.
(diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
(diff-refine-change): Rename from diff-fine-change.  Change it.
(diff-refine-preproc): Rename from diff-fine-highlight-preproc.
(diff-refine-hunk): Rename from diff-fine-highlight.
2007-10-20 02:02:22 +00:00
John Paul Wallington
83ea55432c *** empty log message *** 2007-10-20 01:53:11 +00:00
Stefan Monnier
2daf4bc667 (smerge-auto-refine): New var.
(smerge-next, smerge-prev): Use it.
(smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.
2007-10-20 01:52:22 +00:00
John Paul Wallington
05849e2ab9 (describe-variable-custom-version-info): New function to return
variable's version or package version note.
(describe-variable): Use it, display result.
2007-10-20 01:50:38 +00:00
Stefan Monnier
cc34934141 (easy-mmode-define-navigation):
Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
2007-10-20 01:46:38 +00:00
Stefan Monnier
54a2247d6e * vc-bzr.el (vc-bzr-diff-tree):
* vc-git.el (vc-git-diff-tree):
* vc-hg.el (vc-hg-diff-tree):
* vc-mcvs.el (vc-mcvs-diff-tree):
* vc-mtn.el (vc-mtn-diff-tree):
* vc-svn.el (vc-svn-diff-tree): Remove.
2007-10-20 01:28:35 +00:00
Stefan Monnier
844b90ae59 (vc-mtn-revision-completion-table):Make it work when the arg is a list of files. 2007-10-20 01:13:10 +00:00
Stefan Monnier
87d1a48e20 (vc-hg-revision-completion-table, vc-hg-revision-table): Make it work when the
arg is a list of files.
2007-10-20 01:11:18 +00:00
Stefan Monnier
9f11ce4ec3 (vc-git-revision-completion-table, vc-git-revision-table):
Make it work when the arg is a list of files.
2007-10-20 01:09:59 +00:00
Stefan Monnier
32c58c4725 (vc-cvs-revision-completion-table): Make it work when the
arg is a list of files.
2007-10-20 01:07:52 +00:00
Stefan Monnier
a44d450b8c (vc-arch-revision-completion-table): Make it work when the
arg is a list of files.
2007-10-20 01:05:50 +00:00