1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

98522 Commits

Author SHA1 Message Date
Glenn Morris
57e96f8e22 * make-dist: Exclude generated file src/globals.h. 2011-02-12 18:04:18 -08:00
Glenn Morris
3c65e88d79 Fix date of merged ChangeLog entries. 2011-02-12 17:01:11 -08:00
Gnus developers
b8e0f0cd20 Merge changes made in Gnus trunk.
auth.texi (Overview, Help for users, Help for developers): Update docs.
 (Help for users): Talk about spaces.
sieve-manage.el: Autoload `auth-source-search'.
 (sieve-sasl-auth): Use it.
nnimap.el: Autoload `auth-source-forget+'.
 (nnimap-open-connection-1): Use it if the connection fails.
auth-source.el: Require `password-cache'.
 (auth-source-hide-passwords, auth-source-cache): Remove and mark obsolete.
 (auth-source-magic): Marker for `password-cache' keys.
 (auth-source-do-cache): Update docstring.
 (auth-source-search): Use and check cache.
 (auth-source-forget-all-cached, auth-source-remember)
 (auth-source-recall, auth-source-forget, auth-source-forget+)
 (auth-source-specmatchp): Caching support functions.
 (auth-source-forget-user-or-password, auth-source-forget-all-cached): Remove and obsolete.
 (auth-source-user-or-password): Remove caching to further discourage using it.  Always hide passwords.
password-cache.el (password-cache-remove): Accept secrets that are not strings.
mail-source.el: Autoload `auth-source-search'.
 (mail-source-keyword-map): Note order matters.
 (mail-source-set-1): Get all the mail-source source values and defaults and search auth-source on those if needed.  This can all probably be simplified.
nnimap.el: Autoload `auth-source-search'.
 (nnimap-credentials): Use it.
 (nnimap-open-connection-1): Ask for the virtual server and physical address in one shot.
nntp.el: Autoload `auth-source-search'.
 (nntp-send-authinfo): Use it.  Note TODO.
auth-source.el (auth-source-secrets-search, auth-source-user-or-password): Use `append' instead of `nconc'.
 (auth-source-user-or-password): Build return list better and protect against nil :secret.
