1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

52111 commits

Author SHA1 Message Date
Julien Danjou
f5462bae4e color.el: Rename various rgb functions to srgb. 2010-11-26 11:19:00 +00:00
Gnus developers
36af6c6577 nnimap.el (nnimap-request-set-mark): Remove left over.
nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox names.
2010-11-26 11:03:16 +00:00
Katsumi Yamaoka
b40950bfce shr.el (shr-insert): Revert last change.
shr.el (shr-find-fill-point): Never leave point being at bol; relax the kinsoku limitation when rendering tables.
2010-11-26 07:35:42 +00:00
Glenn Morris
1e8aa221d5 * lisp/calendar/diary-lib.el (diary-outlook-format): Remove pointless element. 2010-11-25 19:22:49 -08:00
Glenn Morris
e5468a779d * lisp/calendar/diary-lib.el (diary-outlook-format-1): Another fix. 2010-11-25 19:19:58 -08:00
Glenn Morris
92c56fe7fd * lisp/calendar/diary-lib.el (diary-outlook-format-1): Fix match-strings. 2010-11-25 19:14:03 -08:00
Glenn Morris
d01d7b8d7d diary-lib.el diary-outlook* changes.
* lisp/calendar/diary-lib.el (diary-outlook-format-1): New function, so that
diary-outlook-formats can be sensitive to calendar-date-style.
(diary-outlook-formats): Simplify the default setting.
(diary-from-outlook-internal): Pass subject and body as arguments.
Use dolist rather than dotimes.  Don't save the diary buffer.
(diary-from-outlook-gnus, diary-from-outlook-rmail):
Pass subject and body as explicit arguments to the -internal function.
2010-11-25 19:10:16 -08:00
Lars Magne Ingebrigtsen
5be93fc846 nnmail.el (nnmail-expiry-target-group): Protect against degenerate results from -accept-article. 2010-11-26 02:37:23 +00:00
Lars Magne Ingebrigtsen
1e91d0eb70 gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
nnheader.el (nnheader-update-marks-actions): Fix typo in last checkin.
shr-color.el: Require cl when compiling.
2010-11-26 02:31:57 +00:00
Lars Magne Ingebrigtsen
b3ea64a3ee * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
parsing them.  This makes mailto:...?subject=foo\nbar work.
2010-11-26 03:28:03 +01:00
Lars Magne Ingebrigtsen
57cc52bed4 nnimap.el (nnimap-request-set-mark): Add is "+", not "-". 2010-11-26 02:17:55 +00:00
Lars Magne Ingebrigtsen
5f285722b6 nnml.el, nnfolder.el, nntp.el (*-request-set-mark): Extend syntax with 'set.
nnheader.el, nntp.el, nnfolder.el, nnml.el (*-request-set-mark): Refactor out nnheader-update-marks-actions and use it throughout.
nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of 'add and 'delete to set backend marks.
2010-11-26 02:11:40 +00:00
Lars Magne Ingebrigtsen
17dd22813f nnimap.el (nnimap-find-uid-response): The UID is the last element in the list. 2010-11-26 01:27:37 +00:00
Lars Magne Ingebrigtsen
cccb4b4ccd nnimap.el: Use the UID returned when copying and accepting articles, instead of searching for the ID (on the servers that support it).
nnimap.el (nnimap-get-groups): Reimplement to work with folded lines.
2010-11-26 01:14:40 +00:00
Lars Magne Ingebrigtsen
ae48954851 nnimap.el (nnimap-last-response-string): Remove the unfolding -- it introduces regressions in article selection. 2010-11-26 00:45:03 +00:00
Lars Magne Ingebrigtsen
733de8e2d0 nnimap.el (nnimap-last-response-string): Fix last unfolding fix. 2010-11-25 23:43:16 +00:00
Katsumi Yamaoka
443ecb08cd message.el (message-called-interactively-p): A temporary macro.
message.el (message-goto-body): Use it temporarily.
2010-11-25 23:20:19 +00:00
Lars Magne Ingebrigtsen
a56a1cce92 nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
nnimap.el (nnimap-last-response-string): Unfold quoted lines, if they exist.
2010-11-25 23:05:10 +00:00
Stefan Monnier
5a973d5164 * diff.el (diff): Fix it for good, hopefully, this time. 2010-11-25 16:59:30 -05:00
Gnus developers
fd042993b7 shr.el (shr-insert): Fix the way to fold lines.
shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
color.el: Rename from color-lab.el
 (color-rgb->hex): Add.
 (color-complement): Add.
 (color-complement-hex): Add.
