Paul Eggert [Sun, 6 Feb 2011 19:44:36 +0000 (11:44 -0800)]
* insdel.c: conform to C89 pointer rules
Chong Yidong [Sun, 6 Feb 2011 15:04:31 +0000 (10:04 -0500)]
Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
non-ASCII characters.
Julien Danjou [Sun, 6 Feb 2011 12:48:19 +0000 (12:48 +0000)]
message.el (message-setup-1): Handle message-generate-headers-first set to t.
Paul Eggert [Sun, 6 Feb 2011 09:03:25 +0000 (01:03 -0800)]
* keyboard.c: conform to C89 pointer rules
Paul Eggert [Sun, 6 Feb 2011 08:51:35 +0000 (00:51 -0800)]
* image.c: conform to C89 pointer rules
Paul Eggert [Sun, 6 Feb 2011 08:28:30 +0000 (00:28 -0800)]
gnulib: adjust to upstream _HEADERS change
Paul Eggert [Sun, 6 Feb 2011 03:48:28 +0000 (19:48 -0800)]
* xfns.c: conform to C89 pointer rules
Paul Eggert [Sun, 6 Feb 2011 03:13:16 +0000 (19:13 -0800)]
* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
Emacs assumes two's complement elsewhere, but the assumption is
easy to remove here, and this suppresses a warning with Sun C 5.8.
Paul Eggert [Sun, 6 Feb 2011 02:50:02 +0000 (18:50 -0800)]
* xterm.c: conform to C89 pointer rules
Paul Eggert [Sun, 6 Feb 2011 01:56:00 +0000 (17:56 -0800)]
* doc.c: conform to C89 pointer rules
(get_doc_string, Fsnarf_documentation, Fsubstitute_command_keys):
Change types between char * and unsigned char *, to satisfy C89
rules about pointer type compatibility.
Paul Eggert [Sun, 6 Feb 2011 01:25:41 +0000 (17:25 -0800)]
don't ignore chdir failure
* sysdep.c (sys_subshell) [!defined DOS_NT]: Diagnose chdir
failure and exit.
(sys_subshell) [defined DOS_NT]: Mark with a FIXME the two
remaining unchecked chdir calls in this function; some DOS/NT
expert needs to fix them.
* emacs.c (main): Mark with a FIXME the unchecked chdir calls
in this function; some NextStep expert needs to fix them.
Teodor Zlatanov [Sun, 6 Feb 2011 00:25:41 +0000 (00:25 +0000)]
gnus-overrides.texi: Renamed from overrides.texi and all the relevant manuals use it now.
Makefile.in (nowebhack): Fixed to use -D flag instead of overrides.
Glenn Morris [Sat, 5 Feb 2011 22:46:34 +0000 (14:46 -0800)]
bzrmerge.el trivia.
* admin/bzrmerge.el (bzrmerge-warning-buffer): New constant.
(bzrmerge-apply): Use it.
(bzrmerge): Kill any old warning buffer first.
Glenn Morris [Sat, 5 Feb 2011 22:30:14 +0000 (14:30 -0800)]
Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca.
Glenn Morris [Sat, 5 Feb 2011 22:03:44 +0000 (14:03 -0800)]
* lisp/emacs-lisp/cl-macs.el (return-from): Fix doc typo.
Deniz Dogan [Sat, 5 Feb 2011 21:07:26 +0000 (22:07 +0100)]
* lisp/net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
(Bug#6386).
Stefan Monnier [Sat, 5 Feb 2011 19:46:47 +0000 (14:46 -0500)]
* lisp/progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
font-lock-syntax-table remappings.
(sh-here-doc-markers, sh-here-doc-re): Remove.
(sh-font-lock-close-heredoc): Remove.
(sh-syntax-propertize-here-doc): New function.
(sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
instead of the sh-here-doc-re.
(sh-font-lock-paren): Don't do anything in comments or strings.
Handle line continuations. Accept a few more chars.
Don't rely on the font-lock-syntax-table remappings.
`esac' is not a valid pattern.
(sh-syntax-propertize-function): Handle here-docs differently, so we
don't bother syntax-propertizing the insides.
Fixes: debbugs:7947
Stefan Monnier [Sat, 5 Feb 2011 15:53:04 +0000 (10:53 -0500)]
* lisp/progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
Handle new bashisms ";&" and ";;&".
Fixes: debbugs:7947
Katsumi Yamaoka [Sat, 5 Feb 2011 12:29:48 +0000 (12:29 +0000)]
overrides.texi: Remove.
sieve.texi, sasl.texi, pgg.texi, message.texi, gnus.texi:
emacs-mime.texi, auth.texi, Makefile.in: Revert last changes.
Katsumi Yamaoka [Sat, 5 Feb 2011 11:23:52 +0000 (11:23 +0000)]
Makefile.in (webhack, nowebhack): New targets that I forgot to merge from Gnus last.
Paul Eggert [Sat, 5 Feb 2011 10:22:19 +0000 (02:22 -0800)]
Merge: xstrcasecmp: conform to C89 pointer rules
Paul Eggert [Sat, 5 Feb 2011 10:20:15 +0000 (02:20 -0800)]
xstrcasecmp: conform to C89 pointer rules
Michael Albinus [Sat, 5 Feb 2011 10:11:32 +0000 (11:11 +0100)]
* tramp.texi:
Replace "delimet" with "delimit" globally.
Replace "explicite" with "explicit" globally.
Replace "instead of" with "instead" where there was nothing after "of".
Audit use of comma before interrogative pronoun, "that", or "which".
Minor word order, spelling, wording changes.
(Frequently Asked Questions): Mention problems with WinSSHD.
* trampver.texi: Update release number.
Michael Albinus [Sat, 5 Feb 2011 10:03:29 +0000 (11:03 +0100)]
* net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'. Add
"NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
Paul Eggert [Sat, 5 Feb 2011 10:00:31 +0000 (02:00 -0800)]
Merge: * charset.c: conform to C89 pointer rules
Michael Albinus [Sat, 5 Feb 2011 09:58:45 +0000 (10:58 +0100)]
* net/tramp.el (tramp-postfix-method-format)
(tramp-postfix-method-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp, tramp-postfix-user-format)
(tramp-postfix-user-regexp, tramp-prefix-port-format)
(tramp-prefix-port-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
Doc fix.
Paul Eggert [Sat, 5 Feb 2011 09:57:53 +0000 (01:57 -0800)]
* charset.c: conform to C89 pointer rules
(define_charset_internal): Switch between char * and unsigned char *.
Michael Albinus [Sat, 5 Feb 2011 09:52:07 +0000 (10:52 +0100)]
Replace "explicite" with "explicit" globally
Replace "instead of" with "instead" where there was nothing after "of"
Audit use of comma before interrogative pronoun, "that", or "which"
Paul Eggert [Sat, 5 Feb 2011 09:49:52 +0000 (01:49 -0800)]
* xmenu.c: conform to C89 const rules
(xmenu_show, xdialog_show): Declare local var as char *, not
const char *, to stay compatible with C89 const rules.
Paul Eggert [Sat, 5 Feb 2011 09:26:46 +0000 (01:26 -0800)]
* xdisp.c: conform to C89 pointer rules
(store_mode_line_noprop, display_string, reseat_to_string):
(c_string_pos, number_of_chars, message_dolog):
(message_log_check_duplicate, set_message_1, store_mode_line_noprop):
(display_mode_element, display_string):
Switch between char * and unsigned char * to stay compatible wth
C89 pointer rules.
Paul Eggert [Sat, 5 Feb 2011 07:18:46 +0000 (23:18 -0800)]
* emacsclient.c: conform to C89 pointer rules
Chong Yidong [Sat, 5 Feb 2011 06:13:36 +0000 (01:13 -0500)]
Last remaining doc additions required by 23.3.
* doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
vc-log-outgoing.
(Merging): Document vc-find-conflicted-file.
* doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
accurately.
* doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
included in the row of posn-col-row.
* etc/NEWS: Remove +++ and --- lines.
Paul Eggert [Sat, 5 Feb 2011 05:48:19 +0000 (21:48 -0800)]
* regex.c: conform to C89 pointer rules
Paul Eggert [Sat, 5 Feb 2011 05:07:22 +0000 (21:07 -0800)]
sync from gnulib to remove HAVE_STDBOOL_H
Gnus developers [Sat, 5 Feb 2011 00:11:16 +0000 (00:11 +0000)]
Merge changes made in Gnus trunk.
shr.el (shr-render-td): Store the actual background colour used.
gnus-sum.el (gnus-user-date): Renamed back from gnus-summary-user-date since user code refers to it.
auth-source.el: Rewrite.
gnus.texi: Add DEVEL header (suggested by Andreas Schwab).
WEBHACKDEVEL work:
Makefile.in (webhack, nowebhack): Hacks to produce for-the-web manuals.
auth.texi: Use WEBHACKDEVEL.
emacs-mime.texi: Use WEBHACKDEVEL.
gnus.texi: Use WEBHACKDEVEL.
message.texi: Use WEBHACKDEVEL.
pgg.texi: Use WEBHACKDEVEL.
sasl.texi: Use WEBHACKDEVEL.
sieve.texi: Use WEBHACKDEVEL.
overrides.texi: New file to set or clear WEBHACKDEVEL.
message.el (message-setup-1): Remove the read-only stuff, since it doesn't work under XEmacs, for some reason.
Eli Zaretskii [Fri, 4 Feb 2011 15:32:34 +0000 (17:32 +0200)]
Update dependencies in src/makefile.w32-in.
makefile.w32-in (LISP_H, PROCESS_H): New variables.
Replace all uses of lisp.h with $(LISP_H), and all uses of
process.h with $(PROCESS_H).
($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.
($(BLD)/sysdep.$(O)): Depend on ../lib/ignore-value.h.
Sam Steingold [Fri, 4 Feb 2011 14:54:13 +0000 (09:54 -0500)]
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
Lars Ingebrigtsen [Fri, 4 Feb 2011 12:26:36 +0000 (12:26 +0000)]
Doc fix.
Eli Zaretskii [Fri, 4 Feb 2011 12:01:34 +0000 (14:01 +0200)]
deps.mk: Update for recent changes: gnutls, gnulib imports, globals.h.
Andreas Schwab [Fri, 4 Feb 2011 10:45:46 +0000 (11:45 +0100)]
* international/mule-util.el (with-coding-priority): Doc fix.
Lars Ingebrigtsen [Fri, 4 Feb 2011 09:51:56 +0000 (09:51 +0000)]
message.el (message-setup-1): Don't bind the constant -forbidden-properties.
(message-setup-1): Revert previous change, since it needs to bind the props to insert them.
(message-resend): Allow removing the read-only separator line.
Eli Zaretskii [Fri, 4 Feb 2011 09:17:36 +0000 (11:17 +0200)]
Adapt to addition of ignore-value.h in 2011-02-03T19:29:35Z!eggert@cs.ucla.edu.
src/makefile.w32-in (IGNORE_VALUE_H): New variable.
($(BLD)/sysdep.$(O)): Depend on $(IGNORE_VALUE_H).
nt/config.nt (inline) [__GNUC__]: Define (for gnulib).
Eli Zaretskii [Fri, 4 Feb 2011 09:12:32 +0000 (11:12 +0200)]
Fix bug #7977 with special-mode-map in arc-mode.el.
arc-mode.el (archive-mode-map): Fix a typo in last change.
Glenn Morris [Fri, 4 Feb 2011 03:27:18 +0000 (19:27 -0800)]
* lisp/obsolete/spell.el: Undo previous comment change.
Glenn Morris [Fri, 4 Feb 2011 03:23:55 +0000 (19:23 -0800)]
diary-lib.el fix for bug#7891.
* lisp/calendar/diary-lib.el (diary-font-lock-keywords):
Tweak diary-time-regexp match.
Glenn Morris [Fri, 4 Feb 2011 03:21:11 +0000 (19:21 -0800)]
f90.el fix for bug#7919.
* lisp/progmodes/f90.el (f90-find-tag-default): New function.
(f90-mode): Use it for mode's `find-tag-default-function' property.
Glenn Morris [Fri, 4 Feb 2011 03:17:58 +0000 (19:17 -0800)]
* doc/emacs/custom.texi (Variables): Fix typo.
Gnus developers [Thu, 3 Feb 2011 23:43:22 +0000 (23:43 +0000)]
Merge changes made in Gnus trunk.
gnus-util.el: change default value of gnus-user-date-format-alist.
gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
gnus-art.el: remove old FIXME.
gnus.el (gnus-summary-line-format): Add missing semi-colon for user-date in docstring.
message.el (message-setup-1): Always generate References first.
(message-mail): Return the return value of message-setup, not always t.
gnus-start.el (gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up.
(gnus-get-unread-articles): Request active files from primary/secondary methods that have no groups (yet).
(message-setup-1): Insert mail-header-separator with read-only and intangible properties set.
gnus-draft.el: Remove progn around gnus-draft-setup.
gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups.
nnimap.el (nnimap-request-accept-article): Give an error message if the APPEND wasn't successful.
Paul Eggert [Thu, 3 Feb 2011 21:38:34 +0000 (13:38 -0800)]
* lib/ignore-value.h: New file.
Sam Steingold [Thu, 3 Feb 2011 19:59:17 +0000 (14:59 -0500)]
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Do not error out when `func' is nil.
Paul Eggert [Thu, 3 Feb 2011 19:29:35 +0000 (11:29 -0800)]
allow C code to suppress warnings about ignored return values
Paul Eggert [Thu, 3 Feb 2011 19:29:10 +0000 (11:29 -0800)]
* texinfo.tex: Update to version 2011-02-01.10
Jan Djärv [Thu, 3 Feb 2011 13:46:03 +0000 (14:46 +0100)]
* xterm.c (x_connection_closed): Remove all calls that calls XSync.
Fixes: debbugs:7949
Michael Albinus [Thu, 3 Feb 2011 11:28:16 +0000 (12:28 +0100)]
* net/tramp-sh.el (tramp-remote-path): Add default settings for
`tramp-default-remote-path' to the docstring.
(tramp-get-remote-path): Suppress error message when `getconf
PATH' fails.
* net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
Michael Albinus [Thu, 3 Feb 2011 09:43:54 +0000 (10:43 +0100)]
* tramp.texi (Frequently Asked Questions): Mention problems with WinSSHD.
Glenn Morris [Thu, 3 Feb 2011 07:37:43 +0000 (23:37 -0800)]
Small faq.texi changes.
* doc/misc/faq.texi (Contacting the FSF): Mainly just refer to the web-site.
(Binding combinations of modifiers and function keys):
Let's assume people reading this are not using Emacs 18.
Glenn Morris [Thu, 3 Feb 2011 07:33:16 +0000 (23:33 -0800)]
* lisp/vc/vc-hg.el (vc-hg-command): Doc fix.
Glenn Morris [Thu, 3 Feb 2011 07:31:42 +0000 (23:31 -0800)]
* lisp/term/w32-win.el (libpng-version): Declare for compiler.
Glenn Morris [Thu, 3 Feb 2011 07:29:38 +0000 (23:29 -0800)]
* lisp/msb.el: No need to load dired while compiling.
Glenn Morris [Thu, 3 Feb 2011 07:27:59 +0000 (23:27 -0800)]
elint.el trivia.
* lisp/emacs-lisp/elint.el (elint-standard-variables):
Remove a couple of built-ins that now have doc-strings.
Glenn Morris [Thu, 3 Feb 2011 07:25:14 +0000 (23:25 -0800)]
Silence some compiler warnings.
* lisp/gnus/nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
* lisp/gnus/nnimap.el (gnus-fetch-headers): Declare.
Glenn Morris [Thu, 3 Feb 2011 07:21:56 +0000 (23:21 -0800)]
`require' is automatically `eval-and-compile'd.
* hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
`require' is automatically `eval-and-compile'd.
Glenn Morris [Thu, 3 Feb 2011 07:15:31 +0000 (23:15 -0800)]
* lisp/obsolete/spell.el: Fix header comment.
Glenn Morris [Thu, 3 Feb 2011 07:14:02 +0000 (23:14 -0800)]
rcirc.el trivia.
* lisp/net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
(rcirc-log-directory, rcirc-log-flag): Move definitions before use.
Glenn Morris [Thu, 3 Feb 2011 07:11:31 +0000 (23:11 -0800)]
strokes.el trivia.
* lisp/strokes.el (strokes-fill-current-buffer-with-whitespace):
Move definition before use.
(strokes-report-bug): Make it obsolete.
Glenn Morris [Thu, 3 Feb 2011 07:09:50 +0000 (23:09 -0800)]
bzrmerge.el trivia.
* admin/bzrmerge.el (bzrmerge-buffer): New constant.
(bzrmerge-merges, bzrmerge-missing, bzrmerge-apply): Use it.
(bzrmerge-missing): If nothing to do, return nil not (nil).
(bzrmerge-apply): Remove odd character from message.
(bzrmerge): Give status messages.
Glenn Morris [Thu, 3 Feb 2011 07:02:52 +0000 (23:02 -0800)]
* lisp/ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
Details:
An error in a filter would cause an infinite loop.
ibuffer-update calls ibuffer-redisplay-engine which calls
ibuffer-update which calls ibuffer-redisplay-engine, etc.
ibuffer-generate-filter-groups calls ibuffer-included-in-filters-p.
If ibuffer-included-in-filter-p-1 meets an unknown element in the
filter, it calls ibuffer-filter-disable, which calls ibuffer-update.
If the filters have not been properly disabled, we go round and round.
Glenn Morris [Thu, 3 Feb 2011 06:55:48 +0000 (22:55 -0800)]
Doc fixes related to face heights. (Bug#2659)
* lisp/faces.el (set-face-attribute): Doc fix.
* src/xfaces.c (Finternal_set_lisp_face_attribute):
Try to clarify some error messages.
Lars Ingebrigtsen [Thu, 3 Feb 2011 06:23:35 +0000 (22:23 -0800)]
Fix the ChangeLog message to be more legible.
Lars Ingebrigtsen [Thu, 3 Feb 2011 06:22:07 +0000 (22:22 -0800)]
(url-http-wait-for-headers-change-function): Don't move if the callback function has moved point.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:26:36 +0000 (05:26 +0000)]
message.el (message-forward-make-body-digest-plain)
(message-followup, message-reply): Clean up things noted by Stefan.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:21:20 +0000 (05:21 +0000)]
gnus-art.el (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since it didn't really work with defcustom.
(article-update-date-lapsed): Make sure the window start doesn't move, either.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:01:44 +0000 (05:01 +0000)]
gnus-art.el (gnus-article-setup-buffer): Stop the date timer if gnus-article-update-date-headers is nil.
gnus.texi (Article Date): Remove mention of gnus-stop-date-timer, since it's run automatically.
Chong Yidong [Wed, 2 Feb 2011 20:44:19 +0000 (15:44 -0500)]
* modes.texi (Major Mode Conventions): Add face guidelines.
(Faces for Font Lock): List faces in order of prominence.
Eli Zaretskii [Wed, 2 Feb 2011 19:50:21 +0000 (21:50 +0200)]
lib-src/makefile.w32-in (obj): Remove strftime.o, it's not in src/.
Sam Steingold [Wed, 2 Feb 2011 17:59:44 +0000 (12:59 -0500)]
* lisp/apropos.el (apropos-print): Now that `apropos-mode' inherits
from `special-mode', entering it makes the buffer read-only, so
call it only when everything has been already inserted.
* lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-timings): Ditto.
* lisp/emacs-lisp/package.el (package--list-packages): Ditto.
* lisp/play/solitaire.el (solitaire): Ditto.
Chong Yidong [Wed, 2 Feb 2011 17:26:04 +0000 (12:26 -0500)]
* etc/themes/tango-theme.el: Remove some non-Tango face colors.
Chong Yidong [Wed, 2 Feb 2011 17:14:49 +0000 (12:14 -0500)]
* progmodes/compile.el: Make all faces inherit from font-lock faces.
(compilation-warning): Inherit from font-lock-variable-name-face.
(compilation-info): Inherit from font-lock-type-face.
(compilation-line-number): Reassign to font-lock-keyword-face.
(compilation-column-number): Reassign to font-lock-doc-face.
(compilation-leave-directory-face): Reassign to font-lock-builtin-face.
Eli Zaretskii [Wed, 2 Feb 2011 16:35:05 +0000 (18:35 +0200)]
Make "etags --version" on Windows produce the same as on Posix platforms.
makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.
Eli Zaretskii [Wed, 2 Feb 2011 16:28:24 +0000 (18:28 +0200)]
Make "etags --version" on Windows produce the same as on Posix platforms.
makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
``-DEMACS_NAME="\"GNU Emacs\""''.
Eli Zaretskii [Wed, 2 Feb 2011 16:21:52 +0000 (18:21 +0200)]
Fix Dired on DOS/Windows.
dired.el (dired-insert-directory): Don't invoke `ls' when
ls-lisp.el is used to emulate it.
Stefan Monnier [Wed, 2 Feb 2011 16:20:26 +0000 (11:20 -0500)]
* pcomplete.el (pcomplete-here*): Backport fix for mistaken change
(bug#7959).
Fixes: debbugs:5935
Stefan Monnier [Wed, 2 Feb 2011 15:53:20 +0000 (10:53 -0500)]
* src/editfns.c (save_restriction_restore): Don't forget to invalidate the
current_column cache.
Fixes: debbugs:7946
Daiki Ueno [Wed, 2 Feb 2011 07:53:29 +0000 (16:53 +0900)]
Backport Bug#7931 from trunk.
* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
presume KEYEXPIRED and KEYREVOKED to be a fatal error status
(Bug#7931).
Chong Yidong [Wed, 2 Feb 2011 03:36:29 +0000 (22:36 -0500)]
etc/themes/wheatgrass-theme.el: Apply min-colors setting to face definitions.
Kenichi Handa [Wed, 2 Feb 2011 02:16:53 +0000 (11:16 +0900)]
merge emacs-23
Kenichi Handa [Wed, 2 Feb 2011 02:15:29 +0000 (11:15 +0900)]
Use FC_DUAL only when it is defined.
Julien Danjou [Tue, 1 Feb 2011 23:46:27 +0000 (23:46 +0000)]
mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff format.
mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's standard in Emacs nowadays.
color.el (color-gradient): Add a color-gradient function.
Sam Steingold [Tue, 1 Feb 2011 21:37:12 +0000 (16:37 -0500)]
undo 2011-02-01T18:15:18Z!sds@gnu.org (purecopy-cons, purecopy-car) at Stefan Monnier's request
Sam Steingold [Tue, 1 Feb 2011 21:22:21 +0000 (16:22 -0500)]
* lisp/simple.el (special-mode-map): Bind "h" to `describe-mode';
bind "z" to `kill-this-buffer'.
(completion-list-mode-map): Bind "z" to `kill-this-buffer'.
* lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
(apropos-mode): Inherit from `special-mode'.
* lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
* lisp/bookmark.el (bookmark-bmenu-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
* lisp/image-mode.el (image-mode-map): Ditto.
* lisp/replace.el (occur-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
* lisp/calendar/diary-lib.el (diary-fancy-display-mode):
Inherit from `special-mode-map'.
* lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
Inherit from `special-mode'.
* lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
`special-mode-map'.
(package-menu-mode): Define using `define-derived-mode'
inheriting from `special-mode'.
* erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
* lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
(xesam-mode-map): Define separately.
* lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
* lisp/progmodes/compile.el (compilation-minor-mode-map)
(compilation-mode-map): Inherit from `special-mode-map'.
* lisp/vc/diff-mode.el (diff-mode-shared-map):
Inherit from `special-mode-map'.
* lisp/vc/log-view.el (log-view-mode-map): Add a comment.
Eli Zaretskii [Tue, 1 Feb 2011 19:46:21 +0000 (21:46 +0200)]
Fix a compiler warning in image.c.
image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
Sam Steingold [Tue, 1 Feb 2011 19:17:10 +0000 (14:17 -0500)]
fix docstrings of `purecopy-cons' & `purecopy-car' per Chong Yidong's request
Andreas Schwab [Tue, 1 Feb 2011 19:01:25 +0000 (20:01 +0100)]
* src/window.c (Fselect_window): Add missing return value.
Sam Steingold [Tue, 1 Feb 2011 18:18:46 +0000 (13:18 -0500)]
typo
Sam Steingold [Tue, 1 Feb 2011 18:15:18 +0000 (13:15 -0500)]
* lisp/subr.el (purecopy-cons, purecopy-car): Add shortcuts.
* lisp/faces.el (face-x-resources): Use `purecopy-cons'.
* lisp/files.el (auto-mode-alist, interpreter-mode-alist): Use
`purecopy-car'.
* lisp/international/fontset.el (font-encoding-alist): Ditto.
* lisp/international/mule-conf.el (file-coding-system-alist): Ditto.
* lisp/international/mule.el (auto-coding-alist)
(auto-coding-regexp-alist): Ditto.
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Use `purecopy-cons'.
* lisp/term/x-win.el (x-gtk-stock-map): Ditto.
Chong Yidong [Tue, 1 Feb 2011 17:34:07 +0000 (12:34 -0500)]
Drop use of unsafep for checking Custom themes; bugfixes.
* lisp/custom.el (load-theme): Define return value. Drop use of
unsafep; call custom-theme-load-confirm for non-known-safe themes.
(custom-theme-load-confirm): Scroll in the correct window.
(custom-enabled-themes): Add custom-safe-themes to :set-after.
* lisp/cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
checkbox if load-theme fails.
Stefan Monnier [Tue, 1 Feb 2011 16:33:17 +0000 (11:33 -0500)]
* lisp/progmodes/compile.el (compilation-next-error): Check there's
a message before using it.
Fixes: debbugs:7941
Stefan Monnier [Tue, 1 Feb 2011 14:09:20 +0000 (09:09 -0500)]
* lisp/gnus/message.el (message-expand-name): Don't trust the return value of
bbdb-complete-name.
(message-check-news-header-syntax): Remove unused var `start'.
(message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
(message-inhibit-body-encoding): Move to before first use.
(mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
(To, References, In-Reply-To, Newsgroups, Subject, Path, From)
(Organization, Message-ID, Date, mh-previous-window-config):
Defvar the vars using dynamic scoping.
Lars Ingebrigtsen [Tue, 1 Feb 2011 11:02:10 +0000 (11:02 +0000)]
gnus.texi (Customizing Articles): Fix typo.
Deniz Dogan [Tue, 1 Feb 2011 10:12:25 +0000 (11:12 +0100)]
Adding missing bug reference to ChangeLog.