1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

19735 commits

Author SHA1 Message Date
Ted Zlatanov
eebc475df5 Add `auth-source-search' integration for LDAP searches.
* net/ldap.el (ldap-search-internal): Add `auth-source-search'
integration for LDAP parameters.  The host, base, user or binddn,
and secret tokens can be specified in a netrc file, for instance.
This is optional because an `auth-source' parameter must be
specified in the search attributes.
2011-03-13 17:17:17 -05:00
Juanma Barranquero
9d05d1ba20 lisp/help.el (describe-mode): Link to the mode's definition.
Fixes: debbugs:8185
2011-03-13 02:57:40 +01:00
Glenn Morris
09d9db2c49 Merge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu 2011-03-12 11:19:47 -08:00
Juanma Barranquero
219bd53686 Fix typos. 2011-03-12 16:38:34 +01:00
Juanma Barranquero
70620cbe32 lisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170). 2011-03-12 16:26:33 +01:00
Michael Albinus
f3afd36bad Sync with Tramp 2.2.1.
* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.

* net/trampver.el: Update release number.
2011-03-12 16:19:29 +01:00
Michael Albinus
6efb972c00 * net/tramp.el (tramp-progress-reporter-update): Use
`tramp-compat-funcall'.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-handle-insert-file-contents): Make `file-remote-p' call
compatible.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.

* net/tramp-compat.el (tramp-compat-process-get)
(tramp-compat-process-put): New defuns.

* net/trampver.el: Update release number.

Please do not merge with the trunk.
2011-03-12 14:26:19 +01:00
Stefan Monnier
946425995f * lisp/progmodes/compile.el (compilation--previous-directory): Fix up
various nil/dead-marker mismatches.
(compilation-directory-properties, compilation-error-properties):
Don't call it at a position past the one we're about to change.

Fixes: debbugs:8014
2011-03-11 23:29:22 -05:00
Stefan Monnier
3aaaa6f1c9 * lisp/emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
Disable obsolescence warnings in the file that declares it.
2011-03-11 21:59:24 -05:00
Stefan Monnier
bb0bd45af0 * lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
into declaration.  Remove redundant and harmful binding.
2011-03-11 21:49:29 -05:00
Ken Manheimer
14239447d3 * allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
as a hash table rather than nil to prevent mode-line redisplay warnings.
Also, clarify the module description and fix a comment typoo (sic).
2011-03-11 13:46:12 -05:00
Juanma Barranquero
9c5047fb4e Backport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.
*lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
2011-03-11 16:34:07 +01:00
Juanma Barranquero
6dbf95e5b3 Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
* lisp/help-fns.el (describe-variable): Don't complete keywords.
2011-03-11 15:05:31 +01:00
Eli Zaretskii
2920e68d73 Fix comparisons of file ownership on MS-Windows for the Administrator user.
lisp/files.el (file-ownership-preserved-p): Pass `integer' as an
 explicit 2nd argument to `file-attributes'.  If the file's owner
 is the Administrators group on Windows, and the current user is
 Administrator, consider that a match.
 lisp/server.el (server-ensure-safe-dir): Consider server directory
 safe on MS-Windows if its owner is the Administrators group while
 the current Emacs user is Administrator.  Use `=' to compare
 numerical UIDs, since they could be integers or floats.
2011-03-11 14:19:08 +02:00
Juanma Barranquero
135e287cda lisp/help-fns.el (describe-variable): Don't complete keywords. 2011-03-11 01:33:57 +01:00
Chong Yidong
ba08b24186 Fix package.el handling of version numbers like 1.0pre6.
* lisp/emacs-lisp/package.el (package-version-join): Impose a standard
string representation for pre/alpha/beta version lists.
(package-unpack-single): Standardize the directory name by passing
it through package-version-join.
2011-03-10 18:40:46 -05:00
Chong Yidong
ffbf300e1e Fix package-strip-rcs-id to be more robust.
See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00396.html

* lisp/emacs-lisp/package.el (package-strip-rcs-id): Accept any version
string that does not signal an error in version-to-list.
2011-03-10 16:51:26 -05:00
Michael Albinus
f346fd6b40 * simple.el (delete-trailing-whitespace): Return nil for the
benefit of `write-file-functions'.
2011-03-10 12:28:33 +01:00
Glenn Morris
5ceaac0c61 * lisp/vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program. 2011-03-10 00:32:27 -08:00
Glenn Morris
02da65ff3a Add `vc-git-program' option; suggested on emacs-devel.
* lisp/vc/vc-git.el (vc-git-program): New option.
(vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
(vc-git--call): Use it.
2011-03-10 00:26:41 -08:00
Glenn Morris
b2f603cc42 * lisp/eshell/esh-util.el (eshell-condition-case): Doc fix. 2011-03-09 23:16:04 -08:00
Glenn Morris
5772caab78 cus-edit tweak for bug#2298.
* lisp/cus-edit.el (Custom-newline): If no button at point, look for a
subgroup button at start-of-line.
2011-03-09 19:44:33 -08:00
Glenn Morris
ccb55d277a * lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes. 2011-03-09 19:41:17 -08:00
Julien Danjou
ec6ecaed88 Inhibit mouse-avoidance if cursor-type is nil (Bug#8209).
* lisp/avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
`cursor-type' is nil.
2011-03-09 21:14:55 -05:00
Jay Belanger
9d5aa01d30 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'. 2011-03-09 17:38:16 -06:00
Ken Manheimer
b6a5875b6a * allout.el Summary: Change so yank of distinctive-bullet items preserves
the existing header prefix, rebulleting it if necessary, rather than
replacing it.  This is necessary for proper operation of cooperative addons
like allout-widgets.