2010-11-25 14:51:51 +00:00
Julien Danjou
d50717f030 gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab]. 2010-11-25 11:14:14 +00:00
Lars Magne Ingebrigtsen
fded65c75a shr-color.el (shr-color-visible): Don't bug out if the colour names don't exist. 2010-11-25 07:46:51 +00:00
Katsumi Yamaoka
e4f123a402 mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil, assuming that article displaying or another mml-preview may be interrupted for an error or for the like. 2010-11-25 05:09:25 +00:00
Stefan Monnier
d5e7b0d83d * lisp/vc/diff.el (diff): Fix last change. 2010-11-24 23:43:56 -05:00
Katsumi Yamaoka
bbf9f302f3 shr.el (shr-get-background): Fix argument name. 2010-11-25 01:13:37 +00:00
Gnus developers
144b7b5c83 Merge changes made in Gnus trunk.
shr-color.el (shr-color-visible): Really return original background if fixed.
shr.el (shr-insert-color-overlay): Replace deprecated syntax.
shr.el (shr-tag-body, shr-descend): Add background support.
shr.el (shr-tag-title): Add.
gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes this function to return incorrect results.
shr.el (shr-parse-style): Drop !important from styles.
message.el (message-goto-body): Remove the <#secure special-casing, which is too special.
mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes something or other in Emacs 23, and is backwards compatible.
message.el (message-goto-body): Use called-interactively-p.
message.el (message-in-body-p): message-goto-body returns point.
nnimap.el (nnimap-request-move-article): It's no longer necessary to clear marks before moving, since they're synced from the Gnus side first.
gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
gnus-sum.el (gnus-summary-move-article): Copy over all marks before moving, so that IMAP doesn't think a new article has arrived.
message.el (message-goto-body): called-interactively-p needs a parameter, so use `any'.
gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
gnus-sum.el (gnus-summary-include-articles): New function.
shr.el (shr-tag-table, shr-render-td): Add bgcolor support.
shr-color.el (shr-color-visible): Fix docstring.
shr.el (shr-insert-background-overlay): Fix typo.
shr.el (shr-render-td): Copy the background before rendering.
2010-11-24 22:54:47 +00:00
Stefan Monnier
872ab16459 * lisp/emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
(pcase--dontcare-upats): New var.
(pcase-let, pcase-let*): Generate better code.
Accept the same bodies as `let'.
(pcase-dolist): New macro.
(pcase--trivial-upat-p): New helper function.
(pcase--expand): Strip leading "(let nil" if any.
2010-11-24 11:39:51 -05:00
Julien Danjou
5b42dfdd64 color-lab: Require 'cl when compiling. 2010-11-24 12:56:50 +00:00
Gnus developers
67d43a1d2f color-lab.el: Fix all expt calls to use float type.
shr-color.el: only return hexadecimal part of colors.
shr.el: Protect against non-existant colour names.
2010-11-24 11:32:22 +00:00
Katsumi Yamaoka
69881db0cb shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color expression to shr-color-check as is. 2010-11-24 06:50:28 +00:00
Lars Magne Ingebrigtsen
7bd9b9d8b4 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
use the external browser function to send the mail.
2010-11-24 07:34:12 +01:00
Lars Magne Ingebrigtsen
876d1684cf Introduce a new `browse-url-mailto-function' variable for mailto: URLs. 2010-11-24 07:29:06 +01:00
Katsumi Yamaoka
4b8b6f602a shr-color.el (shr-color->hexadecimal): Ignore case of color names. 2010-11-24 06:22:51 +00:00
Katsumi Yamaoka
463bcf116e color-lab.el: Add coding cookie.
color-lab.el (float-pi): Use eval-and-compile.
2010-11-24 01:28:37 +00:00
Lars Magne Ingebrigtsen
1110d53b4e shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries. 2010-11-24 00:35:23 +00:00
Gnus developers
094ae2abf3 Merge changes made in Gnus trunk.
nnheader.el (nnheader-parse-head): Bug fix.  Properly position point when parsing headers.
nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point is positioned properly when parsing headers.
shr-color.el (shr-color->hexadecimal): Add support for color names.
color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
shr.el (shr-insert-color-overlay): Split stuff like "#444444 !important" to find the real colour.
2010-11-23 22:24:15 +00:00
Stefan Monnier
6e13206c03 * lisp/eshell/: Use with-silent-modifications.
* lisp/eshell/esh-cmd.el (eshell-parse-command):
* lisp/eshell/esh-arg.el (eshell-parse-arguments):
* lisp/eshell/em-script.el (eshell-source-file):
Use with-silent-modifications.
2010-11-23 12:36:15 -05:00
Chong Yidong
3d92f44ea0 Always issue a full prompt in vc-merge-branch operation.
* vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
for a merge location.

* vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
(vc-bzr-merge-branch): Always prompt.
(vc-bzr-async-command): Use the full branch filename.
2010-11-23 10:13:43 -05:00
Stefan Monnier
8f5f1e686e * lisp/shell.el (shell): Use current-buffer by default if it's already
a shell mode buffer and its process is dead.  Suggested by <jemarch@gnu.org>.
2010-11-23 09:19:54 -05:00
Julien Danjou
a299480856 shr-color.el: fix several function calls.
shr.el: replace newline with space in style parsing
2010-11-23 10:22:49 +00:00
Lars Magne Ingebrigtsen
ebe7955725 shr.el (shr-color->hexadecimal): Autoload.
shr.el (shr-descend): Add color to all tags and remove the tag-font and tag-span functions.
2010-11-23 08:21:09 +00:00
Tassilo Horn
331460ac64 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Mention
that the keywords should be comma separated.
2010-11-23 09:00:56 +01:00
Chong Yidong
2c3160c54e Initial support for unified DVCS pull and merge.
* lisp/vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
(vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
(vc-bzr-merge-branch): New functions, implementing merge-branch
and pull operations.

* lisp/vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
Accept optional prefix arg meaning to prompt for a command.
(vc-update): Use vc-BACKEND-pull if available.  Accept optional
prefix arg meaning to prompt for a command.
(vc-pull): Alias for vc-update.
2010-11-22 20:15:08 -05:00
Julien Danjou
ef6a29070d shr.el (shr-tag-color-check): Convert colors to hexadecimal with shr-color->hexadecimal.
shr-color.el (shr-color->hexadecimal): Add converting functions for RGB() or HSL() color representation.
shr.el (shr-tag-font): Add.
 (shr-tag-color-check): New function to get better colors.
 (shr-tag-insert-color-overlay): Factorize code between tag-font and tag-span.
shr-color.el: New file.
color-lab.el: New file.
2010-11-23 00:03:44 +00:00
Stefan Monnier
8a0eb85202 * lisp/Makefile.in: Fix up last merge. 2010-11-22 17:09:17 -05:00
Stefan Monnier
b2e4481906 Cleanup diff-buffer-with-file.
* lisp/vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
(diff-sentinel): Get them as arguments instead.
(diff-old-file, diff-new-file, diff-extra-args): Remove.
(diff-file-local-copy, diff-better-file-name): New funs.
(diff-no-select): Rename from diff-into-buffer.
Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
Prefer closures to buffer-local variables.
(diff): Adjust accordingly.
(diff-buffer-with-file): Move from files.el.
* lisp/files.el (diff-buffer-with-file): Move to vc/diff.el.
(diff-buffer-internal): Remove.
(diff-buffer-buffer): Remove.
(save-some-buffers-action-alist): Use diff-no-select so as not to guess
the buffer name used, and so as not to mess up windows and frames.
2010-11-22 14:22:03 -05:00
Stefan Monnier
296a8e1909 * lisp/gnus/ChangeLog: Improve style. 2010-11-22 13:00:40 -05:00
Bob Rogers
6a7662bb7d * lisp/files.el: Make revert work with diff-buffer-with-file.
(diff-buffer-internal): New function extracted from diff-buffer-with-file
(diff-buffer-with-file): Use it.
* lisp/vc/diff.el (diff-into-buffer): New fun, extracted from diff.
(diff): Use it.

Fixes: debbugs:7277
2010-11-22 12:57:46 -05:00
Julien Danjou
440b1345f6 gnus-art.el (gnus-url-mailto): Do not downcase args. 2010-11-22 11:33:06 +00:00
Tassilo Horn
c799747bd6 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
\ref's or \pageref's value as default instead of initial input.
2010-11-22 09:09:41 +01:00