1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

94511 Commits

Author SHA1 Message Date
Eli Zaretskii
5f43e51c03 HELLO: Reorder Arabic greetings into logical order. 2010-05-07 13:45:54 +03:00
Daiki Ueno
5146e84c03 Skip disabled PGP key when encrypting mail with Gnus.
* lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
* lisp/gnus/mml2015.el (mml2015-epg-find-usable-key): Skip disabled key (Bug#5592).
2010-05-07 17:10:28 +09:00
Katsumi Yamaoka
86d21cc09b Fix typos. 2010-05-07 07:41:53 +00:00
Katsumi Yamaoka
9581ba4d12 Synch with Gnus trunk.
Note: Julien has already sent a form to FSF to sign a paper.
2010-05-07  Julien Danjou  <julien@danjou.info>
 * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
 it to mm-pipe-part.

 * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
 it is given.
2010-05-07 07:28:15 +00:00
Katsumi Yamaoka
765d43190e Synch with Gnus trunk.
* mail/binhex.el (binhex-decode-region-internal)
* mail/uudecode.el (uudecode-decode-region-internal)
* net/dns.el (dns-read-string-name, dns-write, dns-read)
(dns-read-type, dns-query)
* pgg-parse.el (pgg-parse-armor)
* pgg.el (pgg-verify-region)
* sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
XEmacs.

* net/imap.el (imap-disable-multibyte): Redefine them as a macro.

* nnweb.el (nnweb-gmane-search)
* yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
XEmacs.

* gnus-art.el (gnus-article-browse-html-parts)
* gnus-group.el (gnus-read-ephemeral-gmane-group)
(gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
make-temp-file.

* gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
compiling.

* gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
XEmacs when compiling.

* gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
gnus-pick-mode-off-hook for XEmacs when compiling.
(gnus-binary-mode): Bind gnus-binary-mode-on-hook and
gnus-binary-mode-off-hook for XEmacs when compiling.

* gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
nil if char-charset is not available.

* sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as a
macro.

* mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
instead of encode-coding-string.

* mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
'xemacs) instead of mm-emacs-mule to switch function definitions.
(mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
2010-05-07 06:58:17 +00:00
Juanma Barranquero
40ab7974b5 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function. 2010-05-07 05:21:06 +02:00
Juanma Barranquero
03ffa46daa * minibuffer.el: Revert previous change. 2010-05-07 05:11:56 +02:00
Glenn Morris
e6df49e47a Regenerate configure. 2010-05-06 20:01:40 -07:00
Glenn Morris
16bbb13220 Missing part of previous commit.
* s/openbsd.h (LD_SWITCH_SYSTEM): Move to configure.in.
2010-05-06 19:59:20 -07:00
Glenn Morris
2f86b22b05 Move LD_SWITCH_SYSTEM from cpp to configure.
* configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
Merges logic from src/s/* and src/Makefile.in.
(LD_SWITCH_SYSTEM_TEMACS): New output variable.

* src/Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
(LD_SWITCH_SYSTEM_EXTRA): New variable, set by configure.
(TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM and $LD_SWITCH_SYSTEM_EXTRA,
move out of cpp section.
* src/s/freebsd.h (LD_SWITCH_SYSTEM):
* src/s/gnu-linux.h (LD_SWITCH_SYSTEM):
* src/s/netbsd.h (LD_SWITCH_SYSTEM):

* admin/CPP-DEFINES: Remove LD_SWITCH_SYSTEM.
2010-05-06 19:55:47 -07:00
Juanma Barranquero
cae7fcf92d * minibuffer.el (comps): Declare for byte-compiler. 2010-05-07 02:50:26 +02:00
Juanma Barranquero
f83483ff69 * cua-base.el, cua-gmrk.el: Fix use of `filter-buffer-substring'. 2010-05-07 02:46:09 +02:00
Dan Nicolaescu
06304e031f Remove more unused symbols. 2010-05-06 17:35:44 -07:00
Dan Nicolaescu
49ebbd6507 Define LIB_STANDARD and START_FILES using autoconf.
* s/usg5-4.h (LIB_STANDARD):
* s/netbsd.h (START_FILES):
* s/irix6-5.h (LIB_STANDARD):
* s/hpux10-20.h (LIB_STANDARD, START_FILES):
* s/gnu-linux.h (START_FILES, LIB_STANDARD):
* s/freebsd.h (START_FILES):
* s/darwin.h (START_FILES):
* s/cygwin.h (START_FILES):
* s/aix4-2.h (LIB_STANDARD):
* m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in.
* Makefile.in (STARTFILES): Rename to START_FILES, define using
autoconf, not cpp.

Define START_FILES and LIB_STANDARD using autoconf.
* configure.in (START_FILES, LIB_STANDARD): New definitions, moved
here from src/s/*.h.
(HAVE_CRTIN): Remove, inline logic in the netbsd
START_FILES/LIB_STANDARD computation.
2010-05-06 17:30:56 -07:00
Dan Nicolaescu
2882364886 Remove NEED_BSDTTY and NEED_UNISTD_H.
* s/hpux10-20.h (NEED_BSDTTY): Remove.
* s/aix4-2.h (NEED_UNISTD_H): Remove.
* systty.h: Simplify conditionals for including <sys/bsdtty.h>,
<sys/ptyio.h> and <unistd.h>.
2010-05-06 12:46:47 -07:00
Dan Nicolaescu
aca004303d * emacs.c (main): Remove NO_DIR_LIBRARY conditional, unused. 2010-05-06 12:40:02 -07:00
Dan Nicolaescu
d43c06d68b * Makefile.in (STARTFILES): Conditionally define to make the usage clear.
* s/gnu.h (START_FILES): Remove empty definition.
2010-05-06 09:18:33 -07:00
Jan Djärv
3e56b11d4a * xterm.c (x_draw_image_relief): Move declaration of extra to beginning. 2010-05-06 11:34:56 +02:00
Michael Albinus
9566840faf * net/tramp.el (top, with-progress-reporter): Use
`symbol-function' inside `funcall'.

* net/tramp-compat.el (tramp-compat-file-attributes)
(tramp-compat-delete-file, tramp-compat-delete-directory): Handle
only `wrong-number-of-arguments' error.

* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
(tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
inside `funcall'.
2010-05-06 10:40:06 +02:00
Glenn Morris
380884c6f0 Regenerate configure. 2010-05-06 01:07:12 -07:00
Glenn Morris
f6c0ee20ba Minimize blessmail-related cpp usage, with an eye to future removal.
* lib-src/Makefile.in: (BLESSMAIL_TARGET): New variable.
(MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
(blessmail): Always define this rule.
(need-blessmail): New rule, split out from maybe-blessmail.
(maybe-blessmail): Use BLESSMAIL_TARGET.
2010-05-06 01:03:27 -07:00
Glenn Morris
e49dca3dd4 Let configure handle ranlib.
* oldXMenu/Makefile.in (RANLIB): Let configure set it.
(libXMenu11.a): configure sets RANLIB = : on systems without it.
2010-05-06 00:29:09 -07:00
Glenn Morris
e3cf0cded8 Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.

* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.

* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.

* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.

* src/Makefile.in (CPP, LN_S): Remove unused variables.

* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 00:24:18 -07:00
Katsumi Yamaoka
82db9c90fb Synch with Gnus trunk.
(mml-secure-message-sign): Fix cut and paste error.
2010-05-06 06:05:48 +00:00
Katsumi Yamaoka
16b90cfe19 Synch with Gnus trunk.
(mml-secure-message-sign): Fix cut and paste error.
2010-05-06 05:54:57 +00:00
Glenn Morris
a48bc865a0 src/Makefile.in: Convert comment in cpp section to the right format. 2010-05-05 22:50:26 -07:00
Glenn Morris
0c99c59732 Comment changes for some src/m/*.h files.
Remove some out-of-date comments, reformat others.
2010-05-05 22:27:17 -07:00
Katsumi Yamaoka
72528372a7 Update. 2010-05-06 04:19:22 +00:00
Katsumi Yamaoka
d029b5d2b0 Require easy-mmode for XEmacs when compiling. 2010-05-06 04:15:34 +00:00
Katsumi Yamaoka
ee3097571b Synch with Gnus trunk.
(mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
handles on recursive mml-to-mime translation and check them for
boundary delimiter collisions.  Reported by: Greg Troxel.
2010-05-06 03:27:20 +00:00
Stefan Monnier
1493963bb1 Extract common suffix for * in partial-completion.
* minibuffer.el (completion--sreverse, completion--common-suffix):
New functions.
(completion-pcm--merge-completions): Extract common suffix when safe.
2010-05-05 22:59:07 -04:00
Stefan Monnier
0c495c215a Define auto-save-mode with define-minor-mode.
* emacs-lisp/easy-mmode.el (define-minor-mode):
Make :variable more flexible.
* files.el (auto-save-mode): Use it to define using define-minor-mode.
2010-05-05 22:53:56 -04:00
Juanma Barranquero
07e995905d lib-src/ChangeLog: Remove duplicate entry. 2010-05-06 00:14:15 +02:00
Juri Linkov
221a0647a2 Add slow' and history' tags to the desktop data.
* info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
(Info-virtual-files) [*Apropos*]: Add `slow' tag.
(Info-finder-find-node): Require `finder.el' to be able
to restore node from the desktop.
(Info-desktop-buffer-misc-data): Save all nodes.  Save additional
data `Info-history' and `slow' tag in the assoc list.
(Info-restore-desktop-buffer): Don't restore nodes with the
`slow' tag.  Restore `Info-history'.
2010-05-06 00:56:15 +03:00
Stefan Monnier
774b9a602e * syntax.c (Fchar_syntax): Check the arg is a character.
Fixes: debbugs:6080
2010-05-05 13:51:40 -04:00
Lawrence Mitchell
4ab9284288 * src/m/sparc.h: Fix typo in earlier change. 2010-05-05 08:51:32 -07:00
Michael Albinus
66bdc86806 Add FORCE argument to `delete-file'.
* net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
forcing to delete the temporary file.
(ange-ftp-delete-file): Add FORCE arg.
(ange-ftp-rename-remote-to-remote)
(ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
(ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): Force
file deletion.

* net/tramp-compat.el (tramp-compat-delete-file): New defun.

* net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
(tramp-handle-make-symbolic-link, tramp-handle-load)
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-handle-process-file, tramp-handle-call-process-region)
(tramp-handle-shell-command, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.

* net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
(tramp-fish-handle-make-symbolic-link)
(tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.

* net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
`tramp-compat-delete-file'.

* net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
(tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.

* net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
(tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.

* net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
(tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
(tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
`tramp-compat-delete-file'.
2010-05-05 12:20:23 +02:00
Stefan Monnier
365f8d856c Minor cleanups.
* org-table.el (orgtbl-setup):
* org-agenda.el (org-agenda-entry-text-mode): Simplify.
* subr.el (add-minor-mode): Use push.
* mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
* emulation/edt.el (edt-select-mode): Simplify.
2010-05-05 00:27:16 -04:00
Stefan Monnier
80ac5d4d34 Use define-minor-mode in more cases.
* term/tvi970.el (tvi970-set-keypad-mode):
* simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
(normal-erase-is-backspace-mode):
* scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
(set-scroll-bar-mode-1): (Re)move to its sole caller.
(get-scroll-bar-mode): New function.
* emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
2010-05-04 23:45:21 -04:00
Stefan Monnier
f44379e7fe Use define-minor-mode for less obvious cases.
* emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
* emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
* international/iso-ascii.el (iso-ascii-mode):
* frame.el (auto-raise-mode, auto-lower-mode):
* composite.el (global-auto-composition-mode): Use define-minor-mode.
2010-05-04 22:08:25 -04:00
Juanma Barranquero
80f00217ab * src/ChangeLog: Formatting fixes. 2010-05-04 20:21:32 +02:00
Stefan Monnier
178f2507dc Misc tweaks.
* eval.c (Fdefvaralias): Remove unintended nested if.
(internal_condition_case_2, internal_condition_case_n): Use ANSI type.
2010-05-04 13:44:54 -04:00
Dan Nicolaescu
ae4aa8241f Delete names that have been removed from the tree. 2010-05-04 09:53:59 -07:00
Jan Djärv
991be6d4e6 xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd). 2010-05-04 18:03:23 +02:00
Michael Albinus
c04b03f8d5 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
in order to see error messages for failed logins.
2010-05-04 10:44:47 +02:00
Dan Nicolaescu
58eb6cf0f7 Remove BSD_PGRPS.
* s/bsd-common.h (BSD_PGRPS): Remove undef.
* s/gnu-linux.h (BSD_PGRPS): Remove.
* term.c (dissociate_if_controlling_tty):
* sysdep.c (narrow_foreground_group, widen_foreground_group)
(init_sys_modes, reset_sys_modes):
* emacs.c (main):
* callproc.c (Fcall_process, child_setup): Remove code depending
on BSD_PGRPS.
2010-05-04 00:40:53 -07:00
Dan Nicolaescu
ef03a4e61e Remove POSIX_SIGNALS.
* s/usg5-4.h (POSIX_SIGNALS):
* s/netbsd.h (POSIX_SIGNALS):
* s/msdos.h (POSIX_SIGNALS):
* s/ms-w32.h (POSIX_SIGNALS):
* s/hpux11.h (POSIX_SIGNALS):
* s/gnu.h (POSIX_SIGNALS):
* s/gnu-linux.h (POSIX_SIGNALS):
* s/freebsd.h (POSIX_SIGNALS):
* s/darwin.h (POSIX_SIGNALS):
* s/cygwin.h (POSIX_SIGNALS):
* s/aix4-2.h (POSIX_SIGNALS): Remove definition.
* s/unixware.h:
* s/sol2-6.h: Remove comments on POSIX_SIGNALS.
* process.c (create_process):
* syssignal.h:
* sysdep.c (wait_for_termination, init_signals):
* process.c (create_process):
* msdos.c: POSIX_SIGNALS is always defined on all platforms,
remove all code that assumes the contrary.
2010-05-03 21:00:10 -07:00
Glenn Morris
ede4834a2f Regenerate configure, src/config.in. 2010-05-03 20:33:04 -07:00
Glenn Morris
fa5e317ac0 Yet another missing piece of C_SWITCH commit.
* Makefile.in (C_SWITCH_SYSTEM): Use @C_SWITCH_SYSTEM@ rather than
@c_switch_system@.

* oldXMenu/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Use
@C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
@c_switch_system@, @c_switch_machine@.
2010-05-03 20:26:38 -07:00
Glenn Morris
e9bcdbf77c Missing lwlib part of earlier C_SWITCH commit.
* lwlib/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of
@c_switch_system@, @c_switch_machine@.
2010-05-03 20:20:50 -07:00