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
Paul Eggert
bcfc5c821c
Omit newline.
2011-05-12 18:11:23 -07:00
Paul Eggert
d4e3e4d3ad
* dispextern.h (struct image): Don't assume time_t <= unsigned long.
...
* image.c (clear_image_cache): Likewise.
2011-05-12 18:10:46 -07:00
Paul Eggert
f6a24d1990
* term.c (term_mouse_position): Don't assume time_t wraparound.
2011-05-12 13:30:05 -07:00
Paul Eggert
08dc5ae68e
Be more systematic about user-interface timestamps.
...
Before, the code sometimes used 'Time', sometimes 'unsigned long',
and sometimes 'EMACS_UINT', to represent these timestamps. This
change causes it to use 'Time' uniformly, as that's what X uses.
This makes the code easier to follow, and makes it easier to catch
integer overflow bugs such as Bug#8664.
* frame.c (Fmouse_position, Fmouse_pixel_position):
Use Time, not unsigned long, for user-interface timestamps.
* keyboard.c (last_event_timestamp, kbd_buffer_get_event): Likewise.
(button_down_time, make_lispy_position, make_lispy_movement): Likewise.
* keyboard.h (last_event_timestamp): Likewise.
* menu.c (Fx_popup_menu) [!HAVE_X_WINDOWS]: Likewise.
* menu.h (xmenu_show): Likewise.
* term.c (term_mouse_position): Likewise.
* termhooks.h (struct input_event.timestamp): Likewise.
(struct terminal.mouse_position_hook): Likewise.
* xmenu.c (create_and_show_popup_menu, xmenu_show): Likewise.
* xterm.c (XTmouse_position, x_scroll_bar_report_motion): Likewise.
* systime.h (Time): New decl. Pull it in from <X11/X.h> if
HAVE_X_WINDOWS, otherwise define it as unsigned long, which is
what it was before.
* menu.h, termhooks.h: Include "systime.h", for Time.
2011-05-12 13:23:33 -07:00
Paul Eggert
86db42d223
Add Bug#.
2011-05-12 13:00:02 -07:00
Paul Eggert
8e55734abd
* keyboard.c (make_lispy_event): Fix problem in integer overflow.
...
Don't assume that the difference between two unsigned long values
can fit into an integer. At this point, we know button_down_time
<= event->timestamp, so the difference must be nonnegative, so
there's no need to cast the result if double-click-time is
nonnegative, as it should be; check that it's nonnegative, just in
case. This bug is triggered when events are more than 2**31 ms
apart (about 25 days).
2011-05-12 12:37:40 -07:00
Paul Eggert
6434756cc5
* xselect.c (x_own_selection): Remove needless cast to unsigned long.
2011-05-12 10:18:58 -07:00
Andreas Schwab
92d1079638
* lisp/progmodes/ld-script.el (ld-script-keywords)
...
(ld-script-builtins): Update keywords list.
2011-05-12 18:46:53 +02:00
Paul Eggert
841f1b75c4
* xselect.c (last_event_timestamp): Remove duplicate decl.
2011-05-12 09:38:09 -07:00
Glenn Morris
79b70037f6
Put ChangeLog entries in the correct files.
2011-05-12 09:30:17 -07:00
Paul Eggert
d230cb74b5
* frame.h (struct frame): Use int for menu_bar_items_used
...
instead of EMACS_INT, since it always fits in int.
2011-05-12 09:25:30 -07:00
Paul Eggert
3e26f69c4f
* xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes
...
that always fit in int. Use a sentinel instead of a counter, to
avoid a temp and to allay GCC's concerns about possible int overflow.
2011-05-12 09:16:40 -07:00
Stefan Monnier
c89be45f2e
* lisp/progmodes/grep.el (grep-filter): Don't trip on partial lines.
2011-05-12 12:10:17 -03:00
Stefan Monnier
914a0ae1ba
* lisp/shell.el (shell-completion-vars): New function.
...
(shell-mode):
* lisp/simple.el (read-shell-command): Use it.
(blink-matching-open): No need for " [...]" in minibuffer-message.
2011-05-12 09:55:10 -03:00
Glenn Morris
98dc3df322
appt.el code simplifications.
...
* lisp/calendar/appt.el (appt-now-displayed): Remove pointless variable.
(appt-check): Simplify.
Details:
appt-now-displayed was set non-nil the first time a reminder was displayed.
Nothing ever set it back to nil again. Thus when full-check was nil,
mode-line-only was always true, so the "(when (or full-check mode-line-only)"
was pointless. That was the only use of full-check. mode-line-only
was only used in a negative sense, and can be reduced to the zerop test.
2011-05-12 00:56:02 -07:00
Glenn Morris
e2c9421814
* doc/lispref/display.texi (Image Descriptors): Fix typo. (Bug#8495)
2011-05-12 00:27:35 -07:00
Glenn Morris
4f8c52a91b
Small Makefile.in fixes for bug#8642.
...
* Makefile.in (src, install-arch-indep, bootstrap-clean, check-declare):
Shell portability fixes.
2011-05-12 00:24:14 -07:00
Glenn Morris
d2fc7e3d0f
Merge from emacs-23; up to 2010-06-10T12:56:11Z!michael.albinus@gmx.de.
2011-05-12 00:07:06 -07:00
Paul Eggert
5cc152c080
* menu.c (grow_menu_items): Check for int overflow.
2011-05-11 23:48:32 -07:00
Paul Eggert
d89eb65e6d
* xmenu.c (set_frame_menubar): Don't mishandle vectors with no nils.
2011-05-11 23:46:26 -07:00