auth-source.el (top): Require 'eieio unconditionally.  Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
 (auth-source-secrets-search): Limit search when `max' is greater than number of results.
auth-source.el (auth-source-secrets-search): Add examples.
auth-source.el (auth-sources): Allow for simpler defaults for Secrets API with a string "secrets:collection-name" and with 'default.
 (auth-source-backend-parse): Parse "secrets:collection-name" and 'default.  Recurse on parses instead of repeating code.  Use the Secrets API is the source is not nil and 'ignore otherwise.  Emit a message when ignoring a source.
 (auth-source-search): List ignored search keys at the top level.
 (auth-source-netrc-create): Use `case' instead of `cond'.
 (auth-source-secrets-search): Created with TODOs.
 (auth-source-secrets-create): Created with TODOs.
 (auth-source-retrieve, auth-source-create, auth-source-delete)
 (auth-source-protocol-defaults, auth-source-user-or-password-imap)
 (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
 (auth-source-user-or-password-sftp)
 (auth-source-user-or-password-smtp): Removed.
 (auth-source-user-or-password): Deprecated and modified to be a wrapper around `auth-source-search'.  Not tested thoroughly.
auth-source.el: Bring in assoc and eioeio libraries.
 (secrets-enabled): New variable to track the status of the Secrets API.
 (auth-source-backend): New EIOEIO class to represent a backend.
 (auth-source-creation-defaults): New variable to set prompt defaults during token creation (see the `auth-source-search' docstring for details).
 (auth-sources): Simplify to allow a simple string as a netrc backend spec.
 (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
 (auth-source-backend-parse-parameters): Fill in the backend parameters.
 (auth-source-search): Main auth-source API entry point.
 (auth-source-delete): Wrapper around `auth-source-search' for deletion.
 (auth-source-search-collection): Helper function for searching.
 (auth-source-netrc-parse, auth-source-netrc-normalize)
 (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.  Supports search, create, and delete.
 (auth-source-secrets-search, auth-source-secrets-create): Secrets API backend stubs.
(auth-source-user-or-password): Call `auth-source-search' but it's not ready yet.
2011-02-13 00:25:29 +00:00
Chong Yidong
e730aabed5 Merge changes from emacs-23 branch 2011-02-12 19:16:28 -05:00
Glenn Morris
d0ba09dcd8 * admin/notes/bzr: Mention the helpful changelog_merge plugin. 2011-02-12 15:43:42 -08:00
Chong Yidong
84eb0351d8 Merge changes from emacs-23 branch 2011-02-12 18:40:43 -05:00
Glenn Morris
7b24e97ab5 * admin/bzrmerge.el (bzrmerge-resolve): Fix bzr revert call. 2011-02-12 15:37:43 -08:00
Drew Adams
cdfa139da4 * themes/light-blue-theme.el: New file. 2011-02-12 18:10:18 -05:00
Thierry Volpiatto
9de31df2dd Adapt dired-create-files to copy-directory changes.
* dired-aux.el (dired-create-files): Adapt destination name to
match the new behavior of copy-directory.
2011-02-12 17:55:28 -05:00
Paul Eggert
33d605d0d1 * md5.c (md5_process_bytes): Use sizeof, not __alignof__.
The difference doesn't matter here, in practice, and sizeof is
more portable to non-GCC compilers.  Also, this makes the code
match the already-existing comment.
2011-02-12 14:36:22 -08:00
Chong Yidong
aca6915a1d Minor commentary fix (Bug#8024). 2011-02-12 17:23:06 -05:00
Glenn Morris
165bc5a066 * doc/misc/sc.texi (Getting Connected): Remove old index entries. 2011-02-12 14:12:04 -08:00
Ulrich Mueller
43aa28e2a2 * url.texi: Remove duplicate @dircategory (Bug#7942). 2011-02-12 17:06:22 -05:00
Chong Yidong
38a7165591 Make rmail-default-dont-reply-to-names nil (Bug#7888); rename rmail-dont-reply-*.
* lisp/mail/mail-utils.el (mail-dont-reply-to-names): New variable,
from rmail-dont-reply-to-names.  Callers changed.
(mail-dont-reply-to): Rename from mail-dont-reply-to.
(rmail-dont-reply-to): Make it an obsolete alias.

* lisp/mail/rmail.el (rmail-default-dont-reply-to-names): Default to
nil, and make obsolete.
(rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.

* lisp/mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.

* lisp/mail/rmailsort.el (rmail-sort-by-correspondent)
(rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.

* lisp/mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
2011-02-12 16:45:42 -05:00
Chong Yidong
20fac86e2e * lisp/files.el (copy-directory): Revert to pre-2011-01-29 version. 2011-02-12 14:43:04 -05:00
Thierry Volpiatto
470d996db4 New optional arg COPY-CONTENTS to copy-directory.
* files.el (copy-directory): New argument COPY-CONTENTS for
copying directory contents into another existing directory.
2011-02-12 14:34:50 -05:00
Andreas Schwab
c0ad4ea54c Make sure SIGPIPE is reset in child processes
* process.c (create_process): Reset SIGPIPE handler in the child.
* callproc.c (Fcall_process): Likewise.  (Bug#5238)
2011-02-12 19:53:24 +01:00
Tassilo Horn
e2784c8718 * minibuffer.el (completion-table-case-fold): New function for
creating a case-insensitive completion table.
2011-02-12 19:30:13 +01:00
Ted Zlatanov
563790b6db Use auto-source-search' instead of auto-source-user-or-password'.
* mail/smtpmail.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(smtpmail-try-auth-methods): Use it.

* net/imap-hash.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(imap-hash-open-connection): Use it.

* net/tramp-imap.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(tramp-imap-passphrase-callback-function): Use it.

* net/tramp.el (tramp-default-method): Also check if
`auth-source-search' is bound.
(tramp-read-passwd): Use `auth-source-search' instead of
`auto-source-user-or-password'.

* url-parse.el (url-bit-for-url, url-user-for-url)
(url-password-for-url): Use `auto-source-search' instead of
`auto-source-user-or-password'.

* url-auth.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password'.
(url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
2011-02-12 11:51:02 -06:00
Eli Zaretskii
50fd938f33 Fix bug #7939 with bidi display of hscrolled lines.
xdisp.c <this_line_min_pos>: New variable.
 (move_it_in_display_line_to): Record in this_line_min_pos the
 smallest position iterated across.
 (display_line): Use this_line_min_pos to record the smallest
 position in the line even if that position is not displayed
 due to hscrolling.
2011-02-12 17:48:10 +02:00
Paul Eggert
cec81b228b Port to Sun C 5.11, which has __attribute__ ((__aligned (N))).
* md5.h (ATTRIBUTE_ALIGNED): New macro.
(struct md5_ctx): Use it.
2011-02-12 02:05:38 -08:00
Eli Zaretskii
cb191a14ce Fix bug #7840 with setting terminal/keyboard encoding of emacsclient frames.
terminal.c (create_terminal): Use default-keyboard-coding-system
 and default-terminal-coding-system to initialize coding systems of
 the new terminal.
2011-02-12 04:47:28 -05:00
Paul Eggert
af59aa6e3c Port to Solaris 10, which doesn't support FC_HINT_STYLE. 2011-02-11 21:13:34 -08:00
Juanma Barranquero
b762841f95 Fix trivial typos in comments and ChangeLogs. 2011-02-12 04:17:00 +01:00
Chong Yidong
e87977013b lisp/gnus/mml2015.el (mml2015-signers): Minor doc fix. 2011-02-11 20:31:35 -05:00
Phil Hagelberg
c6affbdeb9 Allow packages to be reinstalled.
* emacs-lisp/package.el (package--write-file-no-coding): Remove EXCL arg.
(package-unpack-single): Don't use it.
2011-02-11 20:18:15 -05:00
Karl Pflästerer
b5a5379544 Adapt to Subversion change, with no .svn directory in each sub directory.
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00357.html

* vc/vc-svn.el (vc-svn-registered): Use vc-svn-root.
(vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
(vc-svn-repository-hostname): Use "svn info".
2011-02-11 20:12:53 -05:00
Chong Yidong
4d46072b29 Bind delete-by-moving-to-trash to nil in EPA and EPG.
This should not be merged into the trunk.

* epa-file.el (epa-file-insert-file-contents): Likewise.

* epg.el (epg-delete-output-file, epg-decrypt-string)
(epg-verify-string, epg-sign-string, epg-encrypt-string): Bind
delete-by-moving-to-trash to nil.
2011-02-11 19:21:25 -05:00
Deniz Dogan
25833f5e59 * lisp/simple.el (delete-trailing-whitespace): New optional buffer
bound parameters.
2011-02-11 19:25:06 +01:00
Bastien Guerry
75d1d833f5 Save unmodified buffers when buffer-file-name doesn't exist.
* files.el (basic-save-buffer): save unmodified buffers when
the file pointed by buffer-file-name doesn't exist.
2011-02-11 18:35:37 +01:00
Jan Djärv
02c3706c5b * xterm.c (x_set_frame_alpha): Access data before it is free:d.
Make sure we don't do x_catch_errors twice.
2011-02-11 16:40:19 +01:00
Deniz Dogan
e0e36cac4a * lisp/net/rcirc.el (defun-rcirc-join): Accept multiple channels. 2011-02-11 07:19:34 +01:00
Glenn Morris
5935086250 * lisp/emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec. 2011-02-10 19:54:12 -08:00
Glenn Morris
3af31cd80d * lib/getopt_.h: Fix typo in _GL_ARG_NONNULL license comment. 2011-02-10 19:43:40 -08:00
Glenn Morris
8f45ebb8b5 lwlib/Makefile.in misc cleanup.
* lwlib/Makefile.in (USE_X_TOOLKIT, RM, TOOLKIT_DEFINES): Remove.
(ALL_CFLAGS): Remove -I.
(config_h, lisp_h, src_h): New variables.
(globals_h): Rename from $globals.
($(globals_h)): Check cd exit status.
(lwlib.o): Remove special rule.
(lwlib-utils.o, lwlib.o, lwlib-Xlw.o, lwlib-Xaw.o, lwlib-Xm.o, xlwmenu.o):
Add lisp.h and config.h to prereqs.
(lwlib-utils.o): Add lwlib.h to prereqs.
(lwlib.o): Add lwlib-utils.h and lwlib-Xm.h to prereqs.
(lwlib-Xlw.o): Add xlwmenu.h to prereqs.
(xlwmenu.o): Add ../src/xterm.h to prereqs.
(mostlyclean): Forget about "core" files.
2011-02-10 19:41:17 -08:00
Glenn Morris
eb5141d9f6 * lwlib/Makefile.in: Standardize on $(), not ${}. 2011-02-10 19:30:09 -08:00
Juanma Barranquero
5708ce5e83 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'. 2011-02-11 01:49:28 +01:00
Antoine Levitt
cec2114e7b gnus-sum.el (gnus-summary-save-parts): Use read-directory-name. 2011-02-10 22:43:21 +00:00
Stefan Monnier
59003be943 * lisp/server.el (server-process-filter): Use pcase. 2011-02-10 14:41:44 -05:00
Stefan Monnier
9517f8af14 * lisp/emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
conflicting ways.
(smie-indent--parent): Extend to "parent of arg".
(smie-indent-inside-string): New function.
(smie-indent-functions): Use it.
2011-02-10 14:40:17 -05:00
Stefan Monnier
cf77dd27af * lisp/vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
bzr locking race condition.
2011-02-10 14:37:42 -05:00
Stefan Monnier
665addc97b * lisp/gnus/message.el (message-bury): Don't pop up a new window when selected
window is dedicated.
2011-02-10 14:35:35 -05:00
Stefan Monnier
49ffc0786e * lisp/emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
still valid before using it.
2011-02-10 14:21:07 -05:00
Stefan Monnier
1a0a6cefcf * lisp/progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
`message' -> `compilation-message' rename.

Fixes: debbugs:8004
2011-02-10 14:13:31 -05:00
Andreas Schwab
43e9202446 Update cl-loaddefs.el again 2011-02-10 19:26:43 +01:00
Stefan Monnier
b016851cb1 Move keymap initialization into declaration.
* lisp/textmodes/enriched.el (enriched-mode-map):
* lisp/textmodes/bib-mode.el (bib-mode-map):
* lisp/term/lk201.el (lk201-function-map):
* lisp/tar-mode.el (tar-mode-map):
* lisp/replace.el (occur-mode-map):
* lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
* lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
* lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
* lisp/play/solitaire.el (solitaire-mode-map):
* lisp/play/snake.el (snake-mode-map, snake-null-map):
* lisp/play/pong.el (pong-mode-map):
* lisp/play/handwrite.el (menu-bar-handwrite-map):
* lisp/play/gametree.el (gametree-mode-map):
* lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
(newsticker--url-keymap):
* lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
(menu-bar-edit-menu, menu-bar-custom-menu)
(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
(menu-bar-line-wrapping-menu, menu-bar-options-menu)
(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
(menu-bar-tools-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* lisp/mail/rmailsum.el (rmail-summary-mode-map):
* lisp/kmacro.el (kmacro-step-edit-map):
* lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
(ibuffer-mode-operate-map):
* lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
* lisp/emulation/vip.el (vip-mode-map):
* lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
* lisp/bookmark.el (bookmark-bmenu-mode-map):
* lisp/help-mode.el (help-mode-map):
* lisp/erc/erc-list.el (erc-list-menu-mode-map):
* lisp/org/org-remember.el (org-remember-mode-map):
* lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
2011-02-10 11:56:00 -05:00
Deniz Dogan
1be1d1e98e * lisp/net/rcirc.el: Add PRIVMSG and CTCP functions.
(rcirc-send-privmsg, rcirc-send-ctcp): New functions.
(rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
(rcirc-cmd-me, rcirc-authenticate): Use them.
2011-02-10 16:41:40 +01:00
Andreas Schwab
16b737dc09 Update cl-loaddefs.el and ibuffer.el 2011-02-10 12:07:15 +01:00
Glenn Morris
86361e1edc cl-seq.el doc fixes.
* lisp/emacs-lisp/cl-seq.el (union, nunion, intersection)
(nintersection, set-difference, nset-difference)
(set-exclusive-or, nset-exclusive-or): Doc fix.
2011-02-09 21:07:32 -08:00
Glenn Morris
67f02b82f4 lwlib/ trivia.
* lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib-utils.c, lwlib.c, xlwmenu.c:
Standardize on <> for includes from the ../src directory.
2011-02-09 21:03:29 -08:00