1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 03:11:54 -07:00
Commit graph

12331 commits

Author SHA1 Message Date
Juanma Barranquero
08446d5eeb (server-unload-function): Rename from `server-unload-hook' and
adapt to new `unload-feature' functionality.  Remove hook from
`kill-buffer-hook' buffer-locally.
(server-unload-hook): Remove.
(server-unload-function): New var; replaces `server-unload-hook'.
2007-10-29 00:51:51 +00:00
Glenn Morris
042be1d3ec Update commentary. 2007-10-29 00:40:27 +00:00
Glenn Morris
0731baf4e6 Fix typo. 2007-10-29 00:27:55 +00:00
Glenn Morris
bdf5c7d9ae Fix typo in previous change. 2007-10-29 00:22:23 +00:00
Glenn Morris
cf637a3431 (byte-compile-warnings): Document `not'.
(byte-compile-warnings-safe-p): Handle `not'.
(byte-compile-warning-enabled-p, byte-compile-disable-warning)
(byte-compile-enable-warning): New functions.
(byte-compile-eval-before-compile)
(byte-compile-file-form-require): Use byte-compile-disable-warning.
(byte-compile-close-variables): Locally bind byte-compile-warnings,
but do not modify it.
(byte-compile-eval, byte-compile-obsolete)
(byte-compile-warn-about-unresolved-functions)
(byte-compile-file-form-defvar)
(byte-compile-file-form-custom-declare-variable)
(byte-compile-file-form-require)
(byte-compile-file-form-defmumble, byte-compile-lambda)
(byte-compile-form, byte-compile-normal-call)
(byte-compile-variable-ref, byte-compile-defvar)
(byte-compile-make-variable-buffer-local):
Use byte-compile-warning-enabled-p.
2007-10-28 23:53:06 +00:00
Dan Nicolaescu
a7f58f4be2 * cus-edit.el (custom-browse-insert-prefix):
* emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.
2007-10-28 17:39:49 +00:00
Juanma Barranquero
c48254fbbf (server-process-filter): Fix typo in docstring.
(server-log): Reflow docstrings.
(server-delete-client, server-kill-emacs-query-function): Doc fixes.
(server-goto-line-column): Use `when'.
2007-10-28 15:17:08 +00:00
Juri Linkov
72a69d7f81 (isearch-other-meta-char): Call `isearch-edit-string' when mouse is
clicked on the isearch message.
(isearch-resume): Call `isearch-update' at the end.  Rename argument
`search' to `string' to conform to the isearch terminology.
2007-10-28 14:49:41 +00:00
Vinicius Jose Latorre
ccae01a639 Detect if text foreground and background are equals 2007-10-28 04:58:17 +00:00
Stefan Monnier
e047f44883 Rewrite abbrev.c in Elisp.
* image.c (Qcount): Don't declare as extern.
(syms_of_image): Initialize and staticpro `Qcount'.
* puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
* emacs.c (main): Don't call syms_of_abbrev.
* Makefile.in (obj): Remove abbrev.o.
(abbrev.o): Remove.
* abbrev.c: Remove.

Rewrite abbrev.c in Elisp.
* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
(abbrev-table-get, abbrev-table-put, abbrev-get)
(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
(define-abbrev, abbrev--check-chars, define-global-abbrev)
(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
(abbrev-expansion, abbrev--before-point, expand-abbrev)
(unexpand-abbrev, abbrev--write, abbrev--describe)
(insert-abbrev-table-description, define-abbrev-table):
New funs, largely transcribed from abbrev.c.
(abbrev-with-wrapper-hook): New macro.
(abbrev-table-name-list, global-abbrev-table)
(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
New vars, largely transcribed from abbrev.c.
* cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
* loadup.el: Load "abbrev.el" before "lisp-mode.el".
2007-10-28 02:41:00 +00:00
Glenn Morris
2161a8ac98 *** empty log message *** 2007-10-27 22:14:44 +00:00
Jay Belanger
ecaf7186aa *** empty log message *** 2007-10-27 20:56:47 +00:00
Dan Nicolaescu
f83fb05aa1 Reorder conditions to avoid warnings. 2007-10-27 20:27:34 +00:00
Juanma Barranquero
8f3f313d13 (desktop-load-locked-desktop, desktop-base-lock-name, desktop-not-loaded-hook):
Fix :version tags.
2007-10-27 17:14:37 +00:00
Juanma Barranquero
f14ee80231 *** empty log message *** 2007-10-27 14:41:24 +00:00
Michael Albinus
a4aeb9a424 * net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
(tramp-get-remote-tmpdir): New defun.
(tramp-make-tramp-temp-file): Use it.
(tramp-local-call-process): New defun.  Replace all calls of
`call-process' by this when appropriate.
(tramp-handle-write-region): Replace calls of `file-attributes' by
`tramp-compat-file-attributes'.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Make the first command a `tramp-send-command' call, with let-bind
of `tramp-end-of-output'.
(tramp-version, tramp-bug, tramp-reporter-dump-variable)
(tramp-load-report-modules, tramp-append-tramp-buffers): Move to
tramp-cmds.el.

* net/tramp-fish.el (tramp-fish-handle-copy-file)
(tramp-fish-do-copy-or-rename-file)
(tramp-fish-do-copy-or-rename-file-directly):
* net/tramp-smb.el (tramp-smb-handle-copy-file):
Add parameter PRESERVE-UID-GID.
2007-10-27 13:57:43 +00:00
Eli Zaretskii
dca2168c0b (zoneinfo-style-world-list, legacy-style-world-list): New defcustoms.
(display-time-world-list): Use them as appropriate for the current value
of `system-type'.
2007-10-27 12:43:56 +00:00
Miles Bader
fdc9061358 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 131-137)

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

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Vinicius Jose Latorre
ebe4c71027 Pacify byte compiler 2007-10-27 00:25:43 +00:00
Dan Nicolaescu
3fe5c37a0c * emulation/pc-select.el (next-line-mark, next-line-nomark)
(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
around uses of previous-line and next-line.

* diff.el (diff-old-file, diff-new-file, diff-extra-args): New
defvars.

* textmodes/css-mode.el (comment-continue):
* net/browse-url.el (url-handler-regexp):
* progmodes/idlw-help.el (idlwave-system-routines): Pacify
byte-compiler.
2007-10-26 22:24:14 +00:00
Dan Nicolaescu
72229917b1 (fill-nobreak-p): Replace obsolete alias
line-move-invisible-p with invisible-p, it was removed on
2007-08-29.
2007-10-26 20:35:31 +00:00
Juanma Barranquero
6daab4eda7 (kill-emacs-query-functions): Doc fix; `save-buffers-kill-emacs'
is no longer bound to a key.
2007-10-26 14:26:18 +00:00
Juanma Barranquero
4b649a8e95 *** empty log message *** 2007-10-26 12:17:58 +00:00
Richard M. Stallman
9097e8af9b (isearch-buffers-multi): New option.
(isearch-buffers-search-fun): Test it.
2007-10-26 09:56:27 +00:00
Juanma Barranquero
622ce6624f *** empty log message *** 2007-10-26 09:10:49 +00:00
John Wiegley
4990598e2c 2007-10-26 John Wiegley <johnw@newartisans.com>
* eshell/em-unix.el (eshell/diff): Before calling the `diff'
	function, ensure that the third argument is turned into a NIL if
	the string is otherwise completely empty (either no characters, or
	all tabs/spaces).  This fixes a bug from a user who found himself
	unable to customize `diff-switches' and still use Eshell's diff
	command.
2007-10-26 08:07:17 +00:00
Glenn Morris
6a83140588 (byte-compile-warnings): Autoload the safe-local-variable property. 2007-10-26 07:35:31 +00:00
Glenn Morris
7e6e7dab54 *** empty log message *** 2007-10-26 07:34:20 +00:00
Richard M. Stallman
66dc1ca270 (browse-url-browser-function): Delete grail.
(browse-url-grail): Function and variable deleted.
(browse-url-browser-function): Delete IXI Mosaic.
(browse-url-default-browser): Don't try IXI Mosaic.
(browse-url-iximosaic): Function deleted.
(browse-url-browser-function): Delete MMM.
(browse-url-default-browser): Don't try MMM.
(browse-url-mmm): Function deleted.
2007-10-26 03:51:44 +00:00
Richard M. Stallman
4eff4f6776 (browse-url-browser-function): Delete grail.
(browse-url-grail): Function and variable deleted.
(browse-url-browser-function): Delete IXI Mosaic.
(browse-url-default-browser): Don't try IXI Mosaic.
(browse-url-iximosaic): Function deleted.
(browse-url-browser-function): Delete MMM.
(browse-url-default-browser): Don't try MMM.
(browse-url-mmm): Function deleted.
2007-10-26 03:49:37 +00:00
Dan Nicolaescu
0bde6a03c6 * emulation/edt-mapper.el (edt-emacs-variant): Replace the only
use with the definition. Remove.

* add-log.el (change-log-start-entry-re): New defconst.
(change-log-sortable-date-at): Use it.
(change-log-beginning-of-defun, change-log-end-of-defun): New
functions.
(change-log-mode): Use them for beginning-of-defun-function and
end-of-defun-function.

* erc-ibuffer.el (erc-modified-channels-alist): Pacify
byte-compiler.
2007-10-25 23:25:08 +00:00
Juanma Barranquero
5aec60dfd7 *** empty log message *** 2007-10-25 22:12:04 +00:00
Jonathan Yavner
4eb3897c84 Make `ses--symbolic-formulas' a safe local variable.
(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
(ses-recalculate-cell): Deal with point being just beyond end of data area (why does this happen?)
(ses-set-curcell): Ditto.
(ses-column-letter): Handle columns beyond 702.  Code written by Gareth Rees.
2007-10-25 20:12:26 +00:00
Carsten Dominik
429f0457ea *** empty log message *** 2007-10-25 14:21:45 +00:00
Carsten Dominik
89be04afb5 *** empty log message *** 2007-10-25 13:57:12 +00:00
Carsten Dominik
35a5d29450 *** empty log message *** 2007-10-25 09:28:14 +00:00
Dan Nicolaescu
428153fcb9 Fix attribution. 2007-10-25 04:09:35 +00:00
Glenn Morris
b68769f25a (conf-space-keywords): Mark this regexp as safe if a string. 2007-10-25 04:02:50 +00:00
Glenn Morris
c8da8483a3 *** empty log message *** 2007-10-25 03:55:52 +00:00
Stefan Monnier
70b8d0a4a3 Make `window-system' into a keyboard-local variable (rather than
frame-local as done originally by multi-tty).

* startup.el (window-system): Remove.  Don't make it frame-local.

* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.

* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.

* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.

* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.

* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
2007-10-25 02:38:41 +00:00
Richard M. Stallman
ff04b3780d (ps-mode-map): Delete C-c v binding. 2007-10-25 02:23:34 +00:00
Dan Nicolaescu
5656d1bfaf (org-publish-attachment): Re-install
accidentally deleted change.
2007-10-24 15:50:28 +00:00
Stefan Monnier
d1886efb12 (iris-function-map): Move initialization into declaration. 2007-10-24 14:54:03 +00:00
Juanma Barranquero
392225eeb6 (Buffer-menu-sort-column): Doc fix.
(Buffer-menu-mode-map): Initialize in the declaration.
(Buffer-menu-mode): Define with `define-derived-mode'.
2007-10-24 12:27:53 +00:00
Richard M. Stallman
648db50dea (savehist-save): Omit unreadable elements. 2007-10-24 08:15:03 +00:00
Carsten Dominik
e6fc6b48c6 *** empty log message *** 2007-10-24 05:36:52 +00:00
Stefan Monnier
0b8dce84f8 (vc-update-changelog-rcs2log): Remove incorrect `backend' arg. 2007-10-24 02:34:25 +00:00
Juanma Barranquero
13e1f05b2e *** empty log message *** 2007-10-24 02:27:50 +00:00
Stefan Monnier
eb3d6c677b (reindent-then-newline-and-indent): Use a `move after
insert' kind of marker in the save-excursion.
2007-10-24 01:51:03 +00:00
Michael Albinus
3bde9f241c * net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
when we are local.
2007-10-23 21:56:54 +00:00