Glenn Morris [Thu, 15 Oct 2009 06:50:34 +0000 (06:50 +0000)]
Ryan Yeske <rcyeske at gmail.com>
(rcirc-view-log-file): New command.
(rcirc-track-minor-mode-map): Remove C-c ` binding.
(rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be specified.
Glenn Morris [Thu, 15 Oct 2009 06:10:10 +0000 (06:10 +0000)]
(autoloads, $(lisp)/calendar/cal-loaddefs.el)
($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
w32-batch-update-autoloads.
Glenn Morris [Thu, 15 Oct 2009 06:00:20 +0000 (06:00 +0000)]
(rmail-cease-edit): Give an error if the end of the headers cannot be
located. Simplify, subtracting superflous save-excursions.
(See http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-10/msg00182.html)
Stefan Monnier [Thu, 15 Oct 2009 01:50:17 +0000 (01:50 +0000)]
Replace completion-base-size by completion-base-position to fix bugs
such as (bug#4699).
* simple.el (completion-base-position): New var.
(completion-base-size): Mark as obsolete.
(choose-completion): Make it work for mouse events as well.
Pass the new base-position to choose-completion-string.
(choose-completion-guess-base-position): New function, extracted from
choose-completion-delete-max-match.
(choose-completion-delete-max-match): Use it. Make obsolete.
(choose-completion-string): Use the new base-position info.
(completion-root-regexp): Delete.
(completion-setup-function): Preserve completion-base-position.
Eliminate obsolete base-size manipulation.
* minibuffer.el (display-completion-list): Don't mess with base-size.
(minibuffer-completion-help): Set completion-base-position instead.
* mouse.el (mouse-choose-completion): Redefine as a mere alias to
choose-completion.
* textmodes/bibtex.el (bibtex-complete):
* emacs-lisp/crm.el (crm--choose-completion-string):
Adjust to new calling convention.
* complete.el (partial-completion-mode): Use minibufferp to avoid
bumping into incompatible change to choose-completion-string-functions.
* ido.el (ido-choose-completion-string): Make its calling convention
more permissive.
* comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
base-size manipulation.
(comint-dynamic-list-input-ring): Use dotimes and push.
* iswitchb.el (iswitchb-completion-help): Remove dead-code call to
fundamental-mode. Use `or'.
Stefan Monnier [Wed, 14 Oct 2009 15:10:09 +0000 (15:10 +0000)]
(completion-pcm--merge-completions): Make sure the
string we return is all made up of text from the completions rather
than part from the completions and part from the input (bug#4219).
Dan Nicolaescu [Wed, 14 Oct 2009 06:08:47 +0000 (06:08 +0000)]
(vc-responsible-backend): When a directory is passed for
for registration create a VC repository if no backend is
responsible for the directory argument.
(vc-deduce-fileset): Tell vc-responsible-backend to register.
Adrian Robert [Mon, 12 Oct 2009 00:28:30 +0000 (00:28 +0000)]
2009-10-11 Adrian Robert <Adrian.B.Robert@gmail.com>
Changes for 64-bit compile under Snow Leopard.
* nsfns.m (xw-color-values): Use CGFloat where appropriate.
* nsfont.m (ns_char_width): Replace deprecated call (suggested by
Erik Charlebois).
(ns_findfonts, nsfont_list_family): Use long format in printf, and
cast argument.
(nsfont_open): Use ns_char_width() everywhere.
(ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where
appropriate.
* nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat.
* nsimage.m (EmacsImage-setXBMColor:,-getPixelAtX:Y:): Use CGFloat
where appropriate.
* nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger
where appropriate.
(EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:): Use
stringWithUTF8String.
(EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature.
* nsterm.h (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip): Add
formal protocol mention to inheritance.
[NS_HAVE_NSINTEGER]: Drop conditional and contents.
* nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate. Fix
printf format.
(ns_query_color): Use CGFloat where appropriate.
(EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
(EmacsScroller-mouseDown:) Use long format in printf, and cast
argument.
Adrian Robert [Mon, 12 Oct 2009 00:27:52 +0000 (00:27 +0000)]
* nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate. Fix
printf format.
(ns_query_color): Use CGFloat where appropriate.
(EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
(EmacsScroller-mouseDown:) Use long format in printf, and cast
argument.
Adrian Robert [Mon, 12 Oct 2009 00:27:28 +0000 (00:27 +0000)]
* nsfont.m (ns_char_width): Replace deprecated call (suggested by
Erik Charlebois).
(ns_findfonts, nsfont_list_family): Use long format in printf, and
cast argument.
(nsfont_open): Use ns_char_width() everywhere.
(ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where
appropriate.
Adrian Robert [Mon, 12 Oct 2009 00:27:13 +0000 (00:27 +0000)]
* nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger
where appropriate.
(EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:): Use
stringWithUTF8String.
(EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature.
Michael Albinus [Sun, 11 Oct 2009 14:02:23 +0000 (14:02 +0000)]
* net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-file-name-handler-alist): Add handlers for
`add-name-to-file', `make-symbolic-link'.
(tramp-smb-handle-add-name-to-file)
(tramp-do-file-attributes-with-stat)
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-get-cifs-capabilities): New defuns.
(tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
(tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
(tramp-smb-handle-file-local-copy)
(tramp-smb-handle-make-directory-internal)
(tramp-smb-handle-rename-file, tramp-smb-handle-write-region): The
file name syntax depends on cifs capabilities.
(tramp-smb-handle-file-attributes); Call
`tramp-do-file-attributes-with-stat' if possible.
(tramp-smb-handle-insert-directory): Use posix attributes if
possible.
(tramp-smb-handle-set-file-modes): It is applicable for posix
only.
Chong Yidong [Sun, 11 Oct 2009 02:19:27 +0000 (02:19 +0000)]
* emacs-lisp/eieio.el: Avoid requiring cl at runtime.
(eieio-defclass): Apply deftype handler and setf-method properties
directly.
(eieio-add-new-slot): Avoid union function from cl library.
(eieio--typep): New function.
(eieio-perform-slot-validation): Use it.
Karl Fogel [Fri, 9 Oct 2009 06:44:40 +0000 (06:44 +0000)]
* lisp/bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
(bookmark-bmenu-execute-deletions): Don't save here, as bookmark-delete
will now do so if necessary.