(allout-make-topic-prefix) (allout-rebullet-heading): Change SOLICIT arg to
INSTEAD, and interpret additionally a string value as alternate bullet to
be used, instead of prompting the user for a bullet character.
2011-03-09 15:48:56 -05:00
Michael Albinus
ee545c35d2 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
not use `tramp-file-name-port', because this returns also
`tramp-default-port'.
2011-03-09 12:04:27 +01:00
Deniz Dogan
c47971d7a3 * lisp/net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
2011-03-09 11:45:19 +01:00
Glenn Morris
0be6f4f187 * shell.el (shell-mode): Set comint-input-ring-size from HISTSIZE. (Bug#7889) 2011-03-09 01:01:14 -08:00
Glenn Morris
13522cb4cd gdb-mi addition for bug#7889.
* lisp/progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
Check for GDBHISTFILE, HISTSIZE, etc.
2011-03-09 00:43:27 -08:00
Chong Yidong
515de2e321 Use condition-case-no-debug in package.el.
* lisp/emacs-lisp/package.el (package-refresh-contents)
(package-menu-execute): Use condition-case-no-debug.
2011-03-08 12:11:19 -05:00
Michael Albinus
b511b994ae * simple.el (shell-command-to-string): Use `process-file'.
* emacs-lisp/package.el (package-tar-file-info): Handle also
remote files.

* emacs-lisp/package-x.el (package-upload-buffer-internal): Use
`equal' for upload base check.
2011-03-08 13:58:40 +01:00
Arni Magnusson
25bbfb31d5 texinfo.el addition for bug#2783.
* lisp/textmodes/texinfo.el (texinfo-environments):
Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.
2011-03-07 20:42:40 -08:00
Glenn Morris
e9c8529f6a cus-start.el fix for bug#8192.
* lisp/cus-start.el (cursor-in-non-selected-windows):
Fix :set quoting oddness.
2011-03-07 20:34:31 -08:00
Glenn Morris
be99652196 font-lock.el tweak for bug#2159.
* lisp/font-lock.el (lisp-font-lock-keywords-1):
Don't highlight `)' in some setf expressions.
2011-03-07 20:28:14 -08:00
Chong Yidong
2bb5649ecc * lisp/custom.el (custom-available-themes): Return themes in alphabetical order. 2011-03-07 21:49:20 -05:00
Chong Yidong
7600cf4599 Fix a cc-cmds.el patch from acm that I applied incorrectly (Bug#7595).
* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
application of patch from Alan Mackenzie (Bug#7595).
2011-03-07 15:29:03 -05:00
Chong Yidong
1df1040bf8 Fix 2011-01-31 change; patch supplied by acm was applied incorrectly.
* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Fix 2011-01-31
change; patch supplied by Alan Mackenzie was applied incorrectly.
2011-03-07 15:05:53 -05:00
Deniz Dogan
fa7062f653 * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug. 2011-03-07 13:03:22 +01:00
Glenn Morris
7e319d3cc3 vc.el fix for bug#6146.
* lisp/vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
Give an explicit error if failed to make writable.
2011-03-07 00:56:30 -08:00
Glenn Morris
619f4b625e * lisp/vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt. 2011-03-07 00:39:43 -08:00
Ed Reingold
e63e9234d0 cal-hebrew addition from bug#8190.
* lisp/calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
Add optional `after-sunset' argument.
2011-03-06 23:48:32 -08:00
Aaron S. Hawley
f72c1fd6af * lisp/play/morse.el (morse-region, unmorse-region): Barf if read-only. 2011-03-06 23:35:25 -08:00
Aaron S. Hawley
16130297d0 morse.el additions from bug#2288.
* lisp/play/morse.el (nato-alphabet, nato-region, denato-region):
New variable and functions.
2011-03-06 23:33:11 -08:00
Chong Yidong
c6678f2916 Revert 2010-05-25T15:54:53Z!juri@jurta.org; regenerate release logs.
* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Revert
2011-01-31 change.
2011-03-07 00:20:23 -05:00
Stefan Monnier
2b0787b344 * lisp/progmodes/gud.el (gdb-script-syntax-propertize-function):
Don't change the syntax of a \n that closes a comment.

Fixes: debbugs:8169
2011-03-06 15:55:52 -05:00
Chong Yidong
5c69cb2ce3 Usability improvements to commands in package-x.el.
* lisp/emacs-lisp/package-x.el (package-archive-upload-base): Make it a
defcustom.
(package--update-file): Doc fix.  Accept relative file names.
(package--archive-contents-from-file): Remove the argument, since
it's necessarily always "archive-contents".
(package-maint-add-news-item): Pass relative file name args to
package--update-file.
(package-upload-buffer-internal): Prompt for a destination if
package-archive-upload-base is invalid.  Create the directory if
it does not exist.
(package-upload-buffer, package-upload-file): Doc fix.
2011-03-06 15:19:39 -05:00
Chong Yidong
892777baa1 Bind C-y in Isearch to isearch-yank-kill.
* lisp/isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
and move isearch-yank-line to M-s C-e.

* doc/emacs/search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
2011-03-06 13:24:11 -05:00
Alan Mackenzie
804a116c9d (c-guess-basic-syntax): Move CASE 19 to a different place, correctly to
process template-args-cont lines.
2011-03-06 17:03:45 +00:00
Alan Mackenzie
9d1f0f559d progmodes/cc-engine.el (c-guess-basic-syntax): Reindent. 2011-03-06 16:57:31 +00:00