1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

203 Commits

Author SHA1 Message Date
Glenn Morris
52d129cd62 rmail-new-summary fix for bug#13066
* lisp/mail/rmailsum.el (rmail-new-summary):
Tweak for rmail-maybe-display-summary changing buffer.
2012-12-04 13:08:01 -05:00
Glenn Morris
3a989246b1 rmail-header-summary fix for bug#12625
* lisp/mail/rmailsum.el (rmail-header-summary):
Fix 2010-11-26 test for multiline Subject: field.
2012-10-11 21:01:50 -04:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Eli Zaretskii
92a8eba505 Fix incorrect display of RFC2047 encoded names in Rmail summary buffers
lisp/mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
 `from' or `to' address before taking its substring.  Fixes
 incorrect display in Rmail summary buffer whereby an RFC2047
 encoded name is chopped in the middle of the encoded string, and
 thus displayed encoded.
2011-12-10 15:46:25 +02:00
Glenn Morris
7fb18e9ef9 Small rmail fixes.
* lisp/mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
(rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
Doc fixes.
(rmail-decode-mime-charset): Mark as obsolete.

* lisp/mail/rmailsum.el (rmail-message-regexp-p-1):
* lisp/mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
Before using mime functions, check they are set.

Fixes: debbugs:10077
2011-11-19 18:23:48 -08:00
Glenn Morris
40500957d9 rmail-summary fix.
* lisp/mail/rmailsum.el (rmail-summary): Remove movement to beginning
of message - not necessary, and causes problems.

I believe the call to rmail-summary-beginning-of-message was only
thought to be necessary due to a couple of bugs in rmail-new-summary
that are hopefully fixed now (`mesg' not being set,
rmail-summary-buffer's buffer locality not being considered).

Fixes: debbugs:9831
2011-11-14 01:22:45 -08:00
Glenn Morris
071c2340fd * mail/rmailsum.el (rmail-new-summary): Preserve message number.
Nothing was setting the local variable `mesg'.
Eg when looking at message 10, pressing h to get a summary would
send you to message 1.
2011-11-14 01:09:03 -08:00
Glenn Morris
71e027ac2d Rmail summary fixes for empty summaries.
* lisp/mail/rmailsum.el (rmail-summary, rmail-new-summary)
(rmail-new-summary-1): Allow empty summaries. 
(rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.

Fixes: debbugs:9964
2011-11-13 17:43:50 -08:00
Chong Yidong
38a7165591 Make rmail-default-dont-reply-to-names nil (Bug#7888); rename rmail-dont-reply-*.
* lisp/mail/mail-utils.el (mail-dont-reply-to-names): New variable,
from rmail-dont-reply-to-names.  Callers changed.
(mail-dont-reply-to): Rename from mail-dont-reply-to.
(rmail-dont-reply-to): Make it an obsolete alias.

* lisp/mail/rmail.el (rmail-default-dont-reply-to-names): Default to
nil, and make obsolete.
(rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.

* lisp/mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.

* lisp/mail/rmailsort.el (rmail-sort-by-correspondent)
(rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.

* lisp/mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
2011-02-12 16:45:42 -05:00
Stefan Monnier
b016851cb1 Move keymap initialization into declaration.
* lisp/textmodes/enriched.el (enriched-mode-map):
* lisp/textmodes/bib-mode.el (bib-mode-map):
* lisp/term/lk201.el (lk201-function-map):
* lisp/tar-mode.el (tar-mode-map):
* lisp/replace.el (occur-mode-map):
* lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
* lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
* lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
* lisp/play/solitaire.el (solitaire-mode-map):
* lisp/play/snake.el (snake-mode-map, snake-null-map):
* lisp/play/pong.el (pong-mode-map):
* lisp/play/handwrite.el (menu-bar-handwrite-map):
* lisp/play/gametree.el (gametree-mode-map):
* lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
(newsticker--url-keymap):
* lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
(menu-bar-edit-menu, menu-bar-custom-menu)
(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
(menu-bar-line-wrapping-menu, menu-bar-options-menu)
(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
(menu-bar-tools-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* lisp/mail/rmailsum.el (rmail-summary-mode-map):
* lisp/kmacro.el (kmacro-step-edit-map):
* lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
(ibuffer-mode-operate-map):
* lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
* lisp/emulation/vip.el (vip-mode-map):
* lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
* lisp/bookmark.el (bookmark-bmenu-mode-map):
* lisp/help-mode.el (help-mode-map):
* lisp/erc/erc-list.el (erc-list-menu-mode-map):
* lisp/org/org-remember.el (org-remember-mode-map):
* lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
2011-02-10 11:56:00 -05:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Chong Yidong
07976ae3b8 Merge changes from emacs-23 branch 2010-11-27 15:04:57 -05:00
Kenichi Handa
d1be4ec274 Improve rmail's MIME handling. 2010-11-26 13:06:59 +09:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
60f2013c9e Replace all pop-to-buffer calls with rmail-pop-to-buffer, to prevent
horizontal splits.
2009-12-02 03:05:14 +00:00
Chong Yidong
b42b2189a3 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
by hand, if necessary (Bug#4878).
2009-11-07 18:09:05 +00:00
Stefan Monnier
937e6a5612 * url-util.el (url-insert-entities-in-string):
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Glenn Morris
a5e9211639 (rmail-user-mail-address-regexp): Move to rmail.el.
Put autoloads in rmail.el rather than loaddefs.el.
2009-09-10 06:18:48 +00:00
Eli Zaretskii
8f94cbed09 (rmail-header-summary): Ignore letter-case of month names. (Bug#3987) 2009-08-01 08:20:17 +00:00
Eli Zaretskii
435f0dd2f5 (rmail-new-summary-1): Don't show zero count of summary lines. 2009-04-04 14:22:59 +00:00
Glenn Morris
11d6c06103 (rmail-get-create-summary-buffer): Doc fix.
Disable undo in the summary buffer.
(rmail-summary-sort-by-date, rmail-summary-sort-by-subject)
(rmail-summary-sort-by-author, rmail-summary-sort-by-recipient)
(rmail-summary-sort-by-correspondent, rmail-summary-sort-by-lines)
(rmail-summary-sort-by-labels, rmail-sort-from-summary): Doc fixes.
(rmail-summary-sort-by-labels): Replace `(function (lambda' by `(lambda'.
2009-03-04 04:18:51 +00:00
Glenn Morris
a5110f66bd (rmail-summary-search): Ensure the selected message shows. 2009-03-03 08:13:56 +00:00
Glenn Morris
ac203e0177 (rmail-summary-by-senders): Doc fix.
(rmail-summary-mode-map): Bind rmail-summary-by-senders to C-M-f.
2009-03-03 07:36:19 +00:00
Glenn Morris
4b12219b6d (rmail-summary-scroll-between-messages)
(rmail-summary-line-count-flag, rmail-summary-by-regexp): Doc fixes.
(rmail-summary-mode-map): Bind C-o to output-as-seen, not output.
Make the output menu-items consistent with rmail-mode-map.
2009-03-03 04:06:38 +00:00
Glenn Morris
36ffb35151 (rmail-summary-mode-map): Bind rmail-mime to `v'. 2009-02-28 03:25:50 +00:00
Glenn Morris
36aecf2288 (rmail-summary-mark-seen): Add option to mark as unseen.
(rmail-summary-rmail-update): Store a position in
rmail-summary-put-back-unseen rather than just a flag, and use it to put
back the "-" mark in the summary.
2009-02-26 08:45:09 +00:00
Glenn Morris
ee6ccffcef (rmail-summary-rmail-update): Use rmail-message-unseen-p. 2009-02-26 08:23:05 +00:00
Glenn Morris
70369cd351 (rmail-summary-by-topic): Doc fix.
Regexp-quote default argument taken from current subject.
(rmail-new-summary-1): Error if empty summary.  (Bug#2333)
2009-02-19 03:32:23 +00:00
Glenn Morris
8f8cecb318 (rmail-summary-output-as-seen): Doc fix. 2009-02-15 02:52:14 +00:00
Glenn Morris
bc04f20723 Update for rmail-show-message-maybe name change. 2009-02-13 07:48:13 +00:00
Glenn Morris
97e92ffbd4 (msgnum): Remove declaration.
(rmail-summary-redo): Add missing initialization value.
(rmail-summary-overlay, rmail-summary-mode-map): Add doc string.
(rmail-summary-mark-deleted, rmail-summary-deleted-p):
Fix skip-chars-forward calls.
(rmail-summary-mark-seen): New function.  As well as removing the '-'
mark, update the summary-vector.  (Bug#2135)
(rmail-summary-rmail-update, rmail-summary-goto-msg):
Use rmail-summary-mark-seen.
2009-02-13 03:49:58 +00:00
Glenn Morris
5c9b1aaadf (rmail-get-summary-labels): Store any message labels for use in
completion.
2009-02-12 03:28:37 +00:00
Glenn Morris
8acdd74884 (rmail-create-summary-line): Widen the view buffer
before trying to move to the start of the message.
(rmail-summary-undelete-many, rmail-summary-rmail-update):
Fix rmail-set-attribute calls.
2009-02-07 03:02:57 +00:00
Glenn Morris
c49edcd12f (rmail-get-summary-labels): Treat empty labels as null. 2009-02-03 04:09:01 +00:00
Glenn Morris
ab383a615f (rmail-new-summary): Don't try to summarize an empty folder. 2009-01-31 03:15:35 +00:00
Glenn Morris
98a9d488a3 (rmail-header-summary): Use line-end-position. 2009-01-30 07:20:58 +00:00
Glenn Morris
45bd646186 (rmail-summary-update-line): Replace duplicate line-beginning-position calls. 2009-01-30 03:47:35 +00:00
Glenn Morris
8fbbdd4404 (rmail-summary-update-line): New function.
(rmail-summary-goto-msg): Return a value according to whether message
was found.
(rmail-summary-update-highlight): Give the overlay an 'rmail-summary
property.  Use line-end-position.
2009-01-29 03:41:12 +00:00
Glenn Morris
3ea5d765e7 (rmail-message-recipients-p-1): Don't bother
starting from the beginning, since mail-fetch-field does not care.
(rmail-create-summary-line): Fix unseen handling.  (Bug#2089)
(rmail-get-summary-status): New name for old rmail-get-summary-labels.
(rmail-get-summary-labels): New function.  Returns labels rather than
status (edited, etc).
(rmail-create-summary): Insert an extra space after the status
flags, for consistency with old rmail, and with current
rmail-summary-font-lock-keywords.
2009-01-28 02:49:40 +00:00
Glenn Morris
8d2b2df4b0 Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-message-regexp-p-1): Check rmail-search-mime-header-function is set.
2009-01-27 03:42:08 +00:00
Chong Yidong
3fbc055fd8 (rmail-message-recipients-p-1, rmail-message-regexp-p-1): Avoid clobbering the mark. 2009-01-27 03:15:52 +00:00
Chong Yidong
96a07ae931 (rmail-summary-mark-deleted): Recache summary. 2009-01-27 03:05:18 +00:00
Chong Yidong
bfc032477c (rmail-summary-by-labels): Correctly handle return value of
rmail-get-labels.
2009-01-23 19:20:01 +00:00
Glenn Morris
9b7c032148 Remove Local Variables section that no longer applies. 2009-01-23 04:06:29 +00:00
Bastien Guerry
537ab246b2 Renamed all pmail* files to rmail*. 2009-01-22 17:09:23 +00:00
Bastien Guerry
13847f7970 Removed rmail.el, rmailedit.el, rmailkwd.el, rmailmm.el, rmailmsc.el, rmailout.el, rmailsort.el, rmailsum.el. 2009-01-22 17:01:40 +00:00