]> code.delx.au - gnu-emacs/log
gnu-emacs
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 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 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 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* 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 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 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 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 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* 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 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 agoshr.el (shr-strike-through): New face.
Lars Magne Ingebrigtsen [Sat, 30 Apr 2011 00:03:19 +0000 (00:03 +0000)]
shr.el (shr-strike-through): New face.
 (shr-tag-s): Use it to provide <s> support.
 (shr-tag-s): Remove duplicate definition.

13 years agoLift the MOST_POSITIVE_FIXNUM/4 limitation on visited files (bug#8528).
Eli Zaretskii [Fri, 29 Apr 2011 19:47:29 +0000 (22:47 +0300)]
Lift the MOST_POSITIVE_FIXNUM/4 limitation on visited files (bug#8528).

 src/fileio.c (Finsert_file_contents): Don't limit file size to 1/4
 of MOST_POSITIVE_FIXNUM.
 src/coding.c (coding_alloc_by_realloc): Error out if destination
 will grow beyond MOST_POSITIVE_FIXNUM.
 (decode_coding_emacs_mule): Abort if there isn't enough place in
 charbuf for the composition carryover bytes.  Reserve an extra
 space for up to 2 characters produced in a loop.
 (decode_coding_iso_2022): Abort if there isn't enough place in
 charbuf for the composition carryover bytes.

13 years agoDon't abort in doprnt when passed unsupported %ll modifier.
Eli Zaretskii [Fri, 29 Apr 2011 19:34:06 +0000 (22:34 +0300)]
Don't abort in doprnt when passed unsupported %ll modifier.

 src/doprnt.c (doprnt) [!HAVE_LONG_LONG_INT]: Error out instead of
 aborting when %lld or %lll format is passed.
 [!HAVE_UNSIGNED_LONG_LONG_INT]: Error out instead of aborting when
 %llo or %llx format is passed.  (Bug#8545)

13 years agoFix bug #7952 with vertical motion in Grep buffers.
Eli Zaretskii [Fri, 29 Apr 2011 18:03:00 +0000 (21:03 +0300)]
Fix bug #7952 with vertical motion in Grep buffers.

 src/window.c (window_scroll_line_based): Use a marker instead of
 simple variables to record original value of point.

13 years ago* lisp/progmodes/pascal.el: Use lexical binding.
Stefan Monnier [Fri, 29 Apr 2011 17:34:28 +0000 (14:34 -0300)]
* lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.

13 years ago* pcomplete.el (pcomplete-std-complete): Fix last minute typo.
Stefan Monnier [Fri, 29 Apr 2011 17:33:30 +0000 (14:33 -0300)]
* pcomplete.el (pcomplete-std-complete): Fix last minute typo.

13 years ago* lisp/pcomplete.el (pcomplete-std-complete): Don't abuse
Stefan Monnier [Fri, 29 Apr 2011 17:24:09 +0000 (14:24 -0300)]
* lisp/pcomplete.el (pcomplete-std-complete): Don't abuse
completion-at-point.

13 years ago* lisp/erc/erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
Stefan Monnier [Fri, 29 Apr 2011 15:23:59 +0000 (12:23 -0300)]
* lisp/erc/erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
suffix that's added by pcomplete-termination-string anyway.
(pcomplete-erc-setup): Remove pcomplete-suffix-list setting now that
it's not needed any more.

13 years agoetc/NEWS: Separate post-23.3 entries.
Eli Zaretskii [Fri, 29 Apr 2011 14:27:57 +0000 (17:27 +0300)]
etc/NEWS: Separate post-23.3 entries.

13 years agoAllow the Windows build to use upto 2GB of heap.
Eli Zaretskii [Fri, 29 Apr 2011 14:23:44 +0000 (17:23 +0300)]
Allow the Windows build to use upto 2GB of heap.

 src/w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
 New version that can reserve upto 2GB of heap space.
 etc/NEWS: Mention the new feature.

13 years agoFix doprnt when buffer is too small for multibyte sequences.
Eli Zaretskii [Fri, 29 Apr 2011 11:01:11 +0000 (14:01 +0300)]
Fix doprnt when buffer is too small for multibyte sequences.

 src/doprnt.c (doprnt): Fix the case where a multibyte sequence
 produced by %s or %c overflows available buffer space.  (Bug#8545)

13 years agolisp/calc/calccomp.el (math-comp-to-string-flat-term): Simplify.
Juanma Barranquero [Thu, 28 Apr 2011 23:08:37 +0000 (01:08 +0200)]
lisp/calc/calccomp.el (math-comp-to-string-flat-term): Simplify.

13 years agolisp/startup.el (command-line): Use delayed warning for "_emacs".
Juanma Barranquero [Thu, 28 Apr 2011 22:58:40 +0000 (00:58 +0200)]
lisp/startup.el (command-line): Use delayed warning for "_emacs".

13 years agoetc/NEWS: Document new "default HOME" warning.
Juanma Barranquero [Thu, 28 Apr 2011 22:48:58 +0000 (00:48 +0200)]
etc/NEWS: Document new "default HOME" warning.

13 years agoMerge: doprnt: Omit useless test; int overflow check (Bug#8545).
Paul Eggert [Thu, 28 Apr 2011 22:06:00 +0000 (15:06 -0700)]
Merge: doprnt: Omit useless test; int overflow check (Bug#8545).

13 years agoDocument doprnt's behavior a bit better.
Paul Eggert [Thu, 28 Apr 2011 22:02:15 +0000 (15:02 -0700)]
Document doprnt's behavior a bit better.

13 years agoRemove confusing word from comment.
Paul Eggert [Thu, 28 Apr 2011 21:41:39 +0000 (14:41 -0700)]
Remove confusing word from comment.

13 years agont/gmake.defs (ARCH): Fix error message in case of unknown architecture.
Eli Zaretskii [Thu, 28 Apr 2011 20:43:23 +0000 (23:43 +0300)]
nt/gmake.defs (ARCH): Fix error message in case of unknown architecture.

13 years agont/INSTALL: More details about problems with MSYS Bash.
Eli Zaretskii [Thu, 28 Apr 2011 20:28:51 +0000 (23:28 +0300)]
nt/INSTALL: More details about problems with MSYS Bash.

Fixes: debbugs:8564
13 years agoImprove comment.
Paul Eggert [Thu, 28 Apr 2011 20:27:52 +0000 (13:27 -0700)]
Improve comment.

13 years ago* lisp/net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
Deniz Dogan [Thu, 28 Apr 2011 20:22:51 +0000 (22:22 +0200)]
* lisp/net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
user has not joined.

13 years ago* doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it.
Paul Eggert [Thu, 28 Apr 2011 20:11:17 +0000 (13:11 -0700)]
* doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it.

13 years ago* doprnt.c (doprnt): Omit useless test; int overflow check (Bug#8545).
Paul Eggert [Thu, 28 Apr 2011 20:09:37 +0000 (13:09 -0700)]
* doprnt.c (doprnt): Omit useless test; int overflow check (Bug#8545).

13 years agosrc/w32.c (init_environment): Warn about defaulting HOME to C:\.
Juanma Barranquero [Thu, 28 Apr 2011 19:51:12 +0000 (21:51 +0200)]
src/w32.c (init_environment): Warn about defaulting HOME to C:\.

13 years ago* lisp/pcomplete.el (pcomplete-completions-at-point): Return nil if there
Stefan Monnier [Thu, 28 Apr 2011 19:39:11 +0000 (16:39 -0300)]
* lisp/pcomplete.el (pcomplete-completions-at-point): Return nil if there
aren't any completions at point.

13 years agoAdd delayed warnings support.
Juanma Barranquero [Thu, 28 Apr 2011 19:35:20 +0000 (21:35 +0200)]
Add delayed warnings support.

* etc/NEWS: Document `delayed-warnings-list' and `delayed-warnings-hook'.

* lisp/subr.el (display-delayed-warnings): New function.
  (delayed-warnings-hook): New variable.

* src/keyboard.c (Qdelayed_warnings_hook): Define.
  (command_loop_1): Run `delayed-warnings-hook' if Vdelayed_warnings_list
  is non-nil.
  (syms_of_keyboard) <delayed-warnings-hook>: DEFSYM it.
  (syms_of_keyboard) <delayed-warnings-list>: DEFVAR_LISP it.

13 years agoetc/NEWS: Fix typos.
Juanma Barranquero [Thu, 28 Apr 2011 19:07:08 +0000 (21:07 +0200)]
etc/NEWS: Fix typos.

13 years agont/INSTALL: Mention problems with MSYS/Cygwin Bash right at the beginning.
Eli Zaretskii [Thu, 28 Apr 2011 17:25:14 +0000 (20:25 +0300)]
nt/INSTALL: Mention problems with MSYS/Cygwin Bash right at the beginning.

Fixes: debbugs:8564
13 years agoFix bug #8563 with TeX input method.
Eli Zaretskii [Thu, 28 Apr 2011 17:20:43 +0000 (20:20 +0300)]
Fix bug #8563 with TeX input method.

 leim/quail/latin-ltx.el <\beth, \gimel, \daleth>: Produce
 corresponding symbols rather than Hebrew letters.

13 years agoMake MH-E use completion-at-point
Stefan Monnier [Thu, 28 Apr 2011 15:32:28 +0000 (12:32 -0300)]
Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.

13 years agoFix return value from doprnt when message is truncated at non-ASCII character.
Eli Zaretskii [Thu, 28 Apr 2011 11:46:40 +0000 (07:46 -0400)]
Fix return value from doprnt when message is truncated at non-ASCII character.

 src/doprnt.c (doprnt): Don't return value smaller than the buffer
 size if the message was truncated.  (Bug#8545).

13 years agosrc/w32fns.c: #if-0 some functions entirely, not just the bodies.
Juanma Barranquero [Thu, 28 Apr 2011 02:01:33 +0000 (04:01 +0200)]
src/w32fns.c: #if-0 some functions entirely, not just the bodies.

13 years ago* lisp/pcomplete.el (pcomplete-completions-at-point):
Stefan Monnier [Thu, 28 Apr 2011 00:18:12 +0000 (21:18 -0300)]
* lisp/pcomplete.el (pcomplete-completions-at-point):
Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
(pcomplete-comint-setup): Also recognize the new comint/shell
completion functions.
(pcomplete-do-complete): Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.

13 years agoMerge: * doprnt.c (doprnt): Support "ll" length modifier, for long long.
Paul Eggert [Wed, 27 Apr 2011 23:48:43 +0000 (16:48 -0700)]
Merge: * doprnt.c (doprnt): Support "ll" length modifier, for long long.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Wed, 27 Apr 2011 23:35:33 +0000 (01:35 +0200)]
src/makefile.w32-in: Update dependencies.

13 years agoFix comments.
Paul Eggert [Wed, 27 Apr 2011 23:04:20 +0000 (16:04 -0700)]
Fix comments.

13 years ago* doprnt.c (doprnt): Fix two typos for long long.
Paul Eggert [Wed, 27 Apr 2011 22:59:09 +0000 (15:59 -0700)]
* doprnt.c (doprnt): Fix two typos for long long.

13 years agoMerge from mainline.
Paul Eggert [Wed, 27 Apr 2011 22:29:33 +0000 (15:29 -0700)]
Merge from mainline.

13 years agoSupport inttypes.h and strtoumax in non-MinGW builds on Windows.
Eli Zaretskii [Wed, 27 Apr 2011 21:14:34 +0000 (00:14 +0300)]
Support inttypes.h and strtoumax in non-MinGW builds on Windows.

 nt/inc/inttypes.h: New file.
 nt/config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.

13 years agoFix bug #8563 with \aleph in TeX input method.
Eli Zaretskii [Wed, 27 Apr 2011 20:34:56 +0000 (23:34 +0300)]
Fix bug #8563 with \aleph in TeX input method.

 leim/quail/latin-ltx.el <\aleph>: Produce ALEF SYMBOL instead of
 HEBREW LETTER ALEF.