Commit Graph

100629 Commits

Author SHA1 Message Date
Glenn Morris
e565dd3789 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.
2011-05-17 20:20:13 -07:00
Christoph Scholtes
3c24731f34 Last commit was missing updated source file. 2011-05-17 21:03:15 -06:00
Christoph Scholtes
8e1f561099 * menu.c: Include limits.h (fixes the MS-Windows build broken by
revision 2011-05-18T00:52:24Z!eggert@cs.ucla.edu).
2011-05-17 21:00:08 -06:00
Paul Eggert
cdfa6eab5a Add header for integer overflow fixes. 2011-05-17 17:47:42 -07:00
Paul Eggert
7025ee0019 Merge from mainline. 2011-05-17 17:39:40 -07:00
Paul Eggert
3870d303a4 Merge from gnulib. 2011-05-17 17:35:01 -07:00
Courtney Bane
04f2d78b95 * src/term.c (Fresume_tty): Restore hooks before reinitializing.
Fixes: debbugs:8687
2011-05-17 21:26:48 -03:00
Eli Zaretskii
8a70d4b1e2 nt/README.W32: Add information about GnuTLS libraries. 2011-05-17 21:17:45 +03:00
Stefan Monnier
1d99a745e2 * lisp/progmodes/grep.el (grep-mode): Disable default
compilation-directory-matcher setting.

Fixes: debbugs:8684
2011-05-17 15:14:30 -03:00
Michael Albinus
7c1d9aa0bd * 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.
2011-05-17 14:47:55 +02:00
Glenn Morris
7edd209389 * lisp/calendar/appt.el: Fix doc typo in previous. 2011-05-16 21:05:39 -07:00
Glenn Morris
1d8d4d703b * INSTALL: Mention yum-builddep. 2011-05-16 19:43:57 -07:00
Glenn Morris
b6d3ee5f4e * lisp/progmodes/cc-defs.el: Comment change. 2011-05-16 19:42:23 -07:00
Glenn Morris
2dd12e7ff0 * lisp/mail/mail-utils.el (mail-dont-reply-to): Silence compiler. 2011-05-16 19:40:34 -07:00
Glenn Morris
e4157b9c92 * idlw-shell.el (idlwave-shell-complete-filename): Replace obsolete function. 2011-05-16 19:39:23 -07:00
Glenn Morris
8e249bbdb7 * lisp/shell.el (pcomplete-parse-arguments-function): Declare. 2011-05-16 19:38:04 -07:00
Glenn Morris
3952e9d86c 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.
2011-05-16 19:36:51 -07:00
Glenn Morris
072be7db2b * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. 2011-05-16 19:32:50 -07:00
Glenn Morris
85d870a981 * doc/misc/gnus.texi (Face): Fix typo. 2011-05-16 19:30:53 -07:00
Glenn Morris
c71a0d48f3 Merge from emacs-23; up to 2010-06-11T14:39:54Z!cyd@stupidchicken.com. 2011-05-16 19:26:56 -07:00
Teodor Zlatanov
e594638418 gnus-sum.el (gnus-summary-hide-all-threads): Add update message every 1000 iterations. 2011-05-16 22:05:15 +00:00
Stefan Monnier
31d55be985 * lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.
Fixes: debbugs:8677
2011-05-16 16:49:28 -03:00
Kevin Ryde
3bfacb2fee * 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.
2011-05-16 14:41:03 -03:00
Katsumi Yamaoka
7887e229fd nntp.el (nntp-open-connection): Check if process-type is available. 2011-05-16 14:46:30 +00:00
Eli Zaretskii
c0ad01c90c Fix last entry in leim/ChangeLog. 2011-05-16 16:57:10 +03:00
Andreas Schwab
165fd2df8c Fix last change 2011-05-16 14:29:35 +02:00
Mohsen BANAN
edfb8eb9ac Actually add leim/quail/persian.el. 2011-05-16 14:51:10 +03:00
Mohsen BANAN
d0ce9f8c0c 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.
2011-05-16 14:27:34 +03:00
Julien Danjou
55385ebc9a shr.el (shr-tag-del): Add support for del tag. 2011-05-16 09:33:14 +00:00
Paul Eggert
d2d818bf00 Merge from mainline. 2011-05-15 22:35:30 -07:00
Paul Eggert
ef3ff03613 * character.c: Minor spelling and indenting fixes. 2011-05-15 22:18:38 -07:00
Paul Eggert
07156b3538 * w32menu.c: Change 'unsigned long' to 'Time' in #if-0 code. 2011-05-15 22:17:23 -07:00
Paul Eggert
06d6db334e * insdel.c (count_size_as_multibyte): Check for string overflow. 2011-05-15 22:15:51 -07:00
Paul Eggert
2b4560a850 * 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.
2011-05-15 22:08:59 -07:00
Paul Eggert
cb93f9bef0 * 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.
2011-05-15 18:11:54 -07:00
Paul Eggert
d3cdcd1446 * vc/diff-mode.el (diff-fixup-modifs): Remove stray ')' (Bug#8672). 2011-05-15 18:07:08 -07:00
Paul Eggert
1fc5f20492 Merge from gnulib. 2011-05-15 17:51:54 -07:00
Glenn Morris
1aba75c248 * lisp/vc/diff-mode.el: Fix paren typo. 2011-05-15 11:51:21 -07:00
Paul Eggert
067a69a2d3 Merge: user-interface timestamps and other int overflow patches. 2011-05-15 10:17:44 -07:00
Chong Yidong
7affc35312 Backport fix for Bug#8672 from trunk 2011-05-15 10:22:31 -04:00
Chong Yidong
ae742cb584 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.
2011-05-15 10:21:31 -04:00
Chong Yidong
2d11b7b37c Backport fix for Bug#8672 from trunk 2011-05-15 10:12:51 -04:00
Chong Yidong
5e9e35cd1d 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.
2011-05-15 10:09:43 -04:00
Chong Yidong
c8e837514f 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.
2011-05-15 09:47:56 -04:00
Glenn Morris
cf6f3ed8ed Auto-commit of generated files. 2011-05-15 06:19:52 -04:00
Glenn Morris
375cb676c1 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.
2011-05-14 16:58:25 -07:00
Glenn Morris
7210a7391f 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.
2011-05-14 16:27:09 -07:00
Glenn Morris
ccd1ad0793 Remove obsolete comment. 2011-05-14 13:14:25 -07:00
Glenn Morris
2af3e0b1d3 Use a single Author: header. 2011-05-14 13:13:30 -07:00
Glenn Morris
3bda1277be * lisp/allout.el: Comment fix. 2011-05-14 13:11:34 -07:00