]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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* 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.

13 years agoshr.el (shr-tag-del): Add support for del tag.
Julien Danjou [Mon, 16 May 2011 09:33:14 +0000 (09:33 +0000)]
shr.el (shr-tag-del): Add support for del tag.

13 years agoMerge from mainline.
Paul Eggert [Mon, 16 May 2011 05:35:30 +0000 (22:35 -0700)]
Merge from mainline.

13 years ago* character.c: Minor spelling and indenting fixes.
Paul Eggert [Mon, 16 May 2011 05:18:38 +0000 (22:18 -0700)]
* character.c: Minor spelling and indenting fixes.

13 years ago* w32menu.c: Change 'unsigned long' to 'Time' in #if-0 code.
Paul Eggert [Mon, 16 May 2011 05:17:23 +0000 (22:17 -0700)]
* w32menu.c: Change 'unsigned long' to 'Time' in #if-0 code.

13 years ago* insdel.c (count_size_as_multibyte): Check for string overflow.
Paul Eggert [Mon, 16 May 2011 05:15:51 +0000 (22:15 -0700)]
* insdel.c (count_size_as_multibyte): Check for string overflow.

13 years ago* character.c (lisp_string_width): Check for string overflow.
Paul Eggert [Mon, 16 May 2011 05:08:59 +0000 (22:08 -0700)]
* character.c (lisp_string_width): Check for string overflow.

