bpt/emacs.git
13 years ago* data.c (arith_driver, Flsh): Avoid unnecessary casts to EMACS_UINT.
Paul Eggert [Tue, 24 May 2011 01:20:04 +0000 (18:20 -0700)]
* data.c (arith_driver, Flsh): Avoid unnecessary casts to EMACS_UINT.

13 years ago* ccl.c (ccl_driver): Redo slightly to avoid the need for 'unsigned'.
Paul Eggert [Mon, 23 May 2011 06:58:38 +0000 (23:58 -0700)]
* ccl.c (ccl_driver): Redo slightly to avoid the need for 'unsigned'.

13 years agoAdd bug#.
Paul Eggert [Mon, 23 May 2011 06:54:47 +0000 (23:54 -0700)]
Add bug#.

13 years agoccl: add integer overflow checks
Paul Eggert [Mon, 23 May 2011 06:50:03 +0000 (23:50 -0700)]
ccl: add integer overflow checks

* ccl.c (CCL_CODE_MAX, GET_CCL_RANGE, GET_CCL_CODE, GET_CCL_INT):
(IN_INT_RANGE): New macros.
(ccl_driver): Use them to check for integer overflow when
decoding a CCL program.  Many of the new checks are whether XINT (x)
fits in int; it doesn't always, on 64-bit hosts.  The new version
doesn't catch all possible integer overflows, but it's an
improvement.

13 years ago* alloc.c (make_event_array): Use XINT, not XUINT.
Paul Eggert [Mon, 23 May 2011 00:31:35 +0000 (17:31 -0700)]
* alloc.c (make_event_array): Use XINT, not XUINT.

There's no need for unsigned here.

13 years ago* mem-limits.h (EXCEEDS_LISP_PTR) [!USE_LSB_TAG]: EMACS_UINT -> uintptr_t
Paul Eggert [Mon, 23 May 2011 00:22:43 +0000 (17:22 -0700)]
* mem-limits.h (EXCEEDS_LISP_PTR) [!USE_LSB_TAG]: EMACS_UINT -> uintptr_t

This follows up to the 2011-05-06 change that substituted uintptr_t
for EMACS_INT.  This case wasn't caught back then.

13 years agoMerge from trunk.
Paul Eggert [Mon, 23 May 2011 00:09:23 +0000 (17:09 -0700)]
Merge from trunk.

13 years ago* gnutls.c: Remove unused macros.
Paul Eggert [Mon, 23 May 2011 00:03:40 +0000 (17:03 -0700)]
* gnutls.c: Remove unused macros.

(fn_gnutls_transport_set_lowat, fn_gnutls_transport_set_pull_function):
(fn_gnutls_transport_set_push_function) [!WINDOWSNT]:
Remove macros that are defined and never used.
Caught by gcc -Wunused-macros (GCC 4.6.0, Fedora 14).

13 years agoRemove var mistakenly introduced in 2011-05-22T19:46:47Z!cyd@stupidchicken.com.
Chong Yidong [Sun, 22 May 2011 21:57:43 +0000 (17:57 -0400)]
Remove var mistakenly introduced in 2011-05-22T19:46:47Z!cyd@stupidchicken.com.

* src/xselect.c (syms_of_xselect): Remove unused symbol SAVE_TARGETS.
(Fx_get_selection_internal): Minor cleanup.
(Fx_own_selection_internal): Rename arguments for consistency with
select.el.

13 years agoMerge from mainline.
Paul Eggert [Sun, 22 May 2011 21:16:24 +0000 (14:16 -0700)]
Merge from mainline.

13 years ago* xselect.c (QSAVE_TARGETS): New static var, to fix build failure.
Paul Eggert [Sun, 22 May 2011 21:12:04 +0000 (14:12 -0700)]
* xselect.c (QSAVE_TARGETS): New static var, to fix build failure.

13 years agoMerge from gnulib.
Paul Eggert [Sun, 22 May 2011 21:02:48 +0000 (14:02 -0700)]
Merge from gnulib.

