]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
Michael Albinus [Thu, 5 May 2011 09:48:43 +0000 (11:48 +0200)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
port computation bug.  (Bug#8618)

13 years ago* image.c (Finit_image_library) [!HAVE_NTGUI]: Omit unused local.
Paul Eggert [Thu, 5 May 2011 07:23:07 +0000 (00:23 -0700)]
* image.c (Finit_image_library) [!HAVE_NTGUI]: Omit unused local.

13 years ago* lisp/gnus/gnus-start.el (gnus-propagate-marks): Declare.
Glenn Morris [Thu, 5 May 2011 06:56:54 +0000 (23:56 -0700)]
* lisp/gnus/gnus-start.el (gnus-propagate-marks): Declare.

13 years ago* allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
Glenn Morris [Thu, 5 May 2011 06:53:29 +0000 (23:53 -0700)]
* allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.

13 years agoDeclarations in simple.el.
Glenn Morris [Thu, 5 May 2011 06:50:24 +0000 (23:50 -0700)]
Declarations in simple.el.

* lisp/simple.el (shell-dynamic-complete-functions)
(comint-dynamic-complete-functions): Declare.

13 years agoDeclaration fixes.
Glenn Morris [Thu, 5 May 2011 06:35:41 +0000 (23:35 -0700)]
Declaration fixes.

* lisp/net/network-stream.el (gnutls-negotiate): Fix declaration.

* lisp/simple.el (tabulated-list-print): Fix declaration.

* lisp/progmodes/gud.el (syntax-symbol, syntax-point):
Remove unnecessary and incorrect declarations.

13 years agoRevert to wraparound integer arithmetic, instead of going to float.
Paul Eggert [Thu, 5 May 2011 06:31:14 +0000 (23:31 -0700)]
Revert to wraparound integer arithmetic, instead of going to float.

13 years agoSmall check-declare fix.
Glenn Morris [Thu, 5 May 2011 06:27:24 +0000 (23:27 -0700)]
Small check-declare fix.

* lisp/emacs-lisp/check-declare.el (check-declare-scan):
Handle byte-compile-initial-macro-environment in bytecomp.el

13 years agoChangeLog merge fix, grumble.
Glenn Morris [Thu, 5 May 2011 06:25:24 +0000 (23:25 -0700)]
ChangeLog merge fix, grumble.

13 years agoComment typo.
Glenn Morris [Thu, 5 May 2011 06:04:38 +0000 (23:04 -0700)]
Comment typo.

13 years agoMerge from mainline.
Paul Eggert [Thu, 5 May 2011 05:31:24 +0000 (22:31 -0700)]
Merge from mainline.

13 years agoMerge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org.
Glenn Morris [Thu, 5 May 2011 04:00:38 +0000 (21:00 -0700)]
Merge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org.

13 years agoFix earlier half-done eieio-defmethod change.
Stefan Monnier [Thu, 5 May 2011 03:42:09 +0000 (00:42 -0300)]
Fix earlier half-done eieio-defmethod change.
* lisp/emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
Streamline and change calling convention.
(defmethod): Adjust accordingly and simplify.
(eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
new eieio--defmethod.
(slot-boundp): Minor CSE simplification.

Fixes: debbugs:8338
13 years agoStop bootstrap clobbering config.log (bug#765)
Glenn Morris [Thu, 5 May 2011 03:30:03 +0000 (20:30 -0700)]
Stop bootstrap clobbering config.log (bug#765)

* Makefile.in (bootstrap-clean): Save config.log.
(top_distclean): Delete config.log~.

13 years agoSmall addition to glasses.el (bug#8524)
Milan Zamazal [Thu, 5 May 2011 03:26:55 +0000 (20:26 -0700)]
Small addition to glasses.el (bug#8524)

* lisp/progmodes/glasses.el (glasses-separate-capital-groups): New option.
(glasses-make-readable): Use glasses-separate-capital-groups.

13 years ago* configure.bat: Added support for --cflags and --ldflags
Ben Key [Thu, 5 May 2011 02:56:16 +0000 (21:56 -0500)]
* configure.bat: Added support for --cflags and --ldflags
options that include quotes as long as command extensions are
enabled.  Specifically when -I, -L, and similar flags are used
to specify supplementary include and library directories a
directory name that includes spaces may now be used if it is
enclosed in quotes.

* INSTALL: Documented the change to configure.bat.

13 years agosrc/gnutls.c: Keep list of function aliases in alphabetical order.
Juanma Barranquero [Thu, 5 May 2011 02:18:36 +0000 (04:18 +0200)]
src/gnutls.c: Keep list of function aliases in alphabetical order.

13 years agoAdd fn_NAME alias for `gnutls_certificate_set_x509_key_file'.
Ted Zlatanov [Thu, 5 May 2011 02:05:36 +0000 (21:05 -0500)]
Add fn_NAME alias for `gnutls_certificate_set_x509_key_file'.

* gnutls.c (fn_gnutls_certificate_set_x509_key_file): Add alias to
`gnutls_certificate_set_x509_key_file'.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Thu, 5 May 2011 00:20:44 +0000 (02:20 +0200)]
src/makefile.w32-in: Update dependencies.

13 years agolisp/emacs-lisp/warnings.el: Tiny fixes.
Juanma Barranquero [Thu, 5 May 2011 00:06:10 +0000 (02:06 +0200)]
lisp/emacs-lisp/warnings.el: Tiny fixes.

* emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
  (warning-series): Doc fix.
  (display-warning): Don't try to create the buffer if we just found it.

13 years agosrc/gnutls.c: Remove unused parameter `fildes'.
Juanma Barranquero [Wed, 4 May 2011 23:56:09 +0000 (01:56 +0200)]
src/gnutls.c: Remove unused parameter `fildes'.

* gnutls.h (emacs_gnutls_write, emacs_gnutls_read):
* gnutls.c (emacs_gnutls_write, emacs_gnutls_read):
  Remove unused parameter `fildes'.
* process.c (read_process_output, send_process): Don't pass it.

13 years agoFix previous change: the library cache is defined in w32.c.
Juanma Barranquero [Wed, 4 May 2011 20:03:07 +0000 (22:03 +0200)]
Fix previous change: the library cache is defined in w32.c.

* image.c (CACHE_IMAGE_TYPE) [!HAVE_NTGUI]: Define to noop.
  (Finit_image_library): Wrap Vlibrary_cache on "#ifdef HAVE_NTGUI".

13 years agoMake autoloading commands prompt for autoload file (Bug#7989)
Chong Yidong [Wed, 4 May 2011 15:38:41 +0000 (11:38 -0400)]
Make autoloading commands prompt for autoload file (Bug#7989)

* emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
(autoload-find-generated-file): New function.
(generate-file-autoloads): Bind generated-autoload-file to
buffer-file-name.
(update-file-autoloads, update-directory-autoloads): Use
autoload-find-generated-file.  If called interactively, prompt for
output file.
(batch-update-autoloads): Doc fix.

13 years agoImplement dynamic loading of GnuTLS on Windows.
Juanma Barranquero [Wed, 4 May 2011 14:03:16 +0000 (16:03 +0200)]
Implement dynamic loading of GnuTLS on Windows.

* lisp/term/w32-win.el (dynamic-library-alist): Add `gnutls'.

* nt/INSTALL: Clarify GnuTLS support.

* src/callproc.c, src/emacs.c: Include lisp.h before src/w32.h, not after.

* src/gnutls.c (Qgnutls_dll): Define.
  (DEF_GNUTLS_FN, LOAD_GNUTLS_FN): New macros.
  (gnutls_*): Declare function pointers.
  (init_gnutls_functions): New function to initialize function pointers.
  (emacs_gnutls_handshake, Fgnutls_error_string, Fgnutls_deinit)
  (emacs_gnutls_global_init, Fgnutls_bye): Use function pointers.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Wrappers for gnutls_record_check_pending and gnutls_transport_set_errno.
  (emacs_gnutls_write, emacs_gnutls_read)
  (emacs_gnutls_handle_error, Fgnutls_error_fatalp)
  (Fgnutls_available_p): New function.
  (Fgnutls_boot): Call Fgnutls_available_p.  Use function pointers.
  (syms_of_gnutls) <Qgnutls_dll>: Initialize and staticpro it.
  (syms_of_gnutls) <Sgnutls_available_p>: defsubr it.

* src/gnutls.h (GNUTLS_EMACS_ERROR_NOT_LOADED): New macro.
  (emacs_gnutls_write, emacs_gnutls_read): Mark as extern.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Declare.

* src/w32.c (QCloaded_from, Vlibrary_cache): Define.
  (w32_delayed_load): Move from image.c.  When loading a library, record
  its filename in the :loaded-from property of the library id.
  (globals_of_w32) <QCloaded_from, Vlibrary_cache>:
  Initialize and staticpro them.
  (emacs_gnutls_pull, emacs_gnutls_push): Call emacs_gnutls_* functions.

* src/image.c: Include w32.h.
  (Vimage_type_cache): Delete.
  (syms_of_image) <Vimage_type_cache>: Don't initialize and staticpro it.
  (CACHE_IMAGE_TYPE, Finit_image_library): Use Vlibrary_cache instead.
  (w32_delayed_load): Move to w32.c.

* src/process.c: Include lisp.h before src/w32.h, not after.
  (wait_reading_process_output): Call emacs_gnutls_record_check_pending
  instead of gnutls_record_check_pending.

* src/w32.h (VlibraryCache, QCloaded_from, w32_delayed_load): Declare.

13 years agoregistry.el (registry-reindex): Fix percentage message.
Teodor Zlatanov [Wed, 4 May 2011 11:28:46 +0000 (11:28 +0000)]
registry.el (registry-reindex): Fix percentage message.

13 years ago* term.c (vfatal): Remove stray call to va_end.
Paul Eggert [Wed, 4 May 2011 07:20:46 +0000 (00:20 -0700)]
* term.c (vfatal): Remove stray call to va_end.

It's not needed and the C Standard doesn't allow it here anyway.

13 years agoUse C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.
Paul Eggert [Wed, 4 May 2011 07:19:21 +0000 (00:19 -0700)]
Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.

13 years ago* eval.c (verror): OK to create a string of up to MOST_POSITIVE_FIXNUM
Paul Eggert [Wed, 4 May 2011 06:24:29 +0000 (23:24 -0700)]
* eval.c (verror): OK to create a string of up to MOST_POSITIVE_FIXNUM

bytes.

13 years ago* term.c: Don't include <stdarg.h>, as <lisp.h> does that.
Paul Eggert [Wed, 4 May 2011 06:21:26 +0000 (23:21 -0700)]
* term.c: Don't include <stdarg.h>, as <lisp.h> does that.

13 years agoMerge from mainline.
Paul Eggert [Wed, 4 May 2011 06:13:23 +0000 (23:13 -0700)]
Merge from mainline.

13 years ago* Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.
Paul Eggert [Wed, 4 May 2011 06:11:49 +0000 (23:11 -0700)]
* Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.
This new gnulib-tool option saves 'configure' the trouble of
checking for strtoull when strtoumax exists.

13 years agoSmall diary-lib.el font-locking fix.
Glenn Morris [Wed, 4 May 2011 02:06:28 +0000 (19:06 -0700)]
Small diary-lib.el font-locking fix.

* lisp/calendar/diary-lib.el (diary-fancy-date-pattern):
Turn it into a function, so it follows changes in calendar-date-style.
(diary-fancy-date-matcher): New function.
(diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
(diary-fancy-font-lock-fontify-region-function):
Use diary-fancy-date-pattern as a function.

13 years agodiary-lib.el fix for bug#8583.
Glenn Morris [Wed, 4 May 2011 02:03:30 +0000 (19:03 -0700)]
diary-lib.el fix for bug#8583.

* lisp/calendar/diary-lib.el (diary-fancy-date-pattern):
Do not use non-numbers for `year' etc pseudo-variables.

13 years agoComment fix.
Glenn Morris [Wed, 4 May 2011 02:01:27 +0000 (19:01 -0700)]
Comment fix.

13 years agoMark tiny change.
Glenn Morris [Wed, 4 May 2011 02:00:20 +0000 (19:00 -0700)]
Mark tiny change.

13 years agoSupport :keylist and :crlfiles options to `gnutls-boot' and use them.
Ted Zlatanov [Wed, 4 May 2011 01:45:27 +0000 (20:45 -0500)]
Support :keylist and :crlfiles options to `gnutls-boot' and use them.

* src/gnutls.c (Fgnutls_boot): Support :keylist and :crlfiles options
instead of :keyfiles.  Give GnuTLS the keylist and the CRL lists
as passed in.

13 years agoUse CL-style keyword arguments for `gnutls-negotiate' and allow :keylist and :crlfile...
Ted Zlatanov [Wed, 4 May 2011 01:44:58 +0000 (20:44 -0500)]
Use CL-style keyword arguments for `gnutls-negotiate' and allow :keylist and :crlfiles arguments.

* lisp/net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
instead of positional arguments.  Allow :keylist and :crlfiles
arguments.
(open-gnutls-stream): Call it.

* lisp/net/network-stream.el (network-stream-open-starttls): Adjust to
call `gnutls-negotiate' with :process and :hostname arguments.

13 years ago* lisp/minibuffer.el (completion--message): New function.
Stefan Monnier [Wed, 4 May 2011 01:19:32 +0000 (22:19 -0300)]
* lisp/minibuffer.el (completion--message): New function.
(completion--do-completion, minibuffer-complete)
(minibuffer-force-complete, minibuffer-complete-word): Use it.
(completion--do-completion): Don't ignore completion-auto-help when in
icomplete-mode.

13 years ago* lisp/whitespace.el (whitespace-trailing-regexp): Don't rely on the
Stefan Monnier [Wed, 4 May 2011 01:02:09 +0000 (22:02 -0300)]
* lisp/whitespace.el (whitespace-trailing-regexp): Don't rely on the
internal encoding (e.g. tibetan zero is not whitespace).
(global-whitespace-mode): Prefer save-current-buffer.
(whitespace-trailing-regexp): Remove useless save-match-data.
(whitespace-empty-at-bob-regexp): Minor simplification.

13 years agoMerge from mainline.
Paul Eggert [Wed, 4 May 2011 00:26:43 +0000 (17:26 -0700)]
Merge from mainline.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 3 May 2011 22:41:28 +0000 (22:41 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Summary Buffer Lines): gnus-summary-user-date-format-alist does not exist.
 (Sorting the Summary Buffer): More about sorting threads.
shr.el: Add shr-link face for links.
 (shr-urlify): Use it.
registry.el (registry-insert): Make error message more helpful.

13 years agoAdd Bug#.
Paul Eggert [Tue, 3 May 2011 18:57:49 +0000 (11:57 -0700)]
Add Bug#.

13 years ago[etc/ChangeLog]
Paul Eggert [Tue, 3 May 2011 16:33:36 +0000 (09:33 -0700)]
[etc/ChangeLog]

* NEWS: Integer overflow now yields floating-point instead of
wrapping around.
[doc/lispref/ChangeLog]
* numbers.texi (Arithmetic Operations, Math Functions): Large integers go to
floats instead of wrapping around.
* objects.texi (Integer Type): Likewise.

13 years ago* xterm.c (x_set_frame_alpha): Do not set property on anything
Jan Djärv [Tue, 3 May 2011 15:54:54 +0000 (17:54 +0200)]
* xterm.c (x_set_frame_alpha): Do not set property on anything
else than FRAME_X_OUTER_WINDOW.

Fixes: debbugs:8608
13 years agoMark tiny change.
Glenn Morris [Tue, 3 May 2011 15:51:14 +0000 (08:51 -0700)]
Mark tiny change.

13 years ago* emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
Chong Yidong [Tue, 3 May 2011 15:33:05 +0000 (11:33 -0400)]
* emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).

13 years agoFix my last lisp/Changelog entry.
Agustín Martín [Tue, 3 May 2011 15:08:20 +0000 (17:08 +0200)]
Fix my last lisp/Changelog entry.

13 years agoispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion.
Agustín Martín [Tue, 3 May 2011 14:11:39 +0000 (16:11 +0200)]
ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion.

Fixes: debbugs:8579
13 years ago* lisp/textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
Stefan Monnier [Tue, 3 May 2011 14:03:48 +0000 (11:03 -0300)]
* lisp/textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
Avoid open-line which runs post-self-insert-hook.
(bibtex-fill-entry): Remove unused `end' var.

13 years agoispell.el (ispell-add-per-file-word-list): Protect against `nil' value of `comment...
Agustín Martín [Tue, 3 May 2011 11:08:15 +0000 (13:08 +0200)]
ispell.el (ispell-add-per-file-word-list):  Protect against `nil' value of `comment-start' (Bug#8579).

13 years ago* floatfns.c (Fexpt): Likewise.
Paul Eggert [Tue, 3 May 2011 08:52:13 +0000 (01:52 -0700)]
* floatfns.c (Fexpt): Likewise.

13 years ago* lisp/erc/erc-backend.el (671): New response handler.
Julien Danjou [Tue, 3 May 2011 08:37:51 +0000 (10:37 +0200)]
* lisp/erc/erc-backend.el (671): New response handler.
* lisp/erc/erc.el (english): Add 671 to catalog.

13 years agoArithmetic overflows now return float rather than wrapping around.
Paul Eggert [Tue, 3 May 2011 07:51:38 +0000 (00:51 -0700)]
Arithmetic overflows now return float rather than wrapping around.

* data.c: Include <intprops.h>.
(arith_driver): Use floating point if the accumulator would otherwise
go out of EMACS_INT range.
(arith_driver, Fadd1, Fsub1): Use floating point if the result is
out of Emacs fixnum range.
* bytecode.c (exec_byte_code): Likewise, for Bsub1, Badd1, Bnegate.

13 years ago* numbers.texi (Integer Basics): Large integers are treated as floats.
Paul Eggert [Tue, 3 May 2011 07:41:32 +0000 (00:41 -0700)]
* numbers.texi (Integer Basics): Large integers are treated as floats.

13 years ago* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.
Paul Eggert [Tue, 3 May 2011 06:26:40 +0000 (23:26 -0700)]
* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.

13 years ago* process.c (Fformat_network_address): Fix typo: args2 -> *args2.
Paul Eggert [Tue, 3 May 2011 06:13:54 +0000 (23:13 -0700)]
* process.c (Fformat_network_address): Fix typo: args2 -> *args2.

13 years ago* xmenu.c (set_frame_menubar): Fix typo: int * -> int (3 times).
Paul Eggert [Tue, 3 May 2011 06:12:50 +0000 (23:12 -0700)]
* xmenu.c (set_frame_menubar): Fix typo: int * -> int (3 times).

13 years agoMerge from mainline.
Paul Eggert [Tue, 3 May 2011 05:47:50 +0000 (22:47 -0700)]
Merge from mainline.

13 years agoMerge: Fixes for Bug#8600 and Bug#8601.
Paul Eggert [Tue, 3 May 2011 05:46:00 +0000 (22:46 -0700)]
Merge: Fixes for Bug#8600 and Bug#8601.

13 years agoNew command isearch-yank-pop and bind it to `M-y' in Isearch
Leo Liu [Tue, 3 May 2011 03:34:26 +0000 (11:34 +0800)]
New command isearch-yank-pop and bind it to `M-y' in Isearch

13 years ago* lisp/simple.el (minibuffer-local-shell-command-map): Use completion-at-point.
Stefan Monnier [Tue, 3 May 2011 01:52:52 +0000 (22:52 -0300)]
* lisp/simple.el (minibuffer-local-shell-command-map): Use completion-at-point.
(minibuffer-complete-shell-command): Remove.
(read-shell-command): Setup completion vars here instead.
(read-expression-map): Bind TAB to symbol completion.

13 years ago* lisp/textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
Stefan Monnier [Tue, 3 May 2011 01:48:32 +0000 (22:48 -0300)]
* lisp/textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
error directly rather via storing it into `results'.

13 years agoDocument new GnuTLS additions for general and W32 use.
Ted Zlatanov [Tue, 3 May 2011 00:48:07 +0000 (19:48 -0500)]
Document new GnuTLS additions for general and W32 use.

* NEWS: Mention new library gnutls.el and explain GnuTLS
functionality.  Mention new configure.bat options --without-gnutls
and --lib for W32.

13 years ago* NEWS: Mention `url-retrieve-queue', (:file "file") and `server-eval-at'.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 22:53:34 +0000 (00:53 +0200)]
* NEWS: Mention `url-retrieve-queue', (:file "file") and `server-eval-at'.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 22:41:38 +0000 (22:41 +0000)]
Merge changes made in Gnus trunk.

gnus-html.el (gnus-html-schedule-image-fetching): Use url-queue-retrieve, if it exists.
shr.el (shr-tag-img): Ditto.
gnus.el: Autoload more gnus-agent functions.
gnus-art.el (gnus-request-article-this-buffer): Store articles in the agent if we haven't already (bug#8502).
gnus-async.el (gnus-async-article-callback): Put prefetched articles into the Agent, too.
gnus-agent.el (gnus-agent-store-article): New function.

13 years agoKill all processes associated with the buffer.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 18:30:48 +0000 (20:30 +0200)]
Kill all processes associated with the buffer.

13 years agoAutoload `url-queue-retrieve', and fix up the pruning code.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 18:15:39 +0000 (20:15 +0200)]
Autoload `url-queue-retrieve', and fix up the pruning code.

13 years ago(url-queue-run-queue): Pick the first waiting job, and not the last.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 17:28:34 +0000 (19:28 +0200)]
(url-queue-run-queue): Pick the first waiting job, and not the last.

13 years agoAdd the new file url-queue.el, which allows controlling the
Lars Magne Ingebrigtsen [Mon, 2 May 2011 17:06:56 +0000 (19:06 +0200)]
Add the new file url-queue.el, which allows controlling the
parallelism when fetching web pages asynchronously.

13 years agoFix description of diff.el
Leo Liu [Mon, 2 May 2011 12:22:38 +0000 (20:22 +0800)]
Fix description of diff.el

13 years agosrc/sysdep.c (get_tty_size) [WINDOWSNT]: Implement.
Juanma Barranquero [Mon, 2 May 2011 03:57:02 +0000 (05:57 +0200)]
src/sysdep.c (get_tty_size) [WINDOWSNT]: Implement.

Fixes: debbugs:8596
13 years agonnheader.el (nnheader-insert-buffer-substring): Renamed from nntp- and moved from...
Lars Magne Ingebrigtsen [Mon, 2 May 2011 03:37:06 +0000 (03:37 +0000)]
nnheader.el (nnheader-insert-buffer-substring): Renamed from nntp- and moved from that file for reuse.

13 years agoAdd Bug#.
Paul Eggert [Mon, 2 May 2011 03:21:58 +0000 (20:21 -0700)]
Add Bug#.

13 years ago* lread.c (read_integer): Be more consistent with string-to-number.
Paul Eggert [Mon, 2 May 2011 02:58:08 +0000 (19:58 -0700)]
* lread.c (read_integer): Be more consistent with string-to-number.

Use string_to_number to do the actual conversion; this avoids
rounding errors and fixes some other screwups.  Without this fix,
for example, #x1fffffffffffffff was misread as -2305843009213693952.
(digit_to_number): Move earlier, for benefit of read_integer.
Return -1 if the digit is out of range for the base, -2 if it is
not a digit in any supported base.

13 years agosrc/gnutls.c: Make static a bunch of variables.
Juanma Barranquero [Mon, 2 May 2011 02:49:06 +0000 (04:49 +0200)]
src/gnutls.c: Make static a bunch of variables.

13 years agoDecode &_ => SPC in the reply.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 02:33:11 +0000 (04:33 +0200)]
Decode &_ => SPC in the reply.

13 years agoImplement and document `server-eval-at'.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 02:06:53 +0000 (04:06 +0200)]
Implement and document `server-eval-at'.

13 years agopop3.el (pop3-open-server): Fix It's `tls', not :tls.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 01:45:17 +0000 (01:45 +0000)]
pop3.el (pop3-open-server): Fix It's `tls', not :tls.

13 years agopop3.el (pop3-open-server): Error messages are "-ERR".
Lars Magne Ingebrigtsen [Mon, 2 May 2011 01:19:21 +0000 (01:19 +0000)]
pop3.el (pop3-open-server): Error messages are "-ERR".

13 years ago* coding.c (detect_coding_charset): Fix typo: * 2 -> *4 (Bug#8601).
Paul Eggert [Sun, 1 May 2011 23:37:08 +0000 (16:37 -0700)]
* coding.c (detect_coding_charset): Fix typo: * 2 -> *4 (Bug#8601).

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 1 May 2011 23:30:18 +0000 (23:30 +0000)]
Merge changes made in Gnus trunk.

pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
 (open-tls-stream): Remove superfluous tls/starttls autoloads.
gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame.
nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring to get the conversion from unibyte to multibyte buffers to work on Emacs 22.
nntp.el (nntp-request-article): Slight clean-up.

13 years agoAdd Bug#.
Paul Eggert [Sun, 1 May 2011 17:53:49 +0000 (10:53 -0700)]
Add Bug#.

13 years ago* charset.h (struct charset.code_space): Now has 15 elements, not 16.
Paul Eggert [Sun, 1 May 2011 16:27:34 +0000 (09:27 -0700)]
* charset.h (struct charset.code_space): Now has 15 elements, not 16.

* charset.c (Fdefine_charset_internal): Don't initialize
charset.code_space[15].  The value was garbage, on hosts with
32-bit int.

13 years ago(open-network-stream): Take a :nowait parameter and pass it on to `make-network-process'.
Lars Magne Ingebrigtsen [Sun, 1 May 2011 15:39:10 +0000 (17:39 +0200)]
(open-network-stream): Take a :nowait parameter and pass it on to `make-network-process'.

13 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 1 May 2011 10:23:07 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

13 years ago* src/callproc.c: Indentation fixup.
Andreas Schwab [Sun, 1 May 2011 09:02:01 +0000 (11:02 +0200)]
* src/callproc.c: Indentation fixup.

13 years ago* src/sysdep.c (wait_for_termination_1): Make static.
Andreas Schwab [Sun, 1 May 2011 08:52:17 +0000 (10:52 +0200)]
* src/sysdep.c (wait_for_termination_1): Make static.
(wait_for_termination, interruptible_wait_for_termination): Move
after wait_for_termination_1.

13 years agoExtend `call-process' to take the `(:file "file")' syntax to redirect
Lars Magne Ingebrigtsen [Sun, 1 May 2011 00:04:17 +0000 (02:04 +0200)]
Extend `call-process' to take the `(:file "file")' syntax to redirect
STDOUT to a file.

13 years ago* doprnt.c (doprnt): Support arbitrary pI values, such as "I64".
Paul Eggert [Sat, 30 Apr 2011 20:05:43 +0000 (13:05 -0700)]
* doprnt.c (doprnt): Support arbitrary pI values, such as "I64".

13 years agoMerge from mainline.
Paul Eggert [Sat, 30 Apr 2011 19:00:39 +0000 (12:00 -0700)]
Merge from mainline.

13 years ago* lisp/faces.el (face-spec-set-match-display): Don't match toolkit
Andreas Schwab [Sat, 30 Apr 2011 17:57:07 +0000 (19:57 +0200)]
* lisp/faces.el (face-spec-set-match-display): Don't match toolkit
options on terminal frames.

13 years ago* dispnew.c (scrolling_window): Return 1 if we scrolled,
Paul Eggert [Sat, 30 Apr 2011 15:40:06 +0000 (08:40 -0700)]
* dispnew.c (scrolling_window): Return 1 if we scrolled,

to match comment at start of function.  This also removes a
GCC warning about overflow in a 32+64-bit port.

13 years agokeep highlight when switching between major modes on a file.
Vinicius Jose Latorre [Sat, 30 Apr 2011 15:15:07 +0000 (12:15 -0300)]
keep highlight when switching between major modes on a file.

13 years agoAdapt the MSDOS build to latest changes.
Eli Zaretskii [Sat, 30 Apr 2011 10:31:17 +0000 (13:31 +0300)]
Adapt the MSDOS build to latest changes.

 msdos/inttypes.h: New file.
 msdos/sed2v2.inp (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
 (HAVE_STRTOULL, HAVE_STRTOULL): Define to 1.
 src/sedlibmk.inp (BUILT_SOURCES): Edit out inttypes.h.
 src/sed1v2.inp (CPPFLAGS): Edit to "-I../msdos".
 Add ../msdos/inttypes.h to prerequisites of lread.o.
 src/dosfns.c (Fint86, Fdos_memget, Fdos_memput): Use `ASIZE (FOO)'
 rather than `XVECTOR (FOO)->size'.

13 years agoDon't test HAVE_INTTYPES_H in process.c.
Eli Zaretskii [Sat, 30 Apr 2011 09:31:01 +0000 (12:31 +0300)]
Don't test HAVE_INTTYPES_H in process.c.

 src/process.c: Remove HAVE_INTTYPES_H condition from inclusion of
 inttypes.h, as a gnulib replacement is used if it not available in
 system headers.

13 years agoDefine HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows.
Eli Zaretskii [Sat, 30 Apr 2011 09:14:30 +0000 (12:14 +0300)]
Define HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows.

 nt/config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
 Define to 1 for MinGW of MSVC versions >= 1400.

13 years ago* config.nt: Simplify test to 1400 <= _MSC_VER.
Paul Eggert [Sat, 30 Apr 2011 07:38:26 +0000 (00:38 -0700)]
* config.nt: Simplify test to 1400 <= _MSC_VER.

13 years ago* config.nt: Configure 64-bit integers.
Paul Eggert [Sat, 30 Apr 2011 06:51:50 +0000 (23:51 -0700)]
* config.nt: Configure 64-bit integers.

(BITS_PER_LONG_LONG): Define if C99-style long long and "%lld" work.
(EMACS_INT, BITS_PER_EMACS_INT, pI): Otherwise, define these if
__int64 and "%I64d" work.

13 years ago* lisp.h (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Simplify.
Paul Eggert [Sat, 30 Apr 2011 02:49:39 +0000 (19:49 -0700)]
* lisp.h (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Simplify.

13 years ago* dbusbind.c: Do not use XPNTR on a value that may be an integer.
Paul Eggert [Sat, 30 Apr 2011 01:06:41 +0000 (18:06 -0700)]
* dbusbind.c: Do not use XPNTR on a value that may be an integer.

Reported by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00919.html>.
(xd_remove_watch, Fdbus_init_bus, xd_read_queued_messages): Use
SYMBOLP-guarded XSYMBOL, not XPNTR.