Kim F. Storm [Fri, 21 Oct 2005 23:42:21 +0000 (23:42 +0000)]
(image-type-header-regexps): Rename from image-type-regexps.
Change uses.
(image-type-file-name-regexps): New defconst.
(image-type-from-data): Simplify loop.
(image-type-from-buffer): New defun.
(image-type-from-file-header): Use it instead of image-type-from-data.
Use image-search-load-path instead of only looking in data-directory.
(image-type-from-file-name): New defun.
(image-search-load-path): Make PATH arg optional, default to image-load-path.
Change `pathname' to `filename'.
(file-loadhist-lookup): Call locate-library
instead of find-library-name. Don't try converting
abs file names to library names, since load-history no longer
has library names in it.
(file-dependents, file-provides, file-requires): Doc fixes.
(Fload): Simplify gcpro structure.
Gcpro FOUND as well as FILE, but not EFOUND.
Unless preloading, record FOUND instead of FILE in Vload_history.
Rename repeat local FILE to MSG_FILE.
(syms_of_lread) <load-history>: Doc fix.
(standard-display-g1, standard-display-graphic): Refuse to use string
glyphs also on Mac.
(standard-display-european): Don't set terminal coding system also
on Mac.
Carsten Dominik [Fri, 21 Oct 2005 05:55:05 +0000 (05:55 +0000)]
* textmodes/org.el (org-combined-agenda-icalendar-file)
(org-icalendar-include-todo, org-icalendar-combined-name): New
options.
(org-export-icalendar-this-file)
(org-export-icalendar-all-agenda-files)
(org-export-icalendar-combine-agenda-files): New commands.
(org-export-icalendar, org-print-icalendar-entries)
(org-start-icalendar-file, org-finish-icalendar-file)
(org-ical-ts-to-string): New functions.
(org-read-date, org-goto-calendar)
(org-agenda-goto-calendar): Inhibit displaying diary entries by
call to `calendar'.
(orgtbl-setup): Removed the :keys arguments from the menu
description.
(org-after-save-iCalendar-file-hook): New variable.
Stefan Monnier [Thu, 20 Oct 2005 19:43:44 +0000 (19:43 +0000)]
(sh-escaped-line-re): New var.
(sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it.
(sh-font-lock-open-heredoc): Try to properly handle heredoc starters
whose line is either continued or ends with a comment.
Eli Zaretskii [Thu, 20 Oct 2005 14:59:51 +0000 (14:59 +0000)]
Add autoloads of crypt++ and mailcrypt routines, all for encryption
functionality.
allout customization subgroup now positioned in `outlines' group
instead of prior `editing' group.
(allout-encrypt-string, allout-encryption-produce-work-buffer)
(allout-encrypted-topic-p, allout-encrypted-text-type)
(allout-mc-activate-passwd, allout-create-encryption-key-verifier)
(allout-situate-encryption-key-verifier)
(allout-get-encryption-key-verifier, allout-verify-key)
(allout-next-topic-pending-encryption)
(allout-encrypt-decrypted, allout-encrypted-type-prefix): New
functions.
(outline-topic-encryption-bullet, outline-default-encryption-scheme)
(outline-key-verifier-handling, outline-key-hint-handling)
(outline-encrypt-unencrypted-on-saves): New defcustoms.
(allout-file-key-verifier-string, allout-encryption-scheme)
(allout-key-verifier-string, allout-key-hint-string)
(allout-after-save-decrypt): New variables.
(allout-write-file-hook-handler, allout-auto-save-hook-handler)
(allout-after-saves-handler): New hook functions.
(allout-post-command-business): Do allout-after-save-decrypt.
(allout-enable-file-variable-adjustment): Custom var to enable
mechanism for adding and adjusting settings of Emacs file variables.
(allout-adjust-file-variable, allout-file-vars-section-data): New
functions, implement the mechanism.
(outlineify-sticky): Use the file vars mechanism.
(allout-inhibit-protection, allout-during-write-cue)
(allout-override-protect, allout-before-change-protect): Removed.
(allout-flag-region, allout-open-topic): Revised to adjust
read-only text.
(allout-open-line-not-read-only): Added to facilitate read-only
text based protection.
(allout-kill-line): Revised to adjust read-only text, clue the
user about the inhibition.
(allout-unprotected): Robustified with an unwind-protect.
(allout-shift-in, allout-shift-out): Disallow manually shifting a
topic deeper than the offspring depth of the previous topic -
avoiding confusing "containment discontinuities".
(allout-reindent-bodies): Fixed retention of body relative hanging
indent during promotion of collapsed bodies.
(allout-open-topic): Made it easy to open new topic with same
bullet as current topic - topic creation functions provided with
any universal argument provokes now prompt for bullet, defaulting
to the bullet of the previous topic.
(allout-plain-bullets-string, allout-distinctive-bullets-string):
Plain bullet alternates '.' period and ',' comma only. All other
bullets are relegated to special status (but customizable).
(allout-end-of-entry): Renamed from 'allout-end-of-current-entry
since it actually operates w.r.t. most immediately containing
entry, visible or not.
(allout-hide-current-entry, allout-show-current-entry): Use the
revised version.
(allout-old-expose-topic): Solidify deprecation.
(allout-end-of-subtree): Added, so we can span concealed as well
as visible topics.
(allout-end-of-current-subtree): Use `allout-end-of-subtree'.
(allout-end-of-current-heading): Tweaked to just respect the first
line.
(allout-get-body-text): Added.
(allout-ascend-to-depth, allout-ascend): Position at end of prefix
when invoked interactively.
(allout-up-current-level): Use `interactive-p'.
(allout-mode, allout-init): Miscellaneous docstring and
operational refinements, as well as hookups of new encryption stuff.
(allout-beginning-of-current-entry): Now works as advertised.
(allout-end-of-current-entry): Relieved of superfluous
allout-show-entry.
(allout-isearch-rectification): Refine condition for isearching
(allout-isearch-abort, allout-enwrap-isearch).
(allout-flag-region, my-region-active-p): Relocated some macros.
(allout-title): Fallback title is '(buffer-name)', not
non-existing '(current-buffer-name)'.
(subst-char-in-string): Define if absent (for some XEmacs versions).
Corrected commentary 'keywords' to legitimate ones.
Updated comentary author info (using my current email address,
obscurified).
Eli Zaretskii [Thu, 20 Oct 2005 12:08:25 +0000 (12:08 +0000)]
($(lisp)/mh-e/mh-loaddefs.el): Bind find-file-suppress-same-file-warnings
to t, to avoid warnings due to different drive letter case in D:/foo/bar.el
vs d:/foo/bar.el.
Kim F. Storm [Wed, 19 Oct 2005 21:52:13 +0000 (21:52 +0000)]
(check_image_size): Handle integer Vmax_image_size value
directly as max pixel value. Use default frame size for null frame.
(syms_of_image) <max-image-size>: Describe integer value.
Chong Yidong [Wed, 19 Oct 2005 03:54:56 +0000 (03:54 +0000)]
* image.c (Vmax_image_size): New variable.
(check_image_size): New function.
(xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load)
(gif_load, gs_load): Use it.
(lookup_image): Try loading again if previous load failed.
(xbm_read_bitmap_data): Add a new argument, a pointer to the frame
to display in, NULL if none.
(xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new
argument.
Stefan Monnier [Tue, 18 Oct 2005 15:30:53 +0000 (15:30 +0000)]
Don't use font-lock-defaults-alist.
Various docstring and line-width fixups.
(conf-mode): Use cond.
Set font-lock-defaults. Don't set comment-use-syntax.