13 years agoRework Fformat to avoid integer overflow issues.
Paul Eggert [Sun, 22 May 2011 20:27:07 +0000 (13:27 -0700)]
Rework Fformat to avoid integer overflow issues.

* editfns.c: Include <float.h> unconditionally, as it's everywhere
now (part of C89).  Include <verify.h>.
(MAX_10_EXP, CONVERTED_BYTE_SIZE): Remove; no longer needed.
(pWIDE, pWIDElen, signed_wide, unsigned_wide): New defns.
(Fformat): Avoid the prepass trying to compute sizes; it was only
approximate and thus did not catch overflow reliably.  Instead, walk
through the format just once, formatting and computing sizes as we go,
checking for integer overflow at every step, and allocating a larger
buffer as needed.  Keep track separately whether the format is
multibyte.  Keep only the most-recently calculated precision, rather
than them all.  Record whether each argument has been converted to
string.  Use EMACS_INT, not int, for byte and char and arg counts.
Support field widths and precisions larger than INT_MAX.  Avoid
sprintf's undefined behavior with conversion specifications such as %#d
and %.0c.  Fix bug with strchr succeeding on '\0' when looking for
flags.  Fix bug with (format "%c" 256.0).  Avoid integer overflow when
formatting out-of-range floating point numbers with int
formats. (Bug#8668)

13 years agoMake rng-xsd-check-pattern case sensitive (Bug#8516).
Yuanle Song [Sun, 22 May 2011 19:46:47 +0000 (15:46 -0400)]
Make rng-xsd-check-pattern case sensitive (Bug#8516).

* nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
matching.

13 years ago* src/xselect.c (syms_of_xselect): Include character.h; use DEFSYM.
Chong Yidong [Sun, 22 May 2011 19:39:54 +0000 (15:39 -0400)]
* src/xselect.c (syms_of_xselect): Include character.h; use DEFSYM.

13 years agoMaked "edited" tag stand out in vc-dir (Bug#8178).
Jari Aalto [Sun, 22 May 2011 19:36:07 +0000 (15:36 -0400)]
Maked "edited" tag stand out in vc-dir (Bug#8178).

* vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
different face.

13 years agoFix diff-changed face definition.
Chong Yidong [Sun, 22 May 2011 19:22:37 +0000 (15:22 -0400)]
Fix diff-changed face definition.

* lisp/vc/diff-mode.el (diff-changed): Don't use terminal specs for
defface (Bug#8144).

13 years agoDoc fixes for mule.texi.
Chong Yidong [Sun, 22 May 2011 19:05:14 +0000 (15:05 -0400)]
Doc fixes for mule.texi.

* mule.texi (Specify Coding, Text Coding, Communication Coding):
(File Name Coding, Terminal Coding): Add command names (Bug#8312).

13 years ago* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
Stefan Monnier [Sun, 22 May 2011 18:22:30 +0000 (15:22 -0300)]
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
funcall as well.  Warn when performing those conversions.
* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.

Fixes: debbugs:8712

13 years ago* lisp/progmodes/grep.el (grep-mode): Fix it for good!
Stefan Monnier [Sun, 22 May 2011 17:19:24 +0000 (14:19 -0300)]
* lisp/progmodes/grep.el (grep-mode): Fix it for good!

Fixes: debbugs:8684

13 years ago* lisp.h (FIXNUM_OVERFLOW_P): Work even if arg is a NaN.
Paul Eggert [Sun, 22 May 2011 07:12:24 +0000 (00:12 -0700)]
* lisp.h (FIXNUM_OVERFLOW_P): Work even if arg is a NaN.

13 years agoFurther tweak previous files.el change.
Glenn Morris [Sun, 22 May 2011 01:18:49 +0000 (18:18 -0700)]
Further tweak previous files.el change.

* lisp/files.el (hack-local-variables): In the MODE-ONLY case, try to
ignore minor modes.

13 years agoTweak previous files.el change.
Glenn Morris [Sun, 22 May 2011 00:34:41 +0000 (17:34 -0700)]
Tweak previous files.el change.

* lisp/files.el (hack-local-variables-prop-line)
(hack-local-variables): In the MODE-ONLY case, return the full mode
symbol, including "-mode".

13 years agoMore small hack-local-variables tweaks for MODE-ONLY case.
Glenn Morris [Sun, 22 May 2011 00:04:49 +0000 (17:04 -0700)]
More small hack-local-variables tweaks for MODE-ONLY case.

* lisp/files.el (hack-local-variables-prop-line): Small simplifications.
(hack-local-variables, hack-local-variables-prop-line):
If MODE-ONLY, return the mode, rather than just `t'.

13 years ago* lisp/progmodes/grep.el (grep-mode): Fix last change.
Stefan Monnier [Sat, 21 May 2011 23:18:22 +0000 (20:18 -0300)]
* lisp/progmodes/grep.el (grep-mode): Fix last change.

Fixes: debbugs:8684

13 years agoSmall files.el hack-local changes for mode-only case.
Glenn Morris [Sat, 21 May 2011 22:33:12 +0000 (15:33 -0700)]
Small files.el hack-local changes for mode-only case.

* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
If only interested in the mode, don't bother doing the other stuff.

13 years ago* admin/bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.
Glenn Morris [Sat, 21 May 2011 21:19:30 +0000 (14:19 -0700)]
* admin/bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.

13 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 21 May 2011 10:19:46 +0000 (06:19 -0400)]
Auto-commit of loaddefs files.

13 years ago* Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk.
Andreas Schwab [Sat, 21 May 2011 09:53:32 +0000 (11:53 +0200)]
* Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk.

13 years ago* data.c: Avoid integer truncation in expressions involving floats.
Paul Eggert [Sat, 21 May 2011 05:38:43 +0000 (22:38 -0700)]
* data.c: Avoid integer truncation in expressions involving floats.

* data.c: Include <intprops.h>.
(arith_driver): When there's an integer overflow in an expression
involving floating point, convert the integers to floating point
so that the resulting value does not suffer from catastrophic
integer truncation.  For example, on a 64-bit host (* 4
most-negative-fixnum 0.5) should yield about -4.6e+18, not zero.
Do not rely on undefined behavior after integer overflow.

13 years agomerge count_size_as_multibyte, parse_str_to_multibyte
Paul Eggert [Sat, 21 May 2011 04:33:23 +0000 (21:33 -0700)]
merge count_size_as_multibyte, parse_str_to_multibyte

* character.c, character.h (count_size_as_multibyte):
Renamed from parse_str_to_multibyte; all uses changed.
Check for integer overflow.
* insdel.c, lisp.h (count_size_as_multibyte): Remove,
since it's now a duplicate of the other.  This is more of
a character than a buffer op, so better that it's in character.c.
* fns.c, print.c: Adjust to above changes.

13 years ago* lib-src/etags.c: Fix typo in previous comment change.
Glenn Morris [Sat, 21 May 2011 02:27:00 +0000 (19:27 -0700)]
* lib-src/etags.c: Fix typo in previous comment change.

13 years agoMerge from emacs-23; up to 2010-06-11T18:51:00Z!juri@jurta.org.
Glenn Morris [Sat, 21 May 2011 02:15:34 +0000 (19:15 -0700)]
Merge from emacs-23; up to 2010-06-11T18:51:00Z!juri@jurta.org.

13 years agoimage-mode fix for bug#8567.
Glenn Morris [Sat, 21 May 2011 02:09:49 +0000 (19:09 -0700)]
image-mode fix for bug#8567.

* image-mode.el (image-after-revert-hook):
Redraw all frames on which the image is visible.

13 years ago* lib-src/etags.c: Comment.
Glenn Morris [Sat, 21 May 2011 02:08:21 +0000 (19:08 -0700)]
* lib-src/etags.c: Comment.

13 years ago* dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
Glenn Morris [Sat, 21 May 2011 02:07:25 +0000 (19:07 -0700)]
* dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)

13 years ago* wid-edit.el (widget-checklist-match-inline): Fix 2011-04-19 change. (Bug#8649)
Glenn Morris [Sat, 21 May 2011 02:06:11 +0000 (19:06 -0700)]
* wid-edit.el (widget-checklist-match-inline): Fix 2011-04-19 change.  (Bug#8649)

13 years ago* src/Makefile.in (SOME_MACHINE_OBJECTS): Add some more files.
Glenn Morris [Sat, 21 May 2011 02:04:48 +0000 (19:04 -0700)]
* src/Makefile.in (SOME_MACHINE_OBJECTS): Add some more files.

13 years ago* src/Makefile.in ($(etc)/DOC): Make second command line even shorter.
Glenn Morris [Sat, 21 May 2011 02:02:42 +0000 (19:02 -0700)]
* src/Makefile.in ($(etc)/DOC): Make second command line even shorter.

13 years ago* dispnew.c (scrolling_window): Don't exclude the case that the
YAMAMOTO Mitsuharu [Sat, 21 May 2011 01:56:45 +0000 (10:56 +0900)]
* dispnew.c (scrolling_window): Don't exclude the case that the
last enabled row in the desired matrix touches the bottom boundary.

13 years ago* lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
Stefan Monnier [Fri, 20 May 2011 18:20:12 +0000 (15:20 -0300)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
Also allow singlespace after single-letter capitals followed by a dot.

13 years ago* lisp/nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
Stefan Monnier [Fri, 20 May 2011 13:15:00 +0000 (10:15 -0300)]
* lisp/nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
enabled.  Suggested by James Ahlborn <jahlborn@gmail.com>.

Fixes: debbugs:8704

13 years ago.bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h.
Eli Zaretskii [Fri, 20 May 2011 09:54:04 +0000 (12:54 +0300)]
.bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h.

13 years agoFix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org, 2011-05-20T00...
Eli Zaretskii [Fri, 20 May 2011 09:47:59 +0000 (12:47 +0300)]
Fix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org, 2011-05-20T00:41:03Z!rgm@gnu.org.

 config.bat: Concatenate lisp.mk onto the end of src/Makefile.
 msdos/sed1v2.inp (make-docfile commands): Recognize only if the line
 begins with a TAB.  Use $(etc) rather than a literal "../etc".
 (`sed SED-COMMAND $(srcdir)/lisp.mk`): Edit to replace with "$(lisp).
 (@lisp_frag@): Edit out.
 msdos/sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to
 zero.
 src/callproc.c (Fcall_process) [MSDOS]: Fix arguments to
 report_file_error introduced by the change from 2011-05-07.

13 years ago* systime.h (Time): Define only if emacs is defined.
Paul Eggert [Fri, 20 May 2011 06:37:13 +0000 (23:37 -0700)]
* systime.h (Time): Define only if emacs is defined.

This is to allow ../lib-src/profile.c to be compiled on FreeBSD,
where the include path doesn't have X11/X.h by default.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00561.html>.

13 years agognus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves...
Teodor Zlatanov [Fri, 20 May 2011 01:00:46 +0000 (01:00 +0000)]
gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever.

13 years agomerge trunk
Kenichi Handa [Fri, 20 May 2011 00:54:09 +0000 (09:54 +0900)]
merge trunk

13 years agoSmall break-hardlink-on-save fix.
Nix [Fri, 20 May 2011 00:51:46 +0000 (17:51 -0700)]
Small break-hardlink-on-save fix.

* files.el (basic-save-buffer-2):
Fix handling of break-hardlink-on-save with non-existent files.

13 years agocomposite.c (find_automatic_composition): Fix previous change.
Kenichi Handa [Fri, 20 May 2011 00:51:38 +0000 (09:51 +0900)]
composite.c (find_automatic_composition): Fix previous change.

13 years agoAuto-commit of generated files.
Glenn Morris [Fri, 20 May 2011 00:44:19 +0000 (20:44 -0400)]
Auto-commit of generated files.

13 years agoRemove $shortlisp from src/Makefile.in.
Glenn Morris [Fri, 20 May 2011 00:41:03 +0000 (17:41 -0700)]
Remove $shortlisp from src/Makefile.in.

* configure.in (lisp_frag): New output file.

* src/lisp.mk: New file, split from Makefile.in, and inheriting its
  copyright years.
* src/Makefile.in (lisp): Move to separate file, inserted by @lisp_frag@.
(shortlisp): Remove.
($(etc)/DOC): Edit lisp.mk rather than using $shortlisp.

* lisp/loadup.el, doc/misc/Makefile.in: Comment changes.

13 years agomm-bodies.el (mm-decode-content-transfer-encoding): Allow leading whitespace in base6...
Katsumi Yamaoka [Fri, 20 May 2011 00:03:51 +0000 (00:03 +0000)]
mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading whitespace in base64 data lines.

13 years ago* lisp/net/rcirc.el (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
Deniz Dogan [Thu, 19 May 2011 12:38:39 +0000 (14:38 +0200)]
* lisp/net/rcirc.el (rcirc-markup-urls): Check if rcirc-url-regexp is nil.

13 years ago* lisp/net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
Deniz Dogan [Thu, 19 May 2011 07:55:34 +0000 (09:55 +0200)]
* lisp/net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.

13 years agoFix whitespace in previous change.
Glenn Morris [Thu, 19 May 2011 07:23:18 +0000 (00:23 -0700)]
Fix whitespace in previous change.

13 years ago* doc/lispref/lists.texi (Sets And Lists): Mention cl provides union etc.
Glenn Morris [Thu, 19 May 2011 06:59:50 +0000 (23:59 -0700)]
* doc/lispref/lists.texi (Sets And Lists): Mention cl provides union etc.

13 years agoMisc small lispref fixes.
Nix [Thu, 19 May 2011 06:54:27 +0000 (23:54 -0700)]
Misc small lispref fixes.

* windows.texi (Displaying Buffers): pop-to-buffer is not a command.

* text.texi (Parsing HTML): Update for function name changes.

* syntax.texi (Syntax Flags): Small fix.

* keymaps.texi (Active Keymaps): Typo fix.
(Changing Key Bindings): Grammar fix.

* frames.texi (Minibuffers and Frames): Grammar fix.
(Window System Selections): x-select-enable-clipboard now defaults to t.

* customize.texi (Common Keywords):
* display.texi (Abstract Display):
* modes.texi (Auto-Indentation):
* nonascii.texi (Converting Representations): Typo fixes.

* control.texi (Examples of Catch): Call it "goto" not "go to".

13 years agoAuto-commit of generated files.
Glenn Morris [Thu, 19 May 2011 06:28:27 +0000 (02:28 -0400)]
Auto-commit of generated files.

13 years ago* lisp/progmodes/f90.el (f90-type-def-re): Handle "type, bind(c)". (Bug#8691)
Glenn Morris [Thu, 19 May 2011 06:18:58 +0000 (23:18 -0700)]
* lisp/progmodes/f90.el (f90-type-def-re): Handle "type, bind(c)".  (Bug#8691)

13 years agoRemove the SOME_MACHINE_LISP distinction in src/Makefile.in.
Glenn Morris [Thu, 19 May 2011 06:04:16 +0000 (23:04 -0700)]
Remove the SOME_MACHINE_LISP distinction in src/Makefile.in.

See discussion in http://debbugs.gnu.org/8302

* configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
(WINDOW_SUPPORT): Remove output variables that are no longer used.

* lib-src/makefile.w32-in (echolisp): Remove rule that is no longer needed.
(clean): No more echolisp.tmp.

* .bzrignore: Remove lib-src/echolisp.tmp.

* lisp/emacs-lisp/autoload.el (batch-update-autoloads):
Set autoload-excludes by parsing lisp/loadup.el rather than Makefiles.

* lisp/loadup.el: Update commentary.

* msdos/sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT):
* msdos/sed1v2.inp (MSDOS_SUPPORT, NS_SUPPORT, MOUSE_SUPPORT)
(TOOLTIP_SUPPORT, WINDOW_SUPPORT): No need to edit these any more.

* src/Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT)
(REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
(BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove.
(lisp): Set the order to that of loadup.el.
(shortlisp): Make it a copy of $lisp.
(SOME_MACHINE_LISP): Remove.
($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too.
Use just $shortlisp, not $SOME_MACHINE_LISP too.

13 years agomerge trunk
Kenichi Handa [Thu, 19 May 2011 00:37:36 +0000 (09:37 +0900)]
merge trunk

13 years agognus.texi (Gnus Registry Setup): Rename from "Setup".
Teodor Zlatanov [Wed, 18 May 2011 22:16:26 +0000 (22:16 +0000)]
gnus.texi (Gnus Registry Setup): Rename from "Setup".
 (Store custom flags and keywords): Mention `gnus-registry-user-format-function-M' and `gnus-registry-user-format-function-M2'.
gnus-registry.el (gnus-registry-user-format-function-M): Use `mapconcat'.
 (gnus-registry-user-format-function-M2): Use to see the full text of the marks.  Make "," the mark text separator.

13 years agonntp.el (nntp-send-authinfo): Use the "force" token for NNTP authentication with...
Teodor Zlatanov [Wed, 18 May 2011 14:17:34 +0000 (14:17 +0000)]
nntp.el (nntp-send-authinfo): Use the "force" token for NNTP authentication with auth-source.

13 years agoMake find_automatic_composition more efficient.
Kenichi Handa [Wed, 18 May 2011 14:11:50 +0000 (23:11 +0900)]
Make find_automatic_composition more efficient.

13 years ago* net/tramp.el (tramp-process-actions): Set "first-password-request"
Michael Albinus [Wed, 18 May 2011 12:59:25 +0000 (14:59 +0200)]
* net/tramp.el (tramp-process-actions): Set "first-password-request"
property for the correct connection in case of multihops.

13 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Wed, 18 May 2011 11:53:59 +0000 (13:53 +0200)]
lisp/ChangeLog: Fix typos.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Wed, 18 May 2011 11:32:07 +0000 (13:32 +0200)]
src/makefile.w32-in: Update dependencies.

13 years agoAuto-commit of generated files.
Glenn Morris [Wed, 18 May 2011 10:19:25 +0000 (06:19 -0400)]
Auto-commit of generated files.

13 years agoFix last commit.
Eli Zaretskii [Wed, 18 May 2011 05:21:07 +0000 (01:21 -0400)]
Fix last commit.

13 years agoChangeLog changes for 2011-05-18T00:35:01Z!eggert@cs.ucla.edu.
Eli Zaretskii [Wed, 18 May 2011 05:02:49 +0000 (08:02 +0300)]
ChangeLog changes for 2011-05-18T00:35:01Z!eggert@cs.ucla.edu.

 ChangeLog: Entry for gnulib sync.
 doc/misc/ChangeLog: Entry for gnulib sync.

13 years ago* lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c
Glenn Morris [Wed, 18 May 2011 03:42:33 +0000 (20:42 -0700)]
* lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c

13 years agoRemove lib-src/fakemail.c.
Glenn Morris [Wed, 18 May 2011 03:39:45 +0000 (20:39 -0700)]
Remove lib-src/fakemail.c.

* lib-src/fakemail.c: Remove file.

* lib-src/Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
(fakemail${EXEEXT}): Remove rule.

* lib-src/makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
($(BLD)/fakemail.$(O)): Remove.

* lisp/mail/sendmail.el (sendmail-program): Fall back to just "sendmail".

* lisp/mail/feedmail.el: Update commentary.

* doc/emacs/ack.texi (Acknowledgments): Remove fakemail.c.

* etc/NEWS: Mention this.

* INSTALL: Remove fakemail.

13 years agoRationalize calendar handling of day and month abbrev-arrays.
Glenn Morris [Wed, 18 May 2011 03:20:13 +0000 (20:20 -0700)]
Rationalize calendar handling of day and month abbrev-arrays.

* lisp/calendar/calendar.el (calendar-customized-p): New function.
(calendar-abbrev-construct, calendar-make-alist): Change what it does.
(calendar-day-name-array, calendar-month-name-array): Doc fix.
Add :set function.
(calendar-abbrev-length, calendar-day-abbrev-array)
(calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
(calendar-day-abbrev-array, calendar-month-abbrev-array):
Elements may no longer be nil.
(calendar-day-name, calendar-month-name):
Update for changed nature of abbrev arrays.
* calendar/diary-lib.el (diary-name-pattern):
Update for changed nature of abbrev arrays.
(diary-mark-entries-1): Update calendar-make-alist calls.
(diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
* calendar/cal-html.el (cal-html-day-abbrev-array):
Simply inherit from calendar-day-abbrev-array.

* etc/NEWS: Mention this.

13 years agoLast commit was missing updated source file.
Christoph Scholtes [Wed, 18 May 2011 03:03:15 +0000 (21:03 -0600)]
Last commit was missing updated source file.

13 years ago* menu.c: Include limits.h (fixes the MS-Windows build broken by
Christoph Scholtes [Wed, 18 May 2011 03:00:08 +0000 (21:00 -0600)]
* menu.c: Include limits.h (fixes the MS-Windows build broken by
revision 2011-05-18T00:52:24Z!eggert@cs.ucla.edu).

13 years agoAdd header for integer overflow fixes.
Paul Eggert [Wed, 18 May 2011 00:47:42 +0000 (17:47 -0700)]
Add header for integer overflow fixes.

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

13 years agoMerge from gnulib.
Paul Eggert [Wed, 18 May 2011 00:35:01 +0000 (17:35 -0700)]
Merge from gnulib.

13 years ago* src/term.c (Fresume_tty): Restore hooks before reinitializing.
Courtney Bane [Wed, 18 May 2011 00:26:48 +0000 (21:26 -0300)]
* src/term.c (Fresume_tty): Restore hooks before reinitializing.

Fixes: debbugs:8687

13 years agont/README.W32: Add information about GnuTLS libraries.
Eli Zaretskii [Tue, 17 May 2011 18:17:45 +0000 (21:17 +0300)]
nt/README.W32: Add information about GnuTLS libraries.

13 years ago* lisp/progmodes/grep.el (grep-mode): Disable default
Stefan Monnier [Tue, 17 May 2011 18:14:30 +0000 (15:14 -0300)]
* lisp/progmodes/grep.el (grep-mode): Disable default
compilation-directory-matcher setting.

Fixes: debbugs:8684

13 years ago* net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
Michael Albinus [Tue, 17 May 2011 12:47:55 +0000 (14:47 +0200)]
* net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
instead of "head" and "tail".  There were problems with SunOS 5.9,
and it performs better.

13 years ago* lisp/calendar/appt.el: Fix doc typo in previous.
Glenn Morris [Tue, 17 May 2011 04:05:39 +0000 (21:05 -0700)]
* lisp/calendar/appt.el: Fix doc typo in previous.

13 years ago* INSTALL: Mention yum-builddep.
Glenn Morris [Tue, 17 May 2011 02:43:57 +0000 (19:43 -0700)]
* INSTALL: Mention yum-builddep.

13 years ago* lisp/progmodes/cc-defs.el: Comment change.
Glenn Morris [Tue, 17 May 2011 02:42:23 +0000 (19:42 -0700)]
* lisp/progmodes/cc-defs.el: Comment change.

13 years ago* lisp/mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
Glenn Morris [Tue, 17 May 2011 02:40:34 +0000 (19:40 -0700)]
* lisp/mail/mail-utils.el (mail-dont-reply-to): Silence compiler.

13 years ago* idlw-shell.el (idlwave-shell-complete-filename): Replace obsolete function.
Glenn Morris [Tue, 17 May 2011 02:39:23 +0000 (19:39 -0700)]
* idlw-shell.el (idlwave-shell-complete-filename): Replace obsolete function.

13 years ago* lisp/shell.el (pcomplete-parse-arguments-function): Declare.
Glenn Morris [Tue, 17 May 2011 02:38:04 +0000 (19:38 -0700)]
* lisp/shell.el (pcomplete-parse-arguments-function): Declare.

13 years agoappt.el mainly doc fixes.
Glenn Morris [Tue, 17 May 2011 02:36:51 +0000 (19:36 -0700)]
appt.el mainly doc fixes.

* lisp/calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
(appt-display-diary, appt-display-interval, appt-prev-comp-time)
(appt-check): Doc fixes.
(appt-disp-window-function, appt-delete-window-function):
Remove needless special case in custom :type.
(appt-display-count): Default to 0, not nil.
(appt-check): Reset appt-display-count to 0, not nil.

13 years ago* gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents.
Glenn Morris [Tue, 17 May 2011 02:32:50 +0000 (19:32 -0700)]
* gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents.

13 years ago* doc/misc/gnus.texi (Face): Fix typo.
Glenn Morris [Tue, 17 May 2011 02:30:53 +0000 (19:30 -0700)]
* doc/misc/gnus.texi (Face): Fix typo.

13 years agoMerge from emacs-23; up to 2010-06-11T14:39:54Z!cyd@stupidchicken.com.
Glenn Morris [Tue, 17 May 2011 02:26:56 +0000 (19:26 -0700)]
Merge from emacs-23; up to 2010-06-11T14:39:54Z!cyd@stupidchicken.com.

13 years agognus-sum.el (gnus-summary-hide-all-threads): Add update message every 1000 iterations.
Teodor Zlatanov [Mon, 16 May 2011 22:05:15 +0000 (22:05 +0000)]
gnus-sum.el (gnus-summary-hide-all-threads): Add update message every 1000 iterations.

13 years ago* lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.
Stefan Monnier [Mon, 16 May 2011 19:49:28 +0000 (16:49 -0300)]
* lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.

Fixes: debbugs:8677

13 years ago* lisp/info-look.el (makefile-automake-mode): New setups, looking in
Kevin Ryde [Mon, 16 May 2011 17:41:03 +0000 (14:41 -0300)]
* lisp/info-look.el (makefile-automake-mode): New setups, looking in
automake manual, then makefile-mode.
(makefile-mode): Remove automake manual, have it just in
makefile-automake-mode since there's various things different or
not relevant to plain make.
(makefile-mode): Remove "other-modes" non-existent automake-mode,
believe a hypothetical automake-mode would go to makefile-mode,
not the other way around.

13 years agonntp.el (nntp-open-connection): Check if process-type is available.
Katsumi Yamaoka [Mon, 16 May 2011 14:46:30 +0000 (14:46 +0000)]
nntp.el (nntp-open-connection): Check if process-type is available.

13 years agoFix last entry in leim/ChangeLog.
Eli Zaretskii [Mon, 16 May 2011 13:57:10 +0000 (16:57 +0300)]
Fix last entry in leim/ChangeLog.

13 years agoFix last change
Andreas Schwab [Mon, 16 May 2011 12:29:35 +0000 (14:29 +0200)]
Fix last change

13 years agoActually add leim/quail/persian.el.
Mohsen BANAN [Mon, 16 May 2011 11:51:10 +0000 (14:51 +0300)]
Actually add leim/quail/persian.el.

13 years agoNew input methods for Persian/Farsi.
Mohsen BANAN [Mon, 16 May 2011 11:27:34 +0000 (14:27 +0300)]
New input methods for Persian/Farsi.

 leim/quail/persian.el: New file.
 leim/Makefile.in (OTHERS): Add $(srcdir)/quail/georgian.elc.
 leim/makefile.w32-in (MISC): Add $(srcdir)/quail/georgian.elc.
 etc/NEWS: Mention the new input methods.