1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

100749 Commits

Author SHA1 Message Date
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
Glenn Morris
2cdee799f0 * doc/misc/dired-x.texi (Omitting Examples): Minor addition. 2011-05-14 13:04:07 -07:00
Glenn Morris
d681f183cf 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.
2011-05-14 12:52:13 -07:00
Glenn Morris
4691905a95 appt.el trivia.
* lisp/calendar/appt.el (appt-check): Rename some local variables.
Some simplification/reordering.
2011-05-14 12:13:40 -07:00
Glenn Morris
1adfa36f83 * admin/notes/bugtracker: Small updates. 2011-05-14 12:11:47 -07:00
Glenn Morris
dc5e0b5aac * admin/notes/bzr: Update changelog_merge branch details. 2011-05-14 12:09:37 -07:00
Paul Eggert
9fbd68410f * msdos.c (mouse_get_pos): Likewise.
* w32inevt.c (movement_time, w32_console_mouse_position): Likewise.
2011-05-14 12:06:08 -07:00
Glenn Morris
1aa6430740 * lisp/mail/feedmail.el (bbdb-dwim-net-address, vm-mail): Declare. 2011-05-14 11:47:29 -07:00
Glenn Morris
50b23e5a9e 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.
2011-05-14 11:43:43 -07:00
Ulf Jasper
bcfcf8a525 newsticker: Added README to etc/newsticker/images
etc/ChangeLog:

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

	* images/newsticker/README: Added.
2011-05-14 20:39:26 +02:00
Bill Carpenter
215cda7c79 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.
2011-05-14 11:30:21 -07:00
Eli Zaretskii
bc039a3b7d Fix minor errors in ELisp manual.
doc/lispref/nonascii.texi (Character Properties): Fix inconsistencies with
 implementation.
2011-05-14 17:50:46 +03:00
Paul Eggert
1a1f336685 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)
2011-05-14 02:03:53 -07:00
Eli Zaretskii
e3934a8a48 Fix bug #8652 with indentation of variable docs.
doc/lispref/text.texi (Special Properties): Move @defvar's out of the
 @table.
2011-05-14 11:46:11 +03:00
Ulf Jasper
c21edd3404 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.
2011-05-13 21:35:36 +02:00
Didier Verna
8497a2977c 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.
2011-05-13 16:27:52 -03:00
Ulf Jasper
42c7e61e88 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.
2011-05-13 21:06:36 +02:00
Paul Eggert
66699ad312 * fns.c: Fix misspellings. 2011-05-13 11:08:56 -07:00
Stefan Monnier
f278f87fe6 * lisp/thingatpt.el (bounds-of-thing-at-point): Return nil rather than
bounds for the empty string.

Fixes: debbugs:8667
2011-05-13 14:02:56 -03:00
Juanma Barranquero
ce1539b46d lisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639). 2011-05-13 14:44:48 +02:00
Katsumi Yamaoka
ceb90e5198 gnus-html.el (gnus-html-put-image): Fix last change. 2011-05-13 07:53:12 +00:00
Paul Eggert
2d165e9dc5 * editfns.c (Fformat): Fix several integer overflow problems.
For example, without this change, (format "%2147483648d" 1) dumps
core on x86-64 GNU/Linux.  Use EMACS_INT, not size_t, for sizes,
since we prefer using signed values, and EMACS_INT will be big
enough soon, even on 32-bit hosts.  Also, prefer EMACS_INT to int
for sizes.  Don't assume that pI is either "l" or ""; it might be
"ll" or "I64".  Check for width and precision greater than
INT_MAX, as this can make sprintf go kaflooey.  (Bug#8668)
2011-05-12 23:12:24 -07:00
Katsumi Yamaoka
195b25935c gnus-html.el (gnus-html-put-image): Register a displayer.
shr.el (shr-image-displayer): Don't remove text props from alt text.
2011-05-13 05:35:56 +00:00
Teodor Zlatanov
652aa46504 registry.el (prune-factor): New initialization parameter defaulting to 0.1.
(registry-prune-hard): Use it.
gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to 0.1 expicitly.
2011-05-13 04:12:37 +00:00
Glenn Morris
f0dd243b58 * lisp/gnus/message.el (sendmail-program): Declare. 2011-05-12 19:16:09 -07:00
Glenn Morris
9d463c8c03 message.el trivia.
* lisp/gnu/message.el (message-send-mail-with-sendmail): Assume
sendmail-program is bound, since this function requires sendmail.
2011-05-12 19:10:17 -07:00
Glenn Morris
5237a44fef * lisp/mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail. 2011-05-12 19:06:35 -07:00
Glenn Morris
8340026cae sendmail.el trivia.
* lisp/mail/sendmail.el (sendmail-program): Try executable-find first.
(sendmail-send-it): sendmail-program cannot be unbound.
2011-05-12 18:42:24 -07:00
Glenn Morris
a54640143d * calendar/appt.el (appt-check): Change mode-line message at time of the appt. 2011-05-12 18:38:31 -07:00
Glenn Morris
4accbca6e9 * lisp/calendar/appt.el (appt-time-msg-list): Doc fix. 2011-05-12 18:35:11 -07:00
Glenn Morris
5233edd7e8 * lisp/calendar/appt.el (appt-make-list): Simplify. 2011-05-12 18:31:53 -07:00