Use EMACS_INT, not int, for string indexes and lengths; in
particular, 2nd arg is now EMACS_INT, not int.  Do not crash if
the resulting string length overflows an EMACS_INT; instead,
report a string overflow if no precision given.  When checking for
precision exhaustion, use a check that cannot possibly have
integer overflow.  (Bug#8675)
* character.h (lisp_string_width): Adjust to new signature.

13 years ago* alloc.c (string_overflow): New function.
Paul Eggert [Mon, 16 May 2011 01:11:54 +0000 (18:11 -0700)]
* alloc.c (string_overflow): New function.

(Fmake_string): Use it.  This doesn't change behavior, but saves
a few bytes and will simplify future changes.
* character.c (string_escape_byte8): Likewise.
* lisp.h (string_overflow): New decl.

13 years ago* vc/diff-mode.el (diff-fixup-modifs): Remove stray ')' (Bug#8672).
Paul Eggert [Mon, 16 May 2011 01:07:08 +0000 (18:07 -0700)]
* vc/diff-mode.el (diff-fixup-modifs): Remove stray ')' (Bug#8672).

13 years agoMerge from gnulib.
Paul Eggert [Mon, 16 May 2011 00:51:54 +0000 (17:51 -0700)]
Merge from gnulib.

13 years ago* lisp/vc/diff-mode.el: Fix paren typo.
Glenn Morris [Sun, 15 May 2011 18:51:21 +0000 (11:51 -0700)]
* lisp/vc/diff-mode.el: Fix paren typo.

13 years agoMerge: user-interface timestamps and other int overflow patches.
Paul Eggert [Sun, 15 May 2011 17:17:44 +0000 (10:17 -0700)]
Merge: user-interface timestamps and other int overflow patches.

13 years agoBackport fix for Bug#8672 from trunk
Chong Yidong [Sun, 15 May 2011 14:22:31 +0000 (10:22 -0400)]
Backport fix for Bug#8672 from trunk

13 years agoText-fitting fixes for printed Emacs manual on 7x9 paper.
Chong Yidong [Sun, 15 May 2011 14:21:31 +0000 (10:21 -0400)]
Text-fitting fixes for printed Emacs manual on 7x9 paper.

* building.texi (Flymake, Breakpoints Buffer):
* calendar.texi (Appointments):
* cmdargs.texi (General Variables, Display X):
* custom.texi (Saving Customizations, Face Customization)
(Directory Variables, Minibuffer Maps, Init Rebinding):
* display.texi (Font Lock, Font Lock, Useless Whitespace):
* fixit.texi (Spelling):
* frames.texi (Creating Frames, Fonts):
* help.texi (Help Files):
* mini.texi (Minibuffer File):
* misc.texi (emacsclient Options, Emulation):
* msdog.texi (Windows Startup, Windows HOME, Windows Fonts):
* mule.texi (International Chars, Language Environments)
(Select Input Method, Modifying Fontsets, Charsets):
* programs.texi (Custom C Indent):
* rmail.texi (Rmail Labels):
* text.texi (Table Conversion):
* trouble.texi (Known Problems, Known Problems):
* windows.texi (Change Window):
* xresources.texi (GTK resources): Reflow text and re-indent code
examples to avoid TeX overflows and underflows on 7x9 paper.

* emacs.texi: Fix the (commented out) smallbook command.

* macos.texi (Mac / GNUstep Events):
* xresources.texi (Lucid Resources): Remove extraneous examples.

13 years agoBackport fix for Bug#8672 from trunk
Chong Yidong [Sun, 15 May 2011 14:12:51 +0000 (10:12 -0400)]
Backport fix for Bug#8672 from trunk

13 years agoFix minor bug of diff-fixup-modifs on small diffs (Bug#8672).
Chong Yidong [Sun, 15 May 2011 14:09:43 +0000 (10:09 -0400)]
Fix minor bug of diff-fixup-modifs on small diffs (Bug#8672).

* vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
hunk-end tags.

13 years agoBind = to diff command in vc-annotate mode (Bug#8671)
Chong Yidong [Sun, 15 May 2011 13:47:56 +0000 (09:47 -0400)]
Bind = to diff command in vc-annotate mode (Bug#8671)

* lisp/vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
vc-annotate-show-diff-revision-at-line.

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

13 years agoadd-log font-lock fix for mutilple authors (bug#8644)
Glenn Morris [Sat, 14 May 2011 23:58:25 +0000 (16:58 -0700)]
add-log font-lock fix for mutilple authors (bug#8644)

* lisp/vc/add-log.el (change-log-font-lock-keywords): Also handle multiple
author lines with leading tabs.

13 years agoadd-log.el fix for multiple author entries (bug#8645)
Glenn Morris [Sat, 14 May 2011 23:27:09 +0000 (16:27 -0700)]
add-log.el fix for multiple author entries (bug#8645)

* lisp/vc/add-log.el (add-change-log-entry): Don't start adding a new entry
in the middle of an existing one with multiple authors.

13 years agoRemove obsolete comment.
Glenn Morris [Sat, 14 May 2011 20:14:25 +0000 (13:14 -0700)]
Remove obsolete comment.

13 years agoUse a single Author: header.
Glenn Morris [Sat, 14 May 2011 20:13:30 +0000 (13:13 -0700)]
Use a single Author: header.

13 years ago* lisp/allout.el: Comment fix.
Glenn Morris [Sat, 14 May 2011 20:11:34 +0000 (13:11 -0700)]
* lisp/allout.el: Comment fix.

13 years ago* doc/misc/dired-x.texi (Omitting Examples): Minor addition.
Glenn Morris [Sat, 14 May 2011 20:04:07 +0000 (13:04 -0700)]
* doc/misc/dired-x.texi (Omitting Examples): Minor addition.

13 years agoMake configure.in give an error if no X-toolkit was detected.
Glenn Morris [Sat, 14 May 2011 19:52:13 +0000 (12:52 -0700)]
Make configure.in give an error if no X-toolkit was detected.

* configure.in: Treat failure to find an X toolkit the same way we treat
failure to find X and image support.

13 years agoappt.el trivia.
Glenn Morris [Sat, 14 May 2011 19:13:40 +0000 (12:13 -0700)]
appt.el trivia.

* lisp/calendar/appt.el (appt-check): Rename some local variables.
Some simplification/reordering.

13 years ago* admin/notes/bugtracker: Small updates.
Glenn Morris [Sat, 14 May 2011 19:11:47 +0000 (12:11 -0700)]
* admin/notes/bugtracker: Small updates.

13 years ago* admin/notes/bzr: Update changelog_merge branch details.
Glenn Morris [Sat, 14 May 2011 19:09:37 +0000 (12:09 -0700)]
* admin/notes/bzr: Update changelog_merge branch details.

13 years ago* msdos.c (mouse_get_pos): Likewise.
Paul Eggert [Sat, 14 May 2011 19:06:08 +0000 (12:06 -0700)]
* msdos.c (mouse_get_pos): Likewise.

* w32inevt.c (movement_time, w32_console_mouse_position): Likewise.

13 years ago* lisp/mail/feedmail.el (bbdb-dwim-net-address, vm-mail): Declare.
Glenn Morris [Sat, 14 May 2011 18:47:29 +0000 (11:47 -0700)]
* lisp/mail/feedmail.el (bbdb-dwim-net-address, vm-mail): Declare.

13 years agoClean-up previous feedmail.el merge.
Glenn Morris [Sat, 14 May 2011 18:43:43 +0000 (11:43 -0700)]
Clean-up previous feedmail.el merge.

* lisp/mail/feedmail.el (feedmail-confirm-outgoing-timeout)
(feedmail-sendmail-f-doesnt-sell-me-out)
(feedmail-queue-slug-suspect-regexp, feedmail-debug)
(feedmail-debug-sit-for, feedmail-queue-express-hook)
(feedmail-queue-runner-message-sender): Set :version.
(bbdb-search, bbdb-records, smtp-via-smtp, smtp-server): Declare.
(feedmail-binmail-gnulinuxish-template):
Rename from feedmail-binmail-linuxish-template.
(feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
Use insert-buffer-substring.

13 years agonewsticker: Added README to etc/newsticker/images
Ulf Jasper [Sat, 14 May 2011 18:39:26 +0000 (20:39 +0200)]
newsticker: Added README to etc/newsticker/images

etc/ChangeLog:

2011-05-14  Ulf Jasper  <ulf.jasper@web.de>

* images/newsticker/README: Added.

13 years agoUpdate from version on author's website.
Bill Carpenter [Sat, 14 May 2011 18:30:21 +0000 (11:30 -0700)]
Update from version on author's website.

* lisp/mail/feedmail.el (feedmail-patch-level): Increase.
(feedmail-debug): New custom group.
(feedmail-confirm-outgoing-timeout)
(feedmail-sendmail-f-doesnt-sell-me-out)
(feedmail-queue-slug-suspect-regexp, feedmail-debug)
(feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
(feedmail-sender-line, feedmail-from-line)
(feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
(feedmail-spray-this-address, )
(feedmail-spray-address-fiddle-plex-list)
(feedmail-queue-use-send-time-for-date)
(feedmail-queue-use-send-time-for-message-id)
(feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
(feedmail-buffer-eating-function):
Doc fixes.
(feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
(feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
(feedmail-message-action-scroll-down): New functions.
(feedmail-queue-directory, feedmail-queue-draft-directory):
Use expand-file-name.
(feedmail-prompt-before-queue-standard-alist): Add scroll entries.
Remove C-v help entry.
(feedmail-queue-buffer-file-name): New variable.
(feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
(feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
(feedmail-message-action-send-strong, feedmail-message-action-edit)
(feedmail-message-action-draft, feedmail-message-action-draft-strong)
(feedmail-message-action-queue, feedmail-message-action-queue-strong)
(feedmail-message-action-toggle-spray)
(feedmail-run-the-queue-no-prompts)
(feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
(feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
(feedmail-create-queue-filename, feedmail-rfc822-time-zone):
(feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
(feedmail-envelope-deducer, feedmail-fiddle-from)
(feedmail-fiddle-sender, feedmail-default-date-generator)
(feedmail-fiddle-date, feedmail-fiddle-message-id)
(feedmail-fiddle-spray-address)
(feedmail-fiddle-list-of-spray-fiddle-plexes)
(feedmail-fiddle-list-of-fiddle-plexes)
(feedmail-fill-to-cc-function, feedmail-fill-this-one)
(feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
(feedmail-queue-runner-message-sender, feedmail-binmail-template):
Change default.  Doc fix.
(feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
(feedmail-binmail-linuxish-template): New constant.
(feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
Respect feedmail-sendmail-f-doesnt-sell-me-out.
(feedmail-send-it): Add debug call.
Use feedmail-queue-buffer-file-name, and
feedmail-send-it-immediately-wrapper.
(feedmail-message-action-send): Add debug call.
Use feedmail-send-it-immediately-wrapper.
(feedmail-queue-express-to-queue): Add debug call.
Run feedmail-queue-express-hook.
(feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
(feedmail-message-action-help-blat):
Rename from feedmail-queue-send-edit-prompt-help-first.
(feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
Check line-endings.  Handle errors better.
(feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
Doc fix.  Add debug call.
(feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
Use feedmail-queue-send-edit-prompt-inner.
(feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
(feedmail-queue-send-edit-prompt-inner): New function, extracted
from feedmail-queue-send-edit-prompt.
(feedmail-queue-send-edit-prompt-help)
(feedmail-queue-send-edit-prompt-help-later): Remove functions.
(feedmail-tidy-up-slug): Add debug call.
Respect feedmail-queue-slug-suspect-regexp.
(feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
(feedmail-dump-message-to-queue): Add debug call.
Expand queue-directory.
(feedmail-dump-message-to-queue): Change message slightly.
Use feedmail-say-chatter.
(feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
(feedmail-send-it-immediately-wrapper): New function.
(feedmail-send-it-immediately): Add debug calls.  Use let not let*.
Insert empty string rather than newline.  Handle full-frame case.
Use catch/throw.  Use feedmail-say-chatter.
(feedmail-fiddle-from): Try mail-host-address.
(feedmail-default-message-id-generator): Doc fix.
Bind system-time-locale.  Handle missing end.
(feedmail-fiddle-x-mailer): Add debug call.
Handle feedmail-x-mailer-line being nil.
(feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
Add debug call.  Use buffer-substring-no-properties.
(feedmail-say-debug, feedmail-say-chatter): New functions.
(feedmail-find-eoh): Give an explicit error.

13 years agoFix minor errors in ELisp manual.
Eli Zaretskii [Sat, 14 May 2011 14:50:46 +0000 (17:50 +0300)]
Fix minor errors in ELisp manual.

 doc/lispref/nonascii.texi (Character Properties): Fix inconsistencies with
 implementation.

13 years agoFixups, following up to the user-interface timestamp change.
Paul Eggert [Sat, 14 May 2011 09:03:53 +0000 (02:03 -0700)]
Fixups, following up to the user-interface timestamp change.

* nsterm.m (last_mouse_movement_time, ns_mouse_position): Use Time
for UI timestamps, instead of unsigned long.
* w32gui.h (Time): Define by including "systime.h" rather than by
declaring it ourselves.  (Bug#8664)

13 years agoFix bug #8652 with indentation of variable docs.
Eli Zaretskii [Sat, 14 May 2011 08:46:11 +0000 (11:46 +0300)]
Fix bug #8652 with indentation of variable docs.

 doc/lispref/text.texi (Special Properties): Move @defvar's out of the
 @table.

13 years agonewsticker: Moved icons to etc/newsticker/images
Ulf Jasper [Fri, 13 May 2011 19:35:36 +0000 (21:35 +0200)]
newsticker: Moved icons to etc/newsticker/images

lisp/ChangeLog:

2011-05-13  Ulf Jasper  <ulf.jasper@web.de>

* net/newst-treeview.el (newsticker-treeview-face): Changed default
family from helvetica to sans.
(newsticker-treeview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.

* net/newst-reader.el (newsticker-feed-face): Changed default
family from helvetica to sans.

* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face): Changed default family from
helvetica to sans.
(newsticker--plainview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.

* net/newst-backend.el (newsticker--do-run-auto-mark-filter),
(newsticker--process-auto-mark-filter-match): : Tell user about
auto-marking.

etc/ChangeLog:

2011-05-13  Ulf Jasper  <ulf.jasper@web.de>

* images/newsticker: Added.
* images/newsticker/browse-url.xpm: Added.
* images/newsticker/get-all.xpm: Added.
* images/newsticker/mark-immortal.xpm: Added.
* images/newsticker/mark-read.xpm: Added.
* images/newsticker/narrow.xpm: Added.
* images/newsticker/next-feed.xpm: Added.
* images/newsticker/next-item.xpm: Added.
* images/newsticker/prev-feed.xpm: Added.
* images/newsticker/prev-item.xpm: Added.
* images/newsticker/update.xpm: Added.

13 years agoCommon Lisp indentation improvements on defmethod and lambda-lists.
Didier Verna [Fri, 13 May 2011 19:27:52 +0000 (16:27 -0300)]
Common Lisp indentation improvements on defmethod and lambda-lists.
* cl-indent.el: Advertise the changes and remove obsolete TODO entries.
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment)
(lisp-lambda-list-keyword-alignment): New customizable user options.
(lisp-indent-defun-method): Improve docstring.
(extended-loop-p): Fix comment.
(lisp-indent-lambda-list-keywords-regexp): New variable.
(lisp-indent-lambda-list): New function.
(lisp-indent-259): Use it.
(lisp-indent-defmethod): Support for more than one
method qualifier and properly indent methods lambda-lists.
(defgeneric): Provide a missing common-lisp-indent-function property.

13 years agonewsticker: Moved icons to etc/newsticker/images
Ulf Jasper [Fri, 13 May 2011 19:06:36 +0000 (21:06 +0200)]
newsticker: Moved icons to etc/newsticker/images

lisp/ChangeLog:

2011-05-13  Ulf Jasper  <ulf.jasper@web.de>

* net/newst-treeview.el (newsticker-treeview-face): Changed default
family from helvetica to sans.
(newsticker-treeview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.

* net/newst-reader.el (newsticker-feed-face): Changed default
family from helvetica to sans.

* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face): Changed default family from
helvetica to sans.
(newsticker--plainview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.

* net/newst-backend.el (newsticker--do-run-auto-mark-filter),
(newsticker--process-auto-mark-filter-match): : Tell user about
auto-marking.

etc/ChangeLog:

2011-05-13  Ulf Jasper  <ulf.jasper@web.de>

* images/newsticker: Added.
* images/newsticker/browse-url.xpm: Added.
* images/newsticker/get-all.xpm: Added.
* images/newsticker/mark-immortal.xpm: Added.
* images/newsticker/mark-read.xpm: Added.
* images/newsticker/narrow.xpm: Added.
* images/newsticker/next-feed.xpm: Added.
* images/newsticker/next-item.xpm: Added.
* images/newsticker/prev-feed.xpm: Added.
* images/newsticker/prev-item.xpm: Added.
* images/newsticker/update.xpm: Added.

13 years ago* fns.c: Fix misspellings.
Paul Eggert [Fri, 13 May 2011 18:08:56 +0000 (11:08 -0700)]
* fns.c: Fix misspellings.