From 6395e005f2c63ab58f92655e02e2b962f3d3a28e Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Tue, 13 Nov 2018 10:56:49 +0100 Subject: [PATCH] update mew. Signed-off-by: Andreas Gerler --- elpa/mew-20161030.1807/mew-autoloads.el | 81 - elpa/mew-20161030.1807/mew-pkg.el | 4 - elpa/mew-20161030.1807/mew.info | 132 - elpa/mew-20161030.1807/mew.info-1 | 1421 ---- elpa/mew-20161030.1807/mew.info-2 | 1430 ---- elpa/mew-20161030.1807/mew.info-3 | 1573 ---- elpa/mew-20161030.1807/mew.info-4 | 1576 ---- elpa/mew-20161030.1807/mew.info-5 | 277 - elpa/mew-20161030.1807/mew.ja.info | 130 - elpa/mew-20161030.1807/mew.ja.info-1 | 2065 ------ elpa/mew-20161030.1807/mew.ja.info-2 | 2135 ------ elpa/mew-20161030.1807/mew.ja.info-3 | 1886 ----- .../dir | 2 +- .../etc/Mew.img | 0 .../etc/Mew.png | Bin .../etc/Mew.xbm | 0 .../etc/Mew.xpm | 0 .../etc/mew-Audio.xpm | 0 .../etc/mew-Blank.xpm | 0 .../etc/mew-External.xpm | 0 .../etc/mew-Folder.xpm | 0 .../etc/mew-Image.xpm | 0 .../etc/mew-Octet-Stream.xpm | 0 .../etc/mew-Postscript.xpm | 0 .../etc/mew-Rfc822.xpm | 0 .../etc/mew-Text.xpm | 0 .../etc/mew-Unknown.xpm | 0 .../etc/mew-Video.xpm | 0 .../etc/mew-attach.xpm | 0 .../etc/mew-cite.xpm | 0 .../etc/mew-forward.xpm | 0 .../etc/mew-inc.xpm | 0 .../etc/mew-lock.xpm | 0 .../etc/mew-next.xpm | 0 .../etc/mew-pgp-enc.xpm | 0 .../etc/mew-pgp-sigenc.xpm | 0 .../etc/mew-pgp-sign.xpm | 0 .../etc/mew-prev.xpm | 0 .../etc/mew-queue.xpm | 0 .../etc/mew-refile.xpm | 0 .../etc/mew-reply.xpm | 0 .../etc/mew-send.xpm | 0 .../etc/mew-sep.xpm | 0 .../etc/mew-show.xpm | 0 .../etc/mew-write.xpm | 0 .../etc/mew-yank.xpm | 0 .../mew-addrbook.el | 0 .../mew-attach.el | 0 .../mew-auth.el | 0 elpa/mew-20180911.123/mew-autoloads.el | 520 ++ .../mew-blvs.el | 0 .../mew-bq.el | 0 .../mew-cache.el | 0 .../mew-complete.el | 0 .../mew-config.el | 0 .../mew-const.el | 10 +- .../mew-darwin.el | 0 .../mew-decode.el | 1 + .../mew-demo.el | 2 +- .../mew-draft.el | 0 .../mew-edit.el | 0 .../mew-encode.el | 0 .../mew-env.el | 6 +- .../mew-exec.el | 0 .../mew-ext.el | 0 .../mew-fib.el | 0 .../mew-func.el | 4 +- .../mew-gemacs.el | 0 .../mew-header.el | 0 .../mew-highlight.el | 0 .../mew-imap.el | 53 +- .../mew-imap2.el | 0 .../mew-key.el | 0 .../mew-lang-jp.el | 0 .../mew-lang-kr.el | 0 .../mew-lang-latin.el | 0 .../mew-local.el | 0 .../mew-mark.el | 0 .../mew-message.el | 0 .../mew-mime.el | 0 .../mew-minibuf.el | 0 .../mew-mule.el | 0 .../mew-mule3.el | 4 + .../mew-net.el | 0 .../mew-nntp.el | 0 .../mew-nntp2.el | 0 .../mew-passwd.el | 0 .../mew-pgp.el | 2 +- .../mew-pick.el | 0 elpa/mew-20180911.123/mew-pkg.el | 7 + .../mew-pop.el | 0 .../mew-refile.el | 1 + .../mew-scan.el | 21 + .../mew-search.el | 1 + .../mew-smime.el | 0 .../mew-smtp.el | 0 .../mew-sort.el | 0 .../mew-ssh.el | 0 .../mew-ssl.el | 23 +- .../mew-summary.el | 13 + .../mew-summary2.el | 0 .../mew-summary3.el | 1 + .../mew-summary4.el | 0 .../mew-syntax.el | 0 .../mew-thread.el | 0 .../mew-unix.el | 2 +- .../mew-vars.el | 0 .../mew-vars2.el | 3 + .../mew-vars3.el | 0 .../mew-varsx.el | 2 + .../mew-virtual.el | 0 .../mew-win32.el | 0 .../mew.el | 4 +- elpa/mew-20180911.123/mew.info | 6336 +++++++++++++++++ elpa/mew-20180911.123/mew.ja.info | 6173 ++++++++++++++++ 115 files changed, 13163 insertions(+), 12738 deletions(-) delete mode 100644 elpa/mew-20161030.1807/mew-autoloads.el delete mode 100644 elpa/mew-20161030.1807/mew-pkg.el delete mode 100644 elpa/mew-20161030.1807/mew.info delete mode 100644 elpa/mew-20161030.1807/mew.info-1 delete mode 100644 elpa/mew-20161030.1807/mew.info-2 delete mode 100644 elpa/mew-20161030.1807/mew.info-3 delete mode 100644 elpa/mew-20161030.1807/mew.info-4 delete mode 100644 elpa/mew-20161030.1807/mew.info-5 delete mode 100644 elpa/mew-20161030.1807/mew.ja.info delete mode 100644 elpa/mew-20161030.1807/mew.ja.info-1 delete mode 100644 elpa/mew-20161030.1807/mew.ja.info-2 delete mode 100644 elpa/mew-20161030.1807/mew.ja.info-3 rename elpa/{mew-20161030.1807 => mew-20180911.123}/dir (90%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/Mew.img (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/Mew.png (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/Mew.xbm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/Mew.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Audio.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Blank.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-External.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Folder.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Image.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Octet-Stream.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Postscript.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Rfc822.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Text.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Unknown.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-Video.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-attach.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-cite.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-forward.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-inc.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-lock.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-next.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-pgp-enc.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-pgp-sigenc.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-pgp-sign.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-prev.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-queue.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-refile.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-reply.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-send.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-sep.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-show.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-write.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/etc/mew-yank.xpm (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-addrbook.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-attach.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-auth.el (100%) create mode 100644 elpa/mew-20180911.123/mew-autoloads.el rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-blvs.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-bq.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-cache.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-complete.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-config.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-const.el (98%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-darwin.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-decode.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-demo.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-draft.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-edit.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-encode.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-env.el (98%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-exec.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-ext.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-fib.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-func.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-gemacs.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-header.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-highlight.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-imap.el (96%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-imap2.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-key.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-lang-jp.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-lang-kr.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-lang-latin.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-local.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-mark.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-message.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-mime.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-minibuf.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-mule.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-mule3.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-net.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-nntp.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-nntp2.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-passwd.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-pgp.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-pick.el (100%) create mode 100644 elpa/mew-20180911.123/mew-pkg.el rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-pop.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-refile.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-scan.el (98%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-search.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-smime.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-smtp.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-sort.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-ssh.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-ssl.el (94%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-summary.el (96%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-summary2.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-summary3.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-summary4.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-syntax.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-thread.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-unix.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-vars.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-vars2.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-vars3.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-varsx.el (99%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-virtual.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew-win32.el (100%) rename elpa/{mew-20161030.1807 => mew-20180911.123}/mew.el (99%) create mode 100644 elpa/mew-20180911.123/mew.info create mode 100644 elpa/mew-20180911.123/mew.ja.info diff --git a/elpa/mew-20161030.1807/mew-autoloads.el b/elpa/mew-20161030.1807/mew-autoloads.el deleted file mode 100644 index b53b5959..00000000 --- a/elpa/mew-20161030.1807/mew-autoloads.el +++ /dev/null @@ -1,81 +0,0 @@ -;;; mew-autoloads.el --- automatically extracted autoloads -;; -;;; Code: -(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) - -;;;### (autoloads nil "mew" "mew.el" (22560 30521 0 0)) -;;; Generated autoloads from mew.el - -(autoload 'mew "mew" "\ -Execute Mew first unless Mew is running. And retrieve arrived -messages or just visit to the default folder. - -'proto' is determined by 'mew-proto' and 'mew-case'. - -If 'proto' is '+' (ie a local folder), a mailbox is determined -according to 'mew-mailbox-type'. Otherwise (ie a remote folder), an -appropriate protocol to retrieve messages is chosen according to -'proto'. - -If 'mew-auto-get' is 't', arrived messages are asynchronously fetched -and listed up in Summary mode. - -'mew-auto-get' is 'nil', just visit to the folder determined by -'proto'. - -When executed with '\\[universal-argument]', 'mew-auto-get' is -considered reversed. - -\(fn &optional ARG)" t nil) - -(autoload 'mew-send "mew" "\ -Execute Mew then prepare a draft. This may be used as library -function. - -\(fn &optional TO CC SUBJECT)" t nil) - -(autoload 'mew-user-agent-compose "mew" "\ -Set up message composition draft with Mew. -This is 'mail-user-agent' entry point to Mew. - -The optional arguments TO and SUBJECT specify recipients and the -initial Subject field, respectively. - -OTHER-HEADERS is an alist specifying additional -header fields. Elements look like (HEADER . VALUE) where both -HEADER and VALUE are strings. - -A Draft buffer is prepared according to SWITCH-FUNCTION. - -CONTINUE, YANK-ACTION and SEND-ACTIONS are ignored. - -\(fn &optional TO SUBJECT OTHER-HEADERS CONTINUE SWITCH-FUNCTION YANK-ACTION SEND-ACTIONS &rest DUMMY)" nil nil) - -;;;*** - -;;;### (autoloads nil nil ("mew-addrbook.el" "mew-attach.el" "mew-auth.el" -;;;;;; "mew-blvs.el" "mew-bq.el" "mew-cache.el" "mew-complete.el" -;;;;;; "mew-config.el" "mew-const.el" "mew-darwin.el" "mew-decode.el" -;;;;;; "mew-demo.el" "mew-draft.el" "mew-edit.el" "mew-encode.el" -;;;;;; "mew-env.el" "mew-exec.el" "mew-ext.el" "mew-fib.el" "mew-func.el" -;;;;;; "mew-gemacs.el" "mew-header.el" "mew-highlight.el" "mew-imap.el" -;;;;;; "mew-imap2.el" "mew-key.el" "mew-lang-jp.el" "mew-lang-kr.el" -;;;;;; "mew-lang-latin.el" "mew-local.el" "mew-mark.el" "mew-message.el" -;;;;;; "mew-mime.el" "mew-minibuf.el" "mew-mule.el" "mew-mule3.el" -;;;;;; "mew-net.el" "mew-nntp.el" "mew-nntp2.el" "mew-passwd.el" -;;;;;; "mew-pgp.el" "mew-pick.el" "mew-pkg.el" "mew-pop.el" "mew-refile.el" -;;;;;; "mew-scan.el" "mew-search.el" "mew-smime.el" "mew-smtp.el" -;;;;;; "mew-sort.el" "mew-ssh.el" "mew-ssl.el" "mew-summary.el" -;;;;;; "mew-summary2.el" "mew-summary3.el" "mew-summary4.el" "mew-syntax.el" -;;;;;; "mew-thread.el" "mew-unix.el" "mew-vars.el" "mew-vars2.el" -;;;;;; "mew-vars3.el" "mew-varsx.el" "mew-virtual.el" "mew-win32.el") -;;;;;; (22560 30521 0 0)) - -;;;*** - -;; Local Variables: -;; version-control: never -;; no-byte-compile: t -;; no-update-autoloads: t -;; End: -;;; mew-autoloads.el ends here diff --git a/elpa/mew-20161030.1807/mew-pkg.el b/elpa/mew-20161030.1807/mew-pkg.el deleted file mode 100644 index 96af30a5..00000000 --- a/elpa/mew-20161030.1807/mew-pkg.el +++ /dev/null @@ -1,4 +0,0 @@ -(define-package "mew" "20161030.1807" "Messaging in the Emacs World" 'nil) -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/mew-20161030.1807/mew.info b/elpa/mew-20161030.1807/mew.info deleted file mode 100644 index eefea827..00000000 --- a/elpa/mew-20161030.1807/mew.info +++ /dev/null @@ -1,132 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -Indirect: -mew.info-1: 282 -mew.info-2: 50929 -mew.info-3: 101676 -mew.info-4: 153693 -mew.info-5: 214499 - -Tag table: -(Indirect) -Node: Top285 -Node: Overview1499 -Node: characteristic2392 -Node: Emacsen4118 -Node: modes4335 -Node: folder convention5102 -Node: configuration8154 -Node: password10927 -Node: start13310 -Node: Viewing14478 -Node: singlepart15774 -Node: multipart17263 -Node: analysis20493 -Node: cipher-viewing24442 -Node: retrieving29468 -Node: moving33477 -Node: sum-write36125 -Node: features38502 -Node: status-update40982 -Node: invalid42007 -Node: Composing44204 -Node: header46252 -Node: cheader47252 -Node: addr-comp49054 -Node: addrbook50932 -Node: auto-alias54124 -Node: addr-comp155843 -Node: addr-comp258265 -Node: send60482 -Node: cite63573 -Node: mime-comp65819 -Node: charset-guess73166 -Node: longline76853 -Node: reply78681 -Node: forward82499 -Node: resend83372 -Node: shortcut85445 -Node: mark-b-comp90879 -Node: pgp-key93844 -Node: anonymous94725 -Node: Marks96292 -Node: unread mark97936 -Node: delete mark99437 -Node: refile mark101679 -Node: target mark103290 -Node: escape mark104921 -Node: unmark105776 -Node: mark change106755 -Node: sync108199 -Node: off-line109377 -Node: mew-mark111227 -Node: Refile111949 -Node: by-folder113809 -Node: by-alist115706 -Node: by-thread117789 -Node: by-from-folder118643 -Node: by-from120000 -Node: by-newsgroups121579 -Node: by-default121914 -Node: guess-rule122368 -Node: auto-refile124139 -Node: copy-msg126351 -Node: Virtual127618 -Node: selection129278 -Node: sorting129998 -Node: dialog131841 -Node: search132968 -Node: condition134132 -Node: dbsearch136371 -Node: keyword137595 -Node: thread138453 -Node: thread-op139713 -Node: Quit141879 -Node: Customize142428 -Node: summary-mode143243 -Node: message-mode147402 -Node: draft-mode150729 -Node: charset153696 -Node: highlight155902 -Node: hooks158866 -Node: pop163415 -Node: imap165094 -Node: nntp166662 -Node: smtp168023 -Node: config170508 -Node: config2176438 -Node: custom-misc177954 -Node: Tips178975 -Node: region179563 -Node: visiting180253 -Node: SSH180783 -Node: SSL181755 -Node: TLS184133 -Node: spam185032 -Node: spam2187321 -Node: addr-warn188655 -Node: biff189783 -Node: edit190541 -Node: Convention191816 -Node: Implementation193884 -Node: Avail196247 -Node: obtain196554 -Node: ml196846 -Node: Copyright197242 -Node: Variable Index199191 -Node: Key Index214502 - -End tag table diff --git a/elpa/mew-20161030.1807/mew.info-1 b/elpa/mew-20161030.1807/mew.info-1 deleted file mode 100644 index 6154d58f..00000000 --- a/elpa/mew-20161030.1807/mew.info-1 +++ /dev/null @@ -1,1421 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir) - -Mew 6.7 Manual -************** - - Kazu YAMAMOTO - Created 1996/02/18 - Modified 2015/07/03 - -This manual documents Mew version 6.7. In addition to this manual, you -may find useful information about Mew from Mew's official home page -(http://www.Mew.org/). - - -* Menu: - -* Overview:: Read me first -* Viewing:: Viewing messages -* Composing:: Composing messages -* Marks:: Funny marks -* Refile:: Happy refiling -* Virtual:: Virtual folder -* Quit:: Give me a break -* Customize:: Customizing Mew -* Tips:: Advanced usage -* Convention:: E-mail convention -* Implementation:: Implementation Issues -* Avail:: Availability and mailing-list -* Copyright:: Copyright -* Variable Index:: Variable Index -* Key Index:: Key Index - - - - -File: mew.info, Node: Overview, Next: characteristic, Prev: Top, Up: Top - -Read me first -************* - -Mew is a user interface for text messages, multimedia messages (MIME), -news articles and security functionality including PGP, S/MIME, SSH, -and SSL. Also, Mew can work with the recent search services. - -Mew is an acronym for "Messaging in the Emacs World". You should spell -it with the first letter capitalized and pronounce it as it is -(i.e. the meow of cats). When the author started programming it, he -chose a cute word from his English dictionary. Thus, Mew. - -* Menu: - -* characteristic:: Mew's features -* Emacsen:: Supported Emacs versions -* modes:: Modes -* folder convention:: Folder convention -* configuration:: Configuration -* password:: Password -* start:: Starting - - - - -File: mew.info, Node: characteristic, Next: Emacsen, Prev: Overview, Up: Overview - -Mew's features -============== - -The features of Mew 6.7 are as follows: - - - You can easily display a very complicated structured - message. What you should do to view messages is just type `SPC'. - - If you know how to do file operations such as copy, you can - compose a very complicated message without any difficulty. - - You can start to read messages before they are all fully listed. - - Since Mew preserves lists of messages in Summary mode, when you - move messages to a new folder, they will automatically be listed - incrementally. - - Mew neatly suggests default folders for refiling. Those who - receive many messages cannot live without this feature. - - In Draft mode, you can complete field names, e-mail addresses, - receiver's names, domain names, and folder names. - - You can easily search messages with keywords etc. - - Mew automatically decodes messages encrypted with PGP or - S/MIME. It also automatically verifies signed messages. - - You can easily encrypt or sign a message with PGP or S/MIME. - - It takes a bit of time to analyze MIME syntax or to verify a PGP - or S/MIME signature. While the user is reading a message, Mew - processes the next message so that the next message can be - displayed faster. Analyzed messages are cached briefly. - - You can view multiple folders simultaneously. - - Selection/Thread, a mechanism to display the flow of messages, is - supported. You can make Selection from messages matched to a - keyword and make Thread from the Selection. - - When you input a folder name, you can search it with a substring - of the name. - - - - -File: mew.info, Node: Emacsen, Next: modes, Prev: characteristic, Up: Overview - -Supported Emacs versions -======================== - -Please use Emacs 22.3 or later. Mew doesn't support earlier versions -nor XEmacs. - - - - -File: mew.info, Node: modes, Next: folder convention, Prev: Emacsen, Up: Overview - -Modes -===== - -Mew has the following seven modes: - -`Summary mode' - A mode to list and select messages. -`Virtual mode' - A mode to list messages selected with a specific condition from - one or more folders. This is similar to Summary mode. This mode - is categorized to Selection or Thread. -`Message mode' - A mode to display the content of a message. -`Draft mode' - A mode to prepare a message to be sent, answered, and forwarded. -`Header mode' - A mode to edit the header of a message and to send it. -`Edit mode' - A mode to edit a message to generate another new message. -`Addrbook mode' - A mode to register an entry to the address book (Addrbook). - - - - -File: mew.info, Node: folder convention, Next: configuration, Prev: modes, Up: Overview - -Folder convention -================= - -With Mew's terminology, a place where messages are deliver is called -'mailbox'. There are three kinds of mailbox: local, POP server, IMAP -server, and NNTP server. - -A box which contains messages used by Mew is called "folder". The name -of a folder is in the format that "proto" is followed by a string, -where "proto" is one sign letter. For example, the proto of "+inbox" -is "+". - -Mew's folders are categorized to two types: "local folder" and "remote -folder". - -A local folder is a folder which is *original* and is created the -computer on which Mew is running. Also, messages stored in the folder -are *original*. (So, if you remove them, you cannot revive them.) - -The proto of a local folder is "+". We summarize special local folders -as follows: - -`+inbox' - The first local folder to store messages which you fetch from - your local mailbox or your POP server. To refile messages, what - you do is to move the messages from "+inbox" to other folders. -`+draft' - A local folder where messages, which you have not completed yet, - are stored. -`+queue' - A local folder where e-mail messages to be sent are stored. The - messages in "+queue" will be eventually sent by SMTP. -`+postq' - A local folder where NetNews message to be sent are stored. The - messages in "+postq" will be eventually sent by NNTP. - -A remote folder is a COPY whose original is on a server side. A -message in a remote folder is a cache which is copied from the server. - -Here are a list of available proto of remote folders: - -`%' - Folders on an IMAP servers. Example: "%inbox" -`$' - The folder on a POP server. Example: "$inbox" (Since there is - only one folder in a POP server, "$inbox" is the only folder - whose name starts with "$".) -`-' - Newsgroups of NetNews. Example: "-fj.mail.reader.mew" - -If you use several servers, there are multiple sets of remote folders. -You can specify several servers by using "case". For more information -about the "case", see *Note config::. To specify a remote folder -corresponding to a "case", you should write "case:folder". You can -omit "case:" if a case is "default". - -A combination of "case" and proto organized a world to which a message -belongs. A message can move within its world. To make it easy to -search received messages afterward, they should be moved to proper -folders. To know how to refile received messages, see *Note Refile::. - -You cannot move a message in the "$" world because there is only one -folder, "$inbox". You cannot move a message in the "-" world either -since messages in the "-" world are not yours. - -If you want to move a message from one world to another, you should -COPY it. Its destination is restricted to a local folder. This method -is described in *Note retrieving::. - -If you make a list of folders, you can use the completion -functionality for folders. To know how to make a list of folders, -please refer to *Note status-update::. - - - - -File: mew.info, Node: configuration, Next: password, Prev: folder convention, Up: Overview - -Configuration -============= - -To execute Mew, the followings are necessary either in the site -configuration file or in your "~/.emacs". - - (autoload 'mew "mew" nil t) - (autoload 'mew-send "mew" nil t) - - ;; Optional setup (Read Mail menu): - (setq read-mail-command 'mew) - - ;; Optional setup (e.g. C-xm for sending a message): - (autoload 'mew-user-agent-compose "mew" nil t) - (if (boundp 'mail-user-agent) - (setq mail-user-agent 'mew-user-agent)) - (if (fboundp 'define-mail-user-agent) - (define-mail-user-agent - 'mew-user-agent - 'mew-user-agent-compose - 'mew-draft-send-message - 'mew-draft-kill - 'mew-send-hook)) - -If you are using Emacs with the --unibyte option or the EMACS_UNIBYTE -environment variable for Latin-1, put the following into your -"~/.emacs". - - (set-language-environment "Latin-1") - (set-input-method "latin-1-prefix") ;; or "latin-1-postfix" - -If you use the following configuration for Latin-1, please remove it. -This is an obsolete handling of Latin-1 that can cause Mew to function -incorrectly. - - (standard-display-european 1) - -When booting, Mew reads the file "~/.mew.el". All Mew configurations -should be written in this file. - -To configure your e-mail address, the followings are necessary. - - ;; (setq mew-name "your name") ;; (user-full-name) - ;; (setq mew-user "user name of e-mail address") ;; (user-login-name) - (setq mew-mail-domain "domain of e-mail address") - -To send e-mail messages by SMTP, the following is necessary. - - (setq mew-smtp-server "your SMTP server") ;; if not localhost - -If you want to use POP to receive e-mail messages, the followings are -necessary. - - ;; (setq mew-pop-user "your POP account") ;; (user-login-name) - (setq mew-pop-server "your POP server") ;; if not localhost - -If you want to use a local mailbox to receive e-mail messages, the -followings are necessary. - - ;; To use local mailbox "mbox" or "maildir" instead of POP - (setq mew-mailbox-type 'mbox) - (setq mew-mbox-command "incm") - (setq mew-mbox-command-arg "-u -d /path/to/mbox") - ;; If /path/to/mbox is a file, it means "mbox". - ;; If /path/to/mbox is a directory, it means "maildir". - -If you want to use IMAP to receive e-mail messages, the followings are -necessary. - - (setq mew-proto "%") - ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name) - (setq mew-imap-server "your IMAP server") ;; if not localhost - -To read and/or write articles of NetNews, the followings are -necessary. - - ;; (setq mew-nntp-user "your NNTP account") - (setq mew-nntp-server "your NNTP server") - - - - -File: mew.info, Node: password, Next: start, Prev: configuration, Up: Overview - -Password -======== - -When fetching/sending messages or using PGP or S/MIME, you may be -required to input your password. Before you type your password, check -carefully to see if either the following conditions is satisfied: - - - Emacs is running on a local computer - - Emacs is running on a remote computer, but an encryption - mechanism is being used for communication. - -If neither of these conditions are satisfied, do not input a -password. Your password could be accessed without your knowledge. - -If you get sick of inputting your password from time to time, please -use one of two password-cache mechanisms. - - 1. Storing passwords in memory temporarily. Not writing them to a - file. - 2. Storing passwords in memory while Mew is running. When Mew/Emacs - quits, Mew encrypts the passwords and writes them to a file. - -To use Feature 1., configure as follows: - - (setq mew-use-cached-passwd t) - -To use Feature 2., after installing GnuPG, configure as follows (GnuPG -version 1.x, 2.0 and 2.1 are supported for this feature): - - (setq mew-use-master-passwd t) - -If both variables are `t', the feature 2. is used. - -Feature 1.: Any passwords including POP and PGP are cached in -memory. While a password is cached, you can omit to input the -password. The cached password will expire after a certain period (20 -minutes by default). However, its timer is cleared (reset to 20 -minutes) if the password is used internally. - -Feature 2: When Mew boots, Mew asks you to input a master password. -Mew decrypts encrypted passwords in a file and caches them in memory. -For instance, if you have already typed POP password, it is to be -stored in memory. Thus, when the POP password is required, you can -omit to input it. If you use a master password at the first time, you -are asked to input it twice. When Mew boots, you might type a wrong -master password. In this case, if you enabled Feature 1., it is -used. Otherwise, no password-cache mechanisms is used. - -If you want to change the master password, type `C-cC-m' in Summary -mode. - -Cached passwords in memory are not encrypted. So, if you use either -Feature 1. or Feature 2., you should take care so that nobody can -touch your Emacs. If you leave your PC and an Emacs expert happens to -check your configuration, your passwords could be stolen. - - - - -File: mew.info, Node: start, Next: Viewing, Prev: password, Up: Overview - -Starting -======== - -To start Mew, you can choose one of the following: - -`M-x mew' - Execute Mew first unless Mew is running. And retrieve arrived - messages or just visit to the default folder. - - `proto' is determined by `mew-proto' and the "case" (see - *Note config::). - - If `proto' is `+' (i.e. a local folder), a mailbox is determined - according to `mew-mailbox-type' (see *Note retrieving::). - Otherwise (i.e. a remote folder), an appropriate protocol to - retrieve messages is chosen according to `proto'. - - If `mew-auto-get' is `t', arrived messages are asynchronously - fetched and listed up in Summary mode. - - `mew-auto-get' is `nil', just visit to the folder determined by - `proto'. -`C-uM-x mew' - Perform `M-x mew' with `mew-auto-get' reversed. -`M-x mew-send' - Enter Draft mode for message composing. -`C-xm' - Enter Draft mode for message composing if `mail-user-agent' is - configured. - -When Mew is executed on Emacs, two cute cats appear on the cover page. - -For the methods of quitting Mew, please refer to *Note Quit::. - - - - -File: mew.info, Node: Viewing, Next: singlepart, Prev: start, Up: Top - -Viewing messages -**************** - -If you input `M-x mew' (regardless Mew is running or not), Mew -displays a list of message like this: - - * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic - M03/14 Momo-chan The pictures of Noto |Attached are the pictu - 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd - -This is called Summary mode. This section mainly explains how to read -messages in Summary mode. - -As you can see the example above, the format of Summary mode consists -of a mark, data type (a mark by Mew), date, a sender, Subject:, and a -body. - -For the method of terminating Summary mode, please see *Note Quit::. - -* Menu: - -* singlepart:: Reading Basis -* multipart:: Displaying MIME -* analysis:: Controlling MIME analysis -* cipher-viewing:: Visualizing cipher or signature -* retrieving:: Getting messages -* moving:: Moving to another folder -* sum-write:: Write, answer, and forward -* features:: Useful features -* status-update:: Updating status -* invalid:: Invalid messages - - - -File: mew.info, Node: singlepart, Next: multipart, Prev: Viewing, Up: Viewing - -Reading Basis -============= - -To read messages in the order of their arrival, type `SPC' to display -them. That's it. It's easy, isn't it? - -Yet this might not be comprehensive, so the basic commands for page -processing are listed as follows: - -`SPC' - Read through messages. That is, display a message, scroll it, and - move-then-display another message. refer to *Note summary-mode:: - to know which direction the cursor moves. -`C-uSPC' - Redisplay the message from its header. -`DEL' - Back-scroll this message. Unnecessary header fields are hidden - over the window. Type `DEL' to see them when a message is - displayed. -`RET' - Make this message scroll up one line. -`M-RET' -`-' - Make this message scroll down one line. - -`C-n' - Go to the next line. -`C-p' - Go to the previous line. -`n' - Move down then display. Targets include parts, messages marked with - `*', and non-marked messages. -`C-un' - Move down then display. Targets include messages marked with `*', - and non-marked messages. -`p' - Move up then display. Targets include parts, messages marked with - `*', and non-marked messages. -`C-up' - Move up then display. Targets include messages marked with `*', - and non-marked messages. -`j' - Jump to a line according to the line number which you input. -`C-uj' - Jump to a message according to the message number which you - input. - - - -File: mew.info, Node: multipart, Next: analysis, Prev: singlepart, Up: Viewing - -Displaying MIME -=============== - -It's not difficult to read a multipart message. As usual, just type -`SPC'. - -A multipart message is marked with `M' on the left side of date as -follows: - - * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic - M03/14 Momo-chan The pictures of Noto |Attached are the pictu - 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd - -When you type `SPC' on the message marked with `M', its header is -displayed in Message mode. Then its multipart structure is displayed -in Summary mode as follows: - - * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic - M03/14 Momo-chan The pictures of Noto |Attached are the pictu - B 2 Image/Jpeg picture 1 noto1.jpg - Q 3 Application/Postscript Note map map.ps - 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd - -If the first part is Text/, the first part is not displayed in Summary -mode but the first part is displayed with its header in Message mode. - -Each line of multipart consists of - - - marks (Content-Transfer-Encoding:) - - part number - - data type (Content-Type:) - - description (Content-Description:) - - file name (Content-Disposition:). - -Content-Description can be considered Subject: for each part. This -format is very similar to that of the attachment region in Draft mode. - -If you type `SPC' or `n', the cursor moves onto part 2 and the content -is displayed according to its data type. For instance, Text/Plain is -showed in Message mode and PostScript is visualized with "ghostview". - -Please note that `n' and `p' move lines including multipart. -To display the message below skipping multipart, type `C-un'. -Likewise, to display the message above (not this message), input -`C-up'. - -Mew processes MIME recursively. The following example is a forwarded -multipart message. - - M03/15 Kazu yamamoto Fw: The pictures of Noto |Attached are the pictu - 2 Message/Rfc822 The pictures of Noto - B 2.2 Image/Jpeg picture 1 noto1.jpg - Q 2.3 Application/Postscript Note map map.ps - -Note: We strongly recommend that you not embed any object other than -text as a top level single part to a message directly. Instead, it is -better to make a multipart message whose part 1 is a textual -description of part 2 and part 2 is a non-text object. - -A message which contains a single part other than text is displayed as -multipart. - -Since the syntax of MIME messages can be complex, it sometime takes a -bit of time to analyze the syntax. However, Mew guesses the message to -be read next and analyzes it beforehand while the user is reading the -current message. Analyzed messages are temporarily cached. - -To make it clear where the message ends, Mew displays the string "[End -of message]" in the end of the message. At the end of each part, Mew -displays the string "[Message is continued]". These strings are -customized by `mew-end-of-message-string' and -`mew-end-of-part-string', respectively. - - - -File: mew.info, Node: analysis, Next: cipher-viewing, Prev: multipart, Up: Viewing - -Controlling MIME analysis -========================= - -There are several variables for controlling message analysis. - -`mew-file-max-size' - The size limit of messages to be analyzed. If the size of a - message is less than or equal to this value, it is analyzed and - displayed. Otherwise, the raw message is displayed without - analysis. The default value is 10000 bytes. -`mew-header-max-length' - The length limit of header to be analyzed. If the length of a - header is less than or equal to this value, it is analyzed and - displayed. Otherwise, the message is displayed as fragmentarily - since the analysis is stopped. The default value is 100 lines. -`mew-decode-broken' - Whether Mew be liberal or conservative to invalid messages. If the value - is `t', the setting is liberal. If the value is `nil', the - setting is for conservative. If conservative and invalid portions are - found, they are reported in the X-Mew: field. The default value is - `t'. -`mew-use-text-body' - Whether or not the text part of a body is displayed with its - header. If the value is `t', both the body which is a single part - text and the first text part in a multipart body are displayed - with its header. If the value is `nil', they are displayed as a - single part in a multipart. The default value is `t'. -`mew-use-alternative' - How to treat Multipart/Alternative. Messages containing - Multipart/Alternative are marked with `-'. If the value is - `t', one part is displayed according to the preference defined in - `mew-mime-multipart-alternative-list'. If the value is - `nil', it is displayed as a multipart. The default value is - `t'. -`mew-use-text/html' - How to treat Text/Html. If `nil', HTML is displayed as is - (without parsing). Otherwise, HTML is parsed and displayed. The - default value is `nil'. -`mew-use-text/xml' - How to treat Text/Xml. If `nil', XML is displayed as is (without - parsing). Otherwise, XML is parsed and displayed. The default - value is `t'. - -The basic command relating to the variables above is `.'. The command -acts as follows: - -1) If this command executed on a message, the cache of the message is -removed and the message is analyzed then displayed. - -1a) If the size of the current message exceeds `mew-file-max-size', -MIME analysis is skipped then the beginning of the raw message is -displayed. In this situation, this command analyzes the current -message without the limitation then displays it. - -1b) If the length of a header exceeds `mew-header-max-length', a -broken message is displayed. In this situation, this command analyzes -the current message without the limitation then displays it. - -1c) If the current message is displayed by `:', the multipart -structure is displayed different from the normal display. In this -situation, this command gets the multipart structure back to the -normal display. - -1d) If `mew-use-text/html' is `nil', its HTML body is displayed as -is. In this situation, this command analyzes the HTML body and -displays it. - -2) If this command is called on a part, the part is displayed again. - -2a) If 'mew-use-text/html' is `nil', its HTML part is displayed as -is. In this situation, this command analyzes the HTML part and -displays it. - -In addition to `.', the following commands are prepared: - -`.' - Analyze the message and re-display it. -`C-u.' - Analyze the message with `mew-decode-broken' reversed (see - *Note invalid::). -`:' - The same as `.' with `mew-use-alternative' and - `mew-use-text-body' reversed. -`C-u:' - The same as `C-u.' with `mew-use-alternative' and - `mew-use-text-body' reversed. -`,' - Insert a message or a part into Message mode in raw format. -`C-cTAB' - Open an entire message as a file in read-only mode. -`C-uC-cTAB' - Open an entire message as a file. - - - -File: mew.info, Node: cipher-viewing, Next: retrieving, Prev: analysis, Up: Viewing - -Visualizing cipher or signature -=============================== - -Basic commands such as `SPC' visualize messages signed or encrypted as -well. Let's start with a simple example: - - S03/18 Kanda PC shop A written estimate |Here is a written esti - E03/21 Anonymous Secret message | - -Messages above are marked with `S' and `E', respectively. This means -that the body of the first message is signed and that of the second -message is encrypted. - -PGP/MIME and/or S/MIME also allow to sign and/or encrypt some parts of -a message. In this case, these marks do not appear. The `S' or `E' -mark appears only when the entire body of the message is signed or -encrypted. - -The terms "sign" and "encrypt" used above mean the last procedure -applied the body is "sign" and "encryption", respectively. The above -examples may have been produced with more complex processes. For -instance, in the case of the former message, the body may have been -signed after encrypting the body. It is likely that some part of the -latter message was first signed then the body was encrypted. - -If some parts or the entire body is encrypted, Mew asks you to input -your pass-phrase to get plain text. Please refer to *Note start:: to -know what you should pay attention when inputting pass-phrase. The -pass-phrase is used to decrypt your secret key. The secret key is then -used to decrypt cipher text. - -To visualize a cipher message, you need to input your pass-phrase -every time you encounter cipher text. This is because Mew does not -cache pass-phrases anywhere for security reasons. If you feel this is -inconvenient, you can configure Mew to cache your pass-phrase. Please -refer to *Note password:: for more information. - -Since decrypted messages are cached for a while, you may not be asked -for your pass-phrase at the next time you display the message, even if -you are not using the pass-phrase cache. - -To verify signatures, senders' public keys are used. Hence you are not -asked to type your pass-phrase. - -Since Mew automatically verifies signatures and/or decrypts cipher -text with a pass-phrase, it is likely that users do not notice that -the original message has signatures and/or which parts were encrypted. - -To inform users the results of verification of signatures or which -parts were decrypted, Mew inserts the X-Mew: field in the header as -follows: - - X-Mew: PGP decrypted. - Good PGP sign "kazu@example.org" COMPLETE - -The number enclosed by "<>" indicates which part was protected with -PGP. "body" means the body was protected. This example tells us that -the body was singed by kazu then encrypted for the reader. Mew first -decrypted the message and then verified its signature of the decrypted -message. The fact that the signature is valid indicates that no one -has modified the content of the message since it was signed by the -secret key whose ID is kazu@example.org. The validity of the public -key used to verify the signature is "complete". Thus, the receiver can -be sure that the public key actually belongs to the user indicated by -the ID. That is, this message was verified by a reliable public key -AND its results were correct, so no alternation was found. - -In the following example, the signature of the body (multipart), is -first verified, then part 2 (a message), is decrypted. That is, the -composing process was that part 2 is first encrypted then the entire -body is signed. - - X-Mew: Good PGP sign "kazu@example.org" COMPLETE - X-Mew: <2 message> PGP decrypted. - -Intelligent users may wonder what happens in the case where a devious -person sends a message that contains an invalid X-Mew: field. This is -not a problem. First Mew carefully removes the X-Mew: field, and then -inserts a valid X-Mew: field into the header. - -About PGP/MIME: - -X-Mew: informs the user of various other types of results. For -example, the lack of availability of a public key, decryption -failures, etc. The following example indicates the absence of a public -key whose key ID is 0x1B8BF431. - - X-Mew: No his/her public key. ID = 0x1B8BF431 - -In this case, if you type `C-cC-f', Mew tries fetching this public -key. You can interactively select a public key server. If the X-Mew: -field does not exist, `C-c C-f' takes the From: field as ID. Also, -`C-uC-cC-f' extracts key IDs from fields specified in -`mew-x-pgp-key-list' in addition to the X-Mew: field, and then tries -to fetch them. - -Mew supports PGPv2, PGPv5, and GNUPG. You can select one of these by -typing `C-cC-v' in Summary mode. If you want to use those PGPs, you -should set the command name of PGPv2, PGPv5, and GNUPG to -`mew-prog-pgp2', `mew-prog-pgp5', and `mew-prog-gpg', -respectively. Also, set the default PGP name to `mew-prog-pgp'. Note -that pass-phrases are cached independently for each PGP. - -Old fashioned PGP messages cannot be processed automatically. You can -decrypt and/or verify this kind messages with `C-cC-z'. - - - -File: mew.info, Node: retrieving, Next: moving, Prev: cipher-viewing, Up: Viewing - -Getting messages -================ - -To copy arrived messages to your mailbox to +inbox and list up a list of -the messages, use `i'. The mailbox is determined according to -`mew-mailbox-type'. (When you type `M-x mew' and if -`mew-proto' is `+', messages are also copied according to -`mew-mailbox-type'.) Here are summary of its values. - -`'mbox' - A local mailbox. "incm" is used to copy messages for the local - mailbox by default. To know how to configure it, see *Note - configuration::. -`'pop' - A POP server. To use POP as it is. (This is a default value.) -`'imap' - An IMAP server. This is not recommended. - -To flush a list of messages in a local folder and display them again, -use `s'. - -To retrieve messages or flush-then-retrieve messages again in a remote -folder, type `s'. It is recommended to use `s', not `i', for IMAP and -NetNews. - -If you use `s', it asks you a range. Here are a summary of important -ranges for Mew. - -`update' - From "the last message in the Summary mode + 1" to "the last - message in the corresponding folder". That is, the gap between - the Summary mode and the existing folder -`all' - All messages in the folder. When Summary mode in a local folder - becomes inconsistent, use this range to flush the list. For a - remote folder, this range results in retrieval of all messages - again. -`sync' - Deleting cache messages whose originals were removed in the - server side. Valid for remote folders only. - -The default range both for +draft, +queue, and +postq is `all'. For -other folders, the default is `update'. So, just type `RET' after `s' -to get the up-to-date list of the current folder except +draft, -+queue, and +postq. - -Although they are not especially important in Mew, you can specify the -following ranges: - -`-' - From to . Valid for local folders only. -`-' - From to the last. Valid for local folders only. -`-' - From the first to . Valid for local folders only. -`last:' - Last messages. - -If you execute `s' with `C-u' on a remote folder, you can -toggle "copying a header only" and "copying both a header and a body". -This action can be defined by `mew-pop-header-only', -`mew-imap-header-only', and `mew-nntp-header-only' for POP, -IMAP, and NNTP, respectively. The default values of these are -`nil', that is, "copying both a header and a body". - -Messages that are of large size may be truncated. This kind of message -is marked with `T'. To retrieve the rest of this kind of message, type -`I' on the message. - -Suppose that there is a message marked with `T' in $inbox. If you type -`I' on it, you can retrieve the entire message. - -Here is a summary of the commands concerned with message retrieval: - -`i' - In a local folder, fetch arrived messages, store them to the +inbox - folder and create a list. If `mew-auto-flush-queue' is `t', - send messages in +queue. Please refer to *Note send:: for more - information. In a remote folder, visit to its inbox folder and execute - `s' + `update'. -`C-ui' - Perform `i' with `mew-auto-flush-queue' reversed. -`I' - Retrieve the rest of a truncated(`T') message. - - If you use this command in a local folder, a method to retrieve - the message is determined by the "case" and - `mew-mailbox-type'. If `mew-pop-delete'/`mew-imap-delete' is `t', - delete the message from the mailbox. - - If you use this command in a remote folder, a "case" and protocol - is determined by the folder. The message in the server side is - always retained. -`C-uI' - Perform `I' with `mew-pop-delete' or `mew-imap-delete' reversed. -`s' - List up messages in Summary mode or flush them. -`C-us' - On a remote folder, list up messages in Summary mode by toggling - "copying a header only" and "copying both a header and a body". -`lc' - Copy a cached message in a remote folder to a local folder. - - - -File: mew.info, Node: moving, Next: sum-write, Prev: retrieving, Up: Viewing - -Moving to another folder -======================== - -To go to another folder, type `g'. Mew asks you to input a folder name -as follows: - - Folder name (+inbox): + - -Let's call the right side of ":" 'writable area'. In this example, -proto "+" is displayed in the writable area. Typing an appropriate -string following proto and typing `RET' decides a folder name, then -Mew moves to the folder. - -When you move to a folder and if Mew finds its list of messages old, -Mew automatically displays the differences. - -The string in "()" is a default. If you specifies "+" by simply typing -`RET', Mew considers that the default folder name is specified. - -To make use of completion, type `TAB' or `SPC'. - -Now, lets get back to the state just after typing `g'. - - Folder name (+inbox): + - -If you want to change, for example, "+" to "%", you have to delete "+" -first then type "%" in normal situation. But this is inconvenient. So, -typing "%" just after "+" removes "+" automatically. Like this, typing -another proto just after a proto replaces the previous one without -deletion. - -When you type a remote folder, you may want to specify the "case" -(described in *Note config::). The "case" must be specified before a -folder, separated by ":". Consider moving "%inbox" for a "case" -"home". In this case, you should type "home:%inbox". Yes, this is -inconvenient. So, typing `C-cTAB' in any position does circular -completion for available "cases". Let's look at the following example. - - Folder name (+inbox): %inbox - -Typing `C-cTAB' here results in the following: - - Folder name (+inbox): home:%inbox - -You may want to search a folder by specifying a substring of the -folder. For this purpose, `C-s' and `C-r' are available. The -following is the state of the minibuffer after typing `C-s'. - - Folder name (+inbox): () - -"()" appeared in the writable area indicates you have switched to -search mode. While you are typing here, a matched candidate is shown -in "()". The following is the case where a search key is "mew". - - Folder name (+inbox): (+work/mew-release) mew - -To select the matched candidate, type `RET'. Then the search mode is -finished and the matched candidate is displayed in the writable area. - - Folder name (+inbox): +work/mew-release - -Typing `RET' again means that you decide the folder. - -A list of folders to be searched is decided by a combination of "case" -and proto. When you enter the search mode by typing `C-s' or `C-r', a -pair of "case" and proto is extracted from the writable area, and a -list of folders is selected according to the pair. - - - -File: mew.info, Node: sum-write, Next: features, Prev: moving, Up: Viewing - -Write, answer, and forward -========================== - -Please use the following commands for writing, replying, and -forwarding messages. - -`w' - Write a message. A new draft is prepared in Draft mode. Please refer to - *Note Composing::. -`C-uw' - Write a message. A new draft is prepared in Draft mode. The From: - address of the current message is copied to the To: field in the - draft. -`W' - Send a message by modifying a part of the header of another - message. Please refer to *Note resend::. -`a' - Answer to this message. A new draft is prepared in Draft - mode. Mew automatically inserts the content of the fields To: and - Cc:. Please refer to *Note reply::. -`C-ua' - Answer to this message only to the sender. -`A' - Answer to this message. A new draft is prepared in Draft - mode. Mew automatically inserts the content of the fields To: and - Cc: and cites the body. Please refer to *Note reply::. -`C-uA' - Answer to this message only to the sender with citation. -`f' - Forward this message to a third person. A new draft is prepared in Draft - mode and this message is automatically attached. Please refer to - *Note forward::. -`F' - Forward messages marked with `*' to a third person. A new draft is - prepared in Draft mode and this message is automatically attached. For - more information, refer to *Note target mark::. Please refer to - *Note forward::. - -If an error message returns, please try again with the following -commands. - -`E' - Edit this message again to retry sending. Or edit this RFC822 - part typically included in a MIME-encapsulated error message. - - 1. In +draft, the message is just edited. - 2. In +queue or +postq, the message is moved to +draft and is - edited. - 3. Otherwise, the message is copied to +draft and is edited. - - For +draft, +queue, and +postq, the "case" revives. - - For the other folders, if `mew-case-guess-when-prepared' is `t', - each field of the original header is replaced according to a - guessed "case". For more information, see *Note config::. -`C-uE' - The same as `E'. But, when used for other folders than +draft, - +queue, and +postq, the original header is retained even if - `mew-case-guess-when-prepared' is `t'. - - - -File: mew.info, Node: features, Next: status-update, Prev: sum-write, Up: Viewing - -Useful features -=============== - -Mew provides you with the following useful commands in Summary mode: - -`v' - Toggle "Summary mode only" and "Summary & Message mode". If you - choose "Summary mode only", you can quickly put the `D' mark - since the next message is not displayed. -`_' - Toggle normal lines, wrapped lines and long lines. -`zv' - If `mew-use-header-veil' is non-nil, field lines of To: and Cc: - over `mew-header-veil-count' are covered with invisible - veils. This commands toggles visibility of these lines. - `mew-use-header-veil' and `mew-header-veil-count' are default to - `t' and 4, respectively. -`M-l' - Make the current line the center of the Summary mode. -`C-cC-s' - Incremental search forward in Message mode. -`C-cC-r' - Incremental search backward in Message mode. -`y' - Save this message or this part into the file whose name is - specified by you. -`b' - Save the buffer of Message mode as is into the file whose name is - specified by you. -`C-uy' - Save this message or this part into the file whose name is - specified by you, specifying coding-system for text. -`#' - Print the content of Message mode according to - `mew-print-function'. -`C-u#' - Print the content of Message mode with a specified printer name. -`|' - Send the content of Message buffer to a command via pipe. -`C-u|' - Send the body of Message buffer (excluding its header) to a - command via pipe. -`\' - Executing an external command specifying this message as an - argument. -`B' - De-capsulate embedded messages in MIME format. -`C-uB' - Decompose embedded files in this message. -`C-cC-a' - Register the information on the current message to Addrbook - (*Note addrbook::). -`C-cC-v' - Select PGP version (*Note cipher-viewing::). -`C-cC-z' - Let PGP decrypt and/or verify old fashioned PGP messages (*Note - cipher-viewing::). -`C' - Change the value of the "case". For more information, please refer to - *Note config::. -`=' - Display the folder name of this message and the message - number. If this is a cache message, both the unique id and the - size are also shown. The full path to the message is set to the - cut buffer of your window manager. -`;' - Parse the Received: fields and display them in Message mode. -`Rd' - Delete this folder. -`Rr' - Rename this folder. - - - -File: mew.info, Node: status-update, Next: invalid, Prev: features, Up: Viewing - -Updating status -=============== - -In some cases of configuration modifications, you have to update -status to reflect them. When you think configuration modifications -don't make any effects or some errors occur, use one of the following -commands: - -`Z' - Update information including Addrbook (*Note addrbook::). -`C-uZ' - Update information about folders of the current world. - -Here is a summary of toggle commands. - -`z8' - Toggle 8bit mode (i.e. `mew-use-8bit'). -`zc' - Clean-up caches of analyzed messages. -`zd' - Toggle `mew-debug'. -`zo' - Toggle PGP/MIME or old-fashioned PGP (`mew-use-old-pgp') when - composing with shortcut methods. -`zp' - Toggle decode policy (i.e. `mew-decode-broken'). -`zv' - Toggle whether or not veil is used in Message - mode(`mew-use-header-veil'). -`zw' - Toggle warning level. If `mew-warning-field-level' is 2, set it - to 1. If `mew-warning-field-level' is 1, set it to 2. - - - -File: mew.info, Node: invalid, Next: Composing, Prev: status-update, Up: Viewing - -Invalid messages -================ - -The following message contains Japanese text in its body. The charset -parameter is not specified in the Content-Type: field. So, the body -should be treated as US-ASCII. - - To: piglet - Subject: an invalid message - From: pooh - MIME-Version: 1.0 - Content-Type: Text/Plain - - Japanese comes here. - -The following header is invalid as well. - - From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" - -The string delimited by "=?" and "?=" in the above example was -originally Japanese. Since the spec of mail limits the content of -headers to ASCII characters, if a string whose character set is other -than ASCII, is to be stored in a header, the string must be encoded -with ASCII strings according to the defined rule. But it is certainly -invalid to embed the ASCII strings with `"'. Strings surrounded by `"' -are treated as is. Therefore, the string between "=?" and "?=" in the -example will not be decoded into Japanese. - -Several mailers are careless about the spec and regularly violate -these rules. The right way to do is ask the programmers of such -mailers to make the programs conformant to the spec. However, since -there are so many mailers of this kind around the world, Mew tries to -decode as many different formats as possible. In these cases Mew -displays warnings such as: - - X-Mew: Charset for body is not specified. - To: has encoded-words in quoted text. - -If you want to decode messages strictly, set `mew-decode-broken' to -`nil'. This value can be toggled dynamically by `C-u.' (see -*Note singlepart::). - -The following message is displayed as a mess since the character set -specified with the charset parameter and the actual character set of -its body are different. - - Content-Type: Text/Plain; charset=ISO-2022-JP - - Japanese text written in Shift_JIS - -By using `C-cC-l', the text is re-displayed with charset guessed -according to a specified language, ignoring the character set -specified by the charset parameter. If you type `C-uC-cC-l', you can -re-display the text by specifying a character set explicitly. - - - - -File: mew.info, Node: Composing, Next: header, Prev: invalid, Up: Top - -Composing messages -****************** - -This section explains how to compose a message. - -Methods to enter Draft mode to write a new message are given below. - - 1. Type `M-x mew-send'. - 2. Type `C-xm' if `mail-user-agent' is configured. - 3. Press `w' in Summary mode. - -Then a buffer like the following is prepared. - - To: - Subject: - From: Kazu Yamamoto - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - -We call this "Draft mode". In Draft mode, we call the region above -"----" the header, and the region below "----" the body. - -Also, replying a message (`a' or `A') and/or forwarding messages (`f' -or `F') lead you to Draft mode from Summary mode. - -Drafts are temporarily stored in the +draft folder. You can write -multiple messages simultaneously. - -For the method of deleting a prepared draft, please refer to -*Note Quit::. - -Now let's see how to use Draft mode. - -* Menu: - -* header:: Completions in a header -* cheader:: Circular completions in a header -* addr-comp:: Address Completion -* addrbook:: Address book -* auto-alias:: Learning addresses -* addr-comp1:: Address Completion(1) -* addr-comp2:: Address Completion(2) -* send:: Sending a message -* cite:: Signature and citation -* mime-comp:: Composing multipart -* charset-guess:: Defining charset -* longline:: Handling long lines -* reply:: Replying to a message and deciding recipients -* forward:: Forwarding messages -* resend:: Re-sending messages -* shortcut:: Creating signature or cipher message -* mark-b-comp:: Mark based composer -* pgp-key:: PGP key distribution -* anonymous:: Sending messages with anonymous receivers - - - -File: mew.info, Node: header, Next: cheader, Prev: Composing, Up: Composing - -Completions in a header -======================= - -In the header, completions for each field are assigned to `TAB' as -follows: - - - Field completion - - Address completion (To:, Cc:, etc) (see *Note addr-comp::) - - Folder completion (Fcc:) - - - -If the cursor is at the beginning of a line and the previous line does -not end with ",", you can complete field defined in the -`mew-fields' variable with `TAB'. - - To: kazu@example.org - R`TAB' - -At the point above, if you type `TAB', you get: - - To: kazu@example.org - Reply-To: - - - -At a point, such as Fcc:, you can complete folder name with -`TAB'. For example: - - Fcc: `TAB' - -Here, "+" is completed. - - Fcc: +`TAB' - -One more type of `TAB' shows candidates. Please type in the -appropriate characters then type `TAB'. - - Fcc: +b`TAB' - -If a single candidate can be determined, you get a completion. - - Fcc: +backup - - - -File: mew.info, Node: cheader, Next: addr-comp, Prev: header, Up: Composing - -Circular completions in a header -================================ - -In a header, circular completions are assigned to `C-cTAB'. Circular -completion means that a value of a list is replaced by the next value -of the list. The end of the list is considered continuous to the top -of the list. Circular completions in a header are different for each -field as follows: - - - Circular completion of domain name (To:, Cc:, etc) - - Circular completion of From: (From:) - - - -On a field where addresses are written, use `C-cTAB' for domain -completion. Candidates are selected from `mew-mail-domain-list'. - - To: kazu@`C-cTAB' - -If you try to complete just after "@" as up above, the first domain of -`mew-mail-domain-list' is inserted. - - To: kazu@example.org`C-cTAB' - -After completion, pressing `C-cTAB' one more times inserts the next -domain of `mew-mail-domain-list'. This completion is looped. - - To: kazu@example.jp - -If a single candidate can be determined, it is inserted. - - To: kazu@w`C-cTAB' - -The above example gives: - - To: kazu@example.jp - - - -In Draft mode, the From: field is inserted with the format of -"mew-name ". - - From: Kazu Yamamoto - -On the From: field, `C-cTAB' circularly completes its value from -`mew-from-list'. You can set `mew-from-list' by yourself. Also, -`mew-from-list' can be set automatically. For automatic setup, please -refer to *Note config::. - -Typing `C-cTAB' anywhere on the value replaces the value with the next -value of `mew-from-list'. For example, - - From: Kazu Yamamoto `C-cTAB' - -becomes as follows: - - From: Kazuhiko Yamamoto - - - -File: mew.info, Node: addr-comp, Next: addrbook, Prev: cheader, Up: Composing - -Address Completion -================== - -You can complete addresses on To: or Cc:. This completion command is -bound to `TAB'. - - To: kazu`TAB' - -When you type `TAB' after a part of an address as the example above, -the entire address is completed as follows: - - To: kazu@example.org - -There are three kinds of registered addresses to be used for the -completion. - - 1. The expansion rule in an address book - 2. The personal information in the address book - 3. Learned addresses when sending - -Mew provides two ways to complete addresses. You can select one of -them with `mew-use-full-alias', which is default to `nil'. - -If `mew-use-full-alias' is `nil', the portion before `@', a user name -or a short name, is a target of the completion. When you type `TAB', -the user name is completed. And if the user name is uniquely completed -and you type `TAB' again, it is expanded to its entire address. Let's -call this Address Completion(1). - -An advantage of Address Completion(1) (*Note addr-comp1::) is that you -can use the completion/expansion against the three kinds of addresses -seamlessly. You can also explicitly expand the user name with `TAB' as -described later. A disadvantage is that user names must be unique. So, -if a user name is already registered, other addresses with the same -user name cannot be learned. - -If `mew-use-full-alias' is `t', for learned addresses when sending, -completion target is an entire address. Let's call this Address -Completion(2). - -An advantage of Address Completion(2) (*Note addr-comp1::) is that Mew -can learn addresses whose user names are the same. One of -disadvantages is that only the first address of personal information -can be used (the other addresses are useless). And for the explicit -expansion, you have to type `M-C-e', a different key from -`TAB'. - - - diff --git a/elpa/mew-20161030.1807/mew.info-2 b/elpa/mew-20161030.1807/mew.info-2 deleted file mode 100644 index ba023bce..00000000 --- a/elpa/mew-20161030.1807/mew.info-2 +++ /dev/null @@ -1,1430 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.info, Node: addrbook, Next: auto-alias, Prev: addr-comp, Up: Composing - -Address Book -============ - -Mew provides an address book ("~/Mail/Addrbook). The address book has -2 formats. One specifies expansion rules, while the other defines -personal information. - -First, let's look at the format that specifies expansion rules. - - : [, , ,...] - -In this way, you should specify a short name and a full address -separated by `:'. If you want to expand the short name to multiple -addresses, you can delimit them with a comma `,'. (This is exactly -same as addresses delimited by `,' in the To: field, for instance.) A -space SPC is allowed after the comma `,'. For example: - - pooh: winnie-the-pooh@example.net - piglet: piglet@example.org - friends: pooh, piglet - - - -Next, the format to define personal information is shown below: - - [, , ,...] - -In this way, four elements are separated by SPC. is a short -name. and are the person's nickname and full name, -respectively. (For proper usage of the nickname, please refer to -*Note summary-mode:: and/or *Note draft-mode::.) - -The second element is the addresses. If the person has multiple -addresses, delimit them using `,'. SPC is allowed after `,', which -means that it does not function as the delimiter. SPC surrounded by -quotes `"' also has no delimiting function here. For example: - - kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" - -In the personal information format, you can omit any element. When you -want to omit an intermediate element, specify `*'. The following is an -example to define nicknames for addresses. - - * kazu@example.org, kazu@example.net Kazu-kun - -The nickname is used to replace addresses in Summary mode and to -replace the citation prefix (*Note cite::) in Draft mode. - -The comment letters are `;' and `#'. `;' is valid only -when it appears at the beginning of lines, resulting in the disregarding -of the entire line. The comment marker `#' is valid everywhere. The -strings between `#' and the end of the line are ignored. Also, -`\' means a continuous line. - - - -Summary mode includes the feature of directly registering the -information of the current message into Addrbook. To register a -expansion rule, type `C-cC-a'. - - #If you want to register this entry, type 'C-c C-c'. - #If you want to NOT register this entry, type 'C-c C-q'. - Shortname: kazu - Addresses: kazu@example.org - Comments: - -To register personal information, type `C-uC-cC-a'. - - #If you want to register this entry, type C-c C-c. - #If you want to NOT register this entry, type C-c C-q. - Shortname: kazu - Addresses: kazu@example.org - Nickname: - Name: Kazuhiko Yamamoto - Comments: - -Add or modify the information if necessary. To register this -information, type `C-cC-c'. To quit the registration, type -`C-cC-q'. You should also refer to *Note Quit::. - -If you want to use characters of multiple languages, put the following -onto the beginning of Addrbook. - - #-*-coding:ctext;-*- - - - - -File: mew.info, Node: auto-alias, Next: addr-comp1, Prev: addrbook, Up: Composing - -Learning addresses -================== - -When you send a message, addresses on the To: and Cc: field are -automatically registered. Consider the following: - - To: kazu@example.org - -In the case of Address Completion(1) (*Note addr-comp1::): When this -message is sent, a short name "kazu" is automatically registered for -the address "kazu@example.org". If there is already a short name of -"kazu", the next action is decided according to -`mew-addrbook-override-by-newone'. If `nil', the old entry -remains. Otherwise, the new entry overrides the old one. When -expanded, the address book short name has priority over the automatic -short name. Only automatic short names which are not contained in the -address book are valid. - -In the case of Address Completion(1) (*Note addr-comp2::): When this -message is sent, the address "kazu@example.org" is automatically -registered. - -The limit number of automatic short names is 2000 -(`mew-lisp-max-length'). Once the number exceeds 2000, the tail -entries in the alphabetical order are removed. This information is -automatically saved to the file "~/Mail/.mew-alias". - -The automatic registration would register unnecessary short names. If -you want to remove these entry, take the following steps. First, type -`M-a' to open "~/Mail/.mew-alias". Then edit it as you do against a -text file. Lastly, type `C-xC-s' to save it. When saving it, the -modifications are automatically reflected to Mew. - -The formats of Address Completion (1) and (2) are different. When you -change the value of `mew-use-full-alias' to switch one to the other, -type `Z' once in Summary mode. This converts the format properly. - - - -File: mew.info, Node: addr-comp1, Next: addr-comp2, Prev: auto-alias, Up: Composing - -Address Completion(1) -===================== - -As far as Address Completion (2) is concerned, there is an assumption: -user names or short names of expansion rules, personal information and -learned addresses are unique. - -For example, consider the following configuration of expansion rules: - - pooh: winnie-the-pooh@example.net - -When you are in a header in Draft mode, working within an address -field, after typing one or more characters, you can complete a short -name for an address by pressing the `TAB' key. - - To: piglet@example.org, - po`TAB' - -If you press the `TAB' key, "pooh" is completed (unless other -candidates exist). - - To: piglet@example.org, - pooh`TAB' - -One more press of the `TAB' key expands the name to -"winnie-the-pooh@example.net". - - To: piglet@example.org, - winnie-the-pooh@example.net - -A string ending with "@" is explicitly expanded. Please pay attention -to the following case where similar short names are defined. - - pooh: winnie-the-pooh@example.net - pooh-pooh: pooh-pooh@example.org - -It is obvious that "pooh-" is completed to "pooh-pooh". But if you -input "pooh", Mew cannot tell whether it should be expanded or -completed to "pooh-pooh". Thus, if you want to explicitly complete -"pooh" to "winnie-the-pooh@example.net", insert `@' and type -`TAB'. - - To: pooh@`TAB' - -Explicit expansion can be accomplished by `M-C-e' instead of insertion -of `@'. - -The explanation above can be applied to learned addresses when -sending. - -The format of personal information means that each subsequently -generated address will replace the former one. For example: - - kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" - -Let's watch how it will be converted: - - To: kazu`TAB' - -Typing `TAB' after "kazu" generates "kazu@example.org". - - To: kazu@example.org`TAB' - -Typing `TAB' after "kazu@example.org" brings about "kazu@example.net". - - To: kazu@example.net`TAB' - -Then "kazu@example.org" will appear again if you type `TAB' -after "kazu@example.net". In this way, each address is replaced -one by one. - -After deciding an address, you can add its full name. - - To: kazu@example.org`M-TAB' - -Like this, typing `M-TAB' replace the address with the following -format. - - To: Kazuhiko Yamamoto - - - -File: mew.info, Node: addr-comp2, Next: send, Prev: addr-comp1, Up: Composing - -Address Completion(2) -===================== - -As far as Address Completion(2) is concerned, for learned addresses -when sending, the entire addresses are completion targets. For -expansion rules in the address book, short names are completion -targets and unique short names are expanded to corresponding -addresses. For personal information in the address book, short names -are completion targets and unique short names are expanded to their -first addresses. - -When you are in a header in Draft mode, working within an address -field, after typing one or more characters, you can complete a short -name or a learned address by pressing the `TAB' key. - -Suppose that kazu@example.org is already learned. - - To: ka`TAB' - -When you type some characters and press `TAB', its address is -completed: - - To: kazu@example.org - -Also suppose that "kazunori@example.jp" is learned. To expand a user -name to "kazu@example.org", you should input "kazu@". To convert it -to "kazunori@example.jp", you need to input "kazun". - -For expansion rules and personal information, `TAB' completes short -names first. You can expand a unique short name to corresponding -address with `TAB'. - -For example, consider the following configuration of expansion rules: - - pooh: winnie-the-pooh@example.net - -Let's complete "pooh": - - To: po`TAB' - -If you press the `TAB' key, "pooh" is completed (unless other -candidates exist). - - To: pooh`TAB' - -One more press of the `TAB' key expands the name to -"winnie-the-pooh@example.net". - - To: winnie-the-pooh@example.net - -A problem occurs when a short name is not unique. Consider the -following example: - - pooh: winnie-the-pooh@example.net - pooh-pooh: pooh-pooh@example.org - -It is obvious that "pooh-" is completed to "pooh-pooh". But if you -input "pooh", Mew cannot tell whether it should be expanded or -completed to "pooh-pooh". Thus, if you want to explicitly complete -"pooh" to "winnie-the-pooh@example.net", type -`M-C-e'. (There is no way to accomplish this with `TAB'.) - - To: pooh`M-C-e' - -This example is explicitly expanded as follows: - - To: winnie-the-pooh@example.net - - - - -File: mew.info, Node: send, Next: cite, Prev: addr-comp2, Up: Composing - -Sending a message -================= - -When you are ready to send a message after completing composition, -choose one of the following two commands. - -`C-cC-m' - Compose a message, put it into +queue or +postq, and leave it for - later sending. -`C-cC-c' - Compose a message and send it. You receive the prompt: "Really - send this message? (y or n) ". Type `y' to send it. - -Let's look at how a message is modified when sent. Please see the -following example: - - To: pooh - Subject: the next Sunday - From: Piglet - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - Would you like to play with me next Sunday? - - // Piglet - -This message is modified as follows, for example, if it is put into -+queue or +postq by `C-cC-m'. - - Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST) - Message-Id: <20000313.194950.59499544.piglet@example.org> - To: winnie-the-pooh@example.net - Subject: the next Sunday - From: Piglet - X-Mailer: Mew version 6.7 on Emacs 24.4 - Mime-Version: 1.0 - Content-Type: Text/Plain; charset=us-ascii - Content-Transfer-Encoding: 7bit - - Would you like to play with me in the next Sunday? - - // Piglet - -As you can see, Data: and Message-Id: are added. You should note that -both its data type and its character set are guessed correctly and -added. - -When composing a message using `C-cC-m' and `C-cC-c', you can make use -of a feature that identifies errors in a header. - -Suppose you set `mew-ask-subject' to `t'. If Subject: is -empty, Mew asks you its value. If you want to leave it empty, just type -`RET'. The default value of this variable is `nil'. - -Suppose you set `mew-ask-fcc' to `t'. If there is a folder that -doesn't exist, Mew asks you whether or not you want to create it. If -you want to create it, type `y'. Otherwise, type `n'. If you type `n', -sending is aborted and the cursor returns to the draft. The default -value of this variable is `nil'. - -Mew asks you to input your password for sending if the server requires -user authentication. Historically speaking, passwords are not -necessary to send e-mail messages. This is one reason why e-mail -addresses can be faked. In the near future, passwords are always -required for sending messages as are for receiving messages. - -There are two ways to send messages waiting in +queue. Please note -that both of these are commands in Summary mode. - -`i' - If `mew-auto-flush-queue' is `t', the messages being held in - +queue will be sent after the incoming messages have been received. - This method is appropriate for dial-up environments, since one can save - on connection fees and repeated authentication for sending. - `mew-auto-flush-queue' is default to `t'. -`C-cC-c' - Send messages in +queue. Method is appropriate if you like to - preview composed messages first in +queue and then send them. If - `mew-ask-flush-queue' is `t', you are asked, Flush queue? (y or - n) ". `mew-ask-flush-queue' is default to `nil'. - - - -File: mew.info, Node: cite, Next: mime-comp, Prev: send, Up: Composing - -Signature and citation -====================== - -Next is the explanation of the commands for processing the text in the -body of the message. - -The first one is signature. To insert your signature file -("~/.signature") on the cursor point, type `C-cTAB'. You can define -your own signature file to `mew-signature-file'. Setting -`mew-signature-as-lastpart' and `mew-signature-insert-last', you can -customize the action of `C-cTAB'. - -`C-cTAB' - Insert "~/.signature" on the cursor point. - -The next one is citation. If you use `a' or `A' in Summary mode, a -draft for reply is opened up and Emacs is split into three -windows. The top is Summary mode, the middle is Message mode, and the -bottom is Draft mode. - -Here are the commands for citing text from Message mode to Draft mode. - -`C-cC-y' - Copy and paste a part of a message from Message mode WITH - citation prefix and label. - 1. Roughly speaking, it copies the body in Message mode. For - example, if Text/Plain is displayed, the entire Message mode - is copied. If Message/Rfc822 is displayed, the body without - the header is copied. - 2. If you type `C-uC-cC-y', the header is also copied if - exists. - 3. If an Emacs mark exists, the target is the region between - the mark and the cursor. -`C-cC-t' - Copy and paste a part of the message from Message mode WITHOUT - citation prefix and label. - -The default label and prefix is as follows: - - From: SUMIKAWA Munechika - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - > Hi, it's Sumikawa, the guy who's neat from good morning - > to good night. - > - > Talking about the wonderful wine party, I would propose - > Cabernet Sauvignon, Bordeaux, '90. - -In Draft mode, you can cite any text displayed in Message mode. So, -you can cite text from multiple messages easily. Select a message in -Summary mode and display it in Message mode, then cite it in Draft -mode. Please repeat this procedure as you like. Triple windows are -opened for this purpose. - - -When highlighting gets wrong, type `C-cC-l' to re-highlight both the -header and the body - - - -File: mew.info, Node: mime-comp, Next: charset-guess, Prev: cite, Up: Composing - -Composing multipart -=================== - -Now let's see how to create multipart messages. - -When you are writing a message in +draft/1 and type `C-cC-a', the -following lines are inserted at the bottom of the draft. - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -"1/" is a temporary directory to create multipart and provides a -location for "~/Mail/attach/1". The part 1, "CoverPage", refers to the -body. Now the entire draft looks like: - - To: mew-dist - Subject: This is header - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - This is the body. - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -Here we designate three regions as follows: - - * the region above "----" `header' - * the region from "----" to "attachments" `body' - * the region below "attachments" `attachments' - -In Draft mode, the key bindings differ according to the region. - -To `TAB', for instance, the following functions are assigned: - -header - Completions. -body - Insert TAB. -attachments - Do nothing. - -To `c', functions are assigned as follows: - -header - Insert c. -body - Insert c. -attachments - Copy a file. - -The following is a summary of commands in the attachments region. - -`C-p' - Go to the previous file in the current directory. -`C-n' - Go to the next file in the current directory. -`C-f' - Go to the first subdirectory. -`C-b' - Go to the parent directory. -`c' - Copy a file (possibly via networks) on ".". To copy a remote - file, use the "/[user@]hostname:/filepath" syntax. -`l' - Link a file with a symbolic link on ".". If you want to edit the - attached file, you should `c' instead of `l' so that you do not - edit the original file. -`d' - Delete this file or this directory. -`m' - Create a subdirectory (i.e. multipart) on ".". -`f' - Open this file into a buffer. -`F' - Open a new file into a buffer on ".". -`y' - Link the message which is displayed in Message mode on ".". -`e' - Input external-body on ".". -`a' - Sampling voice and insert as audio file on ".". -`p' - Extract the PGP key for the specified user on ".". -`D' - Input a description (Content-Description:). -`T' - Change the data type (Content-Type:). -`t' - Toggle text and binary for the data type. -`I' - Specify input coding-system for a Text/* object. -`C' - Specify output coding-system for a Text/* object. -`P' - Specify a file name (Content-Disposition:) to save this part in the - receiver side. If you type just `RET' without any string, its value - is cleared. Then the file name in the sender side is displayed with - `*'. - -In attachments, data types are guessed by suffix. The currently -supported suffixes are as follows: - - .txt Text/Plain - .html Text/Html - .xml Text/Xml - .rtf Text/Enriched - .css Text/Css - .sgml Text/Sgml - [0-9]+ Message/Rfc822 - .ps Application/Postscript - .pdf Application/Pdf - .doc Application/Msword - .xls Application/Vnd.Ms-Execl - .ppt Application/Vnd.Ms-Powerpoint - .vsd Application/Vnd.Visio - .dat Application/Ms-Tnef - .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll - Application/Octet-Stream - .gif Image/Gif - .tiff Image/Tiff - .jpe?g Image/Jpeg - .png Image/Png - .xwd Image/X-Xwd - .xbm Image/X-Xbm - .xpm Image/X-Xpm - .bmp Image/X-Bmp - .pcx Image/X-Pcx - .tga Image/X-Tga - .au Audio/Basic - .wav Audio/X-Wav - .aif?f Auido/X-Aiff - .midi? Auido/X-Midi - .mpga|.mp[23] Audio/X-Mpeg - .mpe?g Video/Mpeg - .mov Video/Quicktime - .avi Video/X-Msvideo - -Please choose an appropriate suffix for the file name so that Mew can -guess its data type. If there is no matched suffix, the data type -specified by `mew-content-type' is chosen. Its default value is -Text/Plain. - - -For instance, if you copy files with `c', the part becomes as follows: - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - B 2 Image/Gif MagicPoint logo mgp.gif - Q 3 Application/Postscript Presentation Material ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -Each line of a multipart message consists of - - - marks (Content-Transfer-Encoding:) - - part number - - data type (Content-Type:) - - description (Content-Description:) - - file name (Content-Disposition:). - -You can change data types (Content-Type:) by pressing `T' at any -time. If the data type is either text (Text/Plain) or binary -(Application/Octet-Stream), you can toggle between them using `t'. - -Please refer to *Note mark-b-comp:: for explanation on changing the -mark (Content-Transfer-Encoding:). You can also insert descriptions -(Content-Description:) by `D'. This description column is overwritten -when encrypted as described in *Note mark-b-comp::. - -Strictly speaking, the fifth column is the copied file name or the -value of Content-Disposition:, namely the file name to which the -receiver saves the part. If Content-Disposition: exists, Mew displays -it. Otherwise, Mew displays the copied file name with `*' -appended. When you copy a file, the file name is specified as -Content-Disposition:. But this is not true for both Message/* and -Multipart/*. To specify Content-Disposition: for Message/*, use -`P'. - -Files are treated as singlepart while directories are treated as being -multipart. Therefore you can create very complex multipart MIME -messages in the same way as you would create a file system. Very easy, -isn't it? - -The default data type for directories is Multipart/Mixed. Of course, -you can change it by pressing `T'. - -Once you are ready to send a multipart message, type `C-cC-m' or -`C-c C-c' to send it as described the previous subsection. - -Next is the explanation of the creation of a Message/External-body by -pressing `e'. If the access-type is "ftp" or "anon-ftp", you can take -advantage of remote filename completion due to the existence of the -native Emacs mode of ange-ftp. Of course file completion is available -for the access-type of "local-file". - -If you want to abort creating multipart and to get back to singlepart, -type `d' in the top level of the multipart message. - - - -File: mew.info, Node: charset-guess, Next: longline, Prev: mime-comp, Up: Composing - -Defining charset -================ - -Mew has a mechanism for determining the character set of the transfer -form for both singlepart and multipart. - - - -When you type `C-cC-m' or `C-cC-c' to compose a message in Draft mode, -Mew decides the character set of the transfer based on the internal -representation of its body. On Bilingual Emacs, US-ASCII is chosen for -7bit character sets while ISO-8859-1 is selected for 8bit character -sets. On Internationalized Emacs, the character set of the transfer -form is chosen based on rules defined by Mew. - - - -Since the data to be attached as a part of multipart is a file, it is -stored on disk. Therefore, in order to determine its character set for -the transfer form, it is necessary to load the file into an Emacs -buffer converting it into internal representation. After that, Mew -determines the character set of the transfer form for the file by the -same method as singlepart. - -On Bilingual Emacs, Mew reads a file as is. So if the file is 7bit, -US-ASCII is chosen. Otherwise ISO-8859-1 is selected. - -On Internationalized Emacs, Mew reads a file according to the local -convention (i.e. auto conversion). The command to set a local -convention is `C-x RET l'. - -For example, in Japan, ISO-2022-JP, EUC-JP, and Shift_JIS is readily -guessed and stored in buffer as internal representations for -Japanese. Mew chooses ISO-2022-JP as the character set of the transfer -form from the internal representation. That is, even if the character -set of the file is EUC-JP or Shift_JIS, it is automatically converted -into ISO-2022-JP, which is the transfer form for Japanese. This means -that you can attach a file without needing to pay attention to its -character set. - -If you want to specify the coding-system of a file to be attached, type -`I'. Let's call the character set "input character set". Also, if -you want to specify the coding-system of the transfer form, use -`C'. - -Information regarding the character set is displayed in -parentheses. If the character set of the transfer form is specified -explicitly, it is displayed. Otherwise, if the input character set is -specified, it is displayed with "*". Otherwise, "guess" is displayed. - -Let's look at the following example. Since part 1 is a body, it is -stored in an Emacs buffer. Because "guess" is displayed, it is Mew -that determines the character set of the transfer form according to -the rules that Mew defines. - -Since iso-8859-1 is specified as the input character set, Mew loads -the file considering that its character set is iso-8859-1, and then -converts it into internal representation. The character set of the -transfer form is decided according to rules defined by Mew. - -The input character set in part 3 cannot be identified just from this -example. (But a user certainly knows what it is since he actually -specified it.) In any case, a file will be loaded and be converted -into internal representation, then be converted into EUC-JP which is -specified as the character set of the transfer form. - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 Text/Plain(*iso-8859-1) text1 - B 3 Text/Plain(euc-jp) text2 - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -Note that both `C' and `I' are not available on Bilingual Emacs. - - - -File: mew.info, Node: longline, Next: reply, Prev: charset-guess, Up: Composing - -Handling long lines -=================== - -For a long period, when you are writing a message, you should fold -each line around 70 characters by yourself. RFC 3676 extended -Text/Plain and defined "flowed" as a value of the "format" parameter. - -Thanks to this, long lines can be automatically folded on a sender -side while they can be unfolded on a receiver side. From the point of -user view, you can write long lines casually. - -There are two ways to apply the flowed folding. - -1) To apply the flowed folding explicitly, type `C-cC-f'. - -Then, Mew sees if long lines exist in a draft. If long lines whose -length is over `mew-flowed-fold-threshold' are found, Mew applies -the "flowed" folding. This variable defaults to 78. - -`mew-flowed-fold-length' controls the max length of folded lines. Its -initial value is 70. - -Folding method is decided according to character set. If the language -is separated by SPC, the new line characters are inserted after -existing SPCs(delsp=no). Otherwise, pairs of SPC and the new line -character are inserted in appropriate positions(delsp=yes). - -If you type `C-cC-f' again, the folded lines are unfolded. - -2) If `mew-use-format-flowed' is `t', this functionality is -took into account automatically at composing with `C-cC-c' or -`C-cC-m'. Its default value is `nil'. - -3) You can toggle the value of `mew-use-format-flowed' by -`C-cC-pC-f'. - - -Note that folded lines with the "flowed" folding are always unfolded -on viewing regardless of the value of `mew-use-format-flowed'. If you -feel it is hard to see long lines, use `_' in Summary mode. - -If `mew-flowed-auto-wrap' is `t', at visualizing a message, `_' is -automatically executed so as unfolded lines are folded. The default -value of `mew-flowed-auto-wrap' is `t'. - - - -File: mew.info, Node: reply, Next: forward, Prev: longline, Up: Composing - -Replying to a message and deciding recipients -============================================= - -As distinguished from the case of a new message, where the writer -specifies the addresses of the To:, Cc: or Newsgroups: fields, in a -reply message addresses are automatically generated. - -When `a' and `A' is used in Summary mode, a new draft is prepared in -Draft mode. Values of To:, Cc:, and Newsgroups: are prepared according -to three alists. - - 1. If called with `C-u', replying to the sender/poster only. In this - case, `mew-reply-sender-alist' is used. - 2. If this message is sent by ME, you probably intend to reply with - the original header. In this case, `mew-reply-fromme-alist' is - used. - 3. Otherwise, replying to all people listed. In this case, - `mew-reply-all-alist' is used. - -The default value of `mew-reply-sender-alist' is as follows: - - '(("Reply-To:" - ("To:" "Reply-To:" "From:")) - (t - ("To:" "From:"))) - -This is read as follows: - - 1. If Reply-To: exists, copy the values of Reply-To: and From: to - new To:. - 2. Otherwise, copy the value of From: to To:. - -If you would like to reply only to the address on Reply-To: (if any), -set `mew-reply-sender-alist' like this: - - (setq mew-reply-sender-alist - '(("Reply-To:" - ("To:" "Reply-To:")) - (t - ("To:" "From:")))) - -The default value of `mew-reply-fromme-alist' is as follows: - - '((t - ("To:" "To:") - ("Cc:" "Cc:") - ("Newsgroups:" "Newsgroups:")))) - -This is read as follows: - - 1. Copying the value of To: to new To: and copying the value of Cc: - to new Cc: and copying the value of Newsgroups: to new - Newsgroups:. - -The default value of `mew-reply-all-alist' is as follows: - - '((("Followup-To:" "poster") - ("To:" "From:")) - ("Followup-To:" - ("Newsgroups:" "Followup-To:" "Newsgroups:")) - ("Newsgroups:" - ("Newsgroups:" "Newsgroups:")) - ("Reply-To:" - ("To:" "Reply-To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:")) - (t - ("To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:"))) - -This is read as follows: - - 1. If the value of Followup-To: is "poster", copying the value of - From: to new To:. - 2. If Followup-To: exists, copying the values of Followup-To: and - Newsgroups: to new Newsgroups:. - 3. If Newsgroups: exists, copying the value of Newsgroups: to - Newsgroups:. - 4. If Reply-To: exists, copying the values of Reply-To: and From: to - new To:. And copying the values of To:, Cc:, and Apparently-To: - to new Cc:. - 5. Otherwise, copying the value of From: to new To:. And copying the - values of To:, Cc:, and Apparently-To: to new Cc:. - -You may want to set `mew-reply-all-alist' like this: - - (setq mew-reply-all-alist - '((("Followup-To:" "poster") - ("To:" "From:")) - ("Followup-To:" - ("Newsgroups:" "Followup-To:")) - ("Newsgroups:" - ("Newsgroups:" "Newsgroups:")) - ("Reply-To:" - ("To:" "Reply-To:")) - (t - ("To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:")))) - -If there are multiple entries for a certain address, they are -unified. Addresses ending with ":;", which indicates anonymous -recipients, are automatically removed. - -Your addresses are automatically removed. Your addresses are -automatically defined to `mew-mail-address-list' according to, for -example, `mew-config-alist'. If you dislike this value, you can also -explicitly set it like this: - - (setq mew-mail-address-list - '("^pooh@[a-z]*.example.org$" - "^pooh@example.net$" - "^winnie@example.jp$")) - - - -File: mew.info, Node: forward, Next: resend, Prev: reply, Up: Composing - -Forwarding messages -=================== - -To forward messages, type `f' or `F' in Summary mode. Then Draft mode -appears and the messages are already attached in the attachments -region. - -Also, you can prepare the attachments region by yourself, then copy -(`c') the messages or make links (`l') to the messages. If the file -names of the messages are numeric ([0-9]+), they are automatically -considered as messages. `y' is very convenient because it make a link -to the message displayed in Message mode. - -By default, the entire message is forwarded. If you want to remove -some parts of its header, define -`mew-field-delete-for-forwarding'. The following is an example to -remove "Received:" and "Return-Path:" when forwarded. - - (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:")) - - - -File: mew.info, Node: resend, Next: shortcut, Prev: forward, Up: Composing - -Re-sending messages -=================== - -You may occasionally wish to send messages modifying the header of a -message. - -For instance, you may want to send a message with the same body to -multiple receivers independently. Please imagine the case where you -put a created message destined to Pooh in +queue and then you wish to -send an another message to Piglet by copying it and modifying its -header. Let's call this recycle sending. - -Also, you occasionally wish to send a message adding the Resent-To: -field to a target message. This is a kind of forwarding. This is -called header conversion because a message header is modified. The -forwarding described the previous subsection is called encapsulation -because a message is embedded into another new message. - -Header mode exists for this reason, modifying a part of the header, -sending/queuing the created message. You can think this is a kind of -Draft mode which prohibits modifications of its body. - -The following commands are provided in Summary mode to enter Header -mode. - -`W' - Recycle sending. Enter Header mode in order to modify To:, Cc:, - From: of a target message. Typical usage is for messages in - +queue or +postq. -`r' - Re-sending. Enter Header mode in order to add Resent-To:, - Resent-Cc:, Resent-From: of a target message. Re-sending may - confuse receivers, so you should think carefully before using it. - -In Header mode, you can make use of completion and circular completion -like in Draft mode. When you are finished inputting the header, send -the message using one of the following commands. You may be concerned -because the body of the message is not displayed in your new -message. But you need not worry, since the body and a part of the -target message is certainly used. - -`C-cC-m' - Compose a message, put it into +queue or +postq, and let it be - waiting to be sent. -`C-cC-c' - Compose a message and send it. You are asked, "Really send this - message? (y or n) ". Type `y' to send it. - - - -File: mew.info, Node: shortcut, Next: mark-b-comp, Prev: resend, Up: Composing - -Creating signature or cipher message -==================================== - -This section explains the method for signing or encrypting "text only" -messages with PGP or S/MIME. The following commands are explained. - -`C-cC-s' - Sign the entire draft. Input your pass-phrase. -`C-cC-e' - Encrypt the entire draft. -`C-cC-b' - Sign, and then encrypt the entire draft. Input your pass-phrase. -`C-cC-r' - Encrypt, and then sign the entire draft. Input your pass-phrase. - -To encrypt a message, receivers' public keys are used. On the other -hand, your secret key is used to sign a message, and so you need to -input your pass-phrase when applying the signature. Note that if you -are using the pass-phrase cache or the master password mechanism and -there are pass-phrases presently cached, you do not have to type your -pass-phrase (*Note password::). - -These commands create a PGP/MIME message by default. If you want to -use S/MIME, configure as follows: - - (setq mew-draft-privacy-method 'smime) - -You can change this variable with `C-cC-pC-m' in Draft mode. - -We can consider that these four commands above are shortcut methods of -mark based composing described in the next section. - -To sign a message, type `C-cC-s'. When signing, because your secret -key is needed to be decrypted, you may be asked for your pass-phrase -if it is not cached. Created messages are stored in +queue or +postq. - -Your secret key is identified in From: address. If From: does not -exist, your default secret key is selected. When you want to specify a -secret key that is not identified the address of From:, type -`C-uC-cC-s'. - - -To encrypt a message, type `C-cC-e'. A message is encrypted with -public keys identified with the addresses on To: and Cc:. Since this -is encryption only, you are not asked for your pass-phrase. Created -cipher messages are stored in +queue. - -This message is encrypted with your public key in addition to those of -the receivers. Therefore you can decrypt created messages. For -example, you can go to +queue by `g' and preview a created message to -reconfirm this. - -To sign a draft and then encrypt it, type `C-cC-b'. To encrypt a draft -and then sign it, type `C-cC-r'. In both cases, created messages are -stored in +queue. - -It is very likely that you will forget to sign and/or encrypt a draft -even if you intended to do so. To prevent this, Mew provides an -mechanism to automatically sign or encrypt a message when -`C-cC-m' or `C-cC-c' is typed. - -If you want to protect privacy of all drafts, set -`mew-protect-privacy-always' to `t' and set -`mew-protect-privacy-always-type' to one of services. - -If you want to protect the privacy of drafts when replying encrypted -messages, set `mew-protect-privacy-encrypted' to `t' and set -`mew-protect-privacy-encrypted-type' to one of the services. This -configuration is preferred to the configuration for all drafts -described above in the case of replying encrypted messages. - -The following services are available. The strings enclosed in braces are -the symbols for each service. The service applied when typing -`C-cC-m' or `C-cC-c' is displayed in the mode line. - -pgp-signature (PS) - Sign with PGP -pgp-encryption (PE) - Encrypt with PGP -pgp-signature-encryption (PSPE) - Sign then encrypt with PGP -pgp-encryption-signature (PEPS) - Encrypt then sign with PGP -pgp-signature (SS) - Sign with S/MIME -pgp-encryption (sE) - Encrypt with S/MIME -pgp-signature-encryption (SSSE) - Sign then encrypt with S/MIME -pgp-encryption-signature (SESS) - Encrypt then sign with S/MIME - -The following example works for signing all drafts. - - (setq mew-protect-privacy-always t) - (setq mew-protect-privacy-always-type 'pgp-signature) - -The following example is for encrypting drafts with PGP when replying -encrypted messages. - - (setq mew-protect-privacy-encrypted t) - (setq mew-protect-privacy-encrypted-type 'pgp-encryption) - -In Draft mode, `C-cC-pC-a' toggles -`mew-protect-privacy-always' and `C-cC-pC-e' toggles -`mew-protect-privacy-encrypted'. - -You can specify privacy services for the current draft in Draft mode -beforehand so that you do not forget to apply the privacy services -when sending. To set privacy services to the current draft evaluated -when typing `C-cC-m' or `C-cC-c', type `C-cC-pC-d', and then input one -of privacy services listed above. To cancel the current privacy -service, just type `RET' instead of selecting the privacy service. - -When you compose a message by `C-cC-c' or `C-cC-m', and if signing -and/or encryption fails, the cursor gets back to the draft. At this -time, the service that you specified is canceled. If you type `C-cC-c' -or `C-cC-m' in this situation, a plain message is created, so please -be careful. After correcting the cause of the failure, if you want the -same service, type `C-cC-pC-d' to specify your service explicitly or -use `C-cC-s', `C-cC-e', etc. - - -If `mew-use-old-pgp' is set to `t' (the default value is `nil'), -`C-cC-s' and `C-cC-e', etc create old fashioned PGP message instead of -PGP/MIME. If the attachment region exists, an error occurs. - -`mew-protect-privacy-*' described above are effective only to -PGP/MIME, not to old PGP. If you want to create old PGP signature with -`C-cC-m' or `C-cC-c' always, set -`mew-protect-privacy-with-old-pgp-signature' to `t'. - -For PGP/MIME and S/MIME, Mew supports GnuPG 1.x and 2.0, not 2.1. - - - -File: mew.info, Node: mark-b-comp, Next: pgp-key, Prev: shortcut, Up: Composing - -Mark based composer -=================== - -To support PGP/MIME, S/MIME and ZIP, mark based composing is -provided. Remember the previous example. - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - B 2 Image/Gif MagicPoint logo mgp.gif - Q 3 Application/Postscript Presentation Material ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -You can find the `B' mark and the `Q' mark at the beginning of the -line. Mew provides you with a new concept of "encoding". Encoding -includes Base64, Quoted-Printable, Gzip64 (Gzip + Base64), signature, -encryption. - -At present, 8 marks are prepared. - -`" "' - No encoding. But 8bit text would be encoded. -`B' - Base64 -`Q' - Quoted-Printable -`G' - Gzip64 (compressed with gzip then encoded with Base64. This is - experimental. Do not use this if receivers do not use Mew.) -`PS' - Sign with PGP -`PE' - Encrypt with PGP -`SS' - Sign with S/MIME -`SE' - Encrypt with S/MIME - -Additional key binding for marks in attachments is as follows: - -`B' - Put the `B' mark to encode with Base64. -`Q' - Put the `Q' mark to encode with Quoted-Printable. -`G' - Put the `G' mark to encode with Gzip64. This is applicable only - to Text/Plain and Application/Postscript since compression is not - effective with other objects. For example, JPEG is already - compressed. -`S' - Put the `PS' mark to sign with PGP. -`E' - Put the `PE' mark to encrypt with PGP. Input decrypters' - addresses. -`M-s' - Put the `SS' mark to sign with S/MIME. -`M-e' - Put the `SE' mark to encrypt with S/MIME. Input decrypters' - addresses. -`Z' - Encrypt the part with ZIP immediately. After the encryption, the - `B' mark appears. -`U' - Unmark. The original mark appears. - -Consider the following example: The second part will be signed with -PGP then encrypted with PGP for "kazu". Don't be alarmed. Its -description is overwritten but saved. The third part will be encoded -with Gzip64. - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - PSPE 2 Image/Gif kazu@example.org mgp.gif - G 3 Application/Postscript Presentation Material ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -After applying marks, type `C-cC-m' or `C-cC-c' to create messages. - - - -File: mew.info, Node: pgp-key, Next: anonymous, Prev: mark-b-comp, Up: Composing - -PGP key distribution -==================== - -To distribute a PGP public key, please use `p' on attachments in Draft -mode. It asks whose public key you want to distribute. Just type `RET' -if it is yours. If you want to distribute someone else's key, input -his e-mail address with completion. The PGP public key will -distributed as Content-Type: Application/Pgp-Keys. - -If Mew finds that the part is Application/Pgp-keys, it tries to add -the PGP public key onto your PGP public keyring. Remember that Mew is -not responsible for TRUST or VALIDITY. It is YOU who set these -values. Please use the commands described by Mew to set these as -necessary. If you do not know the meaning of TRUST and VALIDITY, you -should learn the web of trust system provided by PGP BEFORE using PGP -to protect your privacy. - - - -File: mew.info, Node: anonymous, Next: Marks, Prev: pgp-key, Up: Composing - -Sending messages with anonymous receivers -========================================= - -You may occasionally wish to send a message to anonymous receivers. - -For instance, please imagine that Pooh is trying to invite multiple -friends to a party. Piglet should reply only to Pooh. However, Piglet -might make a mistake of replying to other people if the addresses of -all the invitees are listed in Cc:. Moreover, Pooh does not want to -disclose the names of those who he invited until the day of the party. - -To handle this, Mew makes use of ":;" for anonymous addresses. Please -look at the following example. - - To: party:piglet@example.org,roo@example.org; - From: Pooh - -Here, there is a colon (":") after the explanatory comment -"party". This is followed by some addresses that are delimited by -"," and terminated by ";". If you write addresses in this format, Mew -sends the message to the addresses with them removed form the -header. In this example, Piglet and Roo will receive the following -message. - - To: party:; - From: Pooh - -The receiver knows that the sender is Pooh, but will not know who else -received the message. Also, the string "party:;" is not address, so -the receiver cannot reply to it. - -You should understand that enumerating many addresses on To: or Cc: is -basically not a good practice anyway. If you often have the occasion -to send messages a set group of people, you should create a -mailing-list. - - - - -File: mew.info, Node: Marks, Next: unread mark, Prev: anonymous, Up: Top - -Funny marks -*********** - -Here is a listing of marks that a user can use for insertion or -deletion in Summary mode. This mark is displayed in the beginning of a -line as follows: (Note that the marks that Mew inserts are displayed -left side of date.) - - D 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic - oM03/14 Momo-chan The pictures of Noto |Attached are the pictu - * 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd - -There are six marks at present. - -`U' - The unread mark. -`D' - The delete mark. -`X' - The delete mark. -`o' - The refile mark, that is, to move a message to another folder. -`*' - The target mark. -`$' - The mark to save another mark temporarily. - -Just putting a mark on to a message does NOT process anything at all. -It is typing `x' that processes the marks including `o', `D', `X'. So, -take it easy to put marks but take care to type `x'. - -The marks above are explained in sequence. The marks which Mew inserts -are summarized here as well. - -* Menu: - -* unread mark:: Unread `U' -* delete mark:: Delete `D' and `X' -* refile mark:: Refile `o' -* target mark:: Target `*' -* escape mark:: Escape `$' -* unmark:: Deleting marks -* mark change:: Overwriting marks -* sync:: Mark consistency against an IMAP server -* off-line:: Processing marks off-line for IMAP -* mew-mark:: Marks displayed by Mew - - - -File: mew.info, Node: unread mark, Next: delete mark, Prev: Marks, Up: Marks - -Unread `U' -========== - -With the following configuration, messages are marked with the unread -mark `U' when scanning the messages. - - (setq mew-use-unread-mark t) - -When you read a message with `SPC', `n', or `p' and etc, the `U' mark -disappears. - -These three commands read through messages marked with the `*' mark, -the `U' mark, and non-marked messages. If you type `zSPC', they read -through messages marked with the `*' mark and the `U' mark only. This -is convenient to read through unread messages. Typing `zSPC' again -gets the target messages back. - -When you move onto the current message by putting a mark on the -previous message, the `U' mark is deleted. It's sure that you want to -read the current message if you move onto it by `SPC', `n', and -`p'. However, you might not intend to read the current message when -you move onto it by putting a mark. If this is the case, this spec is -inconvenient for you. If you want to retain the unread mark on the -current message when you move onto it by putting a mark on the -previous message, configure as follows: - - (setq mew-delete-unread-mark-by-mark nil) - -The followings are summary of commands related to the `U' mark. - -`zSPC' - Toggle the target of `SPC', `n', and `p'. Toggling means change - one to the other out of "the `U' mark, the `*' mark, and - non-mark" and "the `U' mark and the `*' mark". -`M-u' - Put the `U' mark to the current message. - - - - -File: mew.info, Node: delete mark, Next: refile mark, Prev: unread mark, Up: Marks - -Delete `D' and `X' -================== - -If you want to delete a message, type `d' in Summary mode to put the -`D' mark on it. Don't be worried about losing the message by -mistake. Since putting the `D' mark has no immediate effect, it does -not result in a serious mistake. By default, typing `x' moves messages -marked with `D' to a trash. - -For local folders, a trash is +trash. For IMAP, it is %trash. - -To really delete messages in the trashes, there are two methods: - - 1. Type `D' in Summary mode. - 2. Put the `D' mark in the trashes then type `x'. - -Exactly speaking, the following rule is applied for local folders. -(`mew-trash-folder' is default to +trash. -`mew-trash-folder-list' is default to `nil'.) - - - If `mew-trash-folder' is `nil', messages marked with - `D' are deleted. - - If `mew-trash-folder-list' is defined, messages marked with `D' - in one of the folders defined in it are deleted. Otherwise, they - are moved to the trash. - - If `mew-trash-folder-list' is `nl', messages marked with `D' in - `mew-trash-folder' are deleted. Otherwise, they are moved to the - trash. (This is default.) - -For IMAP, the same rule is applied according to both -`mew-imap-trash-folder' and `mew-imap-trash-folder-list' - -It is convenient if you can change the `*' mark to the `D' mark since -you can put many the `D' marks at once. To achieve this, use `md'. - -Also, typing `Md' put the `D' mark to all duplicated messages -excluding one for each. - -There is also another mark, `X', which is like the mark `D'. -Messages marked with `X' are deleted when `x' is typed. The -`X' mark can be put by `M-d'. - -`mxM-d' processes messages marked with `X' only. Typing -`mM-d' converts all `*' marks to `X'. - - -The following is a summary regarding with the `D' mark and the -`X' mark. - -`d' - Put the `D' mark. -`M-d' - Put the `X' mark. -`md' - Convert all `*' marks to `D'. -`mM-d' - Convert all `*' marks to `X'. -`x' - Process marked messages. -`mxd' - Process messages marked with `D' only. -`mxM-d' - Delete messages marked with `X' only. -`D' - Delete all messages in a trash. -`C-uD' - Delete all messages in a specified folder. - - - diff --git a/elpa/mew-20161030.1807/mew.info-3 b/elpa/mew-20161030.1807/mew.info-3 deleted file mode 100644 index b3aa484d..00000000 --- a/elpa/mew-20161030.1807/mew.info-3 +++ /dev/null @@ -1,1573 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.info, Node: refile mark, Next: target mark, Prev: delete mark, Up: Marks - -Refile `o' -========== - -To refile a message, type `o' and input a folder name, then -`o' is put. A folder is guessed neatly, so most time what you -should to is just type `RET'. For more information, refer to -*Note Refile::. - -If you type `o' on a message marked with `o', the refile folder is -shown. When typing `x', messages marked with `o' are actually refiled. - -Consider that you specify multiple folders and refiles actually. If -your file system has hard link, the message is moved to the first -folder, and hard links are created from the other folders. Otherwise, -the message is moved to the first folder, and it is copied to the -other folders. - -If the number of specified folders are 1, and it is the current -folder, refiling means do nothing. If the number is more than two and -the current folder is included, refiling means that the message number -in the current folder remains and hard links are created from the -other folders (or it is copied to the other folders). - -Mew provides `c' which is very similar to `o'. `c' shows the current -folder as a candidate in addition to guessed folders. - -A summary about the `o' mark is here. - -`o' - Put the `o' mark. -`c' - Put the `o' mark. Showing the current folder as a candidate in - addition to guessed folders. -`x' - Refile messages marked with `o'. -`mxo' - Refile messages marked with `o' only. This command does not - process other marks. -`C-umxo' - Refile messages marked with `o', whose destination is the same as - that of the current message. - - - -File: mew.info, Node: target mark, Next: escape mark, Prev: refile mark, Up: Marks - -Target `*' -========== - -Please put the `*' mark onto messages that you want to review -later. `?' also put the `*' mark onto matched messages (for more -information, refer to *Note search::). Use `N' and `P' to walk around -messages marked with `*'. - -Here is a summary for `*' commands. - -`*' - Put the `*' mark. -`N' - Jump to the message marked with `*' below and display it. -`P' - Jump to the message marked with `*' above and display it. -`ma' - Put the `*' mark to all unmarked messages. -`mr' - Put the `*' mark to all matching messages with specified regular - expression. - -The `*' mark is used to handle multiple messages. The following is a -list of commands which handle multiple messages. - -`F' - Prepare a draft to forward multiple messages marked with `*' in - MIME format. -`J' - A large message is occasionally fragmented into multiple messages - whose Content-Type: is Message/Partial. Mew puts the `P' mark to - these messages. Now a user marks these messages with `*' and - executing this commands results in producing the original - message. -`mI' - Retrieve the rest of truncated(`T') messages marked with - `*'. -`C-umI' - Perform `mI'. -`M-b' - De-capsulate messages embedded in the messages marked with `*'. -`M-\' - Executing an external command specifying messages marked with `*' - as arguments. -`M-t' - Apply "uudecode" on messages marked with `*'. - -For `M-t', messages marked with `*' are supposed to be in the right -order. If out of order, sorting with `S' would help. - - - -File: mew.info, Node: escape mark, Next: unmark, Prev: target mark, Up: Marks - -Escape `$' -========== - -Suppose that you want to put the `*' marks to messages matched to a -pattern specified to the `/' command. If there are messages marked -with `*' already, these messages are merged to the results of -`/'. Thus, you would want to escape the current messages marked with -`*'. - -For this sake, the escape mark `$' is provided. A typical usage is as -follows: - - 1. Change the `*' marks to the `$' marks with `m$'. - 2. Put the `*' marks to messages, for instance, with `/' and process - the messages marked with `*'. - 3. Cancel the `*' marks with `U*'. - 4. Get the old `*' marks back with `m*'. - -Here is summary of the commands related to the `$' mark. - -`m$' - Change the `*' marks to the `$' marks. -`m*' - Change the `$' marks to the `*' marks. - - - -File: mew.info, Node: unmark, Next: mark change, Prev: escape mark, Up: Marks - -Deleting marks -============== - -Refiling and deleting is not processed unless you type `x'. So, if you -press `u' to unmark before you type `x', messages do not disappear -accidentally. - -Here is a summary for unmark commands. - -`u' - Cancel the mark on this message. -`U' - Cancel all marks according to what you input. - -The method with the `$' mark, that is, preserve the `*' marks and -operate something then get them back, is friendly to users since it is -visible. But since messages are marked, they would not be the targets -of the operation. - -To solve this problem, a method to recover `*' marks is provided. The -command is bound to `M*'. This method would not be friendly to users -since the `*' marks to recover are invisible. But because the marks -are canceled, these message are surely the target of any operations. - -`M*' - Recover the `*' marks which are canceled by the last `U*'. - - - - -File: mew.info, Node: mark change, Next: sync, Prev: unmark, Up: Marks - -Overwriting marks -================= - -Marks have levels of strength. You can override a mark by another -same-level mark weak mark. Also stronger marks can override weaker -marks. - -The followings shows the marks in the strong order: - -`o', `D', and `X' - After marking a message newly, the next message is shown. After - overriding another mark, the cursor stays on the message. -`*' and `$' - After marking a message, the cursor stays on the message. -`U' - After marking a message, the cursor stays on the message. - -refer to *Note summary-mode:: to know which direction the cursor moves -after putting a strong mark. - -You can exchange marks as follows: - -`m$' - `*' -> `$' :: Preserve the `*' marks temporarily. -`m*' - `$' -> `*' :: Get the `*' marks back. -`ms' - `$' <-> `*' -`mM-u' - `*' -> `U' :: It is useful when you put `U' marks to messages - picked by `?'. -`md' - `*' -> `D' :: It is useful when you put `D' marks to messages - picked by `?'. -`mM-d' - `*' -> `X' :: It is useful when you put `X' marks to messages - picked by `?'. -`mo' - `*' -> `o' :: It is useful when you put `o' marks to messages to - be moved picked by `?'. `*' -> `o' :: It is useful when you put - `o' marks to messages to be copied picked by `?'. -`e' - Exchange the first input mark to the second one. The `o' mark is - not exchangeable. - - - -File: mew.info, Node: sync, Next: off-line, Prev: mark change, Up: Marks - -Mark consistency against an IMAP server -======================================= - -Mew can maintain consistency of the following marks against an IMAP -server: - -`U' - Whether a message is read or not. This IMAP flag is \Seen. This - is usually valid in %inbox only. -`*' - Review mark. This IMAP flag is \Flagged. - -To allow off-line operations, Mew synchronizes marks with an IMAP -server everytime when a user makes an action. Mew does not -automatically synchronize marks repeatedly. The followings are how Mew -synchronizes marks. - - 1. `s' + 'update - - Reflecting modified marks of the existing messages to the server - - For newly arrived messages, reflecting flags of the server - to the messages. - - 2. `x' - - Reflecting modified marks of the existing messages to the server - - 3. `s' + 'sync - - Reflecting modified marks of the existing messages to the server - - Clearing `*',`U', `$', ` ' mark on the existing messages. - - Reflecting flags of the server to the existing messages - - Removing messages which were deleted in the server - - - -File: mew.info, Node: off-line, Next: mew-mark, Prev: sync, Up: Marks - -Processing marks off-line for IMAP -================================== - -An IMAP user may want to cache messages in folder A and go out. Then -he may want to put the `o' and/or `D' marks, and process the marks -off-line. In this story, these jobs should be done in his IMAP server -after connecting the Internet. - -If a message in folder A is moved to folder B with IMAP, the cached -message in folder A usually must be deleted and a corresponding -message in folder B must be retrieved from his IMAP server again. This -is because information embedded in a cached message in folder A is -valid only in folder A. - -Suppose you refile a message in folder A to folder B off-line. It is -very inconvenient for you to retrieve a corresponding message in -folder B from your IMAP server , in order to read it, after refile -jobs are done online. You may want to read the messages refiled to -folder B by just going to the folder B, without retrieval form the -IMAP server. - -Mew implements delayed jobs processing and viewing refiled messages -without retrieval. If you want to process marks off-line, type `lx'. -`lx' carries out the following jobs. - - 1. Deleting messages marked with `o' and/or `D' from folder A. - 2. Queuing these jobs in %queue. - 3. Moving messages marked with `o' to folder B and marking them - invalid. - -'invalid' means that you can read it but you cannot put the `o'/`D' -mark on it. Invalid messages are marked with `#'. When you go to -folder B by typing `g', a list of invalid messages is displayed -automatically. - -If you want to let your IMAP server process jobs in %queue after you -get back online, type `C-cC-c' in %queue. - -Typing `s' in folder B after jobs in %queue are done in your IMAP -server results in deletion of invalid messages and caching valid -messages. - - - -File: mew.info, Node: mew-mark, Next: Refile, Prev: off-line, Up: Marks - -Marks displayed by Mew -====================== - -Here is a summary of marks displayed by Mew. - -`M' - This message is a multipart. Please refer to *Note multipart::. -`-' - This message contains a Multipart/Alternative content. Please refer to - *Note analysis::. -`T' - This message was truncated by Mew. Please refer to *Note - retrieving::. -`S' - This message is signed. Please refer to *Note cipher-viewing::. -`E' - This is a cipher message. Please refer to *Note cipher-viewing::. -`P' - This message is fragmented. Please refer to *Note target mark::. -`#' - This message is invalid. Please refer to *Note off-line::. - - - - -File: mew.info, Node: Refile, Next: by-folder, Prev: mew-mark, Up: Top - -Happy refiling -************** - -When you come to receive hundreds of messages in a day (do not you -believe it?), refiling messages becomes a very tough job. Mew neatly -guesses default folders where the message is supposed to be refiled -when you type `o'. You can see an example below. - - Folder name (+work/mew-dist): + - -If the default value in () is proper, just type `RET'. The messages -will be marked with `o' if its refiling folders are decided. - -You can refile a message to folders of the same world to which the -message belong. As described above, a world is identified by a -combination of "case" and proto. When you input a folder to which the -message is refiled, you must not specify "case" and you must input a -folder whose proto is the same. The reason why you must not specify -"case" is that the "case" is already known. With other commands, you -have to specify the "case", if necessary, when you input folder name -in minibuffer. This command is only the exception. - -Mew also provides `c' which is very similar to `o'. To know the -difference, please refer to *Note refile mark::. - -As you know, the more excellent refiling guess algorithms become, the -less user's job troublesome. Mew provides you with the following -rules. - -* Menu: - -* by-folder:: Guess by mailing-list folders -* by-alist:: Guess by user defined rules -* by-thread:: Guess by thread -* by-from-folder:: Guess by private folders -* by-from:: Guess by From: -* by-newsgroups:: Guess by Newsgroups: -* by-default:: Guess by default rule -* guess-rule:: Controlling rules -* auto-refile:: Auto refile -* copy-msg:: Copying messages across worlds - - - -File: mew.info, Node: by-folder, Next: by-alist, Prev: Refile, Up: Refile - -Guess by mailing-list folders -============================= - -Many users tend to refile messages destined to a mailing-list to a -folder whose name is the same as the mailing-list. Mew provides a -mechanism to guess a mailing-list folder for messages destined to -mailing-lists. - -Suppose that you have a folder named +misc/pooh-lovers. The following -message is probably to be refiled to this folder. - - To: pooh-lovers@example.org - -Likewise, Mew searches a matching folder forward with addresses on To: -and Cc:. There are many people who do not use recursive folders. With -Mew, however, you would not be smart if you do not use it. - -Smart users may wonder that they get a trouble in the following -situation where private addresses are on To: or Cc:. - - To: piglet@example.org - Cc: pooh-lovers@example.org - -Since Pooh is a member of pooh-lovers, he receives this message. But -he has a folder for his friend, Piglet. So, +from/piglet may be -chosen. - -To avoid this, Mew allows you to specify which folders are to be -ignored. The default is +from. So, please take a convention to refile -personal messages under +from. - -When Mew guesses a candidate by the folders, it asks you: - - Folder name (+misc/pooh-lovers): + - -Just type `RET' if the default is exactly what you want. - -If you specify a new folder with `o', the folder is created and added -to the folder list to be used for guess. Convenient, isn't it? - -The function name to provide this feature is -`mew-refile-guess-by-folder'. - -If you don't use capital letters for folder names, configure as -follows to make this function faster: - - (setq mew-use-fast-refile t) - -By default, candidate includes node folders as well as leaf folders. -If you want to not select node folders but leave folders only, -configure as follows: - - (setq mew-use-node-folder nil) - - - -File: mew.info, Node: by-alist, Next: by-thread, Prev: by-folder, Up: Refile - -Guess by user defined rules -=========================== - -There are some cases where the refile guess mechanism by folders does -not work as you wish. For example, for both a message whose To: is -staff@example.jp and another message whose To: is staff@example.net, -the same folder would be selected with guess by folders -(e.g. "+net/staff"). So, Mew allows you to define your own rules -explicitly. (You must use the new format for -`mew-refile-guess-alist'. For more information, see - -Let's look at an example. - - (setq mew-refile-guess-alist - '(("To:" - ("staff@example.jp" "+jp/staff") - ("staff@example.net" "+net/staff")))) - -This means that if To: contains staff@example.jp +jp/staff is selected -and if To: has staff@example.net +net/staff is chosen. - -The format of this rule is as follow: - - rule ::= ' - ::= (( ) ( ) ... []) - -The whole is a list of ( ). A field name is specified for -. The format for is as follows: - - ::= ( |) ( |) ... - - is a field value for . means a folder to be -chosen if matched. You can write recursively instead of -. (*Note config2::.) - -There are two special s: `nil' and `t'. `nil' is used to specify - to be returned when nothing is guessed. `t' can specify - to be returned in addition to guessed values. - - ::= (t ) | (nil ) - -If you know regular expression, a more advanced rule can be defined -like this. - - (setq mew-refile-guess-alist - '(("Newsgroups:" - ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1") - (".*" "+rec/news")) - ("To:" - ("\\(inet\\|wide\\)@wnoc-fuk" "+wide/\\1-wnoc-fuk")) - ("From:" - ("uucp@" "+adm/uucp") - ("ftpsync@" "+adm/ftpsync")) - (nil "+unknown"))) - -The function name to provide this feature is -`mew-refile-guess-by-alist'. - - - -File: mew.info, Node: by-thread, Next: by-from-folder, Prev: by-alist, Up: Refile - -Guess by thread -=============== - -Mew provides a mechanism to guess a folder where the parent message of -a current message was refiled before. - -For example, Pooh, Piglet, and Roo had a chat to go and get honey. So, -Pooh made +project/honey then refiled the message to it. The further -messages, if they are properly replied, they are supposed to be -refiled to +project/honey. - -Information that which folder was chosen for messages is stored to -"~/Mail/.mew-refile-msgid-alist". `mew-lisp-max-length' -controls the amount of this information. The default value is 2000 -messages. If you want limits it to 3000 messages, put the following to -"~/.mew.el". - - (setq mew-lisp-max-length 3000) - -The function name to provide this feature is -`mew-refile-guess-by-message-id'. - - - -File: mew.info, Node: by-from-folder, Next: by-from, Prev: by-thread, Up: Refile - -Guess by private folders -======================== - -In addition to the mechanism to select a mailing-list folder described -in *Note by-folder::, Mew provides a mechanism to choose a private -folder. Since private folders locate under +from, we can say that this -mechanism select a folder from the folders under +from. Let's see the -following example: - - To: pooh@example.net - From: piglet@example.org - -Pooh received a message from Piglet. If Pooh uses this mechanism, -+from/piglet will be chosen according to From:. (Folders under +from -can be recurse. And you can select the entire address for a folder -name instead of the user part.) - -The function to provide this feature is -`mew-refile-guess-by-from-folder'. - -Next, let's consider a care where Pooh replied to Piglet. Since Pooh -Cc:ed the message to himself, the message was also delivered to him. - - To: piglet@example.org - Cc: pooh@example.net - From: pooh@example.net - -How do you feel if you are Pooh? You may want to refile this to -+from/pooh. Also, you may want to move this to +from/piglet. So, it -can be customized. - -If `mew-refile-guess-from-me-is-special' is `t' and if an address in -From: is yourself, `mew-refile-guess-by-from-folder' select a folder -under +from according to To: and/or Cc:. - - - -File: mew.info, Node: by-from, Next: by-newsgroups, Prev: by-from-folder, Up: Refile - -Guess by From: -============== - -Mew also provides a mechanism to guess a folder by the place where a -message that has the same From: field is refiled. - -Suppose that Piglet has two addresses, piglet@example.org and -p-p-p@example.org. Pooh wants to refile messages from Piglet to -+from/piglet no matter what his From: is. This policy can, of course, -be implemented if Pooh specifies rules explicitly as follows: - - (setq mew-refile-guess-alist - '(("From:" - ("piglet@example.org" "+from/piglet") - ("p-p-p@example.org" "+from/piglet")))) - -But such a work may bother you. So, first refile a message whose From: -is piglet@example.org to +from/piglet. At this time, +from/piglet is -created. Next, refile a message whose From: is p-p-p@example.org to -+from/piglet. Here Mews learns that p-p-p@example.org was refiled to -+from/piglet. After this, when messages whose From: is -p-p-p@example.org are refiled, +from/piglet is chosen. - -For another example, you can refile messages from machinery to -+adm/misc without defining an explicit rule. - -Information for relationship between From: and folder is stored to -"~/Mail/.mew-refile-from-alist". `mew-lisp-max-length' -controls the amount of this information as the same as -*Note by-thread::. - -The function name to provide this feature is -`mew-refile-guess-by-from'. - -If the value of `mew-refile-guess-from-me-is-special' is `t', -`mew-refile-guess-by-from' acts as -`mew-refile-guess-by-from-folder' (*Note by-from-folder::). - - - -File: mew.info, Node: by-newsgroups, Next: by-default, Prev: by-from, Up: Refile - -Guess by Newsgroups: -==================== - -For those who read articles of NetNews received by e-mail with Mew, -Mew provides a mechanism to guess a folder by Newsgroups:. The -function name to provide this feature is -`mew-refile-guess-by-newsgroups'. - - - -File: mew.info, Node: by-default, Next: guess-rule, Prev: by-newsgroups, Up: Refile - -Guess by default rule -===================== - -The default rule is to extract a user name from From: and to choose -`+from/user'. But if `mew-refile-guess-strip-domainpart' is -`nil', it extracts the entire address. So, -`+from/user@domain' is chosen. The default value of -`mew-refile-guess-strip-domainpart' is `t'. - -The function name is `mew-refile-guess-by-default'. - - - -File: mew.info, Node: guess-rule, Next: auto-refile, Prev: by-default, Up: Refile - -Controlling rules -================= - -Mew controls guess rules by two variables, -`mew-refile-guess-control' and `mew-refile-ctrl-multi'. If you -want multiple candidates, set `mew-refile-ctrl-multi' -`t'. Otherwise, set it `nil'. - -By default, `mew-refile-guess-control' is declared as follows (since -it is a declaration, `defvar' is used): - - (defvar mew-refile-guess-control - '(mew-refile-guess-by-alist - mew-refile-ctrl-throw - mew-refile-guess-by-newsgroups - mew-refile-guess-by-folder - mew-refile-ctrl-throw - mew-refile-ctrl-auto-boundary - mew-refile-guess-by-thread - mew-refile-ctrl-throw - mew-refile-guess-by-from-folder - mew-refile-ctrl-throw - mew-refile-guess-by-from - mew-refile-ctrl-throw - mew-refile-guess-by-default)) - -Mew executes every function defined in `mew-refile-guess-control' in -order. Each function may guess multiple candidates. - -Let's see the following example of `mew-refile-guess-control' action. - -`mew-refile-guess-by-alist' - guessed +aaa and +bbb. -`mew-refile-guess-by-folder' - guessed +ccc and +ddd. -`mew-refile-guess-by-default' - guessed +eee. - -If you want to provide all candidates, +aaa - +eee, set -`mew-refile-ctrl-multi' `t'. If you want to provide +aaa only, set it -`nil'. - -If you want +aaa - +ddd but do not want left candidates, in other -words, you want +eee only when no candidate is guessed by functions -executed before, set `mew-refile-ctrl-multi' `t' and insert -`mew-refile-ctrl-throw' between `mew-refile-guess-by-folder' and -`mew-refile-guess-by-default'. - -`C-uo' displays the flow of guess rules in Message buffer. - - - -File: mew.info, Node: auto-refile, Next: copy-msg, Prev: guess-rule, Up: Refile - -Auto refile -=========== - -Those who receives many messages everyday is prone to store thousands of -messages in the +inbox (or %inbox) folder. In such a case, they may want -to speak out like this, "Hey messages, get out of the folder to -somewhere". Mew provides a feature to satisfy such laziness. :) -`M-o' is the spell. - -When you execute this function, it marks specific messages with -`o'. The specific messages mean messages which are not marked -with `o' nor `D' if -`mew-refile-auto-refile-skip-any-mark' is `nil'. If -`mew-refile-auto-refile-skip-any-mark' is `t', they mean -non-marked messages (i.e. read). The default value of -`mew-refile-auto-refile-skip-any-mark' is `nil'. - -`C-uM-o' targets messages marked with `*' regardless the value of -`mew-refile-auto-refile-skip-any-mark'. - -Refile rule is the same described in the previous section. Please note -that what this function does is just mark messages with -`o'. Messages are not refiled until you will press `x'. - -Mew's refile mechanism is so smart that it would be harmful for this -function. That is, most users would not understand where messages have -been refiled if Mew made most use of its guess mechanism. :) For this -reason, break is provided to limit usage of guess functions. Recall -the declaration up above. - - (defvar mew-refile-guess-control - '(mew-refile-guess-by-alist - mew-refile-ctrl-throw - mew-refile-guess-by-newsgroups - mew-refile-guess-by-folder - mew-refile-ctrl-throw - mew-refile-ctrl-auto-boundary - mew-refile-guess-by-thread - mew-refile-ctrl-throw - mew-refile-guess-by-from-folder - mew-refile-ctrl-throw - mew-refile-guess-by-from - mew-refile-ctrl-throw - mew-refile-guess-by-default)) - -You can find the `mew-refile-ctrl-auto-boundary' function in -`mew-refile-guess-control'. Only when auto refile is used, Mew -ignores guess functions below this function. If guess functions above -`mew-refile-ctrl-auto-boundary' didn't guess any folder for a -message, the message is not marked with `o'. Insert -`mew-refile-ctrl-auto-boundary' before you ruin. - - - - -File: mew.info, Node: copy-msg, Next: Virtual, Prev: auto-refile, Up: Refile - -Copying messages across worlds -============================== - -"Refile" described above is moving messages in the same world. By -contrast, you may want to move messages from a world to another -world. You can accomplish this by copying messages from a world to -another and deleting the original messages. Here we describe how to -copy messages to another world. - -You may want to copy a message to a local folder. For this, type -`lc'. If you execute `lc' in a remote folder, Mew removes information -related to the remote folder from the cached message and copy it to a -local folder. (You can use `lc' in a local folder, too. In this case, -a message is moved in the same world.) - -To opy a message in a folder to an IMAP folder (the server side), type -`li'. - -To copy messages marked with `*' to a local folder, use `mlc'. To -copy messages marked with `*' to an IMAP folder, use `mli'. - -Here is a summary of commands which copy messages from a world to -another. - -`lc' - Copy a message to a local folder. -`mlc' - Copy messages marked with `*' to a local folder. -`li' - Copy a message to the server side of IMAP. -`mli' - Copy messages marked with `*' to the server side of IMAP. - - - - -File: mew.info, Node: Virtual, Next: selection, Prev: copy-msg, Up: Top - -Virtual folder -************** - -Virtual mode is a virtual folder and it consists of "selection" and -"thread". - -`Selection' - A virtual folder collecting necessary messages from several - folders. Its folder name has "*" on the left side. -`Thread' - A virtual folder to visualize message flow with indentation, - created from a folder or a virtual folder. Its folder name has - "*" on the both sides. - -In Virtual mode, you can use most commands that you can find in -Summary mode. - -If you put a mark on a message in Virtual mode and if corresponding -Summary mode exists, the mark is also put onto the corresponding -message there. But if you put a mark on a message in Summary mode, -the mark is not put any corresponding messages in Virtual mode. - -You cannot process marks in Virtual mode. Even if you type `x' to -process marks in Virtual mode, the cursor moves to corresponding -Summary mode, if exsists, and you are asked to type `x' again. - -You should take note that Virtual folder is really virtual and it does -not exist in file system. If you exit Mew, it then disappears. To -know how to delete Virtual mode, please refer to *Note Quit::. - -* Menu: - -* selection:: Selection -* sorting:: Sorting -* dialog:: Dialog -* search:: Searching -* condition:: How to input search conditions -* dbsearch:: Search Engine -* keyword:: Highlighting a keyword -* thread:: Thread -* thread-op:: Thread operations - - - -File: mew.info, Node: selection, Next: sorting, Prev: Virtual, Up: Virtual - -Selection -========= - -Selection is a virtual folder collecting necessary messages from -several folders. There are five ways to create selection: - -`m/' - Listing messages marked with `*' on a folder. see *Note - sorting::. -`S' - Sorting messages on a folder and display them. (No effect to the - original folder.) see *Note dialog::. -`V' - Listing messages which have relationship with the current message. See - *Note dialog::. -`/' - Listing messaged matched to a search condition on a folder. see - *Note search::. -`k/' - Listing messaged matched to a search condition from all folders. See - *Note search::. - - - - -File: mew.info, Node: sorting, Next: dialog, Prev: selection, Up: Virtual - -Sorting -======= - -To make selection by sorting messages, use `S'. Then you will be asked -to input the field name as follows: - - Sort by? (default date): - -There are some cases where strings stored in the specified field -should not be compared as text. For example, while Subject: can be -considered as text, Date: and X-Mail-Count: should be treated as date -and number, respectively. In this way, we call the distinctions in -methods of string sorting "modes". Default modes for typical field -names are configured in `mew-sort-key-alist'. - -When you want to specify the mode of sorting, the mode is followed by -`:'. For example, to sort with the X-Mail-Count: field as arithmetic -value (not text), input like this: - - x-mail-count:num - -You can complete field names and modes with `TAB'. - -Mew provides four modes for sorting: - -`text' - String with preceding "Re: " and or "Fw: " removed. -`ml' - The same as text but preceding mailing-list-string removed. -`num' - Number. -`date' - Date. - -The default field name, your response to the prompt "Sort by?", can be -specified in `mew-sort-default-key'. The following example changes the -default value from "date" to "x-ml-count". - - (setq mew-sort-default-key "x-ml-count") - -You can also set a default field name for each folder by -`mew-sort-default-key-alist'. For folders not explicitly specified -here, `mew-sort-default-key' is used for their default field name. -The following is an example that specifies "subject" for the +inbox -folder and "x-mail-count" for the +mew-dist folder. - - (setq mew-sort-default-key-alist - '(("+inbox" "subject") - ("+mew-dist" "x-mail-count"))) - -To really sort messages in a local folder, use `M-s'. This command is -not available in remote folders. - - - -File: mew.info, Node: dialog, Next: search, Prev: sorting, Up: Virtual - -Dialog -====== - -Mew can list messages which have relationship with the current -message. Let's call this "dialog". This is different from thread -described later in the following points: - - - Thread can be made from one folder or one virtual - folder. Messages relating to dialog can ubiquitously exists in - several folders. - - - Thread visualizes tree structres with indentation. while dialog - lists up messages in order of time. - -To use the feature of dialog, execute `kI' to create database. New -messages are not automatically registered in to the database, you -should periodically execute `kI'. `kI' updates the database -incrementally by default. This method is fast but garbages are -left. So, sometime you should type `C-ukI' to update the database -fully. - -To make dialog, type `V' on the current message. This command displays -him, his ancestors, and his children only. His brothers and so on are -not shown. If you display the entire of the family, type `V' again on -the first message of the dialog, which is the origin of the family. - - - -File: mew.info, Node: search, Next: condition, Prev: dialog, Up: Virtual - -Searching -========= - -Mew provides the following method to search messages: - -`?' - Put the `*' mark onto messages in this folder, which are matched - to a specified pattern. Either `mewl' or `grep' is called - according to the specified pattern. -`C-u?' - `?' with a region specified. -`/' - Make selection with messages in this folder, which are matched to - a specified pattern. Either `mewl' or `grep' is called according - to the specified pattern. -`C-u/' - `/' with a region specified. - -We can also search messages with a search engine, including Spotlight, -Windows Desktop Search, etc. This feature is supported by the -following commands. - -`k?' - Put the `*' mark onto messages in this folder, which are matched - to a specified pattern. -`k/' - Make selection with messages in all folders, which are matched to - a specified pattern. -`C-uk/' - Make selection with messages in specified folders, which are - matched to a specified pattern. If you want to specify multiple - folders, separate them with ",". You can also use a wildcar "*". - - - -File: mew.info, Node: condition, Next: dbsearch, Prev: search, Up: Virtual - -How to input search conditions -============================== - -If you type `?' or `/', Mew asks you to input search pattern as -follows: - - mewl/grep pick pattern: - -If you specify just a keyword, Mew executes `grep'. On the contrast -if you type an expression, Mew calls `mewl'. - -Here is a list of expression elements. (In the strong order) - -`field=string' - Match if the "field" field contains the "string" string - (case-insensitive). If you specify "head", it means the entire - header. -`field==string' - Match if the "field" field contains the "string" string - (case-sensitive). If you specify "head", it means the entire - header. -`field!=string' - Match if the "field" field does not the "string" string - (case-insensitive). If you specify "head", it means the entire - header. -`field!==string' - Match if the "field" field does not the "string" string - (case-sensitive). If you specify "head", it means the entire - header. -`( )' - Evaluate first. -`! ' - Match if not . -` & ' - Match if AND . You can omit this. -` | ' - Match if OR . - -Some examples are shown below. - -(a) Messages whose From: contains "kazu". - - from=kazu - -(b) Messages whose To: contains "mew" OR Cc: contains "mew". - - to=mew | cc=mew - -(c) Messages whose To: contains "mew" OR Cc: contains "mew" AND From: -contains "kazu". - - (to=mew | cc=mew) & from=kazu - -When you execute `?' or `/' and if you just type `RET' to a pattern, -you can specify a command to be executed. - - Cmd opts pattern: grep -l -e - -When you use an search engine with `k?' or `k/', the pattern -(including just a keyword and an expression) will be converted to the -syntax of the search engine. - -For example, you can write an expression, that From: is "kazu" and -body contains "wine" but does not contain "bordeaux", as follows: - - from=kazu wine ! bordeaux - -If you set `mew-pick-pattern-list' to a list of pattern, you can enjoy -circular completion with `C-cTAB'. In this case, the first member is -displayed as a default value. - - - - -File: mew.info, Node: dbsearch, Next: keyword, Prev: condition, Up: Virtual - -Search Engine -============= - -To operate search engines, the following commands are provided: - -`km' - Make index for the current folder. -`kM' - Make index for all folders. -`kc' - Switch one search engine to another. - -The followings are expiation of each search engines. - -`Hyper Estraier' - Type `kM' periodically. It's OK to execute "mewest" on the - command line instead. If you want to update the index for the - current folder quickly, you can use `km'. Both `k?' and `k/' are - available. When you specify folders with `C-uk/', sub-folders, if - any, are included in the target. -`Spotlight' - Type `kM' just once. `km' is not necessary. Both `k?' and `k/' - are available. -`Windows Desktop Search' - Type `kM' just once. `km' is not necessary. -`Google Desktop' - Type `kM' just once. `km' is not necessary. Only `k/' is - available. - -The default search engine is automatically set to the one found first. -If you explicitly specify it, set `mew-search-method' to one out of -'est, 'spotlight, 'wds, and 'google. The following is an example to -choose Hyper Estraier. - - (setq mew-search-method 'est) - - - -File: mew.info, Node: keyword, Next: thread, Prev: dbsearch, Up: Virtual - -Highlighting a keyword -====================== - -The keyword which you specified on search is shorted in a buffer. You -can display messages with the keyword highlighted. The commands to -enable this functionality are as follows: - -`M-n' - Display a message in the forward direction and find a keyword and - highlight it. In Summary mode, the target is messages marked with - `*'. In Virtual mode, it is all messages. If you repeat this - command, text around the keyword is displayed from one to - another. If no key word is set to the variable, this command - first asks you a keyword. -`C-uM-n' - The same as `M-n' except that you can change the stored keyword - explicitly. -`M-p' - A reverse version of `M-n'. -`C-uM-p' - A reverse version of `C-uM-n'. - - - -File: mew.info, Node: thread, Next: thread-op, Prev: keyword, Up: Virtual - -Thread -====== - -When in the process of exchanging messages, the relationship of the -messages is presented in a tree structure. Visualization of the -structure with indentation is called thread. Here is an example: - - 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic - 03/13 Kazu-kun +Re: This weekend |Since it'll be rainy, - 03/15 Hidenori Ohta | +Re: This weekend |OK. Get together at 12 - 03/14 Oda-chan +Re: This weekend |Sounds lovely. I'd lik - -The thread feature is implemented as virtual folder. For instance, if -you make threads for +inbox, a buffer *+inbox* is prepared. - -To make thread, the following commands exist. - -`tt' - Make threads from Summary mode or selection and move the cursor - to the current message. If corresponding threads already exist, - switch to the Virtual mode. When this command is executed on - threads, switch to the original folder and move the cursor to the - current message. -`C-utt' - Make threads for messages in the region. -`mt' - Make threads for messages marked with `*'. -`tr' - Make threads for messages matched to a regular expression. - - - -File: mew.info, Node: thread-op, Next: Quit, Prev: thread, Up: Virtual - -Thread operations -================= - -Here are the commands used for moving to thread presentation. - -`tp' - Move to the top of the current thread. If the current message is - a top node, move to the top of the next thread. -`tn' - Move to the top of the next thread. -`^' - Move to the parent message of the current message. (Available in - both Summary and Virtual) -`&' - Move to the child message of the current message. (Available in - both Summary and Virtual) -`(' - Search backward by one sibling message of the current message. -`)' - Search forward by one sibling message of the current message. - - -Here are commands to mark messages in a thread. - -`t*' - Put the `*' mark all messages of the current sub-thread. Please - refer to *Note target mark:: for more information. -`t$' - Put the `$' mark all messages of the current sub-thread. Please - refer to *Note escape mark:: for more information. -`td' - Put the `D' mark all messages of the current sub-thread. Please - refer to *Note delete mark:: for more information. -`tM-d' - Put the `X' mark all messages of the current sub-thread. Please - refer to *Note delete mark:: for more information. -`to' - Put the `o' mark all messages of the current sub-thread. Please - refer to *Note refile mark:: for more information. - -A command to unmark all messages of the current sub-thread is `tu'. - - -Here are commands to manipulate a thread: - -`tSPC' - Hide children and leave the parent only. If its children are - hidden, "+" is displayed on the parent. Also, if this command is - executed on a message whose children are hidden, they appear. -`ta' - Toggle appearance of children for all threads. -`tg' - Graft a thread to a message. To specify which thread is grafted, - type `C-SPC' on the root of the thread. Then move onto your - target message, and typing `tg' grafts the thread to the target - message as children. - - -If `mew-use-thread-separator' is `t', threads are -distinguished by a separator defined by `mew-thread-separator' -(its default value is "--"). - - - - -File: mew.info, Node: Quit, Next: Customize, Prev: thread-op, Up: Top - -Give me a break -*************** - -Here are how to quit and suspend Mew and how to erase a mode (buffer). - - - -`q' - Suspend Mew then switch to another buffer. All buffers of Mew - remain, so you can resume with buffer operations. -`Q' - Quit Mew. All buffers of Mew are erased. -`C-cC-q' - Erase the current mode (buffer). - - - -`C-cC-q' - Erase the draft. - - - -`C-cC-q' - Erase the buffer. - - - - -File: mew.info, Node: Customize, Next: summary-mode, Prev: Quit, Up: Top - -Customizing Mew -*************** - -Here are explained how to change default setting of Mew and make Mew -your favorite. Edit "~/.mew.el" to do it! - -* Menu: - -* summary-mode:: Summary mode -* message-mode:: Message mode -* draft-mode:: Draft mode -* charset:: Character set -* highlight:: Highlighting -* hooks:: Hooks -* pop:: POP -* imap:: IMAP -* nntp:: NNTP -* smtp:: SMTP -* config:: Changing receiving/sending behavior -* config2:: The format of configuration -* custom-misc:: Miscellaneous - - - -File: mew.info, Node: summary-mode, Next: message-mode, Prev: Customize, Up: Customize - -Summary mode -============ - -You can specify the format of Summary mode by `mew-summary-form'. The -default value is as follows: - - (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body))) - -Like this, `mew-summary-form' is a list of list, symbol, and string. - - 1. A string is printed as it is. - 2. A list consists of an integer and a symbol. The symbol specifies - a function to be called. The name of the function is produced by - concatenating "mew-summary-form-" and the symbol name. - (e.g. `mew-summary-form-date' for the symbol 'date'). Pre-defined - symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and - 'body. For more details, see the explanation of the functions - called `mew-summary-form-'. The integer specifies the - width of field which will be filled with a return string of the - function. A positive value means padding SPCs on the right if - necessary. A negative value means padding SPCs on the left if - necessary. If a negative value is specified, the corresponding - function must return an ASCII string. 0 means the remaining width - of the line and is treated as a positive value. - 3. A symbol is equivalent to (1 symbol). - 4. '(mark) is appended to `mew-summary-form' when used. - 5. `t' means the position of thread indentation. - -An example is as follows: - - (setq mew-summary-form - '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body))) - -`mew-summary-form-from-me-prefix' is the prefix to be prepend to an -destination address if the message is originated by me. The default is -"To:". - - -`mew-summary-form-extract-rule' is a list to specify what part to -extract from the From: field. Each element must be 'name, 'comment, -'address, 'nickname, or appropriate "regex". The default value is -'(nickname). - -Consider the following examples: - - A: Kazu Yamamoto - B: kazu@example.org (Kazu Yamamoto) - C: Kazuhiko Yamamoto (Kazu) - -Each element returns the following value: - - 1. 'name:: Name part, if any - A. Kazu Yamamoto - B. (No match) - C. Kazuhiko Yamamoto (Kazu) - 2. 'comment:: Comment part, if any - A: (No match) - B: Kazu Yamamoto - C: (Kazu) - 3. 'address:: Address part - A: kazu@example.org - B: kazu@example.org - C: kazu@example.org - 4. 'nickname:: one element of personal information in Addrbook - according to `mew-addrbook-for-summary'. The default value of - `mew-addrbook-for-summary' is `'nickname'. So, From: is converted - a nickname by default. To know what kind of value can be used, - refer to *Note draft-mode::. - 5. (regex):: The substring first matched. - -If a element does not match, the next element is applied. If no -element matches to the From: field, or this value is `nil', the whole -of the From: field is used. - - -If `mew-summary-form-mark-delete' is `t', the `D' mark -automatically is put onto duplicated messages. The default is -`nil'. - - -If `mew-summary-form-mark-spam' is `t', the `D' mark automatically is -put onto SPAM messages. A message is considered a SPAM message if the -MD5 checksum of its body is duplicated in a scan. The default is -`nil'. - -If `mew-summary-form-mark-review' is `t', the `*' mark -automatically is put onto messages destined to me. The default is -`nil'. - - -If you want to use Mew with full Emacs frame, set like this. - - (setq mew-use-full-window t) - - -`SPC' in Summary mode decide the next action to view a message -according to `mew-summary-show-direction'. Likewise, you can specify -the cursor direction after putting a strong mark by -`mew-summary-mark-direction'. You can select one from the following -candidates. - -`up' - Display the message above. -`down' - Display the message below. -`next' - Display the next message in the direction. -`stop' - Do not display the next message. - -The default value for both is `next'. If you read messages from the -bottom, set as follows: - - (setq mew-summary-show-direction 'up) - - - -File: mew.info, Node: message-mode, Next: draft-mode, Prev: summary-mode, Up: Customize - -Message mode -============ - -It is impossible to display a file to the Message buffer if its data -type is not supported by Emacs. Install an external program which -converts the data to text and you can display the file to the Message -buffer. - -If you install "w3m" and "emacs-w3m", Text/Html can be displayed in -Message mode. (Please note that multilingualized "w3m", not pure -"w3m", is necessary for "wvHtml", "xlhtml", and "ppthtml" -described below.) When you install both of them, add the following to -"~/.mew.el'. - - (condition-case nil - (require 'mew-w3m) - (file-error nil)) - -With this, Text/Html can be displayed in Message mode as if it were -Text/Plain. Even in this situation, `C-cC-e' described below is a -valid operation. - -If you install "wvHtml", "xlhtml", and "ppthtml", you can display text -parts of WORD, Excel, and PowerPoint file in Message, -respectively. Since these commands uses HTML, the configuration of -Text/Html above is required. With this, a WORD file, for example, can -be displayed in Message mode as if it were text. - -You can display the file with an external application itself instead -of displaying it in the Message buffer. For this, type `C-cC-e'. - -You can visualize an image file into the Message buffer. Also, you can -display it with an external application by typing `C-cC-e', of course. - -You can display an HTML file to a browser with `C-cC-e'. A default -browser is used on Windows and Mac. On Unix, "mozilla" is set to a -default browser as follows: - - (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t)) - -If you want to set it to "firefox", for example, configure like this: - - (setq mew-prog-text/html-ext - '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t)) - -You can visualize an Office-family file to each application by typing -`C-cC-e'. On Windows and Mac, an Office-family application is -executed. On Unix, "ooffice" is set to the default application as -follows: - - (defvar mew-prog-msword-ext "ooffice") - (defvar mew-prog-msexcel-ext "ooffice") - (defvar mew-prog-mspowerpoint-ext "ooffice") - -If you want to set it to "soffice", for instace, do like this: - - (setq mew-prog-msword-ext "soffice") - (setq mew-prog-msexcel-ext "soffice") - (setq mew-prog-mspowerpoint-ext "soffice") - -If you want to not visualize an Office-family file into the Message -buffer, but want to display it with "wvHtml", configure as follows: - - (setq mew-prog-msword '(nil mew-mime-application/msword)) - (setq mew-prog-msexcel '(nil mew-mime-application/msexcel)) - (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint)) - -If you want to specify an application instead of the pre-defined -application, type `C-uC-cC-e'. - -Recently there are many message whose have Multipart/Alternative, -which consists of Text/Plain and Text/Html. By default, Mew selects -Text/Plain. When you install "emacs-w3m", you may want to choose -Text/Html. In this case, add the following to "~/.mew.el". (Now, it's -good idea to get back to *Note multipart:: to review how to use -`:'.) - - (setq mew-mime-multipart-alternative-list - '("Text/Html" "Text/Plain" ".*")) - -You can decrypt a ZIP attach file and display it with `zz'. - - - -File: mew.info, Node: draft-mode, Next: charset, Prev: message-mode, Up: Customize - -Draft mode -========== - -Define `mew-cc' to use Cc:. When replying, another Cc: field may be -prepared from the target message. If there are multiple Cc: fields, -they are combined to one field on sending. - -If you want to receive your originating messages for backup without -specifying your address, use Dcc:. Set your address to `mew-dcc'. - -Set header fields that you want to insert every time when you write -messages to `mew-header-alist' as an associate list. The following is -an example. - - (setq mew-header-alist - '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94") - ("X-URL:" "http://www.example.org/~kazu/"))) - -To customize citation label, define field to cite in `mew-cite-fields' -and format in `mew-cite-format'. Define citation prefix to -`mew-cite-prefix'. The default declaration is as follows: - - (defvar mew-cite-fields '("From:" "Subject:" "Date:")) - (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n") - (defvar mew-cite-prefix "> ") - -To add Message-ID: to citation label, take this way. - - (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:")) - (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n") - -To add a user part of an address to the citation prefix, configure as -follows: - - (setq mew-cite-prefix-function (function mew-cite-prefix-username)) - -With this, the citation prefix becomes like this: - - From: SUMIKAWA Munechika - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - sumikawa> Hi, it's Sumikawa, the guy who's neat from good morning - sumikawa> to good night. - sumikawa> - sumikawa> Talking about the wonderful wine party, I would propose - sumikawa> Cabernet Sauvignon, Bordeaux, '90. - -Both an address in the citation label and the citation prefix can be -converted to an element of a personal information in Addrbook. They -can be configured by `mew-addrbook-for-cite-label' and -`mew-addrbook-for-cite-prefix', respectively. The default values are -`nil' and `'username', respectively. You can set out of the following -values. - - -'shortname - Short name -'address - Address -'username - User part of address -'nickname - Nickname -'name - Full name - -Let's consider the following example. - - (setq mew-addrbook-for-cite-label 'nickname) - (setq mew-addrbook-for-cite-prefix 'nickname) - -With the first line, an address in the citation label is replaced with -its nickname. The second line indicates that the cite prefix is -replaced with its nickname. - - From: sumitch - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - sumitch> Hi, it's Sumikawa, the guy who's neat from good morning - sumitch> to good night. - sumitch> - sumitch> Talking about the wonderful wine party, I would propose - sumitch> Cabernet Sauvignon, Bordeaux, '90. - - - diff --git a/elpa/mew-20161030.1807/mew.info-4 b/elpa/mew-20161030.1807/mew.info-4 deleted file mode 100644 index 6a25079a..00000000 --- a/elpa/mew-20161030.1807/mew.info-4 +++ /dev/null @@ -1,1576 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.info, Node: charset, Next: highlight, Prev: draft-mode, Up: Customize - -Character set -============= - -As described in *Note charset-guess::, Mew automatically chooses an -appropriate charset for the message when composing. - -If characters of multiple languages exist, and if it is necessary to use -an international charset, `mew-charset-m17n' is used. Its default -value is "utf-8" (equivalent to Unicode). If you want to set it to -"iso-2022-jp-2", configure like this: - - (setq mew-charset-m17n "iso-2022-jp-2") - -If you want to check a chosen charset when composing, configure -`mew-ask-charset'. - -`nil' - Not ask. -`A list of charset' - Ask if the charset is not a member of the list. -`t' - Ask if `mew-charset-m17n' is used. - -For instance, if you want to check when charset other than US-ASCII, -ISO-8859-1, and ISO-8859-15, configure like this: - - (setq mew-ask-charset '("us-ascii" "iso-8859-1" "iso-8859-15")) - - -For example, when "utf-8" is chosen for a message with this -configuration, you are asked like this: - - utf-8 is used. OK? (y or n) - -Typing `y' makes the composed message sent (or queued). If you type -`n', you will go back to the original draft. - -In Europe Latin 9 (ISO-8859-15 or Latin 0), which includes the euro -sign, is getting more and more popular instead of Latin 1 -(ISO-8859-1). If characters of both Latin 1 and Lain 9 exist in a -draft, Mew takes the following step to decide a charset. - - 1. If `unify-8859-on-decoding-mode' is used: - 1. Use "iso-8859-1" if no loss. - 2. Otherwise, use "utf-8". - 2. If `unify-8859-on-decoding-mode' is not used: - 1. If both ISO-8859-1 and ISO-8859-15 can be used with no loss, - "ISO-8859-1" is used. - 2. Use "iso-8859-1" if no loss. - 3. Use "iso-8859-15" if no loss. - 4. Otherwise, use "utf-8". - -The default value of `mew-charset-latin' is "iso-8859-15". If you want -to set it to "iso-8859-1", configure like this: - - (setq mew-charset-latin "iso-8859-1") - -If you want to always use UTF-8 for any characters other than -US-ASCII, configure as follows: - - (setq mew-cs-database-for-encoding - `(((ascii) nil "7bit" "7bit") - (nil utf-8 "base64" "B"))) - - - -File: mew.info, Node: highlight, Next: hooks, Prev: charset, Up: Customize - -Highlighting -============ - -If `mew-use-highlight-mark' is `t', marked message are -highlighted. The default is `t'. - -If `mew-use-highlight-header' is `t', the header of a message is -highlighted. The default is `t'. - -If `mew-use-highlight-body' is `t', the body of a message is -highlighted. The default is `t'. The limit to be highlighted can be -set by `mew-highlight-body-max-size'. The default is 10000 bytes. - -If `mew-use-highlight-url' is `t', a spell is cast to URL strings in a -message. So, when you move the cursor onto the URL, it is -highlighted. The default is `t'. - -If `mew-use-cursor-mark' is `t', the mark specified `mew-cursor-mark' -is putted to the beginning of the current line. The default is -`nil'. The default of `mew-cursor-mark' is ">". - -If `mew-use-highlight-cursor-line' is `t', underline is put on the -cursor line in Summary mode. The default is `t'. - -If `mew-use-highlight-mouse-line' is `t' on Emacs which supports mouse -highlight, the mouse line is painted in Summary mode. This is very -convenient to read messages clicking the middle button of the -mouse. The default value is `nil'. - -If `mew-use-highlight-x-face' is `t', X-Face: in a header is iconified -in Message mode. The default value is `t'. To use this feature, -install the "netpbm" package and the "compface" package. - -To modify colors, copy "dot.theme" contained Mew's source file to -an appropriate place, say "~/.mew-theme.el". First, set -`mew-theme-file' to this file name in ".mew.el" as follows: - - (setq mew-theme-file "~/.mew-theme.el") - -Then, change the contents. For instance, you can find the following -configuration. - - (mew-setface-bold header-subject - :tty "red" :light "Firebrick" :dark "OrangeRed") - -The symbol `header-subject' means the value of the "Subject:" field in -a header. :tty is the case where Emacs is executed on a terminal while -:light and :dark indicates the case where the background of Emacs -executed with a window is white and black, respectively. - -If you wish green for a terminal, ForestGreen for the white -background, and LimeGreen for the black background, modify the -configuration as follows: - - (mew-setface-bold header-subject - :tty "green" :light "ForestGreen" :dark "LimeGreen") - -To know what kind of symbols are prepared, see the "dot.mew". - -The method above does not prepare symbols for all field names and -field value. So, `mew-header-color' and `mew-header-color-bold' exist -to change colors easily. If you use the latter, characters become -bold. The former results in normal. The following is a typical usage: - - (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed") - -With this configuration, "Subject:" becomes bold LimeGreen and its -value turns into bold OrangeRed. - -The second method cannot specify the cases of terminal or background. -If you omit the field value color, the field name color is used for -the field value. - - - -File: mew.info, Node: hooks, Next: pop, Prev: highlight, Up: Customize - -Hooks -===== - -Here is a summary of hooks used in Mew. - -`mew-env-hook' - Hook called at initialize time before setting environment. -`mew-init-hook' - Hook called at initialize time. -`mew-status-update-hook' - Hook called at status update(`Z'). -`mew-summary-mode-hook' - Hook called in Summary mode. -`mew-virtual-mode-hook' - Hook called in Virtual mode. -`mew-thread-display-hook' - Hook called after new threads are displayed. -`mew-header-mode-hook' - Hook called in Header mode. -`mew-draft-mode-hook' - Hook called in Draft mode. -`mew-draft-mode-newdraft-hook' - Hook called in Draft mode only when new draft is prepared. -`mew-draft-mode-reedit-hook' - Hook called in Draft mode when a message not in +draft is - re-edited. -`mew-draft-mode-reedit-draft-hook' - Hook called in Draft mode when a message in +draft is re-edited. -`mew-draft-mode-reedit-queue-hook' - Hook called in Draft mode when a message in +queue or +postq is - re-edited. -`mew-draft-mode-edit-again-hook' - Hook called in Draft mode when a message returned with the old - style is edited again. -`mew-message-mode-hook' - Hook called in Message mode. -`mew-message-hook' - Hook called whenever message displayed. -`mew-make-message-hook' - Hook called before making a message in Draft mode. A good example - is as follows: (add-hook 'mew-make-message-hook 'ispell-message) -`mew-send-hook' - Hook called before sending/queuing an e-mail message in Draft - mode. Note that this hook is called before composition of the - message -`mew-post-hook' - Hook called before posting/queuing a NetNews message in Draft - mode. Note that this hook is called before composition of the - message. -`mew-real-send-hook' - Hook called before sending/queuing an e-mail message in Draft - mode. Note that this hook is called after composition of the - message. -`mew-real-post-hook' - Hook called before sending/queuing a NetNews message in Draft - mode. Note that this hook is called after composition of the - message. -`mew-smtp-flush-hook' - Hook called before SMTP runs if messages exist in +queue. -`mew-nntp2-flush-hook' - Hook called before NNTP runs if messages exist in +postq. -`mew-smtp-sentinel-hook' - Hook called when a SMTP process finished. -`mew-nntp-sentinel-hook' - Hook called when a NNTP process to receive messages finished. -`mew-nntp2-sentinel-hook' - Hook called when a NNTP process to post messages finished. -`mew-pop-sentinel-hook' - Hook called when a POP process finished. -`mew-pop-sentinel-non-biff-hook' - Hook called when a non-Biff POP process finished. -`mew-imap-sentinel-hook' - Hook called when a NNTP process to post messages finished. -`mew-imap-sentinel-hook' - Hook called when an IMAP process finished. -`mew-imap-sentinel-non-biff-hook' - Hook called when a non-Biff IMAP process finished. -`mew-scan-sentinel-hook' - Hook called when scan finished. -`mew-summary-ls-no-scan-hook' - Hook called when mew-summary-ls does not scan a folder. -`mew-summary-exec-hook' - Hook called when `x' in Summary mode finished. -`mew-refile-guess-by-from-learn-hook' - Hook called in mew-refile-guess-by-from-learn. -`mew-sort-hook' - Hook called when `M-s' in Summary mode finished. -`mew-pack-hook' - Hook called when `O' in Summary mode finished. -`mew-summary-delete-folder-hook' - Hook called when a folder deleted. -`mew-summary-rename-folder-hook' - Hook called when a folder renamed. -`mew-summary-toggle-disp-msg-hook' - Hook called when `v' in Summary finished. -`mew-syntax-format-hook' - Hook called when mew-syntax-format is called. -`mew-addrbook-mode-hook' - Hook called in Addrbook mode. -`mew-cite-hook' - Hook for an external cite mechanism. If you want to use - super-cite, (setq mew-cite-hook 'sc-cite-original). -`mew-before-cite-hook' - Called in mew-summary-reply-with-citation before citation. -`mew-suspend-hook' - Hook called on suspend. -`mew-quit-hook' - Hook called on quit. - -Here are some example configurations of hook - -Draft mode evaluates `text-mode-hook' and `mew-draft-mode-hook' in -order. If you do not set `auto-fill-mode' to `text-mode-hook', It -would be useful to define `mew-draft-mode-hook' as follows: - - (add-hook 'mew-draft-mode-hook - (lambda () - (auto-fill-mode 1) - (set-fill-column 70))) - -In this example, the number of fill column is also set to 70. - - - -File: mew.info, Node: pop, Next: imap, Prev: hooks, Up: Customize - -POP -=== - -Mew can POP to retrieve messages. This section describes following -variables to control POP. - -`mew-pop-server' - The name of your POP server. -`mew-pop-ssh-server' - The name of SSH server which forwards the POP3 port. -`mew-pop-ssl' - If non-nil, POP connections are made over SSL. -`mew-pop-ssl-port' - The port for POP over SSL. -`mew-pop-user' - The user name on your POP server. The default is your login name. -`mew-pop-auth' - The authentication method for POP3. 'pass means the - authentication with USER/PASS (i.e. plain password). 'apop means - the authentication with APOP. `t' means SASL according to - `mew-pop-auth-list'. The default is 'apop. -`mew-pop-auth-list' - A list of SASL methods in the preferred order. Currently, - "CRAM-MD5" can be used. -`mew-pop-delete' - Whether or not delete messages on a POP server after retrieval by - POP. If `t', delete the messages. If `nil', retain the messages. - If number N, delete the messages N days after the first - access. The default is `t'. -`mew-pop-size' - The limit size of messages to be retrieved by POP. The default is - 55296 byte. 0 means unlimited, so you can get all messages from - the POP server. To know how to retrieve the rest of a truncated - message, please refer to *Note retrieving::. -`mew-pop-body-lines' - *The limit of body lines to get when the size of message exceeds - `mew-pop-size'. The default is 40. -`mew-pop-header-only' - Whether or not the body of a message is retrieved by POP. If - non-nil, only header is retrieved. The default is `nil' - - - -File: mew.info, Node: imap, Next: nntp, Prev: pop, Up: Customize - -IMAP -==== - -Mew can use IMAP to retrieve messages. This section describes -following variables to control IMAP. - -`mew-imap-server' - The name of your IMAP server. -`mew-imap-ssh-server' - The name of SSH server which forwards the IMAP4 port. -`mew-imap-ssl' - If non-nil, IMAP connections are made over SSL. -`mew-imap-ssl-port' - The port for IMAP over SSL. -`mew-imap-user' - The user name on the IMAP server. The default is your login name. -`mew-imap-auth' - The authentication method for IMAP4. `nil' means the authentication with - LOGIN (i.e. plain password). `t' means SASL according to - `mew-imap-auth-list'. The default is `t'. -`mew-imap-auth-list' - A list of SASL methods in the preferred order. Currently, - "CRAM-MD5" and "LOGIN" can be used. -`mew-imap-delete' - Whether or not delete messages on an IMAP server after retrieval - by IMAP. If `t', delete the messages. If `nil', retain the - messages. If number N, delete the messages N days after the first - access. Otherwise they are not deleted. The default is `t'. -`mew-imap-size' - The limit size of messages to be retrieved by IMAP. The default - is 55296 byte. 0 means unlimited, so you can get all messages - from the IMAP server. To know how to retrieve the rest of a - truncated message, please refer to *Note retrieving::. -`mew-imap-header-only' - Whether or not the body of a message is retrieved by IMAP. If - non-nil, only header is retrieved. The default is `nil' - - - -File: mew.info, Node: nntp, Next: smtp, Prev: imap, Up: Customize - -NNTP -==== - -Mew uses NNTP to read/write News articles. This section describes -following variables to control NNTP. - -`mew-nntp-server' - The name of your NNTP server. -`mew-nntp-ssh-server' - The name of SSH server which forwards the NNTP port. -`mew-nntp-ssl' - If non-nil, NNTP connections are made over SSL. -`mew-nntp-ssl-port' - The port for NNTP over SSL. -`mew-nntp-user' - The user name on the NNTP server. If non-nil, authentication is - used. (Note that mew-nntp-auth does not exist.) -`mew-nntp-newsgroup' - The name of default Newsgroup. -`mew-nntp-size' - The limit size of messages to be retrieved by NNTP. The default - is 55296 byte. 0 means unlimited, so you can get all messages - from the NNTP server. -`mew-nntp-header-only' - Whether or not the body of a message is retrieved by NNTP. If - non-nil, only header is retrieved. -`mew-nntp-msgid-user' - A user name for creation of Message-Id:. If `nil', the value of - `mew-user' is used. The default is `nil'. -`mew-nntp-msgid-domain' - A domain name for creation of Message-Id:. If `nil', the value of - `mew-mail-domain' is used. The default is `nil'. - -A value of Message-Id: for NNTP is created by the following rule: - - message-id = *random*.nntp-msgid-user@nntp-msgid-domain - - - -File: mew.info, Node: smtp, Next: config, Prev: nntp, Up: Customize - -SMTP -==== - -Mew uses SMTP to send messages. If an SMTP server requires -authentication, Mew automatically asks you to input your -password. This section describes following variables to control SMTP. - -`mew-smtp-server' - The name of your SMTP server. -`mew-smtp-port' - The port for SMTP. -`mew-smtp-ssh-server' - The name of SSH server which forwards the SMTP port. -`mew-smtp-ssl' - If non-nil, SMTP connections are made over SSL. -`mew-smtp-ssl-port' - The port for SMTP over SSL. -`mew-smtp-user' - The user name on your SMTP server. If not configured, your e-mail - address is automatically set. -`mew-smtp-auth-list' - A list of SMTP AUTH methods in the preferred order. Currently, - "CRAM-MD5", "PLAIN", and "LOGIN" can be used. -`mew-smtp-helo-domain' - An e-mail domain to tell a SMTP server with HELO/EHLO. The - default is "localhost". -`mew-smtp-mail-from' - The default is `nil'. An e-mail address to tell a SMTP server - with MAIL FROM:. If `nil', an address specified by the From: - field is used. -`mew-smtp-msgid-user' - A user name for creation of Message-Id:. If `nil', the value of - `mew-user' is used. The default is `nil'. -`mew-smtp-msgid-domain' - A domain name for creation of Message-Id:. If `nil', the value of - `mew-mail-domain' is used. The default is `nil'. -`mew-use-8bit' - Whether or not send 8bit text without MIME encoding. If `nil', an - appropriate MIME encoding is applied. The default is `nil'. - -A value of Message-Id: for SMTP is created by the following rule: - - message-id = *random*.smtp-msgid-user@smtp-msgid-domain - -If you want to use Message Submission (SMTP for submission whose port -number is 587), configure as follows: - - (setq mew-smtp-port "submission") - -Please refer also to SSL (*Note SSL::) and TLS (*Note TLS::). - -Some SMTP servers are mis-configured. They requests authentication -though errors occur if passwords are received. Mew automatically ask a -user to input user's password and send it to an SMTP server if it -requires authentication. To get along with such SMTP servers above, -configure as follows: - - (setq mew-use-smtp-auth nil) - -`mew-use-smtp-auth' - If non-nil, Mew send user's password if an SMTP server requests - authentication. The default value is `t'. If `nil', Mew does not - send user's password even if the (mis-configured) SMTP server - requests authentication. - - - -File: mew.info, Node: config, Next: config2, Prev: smtp, Up: Customize - -Changing receiving/sending behavior -=================================== - -With `mew-config-alist', you can differ actions of sending/receiving -messages. Let's look at the following example: - - (setq mew-config-alist - '((home - (inbox-folder "+inbox-home") - (pop-server "pop.iij4u.or.jp")) - (ext - (pop-ssh-server "ssh.example.org")) - (default - (proto "%") - (imap-server "imap.example.org") - (pop-server "pop.example.org")))) - -This example defines three "cases": "home", "ext", and "default". For -each case, some pair of key and value are defined. - -We explain the semantics of `mew-config-alist' with this example. -If the "case" is "home", looking up "pop-server" results in -"pop.iij4u.or.jp". If the "case" is "ext", looking up "pop-server" -results in "pop.example.org" since there is no specified key for the -"case" and the "default" is used. If the "case" is "default", -looking up "pop-server" results in "pop.example.org". - -If the "case" is "home", looking up "inbox-folder" results in -"+inbox-home". If the "case" is "ext", looking up "inbox-folder" -results in the value of `mew-inbox-folder' since there is no -specified key for both "ext" and "default". If the "case" is -"default", looking up "inbox-folder" also results in the value of -`mew-inbox-folder'. - -"proto" (`mew-proto') is used to specify a folder which is selected -when you type `M-x mew'. (If you input `M-x mew' when Mew is not -executed, ""proto" for the "default" "case" is used. If you type `M-x -mew' when Mew is running, "proto" is chosen according to the value of -the "case". - -Candidates of the value are "+", "$", "%", and "-". These means -"+inbox", "$inbox", "%inbox", and "-fj.mail.reader.mew" without -any special configuration. - -Each key which can be specified in `mew-config-alist' corresponds to -the variable `mew-"key"'. The following list enumerates such keys. - - name, user, mail-domain, - cc, fcc, dcc, reply-to, organization, header-alist, proto, - smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port, - smtp-user, smtp-auth-list, - smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from, - pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port, - pop-user, pop-auth, pop-auth-list, - pop-size, pop-header-only, pop-delete, pop-body-lines, - pop-proxy-server, pop-proxy-port, - imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port, - imap-user, imap-auth, imap-auth-list, - imap-size, imap-header-only, imap-delete, - imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word, - imap-proxy-server, imap-proxy-port, - nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port, - nntp-user, nntp-size, nntp-header-only, - nntp-msgid-user, nntp-msgid-domain, - ssl-cert-directory, ssl-verify-level, - inbox-folder, queue-folder, postq-folder, - mailbox-type, mbox-command, mbox-command-arg, - signature-file, content-type, refile-guess-alist, - spam-prog, spam-prog-args, ham-prog, ham-prog-args, - use-old-pgp, pgp-signer, smime-signer, privacy-method, - protect-privacy-always, protect-privacy-always-type, - protect-privacy-encrypted, protect-privacy-encrypted-type, - protect-privacy-with-old-pgp-signature, - use-format-flowed - -A value for From: is made of 'name', 'user', and 'mail-domain' -according to the following rule: - - from = name - -Unless you set `mew-from-list' by yourself, `mew-from-list' is -automatically set collecting 'from' for each "case" according to the -rule above. see *Note cheader::. - -Cases configured in `mew-config-alist' can be specified to the -"case". When Mew boots up, both the "case" is "default". - -If you want to change the "case", type `C'. You can use completion by -`TAB' and circular completion by `C-cTAB'. - -If the "case" is not "default", they are displayed in the mode line of -Summary mode. The following is an example where the "case" is "home". - - (Summary home) - - -In Draft mode, if the "case" is not "default", the value is displayed -in mode line. The following is an example that the "case" is "home". - - (Draft home) - -To change the "case" of a draft in Draft mode, use `C-cC-o'. Its -header is dynamically modified according to the value of the -'mail-domain' key and the 'header-alist' key. Note that the "case" is -a local variable of the Draft mode. - -You can automatically set the "case" in Draft mode. - -`mew-case-guess-when-prepared' - If this variable is `t', the "case" is automatically guessed - according `mew-case-guess-alist' when a draft is prepared. The - default is `t'. -`mew-case-guess-when-composed' - If this variable is `t', the "case" is automatically guessed - according `mew-case-guess-alist' when a message is composed. The - default is `nil'. -`mew-case-guess-when-replied' - If this variable is `t', the "case" is automatically guessed - according `mew-case-guess-when-replied-alist' when a draft is - prepared by replying. The default is `t'. - -The syntax of `mew-case-guess-alist' and -`mew-case-guess-when-replied-alist' is the same as -`mew-refile-guess-alist'. For more information, please refer to -*Note by-alist::. - -When typing `C-cC-c' in Draft mode to send a draft, the "case" in -Draft mode is used to determine an SMTP/NNTP server, etc. When typing -`C-cC-c' in Summary mode to flush messages in +queue/+postq, the -"case" in Summary mode is used even if it is different from the -one which was used in Draft mode. `C-uC-cC-c' in Summary mode let -you specify the "case" to flush messages in +queue/postq. - - -The following is a summary of commands concerned with the "case". - -`C' - In Summary mode, set the "case". -`C-cC-o' - In Draft mode, set the "case" of a draft. - - - -File: mew.info, Node: config2, Next: custom-misc, Prev: config, Up: Customize - -The format of configuration -=========================== - -In Mew 6.1, configuration format of "mew.el" is improved. You can use -a new format as well as the old format. - - - In the old format, sometime "." appears. In the new fomat, no "." - appears at all. For instance, you can write ("foo" "bar") instead - of ("foo" . "bar"). - - In the old format, a numeric port is specified as string. An - example is "25". In the new format, you can write it as - integer. An example is 25. The string is still valid. An example - is "smtp". - - In the old format, the cases and the keys of `mew-config-alist' - are written as string. In the new format, you can specify them as - symbol. - -Here is an example of the new format: - - (setq mew-config-alist - '((home - (imap-server "imap.example.org") - (imap-ssl t) - (imap-ssl-port 993) - (smtp-server "smtp.example.org") - (smtp-port "submission")))) - -Compare this with the following old one: - - (setq mew-config-alist - '(("home" - ("imap-server" . "imap.example.org") - ("imap-ssl" . t) - ("imap-ssl-port" . "993") - ("smtp-server" . "smtp.example.org") - ("smtp-port" . "submission")))) - -Again, the old format is still valid. You can also mix the new format -and the old format. - - - -File: mew.info, Node: custom-misc, Next: Tips, Prev: config2, Up: Customize - -Miscellaneous -============= - -In a certain environment, it would be useful to encode a file with SAMBA -encoding when saving an attached file. For this, set -`mew-use-samba-encoding' to `t'. You can set -`mew-cs-samba' to a character set for the file name. The default is -`shift_jis'. - -You can print the current message by typing `#' in Summary mode. A -function for printing can be set to `mew-print-function'. Since its -default value is `ps-print-buffer', a message is converted into a -PostScript file before sent to a printer. You can set your own print -function as follows: - - (setq mew-print-function 'my-print-function) - -You can set fields in a header to be printed to -`mew-field-for-printing'. Its default value is as follows: - - '("Subject:" "From:" "To:" "Cc:" "Date:") - -For instance, if you want to print Subject:, From:, and Date: only, -configure as follows: - - (setq mew-field-for-printing '("Subject:" "From:" "Date:")) - - - - -File: mew.info, Node: Tips, Next: region, Prev: custom-misc, Up: Top - -Advanced usage -************** - -* Menu: - -* region:: Region -* visiting:: Visiting another buffer -* SSH:: Secure SHell -* SSL:: Secure Socket Layer -* TLS:: Transport Layer Security -* spam:: Spam messages -* spam2:: Spam messages (2) -* addr-warn:: Warning addresses -* biff:: Biff -* edit:: Edit mode - - - -File: mew.info, Node: region, Next: visiting, Prev: Tips, Up: Tips - -Region -====== - -In Summary mode, there are commands which work for a region if called -with `C-u'. If a visible region is specified, these commands work for -the region without `C-u'. - -For Emacs, you can use the visible region feature by putting the -following into your "~/.emacs". - - (transient-mark-mode 1) - -Here is a summary of such commands. - - `?', `/', `tt', `x', `lx', `ma', `Md', `S', `mlc', `mli', `*', `$', `d', `u' - -Also you can specify a repeat count before you call `*', `$', `d', and -`u'. For example, typing `3d' puts the `*' mark onto three -messages. You don't have to type `C-u' before the number. - - - -File: mew.info, Node: visiting, Next: SSH, Prev: region, Up: Tips - -Visiting another buffer -======================= - -If you want to move to +queue after making a message and putting it to -+queue with `C-cC-m' in Draft mode, set -`mew-visit-queue-after-sending' to `t'. - -If you want to visit to an appropriate inbox after setting the "case" -with `C' in Summary mode, set -`mew-visit-inbox-after-setting-case' to `t'. - -If you want to move from Summary mode to a draft (Draft mode) whose -name is the smallest number, type `C-cC-o'. - - - -File: mew.info, Node: SSH, Next: SSL, Prev: visiting, Up: Tips - -Secure SHell -============ - -Mew supports SSH version 1 and version 2 and OpenSSH for SSH. You must -execute "ssh" on the command and obtain server's public key before you -use Mew with SSH. That is, you should set up so that you can login the -server with your user password or with the password to decrypt the -secret key of the local machine. Of source, you can omit the password -to decrypt the secret key if you use "ssh-agent". - -After that, you should configure SSH variables relating to each -protocol. For example, if you want to use POP over SSH, set -`mew-pop-ssh-server' to your SSH server name. - -While a connection is protected by SSH, a picture of a lock is shown -in the mode line. - -The implementation of Mew does not allow to use both SSH and SSL/TLS -at the same time. If you need to use SSL/TLS over an SSH tunnel, -please configure SSL/TLS only with Mew and set up an SSH tunnel on a -command line. - - - -File: mew.info, Node: SSL, Next: TLS, Prev: SSH, Up: Tips - -Secure Socket Layer -=================== - -Before you use SSL, you should understand the trust model of -certificate authorities (CA). Currently, Mew supports "stunnel" -version 3 and version 4 for SSL. - -Before you use Mew with SSL, you must be sure that an SSL connection -can be established to your SSL server. Since "stunnel" is linked to -the "openssl" library, you should understand "openssl". - -Suppose we use "~/.certs" as a directory where certificates of trusted -CAs are contained. You need to copy PEM-format certificates embedded -in the source of "openssl" to this director. Each name should be -".0". - -Here we call a sample CA certificate "ca.pem". You can calculate - as follows: - - % openssl x509 -hash -noout -in ca.pem - -To copy the certificate, do as follows: - - % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0 - -The certificates in the source of "openssl" do not cover all CAs. If -the certificate of your SSL server is signed by another CA, you must -copy the certificate of the CA to the directory. You may be able to -find appropriate certificate from the following page: - - http://www.columbia.edu/~ariel/good-certs/ns45/ - -There are two important Mew variables to control "stunnel". -`mew-ssl-cert-directory' is the directory where you install -certificates of trusted CAs. It's default value if "~/.certs". Also, -you can set the verification level with `mew-ssl-verify-level'. It's -default to 1. The meanings of the values are as follows: - -0 - No verification. -1 - Verify server's certificate if present. If verification failed, - an SSL/TLS connection is not created. If not present, an SSL/TLS - connection is created. -2 - Verify server's certificate. If verification failed, an SSL/TLS - connection is not created. If not present, an SSL/TLS connection - is not created. -3 - Verify server's certificate which locally installed (not one from - the server). - -Then configure SSL-related variables of each protocol. For example, if -you want to use POP over SSL, set `mew-pop-ssl' to `t'. -Also, if its port is not a standard one, configure -`mew-pop-ssl-port'. - - (setq mew-pop-ssl t) - -To use SSL for SMTP, configure as follows: - - (setq mew-smtp-ssl t) - -While a connection is protected by SSL, a picture of a lock is shown -in the mode line. - - - -File: mew.info, Node: TLS, Next: spam, Prev: SSL, Up: Tips - -Transport Layer Security -======================== - -Mew can use TLS instead of SSL. To enable TLS, Mew relies on -"stunnel", too. So, before using TLS, you should configure -according to the explanations in *Note SSL::. - -Then, set the SSL port to the same one of the protocol to be -protected. For instance, configure as follows for POP: - - ;; mew-pop-port is default to "pop3" (110) - (setq mew-pop-ssl t) - (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995) - -That is, if the SSL port is the same as the port of the protocol to be -protected, TLS is used. Otherwise, SSL is used. - -The following is an example to protect Message Submission with TLS. - - (setq mew-smtp-port "submission") ;; The default is "smtp" (25) - (setq mew-smtp-ssl t) - (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465 - - - -File: mew.info, Node: spam, Next: spam2, Prev: TLS, Up: Tips - -Spam messages -============= - -(1) In the case where a spam filter is running on your POP server or -your IMAP server. - -You can put the `D' mark to spam messages while you are retrieving -messages in +inbox or you are scanning messages in $inbox/%inbox. - -If you use "bogofilter", put the following to your "~/.mew.el". - - (defun mew-spam-bogofilter (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) ?D))) - - (setq mew-inbox-action-alist - '(("X-Bogosity:" mew-spam-bogofilter))) - -If you want to put the `o' mark so as to be refiled to the +spam -folder, instead of putting to th `D' mark, you should program the -function as follows: - - (defun mew-spam-bogofilter (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) "+spam"))) - -If you use "spamassassin", put the following to your "~/.mew.el". - - (setq mew-spam: "X-Spam-Flag:") - (defun mew-spam-assassin (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) ?D))) - - (setq mew-inbox-action-alist - '(("X-Spam-Flag:" mew-spam-assassin))) - -In the case where you want to use bsfilter, see a document in the -bsfilter package. - - -(2) In the case where a spam filter is running in your IMAP server. - -You can delete or move spam messages while you are scanning %inbox. -If you use "bogofilter", put the following to your "~/.mew.el". - - (setq mew-imap-spam-field "X-Bogosity") - (setq mew-imap-spam-word "Yes") - -If `mew-imap-spam-folder' or `mew-imap-trash-folder' is defined, spam -messages are moved to the folder. Otherwise, they are removed. - -(3) In the case where you installed "bogofilter" in your local -machine, you can put the `*' mark to spam messages. First you need to -install the following script, say "bogo": - - #!/bin/sh - - bogofilter -v -T -B $* | grep S - -Type `?' and `RET', then specify "bogo", and spam messages are marked -with `*'. After that, you may want to process them with `md' + `x'. - -(4) In the case where you use POP and a spam filter does not run on -the POP server but you want to mark spam messages when retrieving - -Since bsfilter can be a POP proxy server, you can implement your -policy. See a document in the bsfilter package. - - - -File: mew.info, Node: spam2, Next: addr-warn, Prev: spam, Up: Tips - -Spam messages(2) -================ - -If you want to let your filter learn the current message in Summary as -a spam, type `ls'. Likewise type `lh' to let your filter learn it as a -ham (non-spam). - -To use these commands, you need to configure four variables in -advance. We consider bogofilter as an example and see three cases. - -(2) To let your local filter learn: - - (setq mew-spam-prog "bogofilter") - (setq mew-spam-prog-args '("-s" "-N" "-v")) - (setq mew-ham-prog "bogofilter") - (setq mew-ham-prog-args '("-n" "-S" "-v"))) - -(2) To let your filter on your learn via SSH: - - (setq mew-spam-prog "ssh") - (setq mew-spam-prog-args '("" "bogofilter" "-s" "-N" "-v")) - (setq mew-ham-prog "ssh") - (setq mew-ham-prog-args '("" "bogofilter" "-n" "-S" "-v"))) - -(3) To pass through your with SSH and to let your filter on -your learn via SSH: - - (setq mew-spam-prog "ssh") - (setq mew-spam-prog-args '("-A" "" "ssh" "" "bogofilter" "-s" "-N" "-v")) - (setq mew-ham-prog "ssh") - (setq mew-ham-prog-args '("-A" "" "ssh" "" "bogofilter" "-n" "-S" "-v"))) - -If you use SSH, you need to configure related hosts so that you can -login them without passwords. - - - -File: mew.info, Node: addr-warn, Next: biff, Prev: spam2, Up: Tips - -Warning addresses -================= - -Suppose you are writing a message which must be closed in your -company. You might write an non-employee's address by mistake. If you -tells your company's domains, for instance, to Mew, it turns -non-employee's addresses to red. - -There are four variables to decide which address should trun red. -They are all a list of strings. Mew takes the following rules: - - 1. If an address is specified in `mew-safe-addresses', no warning. - 2. If the address is specified in `mew-warn-addresses', warning. - 3. If its domain is specified in `mew-safe-domains', no warning. - 4. If its domain is specified in `mew-warn-domains', warning. - 5. If either `mew-warn-addresses' or `mew-safe-domains' defined, - warning. - 6. No warning. - -Here is an example that an address whose domain is not "@example.org" -turns red. - - (setq mew-safe-domains '("example.org")) - -If you want "customers@example.org" to turn red even its domain is -"@example.org", add the following line. - - (setq mew-warn-addresses '("customers@example.org")) - - - -File: mew.info, Node: biff, Next: edit, Prev: addr-warn, Up: Tips - -Biff -==== - -The functionality to check new messages is called biff. With the -following configuration Mew sees how many new messages have arrived -every 5 minutes. - - (setq mew-use-biff t) - -If one or more new messages exist, the total number is displayed in -the mode line. - -The server and the protocol, which Mew checks, are decided according -to `mew-proto' and the "case" (`mew-case') on boot time. - -With the following configuration, Mew beeps when the number of new -messages changes from zero to one or more. - - (setq mew-use-biff-bell t) - -To change the interval time of biff, set `mew-biff-interval'. Below -is an example to set it to 10 minutes. - - (setq mew-biff-interval 10) - - - -File: mew.info, Node: edit, Next: Convention, Prev: biff, Up: Tips - -Edit -==== - -Edit mode is a mode to edit a message to generate another new message. -The followings are typical examples: - - - Saving a new message with big attachments removed - - Saving a decrypted message whose original one is encrypted with - PGP/MIME or S/MIME - -To edit a current message in Edit mode, type `M-e'. Then, a new draft -is prepared like Draft mode. In Edit mode, you can edit a message as -if you were in Draft mode. - -To save edited message to a new message, type `C-cC-c' or -`C-cC-m'. They are the exactly same command. To execute one of them, -you are asked a folder to save the new message. - -Please take care that you may confuse this command as retry sending -(*Note sum-write::). Retry seinding is to send a message after editing -while Edit mode is to save a message after modifying. - -The following is summary of commands relating to Edit mode. To enter -Edit mode from Summary mode, use the following command. - -`M-e' - Entering Edit mode with the current message. - -The following is a summary of commands in Edit mode. - -`C-cC-c' - Saving the edited message to a new message. -`C-cC-m' - The same as `C-cC-c' -`Other commands' - The same as the other commands in Edit mode - - - - -File: mew.info, Node: Convention, Next: Implementation, Prev: edit, Up: Top - -E-mail convention -***************** - -When you exchange messages with other people, you should obey minimum -manner. It gives a bad impression to the people if you violate the -manner since such messages are hard to read. We always should try to -write concise yet comprehensive explanations and make an effort to -make receivers well-understood. - -We should take good care of the following items. - -Fill To: and Cc: fields precisely - To: is for target receivers and Cc: is for those who are received - for their information. If his address is not on To:, he might - skip to read the message. We should take care not to deliver to - wrong people by mistaking the addresses. - -The number of addresses To: and Cc: should be small - It is discouraged to specify a lot of mail addresses on To: and - Cc:. You should create a mailing-list instead. Or, if necessary, - you should make the destination anonymous (*Note anonymous::). - -Write a short and clear summary of body in Subject: - There are people who decide to read contents from their - Subject:. So, they might skip messages with improper Subject:. We - should not write a long subject since it is hard to read. - -Cite only necessary sentences - You should not bother to remove unnecessary sentences. With Mew, - citation must be a piece of cake. - -Make your signature simple - A long signature is just self-satisfaction. - -Do not send prank messages - I do not want to warn this kind of stuff. Nonetheless, someone - sends Happy or Unhappy messages to others. You should understand - that people doubt your character. - -Attach data files that the receivers can read - It is text only that you can send without any agreement with the - receivers. If you want to send data files other than text, you - should make an agreement with the receivers. To mailing-list, you - should send text only. - -If you wish to learn manner on the Internet more comprehensively, -please refer to RFC1855. - - - - -File: mew.info, Node: Implementation, Next: Avail, Prev: Convention, Up: Top - -Implementation Issues -********************* - -Why are "mewl" and "mewencode" necessary? - With Mew, you can read throw messages in Summary mode while you - are retrieving messages or listing the messages again. This means - that multiple control flows of program are necessary. To make - multiple control flows by Emacs, the only way is to make a TCP - connection or to execute sub-process (Emacs Lisp does NOT provide - a feature of light weight process). For POP and SMTP, Mew makes a - TCP connection, so they are not a problem. However, to list the - messages in Summary mode again, we have to execute a - command. This is why "mewl" exists. The reason why "mewencode" - exists is just for speed. When I programmed MIME encoding by - Emacs Lisp in several ways, they are too slow to use. So, I - decided to continue to use "mewencode". (If Base64 is implemented - by Emacs, Mew uses the native function.) - -Why does the cursor jump onto the end of line when searching(`C-s', `C-r')? - Thread informations are not displayed in Summary mode. This is - because the "invisible" property is dynamically put onto them - when displayed. Strings with this property is not a target of the - string search. But, thread informations of undisplayed lines do - not have this property, so the string search targets them. Then a - matched line is displayed and the "invisible" property is - put. So, it seems to you that the string search matches the end - of the line. Mew puts the "invisible" property for all lines in - Summary mode in background while there are no user key - inputs. When this word is finished, the `*' mark in the right - side of the mode line in Summary mode disappears. In this - situation, string search works exactly as you expect. - -MS's mailers can handle file names well if I attach files with Mew 4.3 - MS's mailers use "non-standard MS original" encoding to encode - file names. MS mailers should migrate to the standard - encoding. I repeatedly asked MS to do so, but they did not. So, - Mew took the following workaround: Mew basically uses the - standard encoding. In addition, Mew add "MS original parameter" - with file names encoded with "MS original" encoding. - - - - - -File: mew.info, Node: Avail, Next: obtain, Prev: Implementation, Up: Top - -Availability and mailing-list -***************************** - -This chapter describes how to get Mew and related mailing-lists. - -* Menu: - -* obtain:: How to get Mew? -* ml:: Mailing list - - - -File: mew.info, Node: obtain, Next: ml, Prev: Avail, Up: Avail - -How to get Mew? -=============== - -The latest Mew is available from the following repository. - - http://www.Mew.org/Release/ - -If you want to know about Git versions of Mew, please refer to: - - http://www.mew.org/en/git/ - - - -File: mew.info, Node: ml, Next: Copyright, Prev: obtain, Up: Avail - -Mailing list -============ - - -If you want to receive release announcement, please subscribe yourself -to mew-release. - - http://www.mew.org/mailman/listinfo/mew-release - -If you want to ask questions and/or discuss features in English, -please subscribe yourself to mew-int. - - http://www.mew.org/mailman/listinfo/mew-int - - - - -File: mew.info, Node: Copyright, Next: Variable Index, Prev: ml, Up: Top - -Copyright -********* - -Mew conforms the following copyright. - -Copyright (C) 1994-2013 Mew developing team. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - 3. Neither the name of the team nor the names of its contributors - may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -If you wish to distribute Mew in CD or something, please let me -know. I do not go mad even if you do not tell me but I'm very glad if -you do so. I never have declined requirements. - -The copyright of this manual belongs to the author. Permission is -granted to copy, modify, redistribute this manual but no warranty. - - - - -File: mew.info, Node: Variable Index, Next: Key Index, Prev: Copyright, Up: Top - -Variable Index -************** - - -* Menu: - -* mail-user-agent: Composing. (line 5) -* mail-user-agent: configuration. (line 5) -* mail-user-agent: start. (line 5) -* mew-addrbook-for-cite-label: draft-mode. (line 5) -* mew-addrbook-for-cite-prefix: draft-mode. (line 5) -* mew-addrbook-mode-hook: hooks. -* mew-addrbook-override-by-newone: auto-alias. (line 5) -* mew-ask-charset: charset. (line 5) -* mew-ask-fcc: send. (line 5) -* mew-ask-subject: send. (line 5) -* mew-auto-flush-queue: retrieving. (line 5) -* mew-auto-get: start. (line 5) -* mew-before-cite-hook: hooks. -* mew-biff-interval: biff. (line 5) -* mew-case-guess-alist: config. (line 5) -* mew-case-guess-when-composed: config. -* mew-case-guess-when-prepared: config. -* mew-case-guess-when-replied-alist: config. (line 5) -* mew-case-guess-when-replied: config. -* mew-cc: draft-mode. (line 5) -* mew-charset-latin: charset. (line 5) -* mew-charset-m17n: charset. (line 5) -* mew-cite-fields: draft-mode. (line 5) -* mew-cite-format: draft-mode. (line 5) -* mew-cite-hook: hooks. -* mew-cite-prefix: draft-mode. (line 5) -* mew-cite-prefix-function: draft-mode. (line 5) -* mew-config-alist: config. (line 5) -* mew-config-alist: config2. (line 5) -* mew-cs-samba: custom-misc. (line 5) -* mew-cursor-mark: highlight. (line 5) -* mew-dcc: draft-mode. (line 5) -* mew-debug: status-update. (line 5) -* mew-decode-broken: analysis. -* mew-decode-broken: status-update. (line 5) -* mew-decode-quoted: invalid. (line 5) -* mew-delete-unread-mark-by-mark: unread mark. (line 5) -* mew-draft-mode-edit-again-hook: hooks. -* mew-draft-mode-hook: hooks. -* mew-draft-mode-newdraft-hook: hooks. -* mew-draft-mode-reedit-draft-hook: hooks. -* mew-draft-mode-reedit-hook: hooks. -* mew-draft-mode-reedit-queue-hook: hooks. -* mew-draft-privacy-method: shortcut. (line 5) -* mew-end-of-message-string: multipart. (line 5) -* mew-end-of-part-string: multipart. (line 5) -* mew-env-hook: hooks. -* mew-field-delete-for-forwarding: forward. (line 5) -* mew-field-for-printing: custom-misc. (line 5) -* mew-fields: header. (line 5) -* mew-file-max-size: analysis. -* mew-flowed-auto-wrap: longline. (line 5) -* mew-flowed-fold-length: longline. (line 5) -* mew-flowed-fold-threshold: longline. (line 5) -* mew-from-list: cheader. (line 5) -* mew-ham-prog-args: spam2. (line 5) -* mew-ham-prog: spam2. (line 5) -* mew-header-alist: draft-mode. (line 5) -* mew-header-max-length: analysis. -* mew-header-mode-hook: hooks. -* mew-header-veil-count: features. (line 5) -* mew-highlight-body-max-size: highlight. (line 5) -* mew-imap-auth: imap. -* mew-imap-auth-list: imap. -* mew-imap-delete: imap. -* mew-imap-delete: retrieving. (line 5) -* mew-imap-header-only: imap. -* mew-imap-header-only: retrieving. (line 5) -* mew-imap-sentinel-hook: hooks. -* mew-imap-sentinel-hook: hooks. -* mew-imap-sentinel-non-biff-hook: hooks. -* mew-imap-server: configuration. (line 5) -* mew-imap-server: imap. -* mew-imap-size: imap. -* mew-imap-spam-field: spam. (line 5) -* mew-imap-spam-folder: spam. (line 5) -* mew-imap-spam-word: spam. (line 5) -* mew-imap-ssh-server: imap. -* mew-imap-ssl: imap. -* mew-imap-ssl-port: imap. -* mew-imap-trash-folder: delete mark. (line 5) -* mew-imap-trash-folder-list: delete mark. (line 5) -* mew-imap-user: imap. -* mew-inbox-action-alist: spam. (line 5) -* mew-init-hook: hooks. -* mew-lisp-max-length: auto-alias. (line 5) -* mew-lisp-max-length: by-from. (line 5) -* mew-lisp-max-length: by-thread. (line 5) -* mew-mail-address-list: reply. (line 5) -* mew-mail-domain-list: cheader. (line 5) -* mew-mailbox-type: config. (line 5) -* mew-mailbox-type: configuration. (line 5) -* mew-mailbox-type: retrieving. (line 5) -* mew-mailbox-type: start. (line 5) -* mew-make-message-hook: hooks. -* mew-mbox-command-arg: configuration. (line 5) -* mew-mbox-command: configuration. (line 5) -* mew-message-hook: hooks. -* mew-message-mode-hook: hooks. -* mew-mime-multipart-alternative-list: message-mode. (line 5) -* mew-name: configuration. (line 5) -* mew-nntp-header-only: nntp. -* mew-nntp-header-only: retrieving. (line 5) -* mew-nntp-msgid-domain: nntp. -* mew-nntp-msgid-user: nntp. -* mew-nntp-newsgroup: nntp. -* mew-nntp-sentinel-hook: hooks. -* mew-nntp-server: configuration. (line 5) -* mew-nntp-server: nntp. -* mew-nntp-size: nntp. -* mew-nntp-ssh-server: nntp. -* mew-nntp-ssl: nntp. -* mew-nntp-ssl-port: nntp. -* mew-nntp-user: nntp. -* mew-nntp2-flush-hook: hooks. -* mew-nntp2-sentinel-hook: hooks. -* mew-pack-hook: hooks. -* mew-pick-pattern-list: condition. (line 5) -* mew-pop-auth-list: pop. -* mew-pop-auth: pop. -* mew-pop-body-lines: pop. -* mew-pop-delete: pop. -* mew-pop-delete: retrieving. (line 5) -* mew-pop-header-only: pop. -* mew-pop-header-only: retrieving. (line 5) -* mew-pop-sentinel-hook: hooks. -* mew-pop-sentinel-non-biff-hook: hooks. -* mew-pop-server: pop. -* mew-pop-size: pop. -* mew-pop-ssh-server: SSH. (line 5) -* mew-pop-ssh-server: pop. -* mew-pop-ssl: SSL. (line 5) -* mew-pop-ssl: pop. -* mew-pop-ssl-port: SSL. (line 5) -* mew-pop-ssl-port: pop. -* mew-pop-user: configuration. (line 5) -* mew-pop-user: pop. -* mew-post-hook: hooks. -* mew-print-function: custom-misc. (line 5) -* mew-print-function: features. (line 5) -* mew-prog-gpg: cipher-viewing. (line 5) -* mew-prog-grep: condition. (line 5) -* mew-prog-grep-opts: condition. (line 5) -* mew-prog-msexcel-ext: message-mode. (line 5) -* mew-prog-msexcel: message-mode. (line 5) -* mew-prog-mspowerpoint-ext: message-mode. (line 5) -* mew-prog-mspowerpoint: message-mode. (line 5) -* mew-prog-msword-ext: message-mode. (line 5) -* mew-prog-msword: message-mode. (line 5) -* mew-prog-pgp: cipher-viewing. (line 5) -* mew-prog-pgp2: cipher-viewing. (line 5) -* mew-prog-pgp5: cipher-viewing. (line 5) -* mew-prog-text/html-ext: message-mode. (line 5) -* mew-protect-privacy-always: shortcut. (line 5) -* mew-protect-privacy-always-type: shortcut. (line 5) -* mew-protect-privacy-encrypted: shortcut. (line 5) -* mew-protect-privacy-encrypted-type: shortcut. (line 5) -* mew-protect-privacy-with-old-pgp-signature: shortcut. (line 5) -* mew-proto: config. (line 5) -* mew-proto: configuration. (line 5) -* mew-proto: start. (line 5) -* mew-quit-hook: hooks. -* mew-real-post-hook: hooks. -* mew-real-send-hook: hooks. -* mew-refile-auto-refile-skip-any-mark: auto-refile. (line 5) -* mew-refile-ctrl-multi: guess-rule. (line 5) -* mew-refile-guess-alist: by-alist. (line 5) -* mew-refile-guess-by-from-learn-hook: hooks. -* mew-refile-guess-control: guess-rule. (line 5) -* mew-refile-guess-from-me-is-special: by-from-folder. (line 5) -* mew-refile-guess-from-me-is-special: by-from. (line 5) -* mew-refile-guess-strip-domainpart: by-default. (line 5) -* mew-reply-all-alist: reply. (line 5) -* mew-reply-fromme-alist: reply. (line 5) -* mew-reply-sender-alist: reply. (line 5) -* mew-safe-addresses: addr-warn. (line 5) -* mew-safe-domains: addr-warn. (line 5) -* mew-scan-sentinel-hook: hooks. -* mew-search-method: dbsearch. (line 5) -* mew-send-hook: hooks. -* mew-signature-as-lastpart: cite. (line 5) -* mew-signature-file: cite. (line 5) -* mew-signature-insert-last: cite. (line 5) -* mew-smtp-auth-list: smtp. -* mew-smtp-flush-hook: hooks. -* mew-smtp-helo-domain: smtp. -* mew-smtp-mail-from: smtp. -* mew-smtp-msgid-domain: smtp. -* mew-smtp-msgid-user: smtp. -* mew-smtp-port: smtp. -* mew-smtp-sentinel-hook: hooks. -* mew-smtp-server: configuration. (line 5) -* mew-smtp-server: smtp. -* mew-smtp-ssh-server: smtp. -* mew-smtp-ssl: SSL. (line 5) -* mew-smtp-ssl-port: smtp. -* mew-smtp-ssl: smtp. -* mew-smtp-user: smtp. -* mew-sort-default-key-alist: sorting. (line 5) -* mew-sort-default-key: sorting. (line 5) -* mew-sort-hook: hooks. -* mew-sort-key-alist: sorting. (line 5) -* mew-spam-prog-args: spam2. (line 5) -* mew-spam-prog: spam2. (line 5) -* mew-spam: spam. (line 5) -* mew-ssl-cert-directory: SSL. (line 5) -* mew-ssl-verify-level: SSL. (line 5) -* mew-status-update-hook: hooks. -* mew-summary-delete-folder-hook: hooks. -* mew-summary-exec-hook: hooks. -* mew-summary-form-extract-rule: summary-mode. (line 5) -* mew-summary-form-from-me-prefix: summary-mode. (line 5) -* mew-summary-form-mark-delete: summary-mode. (line 5) -* mew-summary-form-mark-review: summary-mode. (line 5) -* mew-summary-form-mark-spam: summary-mode. (line 5) -* mew-summary-form: summary-mode. (line 5) -* mew-summary-ls-no-scan-hook: hooks. -* mew-summary-mark-direction: summary-mode. (line 5) -* mew-summary-mode-hook: hooks. -* mew-summary-rename-folder-hook: hooks. -* mew-summary-show-direction: summary-mode. (line 5) -* mew-summary-toggle-disp-msg-hook: hooks. -* mew-suspend-hook: hooks. -* mew-syntax-format-hook: hooks. -* mew-theme-file: highlight. (line 5) -* mew-thread-display-hook: hooks. -* mew-thread-separator: thread. (line 5) -* mew-trash-folder: delete mark. (line 5) -* mew-trash-folder-list: delete mark. (line 5) -* mew-use-8bit: smtp. -* mew-use-8bit: status-update. (line 5) -* mew-use-alternative: analysis. -* mew-use-biff-bell: biff. (line 5) -* mew-use-biff: biff. (line 5) -* mew-use-cached-passwd: password. (line 5) -* mew-use-cursor-mark: highlight. (line 5) -* mew-use-fast-refile: by-folder. (line 5) -* mew-use-format-flowed: longline. (line 5) -* mew-use-full-window: summary-mode. (line 5) -* mew-use-header-veil: features. (line 5) -* mew-use-header-veil: status-update. (line 5) -* mew-use-highlight-body: highlight. (line 5) -* mew-use-highlight-cursor-line: highlight. (line 5) -* mew-use-highlight-header: highlight. (line 5) -* mew-use-highlight-mark: highlight. (line 5) -* mew-use-highlight-mouse-line: highlight. (line 5) -* mew-use-highlight-url: highlight. (line 5) -* mew-use-highlight-x-face: highlight. (line 5) -* mew-use-master-passwd: password. (line 5) -* mew-use-node-folder: by-folder. (line 5) -* mew-use-old-pgp: shortcut. (line 5) -* mew-use-old-pgp: status-update. (line 5) -* mew-use-samba-encoding: custom-misc. (line 5) -* mew-use-smtp-auth: smtp. -* mew-use-text-body: analysis. -* mew-use-text/html: analysis. -* mew-use-text/xml: analysis. -* mew-use-thread-separator: thread. (line 5) -* mew-use-unread-mark: unread mark. (line 5) -* mew-user: configuration. (line 5) -* mew-virtual-mode-hook: hooks. -* mew-visit-inbox-after-setting-case: visiting. (line 5) -* mew-visit-queue-after-sending: visiting. (line 5) -* mew-warn-addresses: addr-warn. (line 5) -* mew-warn-domains: addr-warn. (line 5) -* mew-warning-field-level: status-update. (line 5) -* mew-x-pgp-key-list: cipher-viewing. (line 5) -* read-mail-command: configuration. (line 5) - - - - diff --git a/elpa/mew-20161030.1807/mew.info-5 b/elpa/mew-20161030.1807/mew.info-5 deleted file mode 100644 index 528af1bc..00000000 --- a/elpa/mew-20161030.1807/mew.info-5 +++ /dev/null @@ -1,277 +0,0 @@ -Info file: mew.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew: (mew.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.info, Node: Key Index, Prev: Variable Index, Up: Top - -Key Index -********* - - -* Menu: - -* A (Summary): Composing. (line 5) -* A (Summary): reply. (line 5) -* A (Summary): sum-write. (line 5) -* B (Attach): mark-b-comp. (line 5) -* B (Summary): features. (line 5) -* C (Attach): charset-guess. (line 5) -* C (Attach): mime-comp. (line 5) -* C (Summary): features. (line 5) -* C-b (Attach): mime-comp. (line 5) -* C-cC-a (Draft): mime-comp. (line 5) -* C-cC-a (Summary): addrbook. (line 5) -* C-cC-a (Summary): features. (line 5) -* C-cC-b (Draft): shortcut. (line 5) -* C-cC-c (Addrbook): addrbook. (line 5) -* C-cC-c (Draft): send. (line 5) -* C-cC-c (Edit): edit. (line 5) -* C-cC-c (Header): resend. (line 5) -* C-cC-c (Summary): off-line. (line 5) -* C-cC-c (Summary): send. (line 5) -* C-cC-e (Draft): shortcut. (line 5) -* C-cC-e (Summary): message-mode. (line 5) -* C-cC-f (Draft): longline. (line 5) -* C-cC-f (Summary): cipher-viewing. (line 5) -* C-cC-l (Draft): cite. (line 5) -* C-cC-l (Summary): invalid. (line 5) -* C-cC-m (Draft): send. (line 5) -* C-cC-m (Edit): edit. (line 5) -* C-cC-m (Header): resend. (line 5) -* C-cC-o (Draft): config. (line 5) -* C-cC-o (Summary): visiting. (line 5) -* C-cC-pC-a (Draft): shortcut. (line 5) -* C-cC-pC-e (Draft): shortcut. (line 5) -* C-cC-pC-f (Draft): longline. (line 5) -* C-cC-pC-m (Draft): shortcut. (line 5) -* C-cC-q (Addrbook): Quit. (line 5) -* C-cC-q (Addrbook): addrbook. (line 5) -* C-cC-q (Draft): Quit. (line 5) -* C-cC-q (Header): Quit. (line 5) -* C-cC-q (Summary): Quit. (line 5) -* C-cC-r (Draft): shortcut. (line 5) -* C-cC-r (Summary): features. (line 5) -* C-cC-s (Draft): shortcut. (line 5) -* C-cC-s (Summary): features. (line 5) -* C-cC-t (Draft): cite. (line 5) -* C-cC-v (Summary): cipher-viewing. (line 5) -* C-cC-v (Summary): features. (line 5) -* C-cC-y (Draft): cite. (line 5) -* C-cC-z (Summary): cipher-viewing. (line 5) -* C-cC-z (Summary): features. (line 5) -* C-cTAB (Draft): cheader. (line 5) -* C-cTAB (Draft): cite. (line 5) -* C-cTAB (Summary): analysis. (line 5) -* C-f (Attach): mime-comp. (line 5) -* C-n (Attach): mime-comp. (line 5) -* C-n (Summary): singlepart. (line 5) -* C-p (Attach): mime-comp. (line 5) -* C-p (Summary): singlepart. (line 5) -* C-u: (Summary): analysis. (line 5) -* C-u. (Summary): analysis. (line 5) -* C-u. (Summary): invalid. (line 5) -* C-u/ (Summary): search. (line 5) -* C-u? (Summary): search. (line 5) -* C-uA (Summary): reply. (line 5) -* C-uC-cC-a (Summary): addrbook. (line 5) -* C-uC-cC-e (Summary): message-mode. (line 5) -* C-uC-cC-f (Summary): cipher-viewing. (line 5) -* C-uC-cC-l (Summary): invalid. (line 5) -* C-uD (Summary): delete mark. (line 5) -* C-uD (Summary): features. (line 5) -* C-uM-n (Summary): keyword. (line 5) -* C-uM-o (Summary): auto-refile. (line 5) -* C-uM-p (Summary): keyword. (line 5) -* C-uM-x mew: start. (line 5) -* C-uSPC (Summary): singlepart. (line 5) -* C-uZ (Summary): status-update. (line 5) -* C-ua (Summary): reply. (line 5) -* C-uj (Summary): singlepart. (line 5) -* C-uk/ (Summary): search. (line 5) -* C-ukI (Summary): dialog. (line 5) -* C-umI (Summary): target mark. (line 5) -* C-un (Summary): singlepart. (line 5) -* C-up (Summary): singlepart. (line 5) -* C-us (Summary): retrieving. (line 5) -* C-utt (Summary): thread. (line 5) -* C-uw (Summary): sum-write. (line 5) -* C-x RET l: charset-guess. (line 5) -* C-xm: Composing. (line 5) -* C-xm: start. (line 5) -* D (Attach): mime-comp. (line 5) -* D (Summary): delete mark. (line 5) -* D (Summary): features. (line 5) -* DEL (Summary): singlepart. (line 5) -* E (Attach): mark-b-comp. (line 5) -* E (Summary): sum-write. (line 5) -* F (Attach): mime-comp. (line 5) -* F (Summary): Composing. (line 5) -* F (Summary): forward. (line 5) -* F (Summary): sum-write. (line 5) -* F (Summary): target mark. (line 5) -* G (Attach): mark-b-comp. (line 5) -* I (Attach): charset-guess. (line 5) -* I (Summary): retrieving. (line 5) -* J (Summary): target mark. (line 5) -* M-RET (Summary): singlepart. (line 5) -* M-\ (Summary): target mark. (line 5) -* M* (Summary): unmark. (line 5) -* M-b (Summary): target mark. (line 5) -* M-d (Summary): delete mark. (line 5) -* M-e (Attach): mark-b-comp. (line 5) -* M-e: edit. (line 5) -* M-l (Summary): features. (line 5) -* M-n (Summary): keyword. (line 5) -* M-o (Summary): auto-refile. (line 5) -* M-p (Summary): keyword. (line 5) -* M-s (Attach): mark-b-comp. (line 5) -* M-s (Summary): sorting. (line 5) -* M-t (Summary): target mark. (line 5) -* M-u: unread mark. (line 5) -* M-x mew: Viewing. (line 5) -* M-x mew-send: Composing. (line 5) -* M-x mew-send: start. (line 5) -* M-x mew: start. (line 5) -* Md (Summary): delete mark. (line 5) -* N (Summary): target mark. (line 5) -* P (Attach): mime-comp. (line 5) -* P (Summary): target mark. (line 5) -* Q (Attach): mark-b-comp. (line 5) -* Q (Summary): Quit. (line 5) -* RET (Summary): singlepart. (line 5) -* Rd (Summary): features. (line 5) -* Rr (Summary): features. (line 5) -* S (Attach): mark-b-comp. (line 5) -* S (Summary): sorting. (line 5) -* SPC (Summary): singlepart. (line 5) -* : (Summary): analysis. (line 5) -* , (Summary): analysis. (line 5) -* . (Summary): analysis. (line 5) -* ; (Summary): features. (line 5) -* = (Summary): features. (line 5) -* | (Summary): features. (line 5) -* # (Summary): features. (line 5) -* _ (Summary): features. (line 5) -* _ (Summary): longline. (line 5) -* / (Summary): search. (line 5) -* ? (Summary): search. (line 5) -* - (Summary): singlepart. (line 5) -* * (Summary): target mark. (line 5) -* T (Attach): mime-comp. (line 5) -* TAB (Draft): header. (line 5) -* U (Attach): mark-b-comp. (line 5) -* U (Summary): unmark. (line 5) -* V (Summary): dialog. (line 5) -* ) (Virtual): thread. (line 5) -* ( (Virtual): thread. (line 5) -* & (Virtual): thread. (line 5) -* ^ (Virtual): thread. (line 5) -* W (Summary): resend. (line 5) -* W (Summary): sum-write. (line 5) -* Z (Attach): mark-b-comp. (line 5) -* Z (Summary): auto-alias. (line 5) -* Z (Summary): status-update. (line 5) -* a (Attach): mime-comp. (line 5) -* a (Summary): Composing. (line 5) -* a (Summary): reply. (line 5) -* a (Summary): sum-write. (line 5) -* b (Summary): features. (line 5) -* c (Attach): mime-comp. (line 5) -* d (Attach): mime-comp. (line 5) -* d (Summary): delete mark. (line 5) -* e (Attach): mime-comp. (line 5) -* f (Attach): mime-comp. (line 5) -* f (Summary): Composing. (line 5) -* f (Summary): forward. (line 5) -* f (Summary): sum-write. (line 5) -* g (Summary): moving. (line 5) -* i (Attach): mime-comp. (line 5) -* i (Summary): retrieving. (line 5) -* i (Summary): send. (line 5) -* j (Summary): singlepart. (line 5) -* k/ (Summary): search. (line 5) -* k? (Summary): search. (line 5) -* kI (Summary): dialog. (line 5) -* kM: dbsearch. (line 5) -* kc: dbsearch. (line 5) -* km: dbsearch. (line 5) -* lc (Summary): copy-msg. (line 5) -* lh (Summary): spam2. (line 5) -* li (Summary): copy-msg. (line 5) -* ls (Summary): spam2. (line 5) -* lx: off-line. (line 5) -* m (Attach): mime-comp. (line 5) -* m* (Summary): mark change. (line 5) -* m$ (Summary): mark change. (line 5) -* m*: escape mark. (line 5) -* m$: escape mark. (line 5) -* mI (Summary): target mark. (line 5) -* mM-d (Summary): delete mark. (line 5) -* mM-d (Summary): mark change. (line 5) -* mM-u (Summary): mark change. (line 5) -* ma (Summary): target mark. (line 5) -* mc (Summary): mark change. (line 5) -* md (Summary): delete mark. (line 5) -* md (Summary): mark change. (line 5) -* mlc (Summary): copy-msg. (line 5) -* mli (Summary): copy-msg. (line 5) -* mo (Summary): mark change. (line 5) -* mr (Summary): target mark. (line 5) -* ms (Summary): mark change. (line 5) -* mt (Summary): thread. (line 5) -* mxM-d (Summary): delete mark. (line 5) -* mxd (Summary): delete mark. (line 5) -* n (Summary): singlepart. (line 5) -* o (Summary): refile mark. (line 5) -* p (Attach): mime-comp. (line 5) -* p (Attach): pgp-key. (line 5) -* p (Summary): singlepart. (line 5) -* q (Summary): Quit. (line 5) -* r (Summary): resend. (line 5) -* s (Summary): off-line. (line 5) -* s (Summary): retrieving. (line 5) -* t (Attach): mime-comp. (line 5) -* t (Virtual): thread. (line 5) -* t* (Virtual): thread. (line 5) -* tM-d (Virtual): thread. (line 5) -* tSPC (Virtual): thread. (line 5) -* ta (Virtual): thread. (line 5) -* td (Virtual): thread. (line 5) -* tg (Virtual): thread. (line 5) -* tn (Virtual): thread. (line 5) -* to (Virtual): thread. (line 5) -* tp (Virtual): thread. (line 5) -* tr (Summary): thread. (line 5) -* tt (Summary): thread. (line 5) -* tu (Virtual): thread. (line 5) -* u (Summary): unmark. (line 5) -* v (Summary): features. (line 5) -* w (Summary): Composing. (line 5) -* w (Summary): sum-write. (line 5) -* x (Summary): Marks. (line 5) -* x (Summary): delete mark. (line 5) -* x (Summary): unmark. (line 5) -* y (Attach): mime-comp. (line 5) -* y (Summary): features. (line 5) -* z8 (Summary): status-update. (line 5) -* zSPC: unread mark. (line 5) -* zc (Summary): status-update. (line 5) -* zd (Summary): status-update. (line 5) -* zo (Summary): status-update. (line 5) -* zp (Summary): status-update. (line 5) -* zv (Summary): features. (line 5) -* zv (Summary): status-update. (line 5) -* zw (Summary): status-update. (line 5) -* zz (Summary): message-mode. (line 5) - diff --git a/elpa/mew-20161030.1807/mew.ja.info b/elpa/mew-20161030.1807/mew.ja.info deleted file mode 100644 index ac9a09d6..00000000 --- a/elpa/mew-20161030.1807/mew.ja.info +++ /dev/null @@ -1,130 +0,0 @@ -Info file: mew.ja.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew-J: (mew.ja.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -Indirect: -mew.ja.info-1: 285 -mew.ja.info-2: 50442 -mew.ja.info-3: 101194 - -Tag table: -(Indirect) -Node: Top288 -Node: Overview1325 -Node: characteristic1968 -Node: Emacsen2980 -Node: modes3158 -Node: folder convention3668 -Node: configuration5541 -Node: password7870 -Node: start9334 -Node: Viewing10099 -Node: singlepart11078 -Node: multipart11982 -Node: analysis14247 -Node: cipher-viewing16508 -Node: retrieving19387 -Node: moving21950 -Node: sum-write23515 -Node: features24979 -Node: status-update26553 -Node: invalid27254 -Node: Composing28550 -Node: header30058 -Node: cheader30732 -Node: addr-comp31937 -Node: addrbook32932 -Node: auto-alias35071 -Node: addr-comp136081 -Node: addr-comp237774 -Node: send39135 -Node: cite41245 -Node: mime-comp42646 -Node: charset-guess48225 -Node: longline50445 -Node: reply51581 -Node: forward54586 -Node: resend55178 -Node: shortcut56359 -Node: mark-b-comp59771 -Node: pgp-key62185 -Node: anonymous62760 -Node: Marks63735 -Node: unread mark64878 -Node: delete mark65750 -Node: refile mark67335 -Node: target mark68328 -Node: escape mark69389 -Node: unmark69904 -Node: mark change70521 -Node: sync71386 -Node: off-line72079 -Node: mew-mark73346 -Node: Refile73874 -Node: by-folder75022 -Node: by-alist76203 -Node: by-thread77857 -Node: by-from-folder78473 -Node: by-from79426 -Node: by-newsgroups80637 -Node: by-default80872 -Node: guess-rule81229 -Node: auto-refile82757 -Node: copy-msg84458 -Node: Virtual85327 -Node: selection86445 -Node: sorting86951 -Node: dialog88229 -Node: search88895 -Node: condition89532 -Node: dbsearch91270 -Node: keyword92152 -Node: thread92651 -Node: thread-op93456 -Node: Quit94772 -Node: Customize95195 -Node: summary-mode95883 -Node: message-mode98672 -Node: draft-mode101197 -Node: charset103292 -Node: highlight104918 -Node: hooks106958 -Node: pop110364 -Node: imap111446 -Node: nntp112457 -Node: smtp113576 -Node: config115313 -Node: config2119827 -Node: custom-misc120983 -Node: Tips121700 -Node: region122227 -Node: visiting122736 -Node: SSH123098 -Node: SSL123695 -Node: TLS125251 -Node: spam125962 -Node: spam2127713 -Node: addr-warn128832 -Node: biff129605 -Node: edit130087 -Node: Convention130847 -Node: Implementation131887 -Node: Avail133346 -Node: obtain133595 -Node: ml133819 -Node: Copyright133999 -Node: Variable Index135007 -Node: Key Index150266 - -End tag table diff --git a/elpa/mew-20161030.1807/mew.ja.info-1 b/elpa/mew-20161030.1807/mew.ja.info-1 deleted file mode 100644 index 0868d053..00000000 --- a/elpa/mew-20161030.1807/mew.ja.info-1 +++ /dev/null @@ -1,2065 +0,0 @@ -Info file: mew.ja.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew-J: (mew.ja.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.ja.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir) - -Mew 6.7 マニュアル -****************** - - 山本和彦 - 作成 1996/02/19 - 更新 2015/07/03 - -このマニュアルでは、Mew バージョン 6.7 について解説します。このマニュ -アルの他に、Mew に関する有益な情報は Mew の公式ホームページ -(http://www.Mew.org/)から得られるかもしれません。 - - -* Menu: - -* Overview:: はじめに読んでね -* Viewing:: メッセージを表示する -* Composing:: メッセージを作成する -* Marks:: 愉快なマークたち -* Refile:: 楽々整理整頓 -* Virtual:: 仮想フォルダ -* Quit:: 一休み -* Customize:: カスタマイズ -* Tips:: さらなる一歩 -* Convention:: メッセージの作法 -* Implementation:: 実装について -* Avail:: 入手方法とメーリングリスト -* Copyright:: 著作権について -* Variable Index:: 変数索引 -* Key Index:: キー索引 - - - - -File: mew.ja.info, Node: Overview, Next: characteristic, Prev: Top, Up: Top - -はじめに読んでね -**************** - -Mew とは、テキスト・メールやマルチメディア・メール(MIME)、ニュース、セ -キュリティ機能(PGP、S/MIME、SSH、SSL)を便利に利用するためのユーザイン -ターフェイスです。最新の検索サービスとも連動します。 - -Mew は 「Messaging in the Emacs World」 の略です。先頭の M は大文字で -表記し、「みゅう」と読みます。M で始まるかわいらしい単語を選んだ結果 -Mewになりました。決して漫画の題名や某アイドルの歌、あるいは、関西の会 -社に因んでいるわけではありません。:p - -* Menu: - -* characteristic:: Mew の特長 -* Emacsen:: Emacs のバージョン -* modes:: モード -* folder convention:: フォルダの種類 -* configuration:: 初期設定 -* password:: パスワード -* start:: 起動 - - - - -File: mew.ja.info, Node: characteristic, Next: Emacsen, Prev: Overview, Up: Overview - -Mew の特長 -========== - -Mew バージョン 6.7 の特長を以下に示します。 - - - 複雑な構造を持つメッセージを簡単に表示できます。メッセージを表示 - する作業は、`SPC' を押すだけです。 - - コピー程度のファイルの操作を知っている人ならだれでも簡単に複雑な - メッセージを作成できます。 - - メッセージの一覧表示が終了するまで待たなくても、メッセージを読み - 始められます。 - - Summary モードのメッセージの一覧を保存しているので、フォルダを移 - 動した場合は、更新された部分だけを一覧表示します。 - - メッセージの整頓先を賢く推測します。たくさんメッセージを受け取る - 人は、これがないと生きていけません。 - - Draft モードでは、フィールド名、メールアドレス、氏名、ドメイン名、 - フォルダ名を補完できます。 - - キーワードなどによって、探したいメッセージを簡単に検索できます。 - - PGP や S/MIME で暗号化されたメッセージを自動的に復号化します。ま - た、電子署名を自動的に検証します。 - - MIME の構造を解析したり、PGP や S/MIME の署名を検証したりするのに - は少し時間がかかります。そこで、ユーザがあるメッセージを読んでい - る間に、次のメッセージをあらかじめ処理しておくことで高速性を実現 - しています。解析されたメッセージは、しばらくの間保存されます。 - - PGP や S/MIME を使って、メッセージを簡単に暗号化したり、署名した - りできます。 - - 複数のフォルダを 1 つのフォルダに見せかけられます。 - - メッセージのやり取りの流れを可視化するセレクションやスレッドの機 - 能を備えています。特定のキーワードに合致したメッセージでセレクショ - ンを作り、さらにそのスレッドを作成できます。 - - フォルダ名を入力する場合、フォルダ名の一部をキーとして検索できま - す。 - - - - -File: mew.ja.info, Node: Emacsen, Next: modes, Prev: characteristic, Up: Overview - -Emacs のバージョン -================== - -Emacs 22.3 以降を使って下さい。これらより前のバージョンや XEmacs は、 -サポートしていません。 - - - - -File: mew.ja.info, Node: modes, Next: folder convention, Prev: Emacsen, Up: Overview - -モード -====== - -Mew には次の 7 つのモードがあります。 - -`Summary モード' - メッセージの一覧を表示し選択するモード。 -`Virtual モード' - 単数あるいは複数のフォルダからある条件に合致したメッセージを取り - 出し、仮想的に 1 つのフォルダにしたモード。Summary モードに似てい - る。セレクションやスレッドと呼ばれる。 -`Message モード' - メッセージの内容を表示するモード。 -`Draft モード' - メッセージの送信、返答、転送を準備するためのモード。 -`Header モード' - 既存のメッセージのヘッダのみを編集し送信するためのモード。 -`Edit モード' - 既存のメッセージを編集し、新しいメッセージを作成するためのモード。 -`Addrbook モード' - アドレス帳にエントリを登録するためのモード。 - - - - -File: mew.ja.info, Node: folder convention, Next: configuration, Prev: modes, Up: Overview - -フォルダの種類 -============== - -Mew の用語では、メッセージが届く場所を「メールボックス」と呼びます。メー -ルボックスの種類としては、ローカルのメールボックス、POP サーバ、IMAP -サーバ、および NNTP サーバがあります。 - -また、Mew 自身がメッセージを格納する箱のことを「フォルダ」と呼びます。 -フォルダ名は、一文字の記号からなる修飾子と文字列が連結された形式になっ -ています。たとえば、「+inbox」というフォルダの修飾子は「+」です。 - -Mew のフォルダには、「ローカル・フォルダ」と「リモート・フォルダ」の 2 -種類があります。 - -ローカル・フォルダとは、Mew が動いているコンピュータに「本物」が作られ -るフォルダです。そのフォルダに格納されるメッセージも本物です。(ですか -ら、もしそのフォルダのメッセージを消してしまうと復元できません。) - -ローカル・フォルダの修飾子は "+" です。以下に特殊なローカル・フォルダ -を挙げます。 - -`+inbox' - ローカルのメールボックスや POP サーバに届いたメッセージを、ローカ - ルに移動させて最初に保存するためのローカル・フォルダ。メッセージ - を整理する場合は、"+inbox" から他のローカル・フォルダに移動させる - ことになる。 -`+draft' - 書きかけのメッセージを保存しておくローカル・フォルダ。 -`+queue' - 書き終ってメールの配送に適した書式に変換されたメッセージが溜るロー - カル・フォルダ。"+queue" のメッセージは、いずれ SMTP によって送信 - さる。 -`+postq' - 書き終ってニュースに投稿するのに適した書式に変換されたメッセージ - が溜るローカル・フォルダ。"+postq" のメッセージは、いずれ NNTP に - よって送信される。 - -リモート・フォルダとは、サーバ側にあるフォルダをローカルにコピーしたも -のです。本物のメッセージはあくまでサーバ側にあり、ローカルにはメッセー -ジのコピーがキャッシュされます。 - -利用できるリモート・フォルダの修飾子を以下に示します。 - -`%' - IMAP のフォルダ。例:"%inbox" -`$' - POP サーバのサーバ側のフォルダ。例:"$inbox" (POP サーバのフォル - ダは 1つしかないので、"$" で始まるリモート・フォルダは "$inbox" - のみ。) -`-' - ニュースのニュースグループ。例:"-fj.mail.reader.mew" - -サーバが異なれば、リモート・フォルダの実体も異なります。複数のサーバは、 -ケースという機能を使って指定します。詳しくは、*Note config:: を参照し -て下さい。あるケースに対するリモート・フォルダは、"case:folder" のよう -に、フォルダ名の前にケース名を付けて指定します。ケースが "default" で -ある場合は、"case:" の部分を省略可能です。 - -ケースと修飾子の組は、あるメッセージが属す世界を構成しています。メッセー -ジは、それが属す世界の中を移動できます。受け取ったメッセージは、後で探 -しやすいように、適切なフォルダに移動させて保存します。この整頓の方法に -ついて、*Note Refile:: を参照して下さい。 - -なお、POP サーバには "$inbox" というフォルダしかありませんから、"$" の -世界でメッセージを移動させることはできません。また、ニュースの記事は自 -分のものではありませんから、"-" の世界でもメッセージの移動は不可能です。 - -世界を超えてメッセージを移動させたい場合は、コピーします。ただし、コピー -先はローカル・フォルダに限定されます。この方法は、*Note retrieving:: -で説明されています。 - -フォルダのリストを作成しておくと、フォルダ名に対し補完が利用できて便利 -です。フォルダのリストを作成する方法は、*Note status-update:: を参照し -て下さい。 - - - - -File: mew.ja.info, Node: configuration, Next: password, Prev: folder convention, Up: Overview - -初期設定 -======== - -Mew を起動するには、組織の設定ファイルか自分の "~/.emacs" に以下の設定 -が必要です。 - - (autoload 'mew "mew" nil t) - (autoload 'mew-send "mew" nil t) - - ;; Optional setup (Read Mail menu): - (setq read-mail-command 'mew) - - ;; Optional setup (e.g. C-xm for sending a message): - (autoload 'mew-user-agent-compose "mew" nil t) - (if (boundp 'mail-user-agent) - (setq mail-user-agent 'mew-user-agent)) - (if (fboundp 'define-mail-user-agent) - (define-mail-user-agent - 'mew-user-agent - 'mew-user-agent-compose - 'mew-draft-send-message - 'mew-draft-kill - 'mew-send-hook)) - -Latin-1 のために、Emacs を --unibyte オプション付で起動しているか、環 -境変数 EMACS_UNIBYTE と共に起動している場合、以下の設定を "~/.emacs" -に入れて下さい。 - - (set-language-environment "Latin-1") - (set-input-method "latin-1-prefix") ;; or "latin-1-postfix" - -Latin-1 のために、以下のような設定をしているなら、削って下さい。これは -Latin-1 にカスタマイズするための方法としては推奨されていませんし、この -設定では Mew は正しく動きません。 - - (standard-display-european 1) - -Mew は起動時に、"~/.mew.el" を読み込みます。Mew に関する設定は、このファ -イルに入れるとよいでしょう。 - -メールアドレスを指定するために、以下の設定が必要です。 - - ;; (setq mew-name "your name") ;; (user-full-name) - ;; (setq mew-user "user name of e-mail address") ;; (user-login-name) - (setq mew-mail-domain "domain of e-mail address") - -SMTP を使ってメッセージを送信するためには、以下の設定が必要です。 - - (setq mew-smtp-server "your SMTP server") ;; if not localhost - -POP を使ってメッセージを受信する場合は、以下の設定が必要です。 - - ;; (setq mew-pop-user "your POP account") ;; (user-login-name) - (setq mew-pop-server "your POP server") ;; if not localhost - -メッセージの受信にローカルのメールボックスを利用したい場合は、以下のよ -うな設定が必要です。 - - ;; To use local mailbox "mbox" or "maildir" instead of POP - (setq mew-mailbox-type 'mbox) - (setq mew-mbox-command "incm") - (setq mew-mbox-command-arg "-u -d /path/to/mbox") - ;; If /path/to/mbox is a file, it means "mbox". - ;; If /path/to/mbox is a directory, it means "maildir". - -IMAP を使ってメッセージを受信する場合は、以下の設定が必要です。 - - (setq mew-proto "%") - ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name) - (setq mew-imap-server "your IMAP server") ;; if not localhost - -ニュースを読み書きする場合は、以下の設定が必要です。 - - ;; (setq mew-nntp-user "your NNTP account") - (setq mew-nntp-server "your NNTP server") - - - - -File: mew.ja.info, Node: password, Next: start, Prev: configuration, Up: Overview - -パスワード -========== - -メッセージを送受信したり、PGP や S/MIME を使ったりする場合には、パスワー -ドを訊かれることがあります。パスワードを入力する前に以下の条件のどちら -かが満たされていることを確認しましょう。 - - - Emacs が目の前のコンピュータで動いている - - Emacs が遠隔のコンピュータで動いているが、なんらかの暗号手段を使っ - て通信している。 - -どちらの条件も満たされない場合は、パスワードを入力しないで下さい。入力 -すると盗聴される恐れがあります。 - -パスワードを何回も入力するのが面倒な人は、パスワードを保存する機能を利 -用して下さい。2 つの方法があります。 - - 1. パスワードをメモリに一時的に蓄える。ファイルには書き出さない。 - 2. パスワードをメモリに Mew が起動している間中蓄える。Mew/Emacs の終 - 了時に、パスワードを暗号化しファイルに書き出す。 - -1. の機能を利用するには、以下のように設定します。 - - (setq mew-use-cached-passwd t) - -2. の機能を利用するには、GnuPG をインストールした後、以下のように設定 -します。(GnuPG は、バージョン 1.x、2.0、2.1に対応しています。) - - (setq mew-use-master-passwd t) - -両方の変数が `t' の場合、2. の機能が利用されます。 - -1. の機能:あらゆるパスワード(POP、PGP など)が一時的にメモリに保存され -ます。パスワードが保存されている間は、パスワードの入力を省略できます。 -保存されているパスワードは一定時間(通常は 20 分)が過ぎると消去されます。 -ただし、保存されているパスワードが内部で利用されると、保存期間が延長さ -れます(20 分に戻ります)。 - -2. の機能:Mew の起動時に、マスターパスワードを訊かれます。Mew はその -マスターパスワードで、暗号化されているパスワードを復号化し、メモリに蓄 -えます。たとえば、以前 POP のパスワードを入力していれば、それがメモリ -に蓄えられていますから、次に POP のパスワードが必要な際、POP のパスワー -ドの入力を省略できます。はじめてマスターパスワードを利用する際は、確認 -のためマスターパスワードを 2 回訊きます。また、たとえば POP のパスワー -ドも1 回だけ入力するように促されます。Mew の起動時に、間違ったマスター -パスワードを入力することもあるでしょう。その場合、1. の機能を有効にし -ているなら、1. の機能が使われます。有効でなければ、パスワードの保存機 -能は利用されません。 - -マスターパスワードを変更するには、Summary モードで `C-cC-m' と入力しま -す。 - -メモリに保存されているパスワードは、暗号化されていません。そこで、 -1. または 2. の方法を使う場合は、他の人に自分が起動した Emacs を触られ -ないように気をつけて下さい。もし席を空け、Emacs をよく知っている他の人 -にEmacs を操作された場合、パスワードを盗み取られる可能性があります。 - - - - -File: mew.ja.info, Node: start, Next: Viewing, Prev: password, Up: Overview - -起動 -==== - -Mew を起動するには、以下の方法があります。 - -`M-x mew' - Mew が起動していなければ、まず Mew を起動する。そして、メッセージ - を取得するか、あるいは単にデフォルトのフォルダへ移動する。 - - まず、「修飾子」は `mew-proto' とケースから決定される。(*Note - config:: を参照) - - 「修飾子」が `+'(ローカル・フォルダ)なら、`mew-mailbox-type' から - メールボックスが決定される。(*Note retrieving:: を参照) その他、 - すなわちリモート・フォルダなら、メッセージを取得するためのプロト - コルが修飾子に応じて決る。 - - `mew-auto-get' が `t' なら、到着したメッセージが非同期に取得され、 - Summary モードへ一覧表示される。 - - `mew-auto-get' が `nil' なら、修飾子によって決定したデフォルトの - フォルダへ単に移動する。 -`C-uM-x mew' - `mew-auto-get' の値を逆だと考えて、`M-x mew' を実行する。 -`C-xm' - `mail-user-agent' が設定されている場合、Draft モードへ移行する。 - -Emacs で Mew を起動すると可愛い 2 匹の子が猫現れます。 - -なお、Mew を終了する方法は、*Note Quit:: を参照して下さい。 - - - - -File: mew.ja.info, Node: Viewing, Next: singlepart, Prev: start, Up: Top - -メッセージを表示する -******************** - -(Mew が起動中でも、起動中ではなくても) `M-x mew' と入力すると、Mew は -メッセージを以下のように一覧表示します。 - - * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック - M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 - 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 - -これを Summary モードといいます。ここでは、主に Summary モードでのメッ -セージの読み方について説明します。 - -上記の例のように Summary モードは、マーク、データ型(Mew が付けるマーク)、 -日付、差出人、Subject:、本文から構成されています。 - -Summary モードを消去する方法については、*Note Quit:: を参照して下さい。 - -* Menu: - -* singlepart:: 読み方の基礎 -* multipart:: MIME を表示する -* analysis:: MIME の解析を制御する -* cipher-viewing:: 暗号メールや電子署名を表示する -* retrieving:: メッセージの取得 -* moving:: フォルダの移動 -* sum-write:: 送信、返答、転送 -* features:: 便利な機能 -* status-update:: 状態の更新 -* invalid:: 規格違反のメッセージ - - - -File: mew.ja.info, Node: singlepart, Next: multipart, Prev: Viewing, Up: Viewing - -読み方の基礎 -============ - -メッセージを上から順に読んでいくのであれば、`SPC' を適宜押すだけです。 -簡単でしょ? - -しかしそれだけではあんまりなので、以下にページを操作する基本的なコマン -ドを示します。 - -`SPC' - メッセージを読み進める。つまり、メッセージを表示し、スクロールさせ、他の - メッセージに移動して表示する。カーソルが移動する方向は、 - *Note summary-mode:: を参照のこと。 -`C-uSPC' - メッセージを先頭から再表示。 -`DEL' - 現在のメッセージを下にスクロールさせる。不必要なヘッダフィールド - は、ウインドウの上に隠れている。よって、`DEL' を入力すると、それ - らが現れる。 -`RET' - 現在のメッセージを 1 行上にスクロールする。 -`M-RET' -`-' - 現在のメッセージを 1 行下にスクロールする。 - -`C-n' - 下の行へ移動。 -`C-p' - 上の行へ移動。 -`n' - 下方向に移動し表示。対象となるのは、パート、`*' マークの付いたメッ - セージ、マークの付いていないメッセージ。 -`C-un' - 下方向に移動し表示。対象となるのは、`*' マークの付いたメッセージ、 - マークの付いていないメッセージ。 -`p' - 上方向に移動し表示。対象となるのは、パート、`*' マークの付いたメッ - セージ、マークの付いていないメッセージ。 -`C-up' - 上方向に移動し表示。対象となるのは、`*' マークの付いたメッセージ、 - マークの付いていないメッセージ。 -`j' - 入力された行番号に従ってその行へ移動。 -`C-uj' - 入力されたメッセージの番号に従ってその行へ移動。 - - - -File: mew.ja.info, Node: multipart, Next: analysis, Prev: singlepart, Up: Viewing - -MIME を表示する -=============== - -マルチパートを読むのは別に大変なことではありません。今まで通り、 -`SPC' を押していけばよいだけです。 - -マルチパートのメッセージは、以下のように日付の左に `M' というマークが -付いています。 - - * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック - M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 - 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 - -`M' マークの付いたメッセージで `SPC' を押すと、ヘッダを Message モード -に表示すると共に、以下のように Summary モードでマルチパートの構造を簡 -素に表示します。 - - * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック - M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 - B 2 Image/Jpeg 写真1 noto1.jpg - Q 3 Application/Postscript 能登の地図 map.ps - 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 - -もし、パート 1 が Text/ なら、Summary モードにはパート 1 は可視化され -ず、そのかわりパート 1 がヘッダと共に Message モードに表示されます。 - -マルチパートの各行は - - - マーク (Content-Transfer-Encoding:) - - パート番号 - - データ型 (Content-Type:) - - 説明 (Content-Description:) - - ファイル名 (Content-Disposition:) - -から構成されています。Content-Description: はパートに対する Subject: -と考えていいでしょう。この表示は Draft モードの添付領域とほとんど同じ -です。 - -`SPC' や `n' でパート 2 へ進めば、そのパートがデータ型に応じて -表示されます。たとえば、Text/Plain なら Message モードで、PostScript な -ら "ghostview" で表示されます。 - -`n' や `p' は、パート部分まで含んだ行を移動することに注意して下さい。 -パート部分を飛ばして下のメッセージを表示するには `C-un' と入力して下さ -い。また、パート部分を飛ばして 1 つ上のメッセージを表示するには `C-up' -と入力して下さい。 - -Mew は、MIME を再帰的に処理します。以下は転送されたマルチパートのメッ -セージの例です。 - - M03/15 かずくん Fw: 能登の写真 |写真が送られてきたので - 2 Message/Rfc822 能登の写真 - B 2.2 Image/Jpeg 写真1 noto1.jpg - Q 2.3 Application/Postscript 能登の地図 map.ps - -(メモ) テキスト以外のデータを、シングルパートとしてメッセージに格納す -るのは、書式としては間違いではありませんが、お勧めできません。マルチパー -トを作成し、そのパート 1 に説明のテキストを、パート 2 にテキスト以外の -データを入れる作法をお勧めします。 - -テキスト以外のデータが本文に直接格納されているメッセージに対し、Mew は -これをあたかもマルチパートのように表示します。 - -このように MIME の構造は複雑になりうるので、解析するのには時間がかかる -場合があります。しかし、Mew は次に読まれるメッセージを予想し、ユーザが -現在のメッセージを読んでいる間に、次のメッセージをあらかじめ解析してお -くことで高速性を実現しています。解析されたメッセージは、しばらくの間保 -存されます。 - -メッセージの終りの部分がはっきりと分かるように、Mew はメッセージの最後 -に "[End of message]" という文字列を表示します。また、パートの終りでは、 -"[Message is continued]" という文字列を表示します。これらの文字列はそ -れぞれ、`mew-end-of-message-string' と `mew-end-of-part-string'で指定 -できます。 - - - -File: mew.ja.info, Node: analysis, Next: cipher-viewing, Prev: multipart, Up: Viewing - -MIME の解析を制御する -===================== - -メッセージの解析を制御するために、以下の変数が用意されています。 - -`mew-file-max-size' - 解析するメッセージの大きさの上限。メッセージの大きさがこの値以下 - なら、解析し表示する。越えているなら、解析せずに生のまま表示する。 - 初期値は 100000 バイト。 -`mew-header-max-length' - 解析するメッセージのヘッダ長の上限。ヘッダの行数がこの値以下なら、 - メッセージを解析して表示する。越えているなら、解析を途中で止めて - メッセージを壊れた形で表示する。初期値は 100 行。 -`mew-decode-broken' - 規格違反のメッセージを解析する際に、寛容になるか否か。`t' なら寛 - 容に、`nil' なら厳密に解析する。寛容に解析する際に規格違反があっ - た場合は、X-Mew: フィールドに表示する。初期値は `t'。 -`mew-use-text-body' - 本文のテキストをヘッダと同時に表示するか否か。`t' なら、本文がシ - ングルのテキスト、および、本文がマルチパートで最初のパートがテキ - ストの場合、そのテキストをヘッダと同時に表示する。`nil' の場合は、 - マルチパート内のパートのように表示する。初期値は `t'。 -`mew-use-alternative' - Multipart/Alternative の取り扱い。Multipart/Alternative であるメッ - セージには`-' マークが付いている。`t' なら、 - `mew-mime-multipart-alternative-list' の優先順位に従って、1 つの - パートを表示する。`nil' なら、通常のマルチパートとして表示する。 - 初期値は `t'。 -`mew-use-text/html' - Text/Html の取扱い。`nil' の場合は HTML を解析せずに表示。それ以 - 外なら HTML を解析して表示。初期値は `nil'。 -`mew-use-text/xml' - Text/Xml の取扱い。`nil' の場合は XML を解析せずに表示。それ以外 - なら XML を解析して表示。初期値は `nil'。 - -これらの変数に関する基本的なコマンドは、`.' です。このコマンドは、以下 -のように動きます。 - -1) このコマンドがメッセージ上で実行されると、そのメッセージのキャッシュ -が削除され、メッセージが解析されて再表示されます。 - -1a) もし現在のメッセージの大きさが `mew-file-max-size' を越えているな -ら、MIME は解析されず、そのまま表示されています。この場合、このコマン -ドはこの上限に関わらずに現在のメッセージを解析し、再表示します。 - -1b) もし現在のメッセージのヘッダ長が `mew-header-max-length' を越えて -いるなら、メッセージが壊れたように表示されています。この場合、このコマ -ンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。 - -1c) もし現在のメッセージが `:' で表示されているなら、マルチパートの構 -造は、通常とは違うように表示されています。この場合、このコマンドはマル -チパートの構造を通常と同じように再表示します。 - -1d) もし `mew-use-text/html' が `nil' なら、HTML は解析されず、そのま -ま表示されています。この場合、このコマンドは HTML を解析し、再表示しま -す。 - -2) もしこのコマンドがパート上で実行された場合、そのパートが再表示され -ます。 - -2a) もし `mew-use-text/html' が `nil' なら、HTML は解析されず、そのま -ま表示されています。この場合、このコマンドは HTML を解析し、再表示しま -す。 - -`.' 以外にも、以下のような便利なコマンドがあります。 - -`.' - メッセージを解析し、再表示する。 -`C-u.' - `mew-decode-broken' を逆にしてメッセージを解析し直す。 - *Note invalid:: を参照のこと。 -`:' - `mew-use-alternative' と `mew-use-text-body' を反転させた - `.'. -`C-u:' - `mew-use-alternative' と `mew-use-text-body' を反転させた - `C-u.'. -`,' - 現在のメッセージやパートを生の書式で Message モードに表示する。 -`C-cTAB' - メッセージ全体をファイルとして read only で開く。 -`C-uC-cTAB' - メッセージ全体をファイルとして開く。 - - - -File: mew.ja.info, Node: cipher-viewing, Next: retrieving, Prev: analysis, Up: Viewing - -暗号メールや電子署名を表示する -============================== - -今までと同様 `SPC' などを利用することで、Mew では暗号化や電子署名を施 -されたメッセージを簡単に表示できます。まず、簡単な例から紹介しましょう。 - - S03/18 神田パソコン館 見積書 |先日承りましたノートPC - E03/21 匿名希望 秘密のメール | - -上記のメッセージには、それぞれ `S' マークと `E' マークが付いています。 -これはそれぞれ、本文全体が署名されている、および、暗号化されていること -を意味します。 - -PGP/MIME や S/MIME では、一部のパートに電子署名を施したり、暗号化したり -できます。この場合このようなマークは付きません。`S' マークや -`E' マークが付くのは、本文全体が対象になっている場合です。 - -また、単に署名や暗号化といいましたが、これは最終的な処理が署名や暗号化 -であったことを意味しています。やや複雑な話になりますが、もしかすると前 -者は本文全体を暗号化した後、署名したのかもしれませんし、後者は一部のパー -トに署名し、さらに全体を暗号化している可能性もあります。 - -本文全体、あるいは、一部のパートが暗号化されている場合、Mew はパスフレー -ズを訊いてきます。パスフレーズを入力する際の注意事項については、*Note -start:: を参照して下さい。入力されたパスフレーズは、あなたの秘密鍵を復 -号化するのに使われます。そして、復号化された秘密鍵によって、暗号化され -ているメッセージを解くわけです。 - -暗号メッセージを表示するには、暗号化された数だけパスフレーズを入力する -必要があります。これは Mew が安全を期して、通常パスフレーズを保存しな -いからです。もしこれがわずらわしいなら、Mew にパスフレーズを保存させる -ことも可能です。詳しくは、*Note password:: を参照して下さい。 - -パスフレーズを保存しない通常の設定でも、一旦復号化されたメッセージはし -ばらく保存されるので、2 回目の表示にはパスフレーズを訊かれないかもしれ -ません。 - -一方、通信相手の署名を検証するためには相手の公開鍵が利用できればよいの -で、パスフレーズを訊かれることはありません。 - -Mew は自動的に電子署名を検証したり、入力されたパスフレーズを使って暗号 -メッセージを復号化したりして、元のメッセージを表示します。そこで、ユー -ザが署名の存在に気づかないかもしれませんし、どの部分が暗号化されていた -のか分からないかもしれません。 - -そこで、検証の結果やどの部分が暗号化されているかをユーザに通知するため -に、Mew は以下のようにヘッダに X-Mew: フィールドを挿入します。 - - X-Mew: PGP decrypted. - Good PGP sign "kazu@example.org" COMPLETE - -"<>" 内の番号は、どのパートの結果であるかを示しています。"body" は、メッ -セージの本文全体が保護されていることを意味します。この例では、メッセー -ジ全体が kazu によって署名され、受信者のために暗号化されています。Mew -はまずこれを復号化し、そして署名を検証しています。署名は正しいので、 -kazu@example.org という ID の付いた秘密鍵で署名されたときから、内容は -変更されていないと分かります。この署名の検証に使われた公開鍵の「有効性」 -は "complete" です。よって、受信者はこの公開鍵が ID が示すユーザに属し -ていると信頼していることになります。つまり、このメッセージは信頼をおい -ている公開鍵によって検証され結果が正しいので、改竄されていないというこ -とになります。 - -以下の例では、まずマルチパートである本文全体の電子署名が検証され、その -後パート 2 のメッセージ全体が復号化されています。つまり、作成時には、 -まずパート 2 が暗号化され、そして本文全体が署名されたことが分かります。 - - X-Mew: Good PGP sign "kazu@example.org" COMPLETE - X-Mew: <2 message> PGP decrypted. - -するどい人なら、悪い人があらかじめ X-Mew: フィールドを挿入しておき、あ -なたをだますかもしれないと思うかもしれません。でも大丈夫です。Mew は、 -ヘッダにある X-Mew: をあらかじめ削り、本物の X-Mew: フィールドを挿入し -ますから。 - -PGP/MIME について: - -X-Mew: フィールドは他にもさまざまな結果を伝えてくれます。たとえば、署 -名を検証するための公開鍵がないとか、復号化に失敗したなどです。以下の例 -は、鍵 ID が 0x1B8BF431 である公開鍵がないことを示しています。 - - X-Mew: No his/her public key. ID = 0x1B8BF431 - -この場合、`C-cC-f' と入力すると、Mew はこの公開鍵の入手を試みます。そ -の際、公開鍵サーバを選択できます。もし、X-Mew: フィールドがない場合は、 -`C-cC-f' は From: を ID と考えます。また、`C-uC-cC-f' は、X-Mew: フィー -ルドに加えて `mew-x-pgp-key-list' に指定されたフィールドも鍵 ID を切り -出す対象とし、公開鍵の入手を試みます。 - -Mew では PGPv2、PGPv5、GNUPG に対応しています。これらは Summary モード -において、`C-cC-v' で切替え可能です。これら複数の PGP を使いたい人は -`mew-prog-pgp2'、`mew-prog-pgp5'、`mew-prog-gpg' に対し、それぞれ -PGPv2、PGPv5、GNUPG のコマンド名を設定して下さい。また、Mew の起動直後 -に利用する PGP のコマンド名を `mew-prog-pgp' に設定して下さい。なおパ -スフレーズは、それぞれの PGP に対し独立に保存されます。 - -なお昔ながらの PGP メッセージは、自動的に処理できません。このような -PGPメッセージに対しては、`C-cC-z' で復号化や署名の検証ができます。 - - - -File: mew.ja.info, Node: retrieving, Next: moving, Prev: cipher-viewing, Up: Viewing - -メッセージの取得 -================ - -メールボックスへ到着したメッセージを +inbox へコピーし一覧表示するには、 -`i' を使います。コピー元のメールボックスは `mew-mailbox-type' によって -決ります。(`M-x mew' を実行した際に、`mew-proto' が `+' の場合も、 -`mew-mailbox-type' に従ってメッセージがコピーされます。) 以下に取りう -る値を示します。 - -`'mbox' - ローカルのメールボックス。デフォルトでは "incm" という外部コマン - ドを使い、メッセージを取得する。設定方法は、*Note configuration:: - を参照のこと。 -`'pop' - POP サーバ。POP を POP らしく使う方法。(初期値) -`'imap' - IMAP サーバ。IMAP らしくない利用方法なので、推奨されていない。 - -ローカル・フォルダでメッセージの一覧を再表示するには、`s' を使います。 - -リモート・フォルダでメッセージを取得、あるいは再取得する場合にも `s' -を使います。IMAP やニュースでは、`i' は利用せず、`s' を使うのが一般的 -です。 - -`s' を使うと範囲を訊いてきます。Mew で重要な範囲の意味を以下に示します。 - -`update' - 「Summary モードの最後のメッセージの次」から「フォルダ内の最後の - メッセージ」まで。つまり、Summary モードと実際のフォルダ内のメッ - セージの差分。 -`all' - フォルダ内のメッセージすべて。ローカル・フォルダでは、Summary モー - ドの表示がおかしくなったときに、内容を一新するために用いる。リモー - ト・フォルダでは、すべてのメッセージの再取得。 -`sync' - あるリモート・フォルダに対し、サーバ側では消えたメッセージのキャッ - シュを削除する。リモート・フォルダに対してのみ有効。 - -+draft、+queue、+postq では、デフォルトの範囲は `all' となっています。 -それ以外のフォルダでは、デフォルトの範囲が `update' となっています。で -すから、+draft、+queue、+postq 以外では、`s' の後に `RET' を押すだけで、 -現在のフォルダに対し最新の一覧を得られることになります。 - -Mew ではあまり重要ではありませんが、以下の範囲も指定できます。 - -`-' - から まで。ローカル・フォルダに対してのみ有効。 -`-' - から最後まで。ローカル・フォルダに対してのみ有効。 -`-' - 最初から まで。ローカル・フォルダに対してのみ有効。 -`last:' - 最後の 個。 - -リモート・フォルダで `s' を `C-u' 付きで呼び出すと、「ヘッダのみのコ -ピー」と「ヘッダと本文の両方のコピー」を反転できます。これらの動作は、 -POP、IMAP、NNTP に対し、それぞれ `mew-pop-header-only'、 -`mew-imap-header-only'、`mew-nntp-header-only' で定義でき、初期値はす -べて `nil' です。つまり、初期値は「ヘッダと本文の両方のコピー」になっ -ています。 - -サイズが大きなメッセージは、全体ではなく一部が取得されているかもしれま -せん。このようなメッセージには、`T' マークがついています。このメッセー -ジの全体を取得するには、そのメッセージ上で `I' と入力します。 - -たとえば、$inbox に `T' マークのついたメッセージがあるとしましょう。こ -のメッセージの上で `I' を押すと、メッセージの全体が取得できます。 - -メッセージの取得に関するコマンドを以下にまとめます。 - -`i' - ローカル・フォルダでは、+inbox フォルダに移動し、到着したメッセージを取 - 得して一覧を表示する。`mew-auto-flush-queue' が `t' なら、 - +queue にあるメッセージを送信する。詳しくは、*Note send:: を参照のこと。 - リモート・フォルダでは、そのデフォルトのフォルダに移動し、`s' + - `update' を実行する。 -`C-ui' - `mew-auto-flush-queue' の値を逆だと思って、`i' を実行する。 -`I' - `T' マークの付いている一部だけが取得されたメッセージの全体を取得 - する。 - - ローカル・フォルダで実行した場合、ケースと `mew-mailbox-type' に - より取得方法が決る。`mew-pop-delete' または `mew-imap-delete'の値 - が `t' なら、メールボックスのメッセージを削除する。 - - リモート・フォルダで実行した場合、ケースと取得方法はそのフォルダ - から決る。サーバ側のメッセージは常に保存される。 -`C-uI' - `mew-pop-delete' または `mew-imap-delete' を逆転させて `I' を実行 - する。 -`s' - フォルダの一覧を取る。 -`C-us' - リモート・フォルダにおいて、「ヘッダのみのコピー」と「ヘッダと本 - 文の両方のコピー」を反転させて、一覧を取る。 -`lc' - リモート・フォルダのメッセージをローカル・フォルダへコピーする。 - - - -File: mew.ja.info, Node: moving, Next: sum-write, Prev: retrieving, Up: Viewing - -フォルダの移動 -============== - -フォルダの移動には `g' を入力して下さい。以下のようにフォルダ名を訊か -れます。 - - Folder name (+inbox): + - -":" の右側を編集可能領域と呼ぶことにしましょう。この例では、編集可能領 -域に修飾子 "+" が表示されています。修飾子に続けて任意の文字列を入力し、 -`RET' を押せば、フォルダ名が決定されたことになり、そのフォルダへ移動し -ます。 - -フォルダを移動した際に Summary モードの一覧が古いと判断した場合は、自 -動的に差分が追加表示されます。 - -"()" 内がデフォルトのフォルダです。単に `RET' を押し "+" を入力すると、 -デフォルトのフォルダを入力したものとして扱われます。 - -補完を利用するには、`TAB' や `SPC' を押して下さい。 - -さて、話を `g' を押した直後に戻しましょう。 - - Folder name (+inbox): + - -たとえば、"+" を "%" に変更するには、通常なら "+" を削り、"%" を入力す -る必要があります。これでは面倒なので、"+" の後で "%" を入力すると、"+" -が "%" に置き換わるようになっています。このように、修飾子の直後で他の -修飾子を入力すれば、削る作業をせずに置き換え可能です。 - -リモート・フォルダを入力する場合、*Note config:: で説明するケースを指 -定したい場合もあるでしょう。ケースは、フォルダ名の前に ":" で区切って -入力します。たとえば、"home" というケースの "%inbox" に移動したいとし -ましょう。このとき、"home:%inbox" と入力する必要があります。しかしこれ -は面倒なので、任意の場所で `C-cTAB' を押すと利用可能なケースが、フォル -ダ名の前に循環的に補完されます。次の例を考えて下さい。 - - Folder name (+inbox): %inbox - -ここで `C-cTAB' を入力すると、以下のようになります。 - - Folder name (+inbox): home:%inbox - -フォルダ名の一部を指定して、フォルダを検索したいこともあるでしょう。こ -の場合には、前方検索の `C-s' か後方検索の `C-r' が利用できます。以下は、 -`C-s' を押したときのミニバッファの状態です。 - - Folder name (+inbox): () - -編集領域に現れた "()" が、検索モードに移行したことを表わしています。こ -こで文字を入力していくと、マッチした候補が "()" の中に表示されます。以 -下は "mew" で検索したときの例です。 - - Folder name (+inbox): (+work/mew-release) mew - -候補を確定する際には、`RET' を入力して下さい。そうすると検索モードを抜 -けて、編集領域にこの候補が表示されます。 - - Folder name (+inbox): +work/mew-release - -さらに `RET' を押せば、このフォルダが入力されたことになります。 - -検索対象となるフォルダの一覧は、ケースと修飾子の組で決定されます。 -`C-s' や `C-r' で検索モードに移るときに編集領域にある文字列から、ケー -スと修飾子が切り出され、フォルダの一覧が決定される訳です。 - - - -File: mew.ja.info, Node: sum-write, Next: features, Prev: moving, Up: Viewing - -送信、返答、転送 -================ - -メッセージの送信、返答、転送には、以下のコマンドを使います。 - -`w' - メッセージを書く。新しい草稿が Draft モードに用意される。 - *Note Composing:: を参照のこと。 -`C-uw' - メッセージを書く。新しい草稿が Draft モードに用意される。現在のメッ - セージの From: にあるアドレスが、草稿の To: へコピーされる。 -`W' - あるメッセージのヘッダの一部だけを編集しメッセージを送信するため - に Header モードに入る。*Note resend:: を参照のこと。 -`a' - 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や - Cc: が自動的に決定される。*Note reply:: を参照のこと。 -`C-ua' - 現在のメッセージに対し送信者宛に返答する。 -`A' - 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や - Cc: が自動的に決定された後、本文が引用される。*Note reply:: を参 - 照のこと。 -`C-uA' - 現在のメッセージに対し、引用付きで送信者宛に返答する。 -`f' - 現在のメッセージを第 3 者に転送する。Draft モードに草稿が用意され、 - 現在のメッセージが自動的に添付される。*Note forward:: を参照のこ - と。 -`F' - `*' マークの付いたメッセージを第 3 者に転送する。Draft モードに草 - 稿が用意され、`*' マークの付いたメッセージが自動的に添付される。 - 詳しくは *Note target mark:: を参照のこと。*Note forward:: を参照 - のこと。 - -エラーメッセージが返ってきたら、以下のコマンドで修正し再挑戦しましょう。 - -`E' - メッセージの再編集。または、MIME 形式でカプセル化されて戻ってきた - メッセージの再編集。 - - 1. +draft では、メッセージが単に編集される。 - 2. +queue と +postq では、メッセージが +draft に移動されて、編 - 集される。 - 3. それ以外では、メッセージが +draft にコピーされて、編集される。 - - +draft、+queue、+postq では、ケースが復活する。 - - 他のフォルダでは、`mew-case-guess-when-prepared' が `t' なら、 - ヘッダのそれぞれのフィールドがケースに従って置き換えられる。詳しくは - *Note config:: を参照のこと。 -`C-uE' - `E' と同じ。ただし、+draft、+queue、+postq 以外のフォルダで利用さ - れた場合は、`mew-case-guess-when-prepared' が `t' でも、オリジナ - ルのヘッダが保存される。 - - - -File: mew.ja.info, Node: features, Next: status-update, Prev: sum-write, Up: Viewing - -便利な機能 -========== - -Mew では、Summary モードに以下のような便利なコマンドが用意されています。 - -`v' - 「Summary モードのみ」と「Summary & Message モード」の切り替え。 - 「Summary モードのみ」を選んでいる場合は、`d' は次のメッセージを - 表示しないので、連続してすばやく `D' マークを付けられる。 -`zv' - `mew-use-header-veil' が `nil' でないとき、To: と Cc: で - `mew-header-veil-count' を越える行は「ベール」で隠されている。こ - のコマンドは、それらの行の見える/見えないを反転させる。 - `mew-use-header-veil' と `mew-header-veil-count' の初期値は、それ - ぞれ `t' と 4。 -`_' - 通常の行、折り返された行、長い行の順に行の表示を変える。 -`M-l' - 現在の行を Summary モードの中央に移動させる。 -`C-cC-s' - Message モードで順方向段階的検索。 -`C-cC-r' - Message モードで逆方向段階的検索。 -`y' - メッセージ、あるいは、パートを入力したファイル名で保存する。 -`b' - Message モードの内容そのものを入力したファイル名で保存する。 -`C-uy' - 保存するテキストの coding-system を指定して、メッセージ、あるいは、 - パートを入力したファイル名で保存する。 -`#' - `mew-print-function' を利用して Message モードの内容を印刷する。 -`C-u#' - プリンタ名を指定して Message モードの内容を印刷する。 -`|' - Message モードの内容をパイプで指定されたコマンドに出力する。 -`C-u|' - Message モードの本文(ヘッダを除く)をパイプで指定されたコマンドに - 出力する。 -`\' - このメッセージを引数にして、入力された外部コマンドを起動する。 -`B' - 格納されているメッセージを取り出す。 -`C-uB' - 格納されているファイルを取り出す。 -`C-cC-a' - 現在のメッセージの情報をアドレス帳に登録する(*Note addrbook::)。 -`C-cC-v' - PGP のバージョンを切替える(*Note cipher-viewing::)。 -`C-cC-z' - 昔ながらの自動処理できない PGP メッセージを PGP に復号化、検証さ - せる(*Note cipher-viewing::)。 -`C' - ケースを変更する。詳しくは、*Note config:: を参照のこと。 -`=' - フォルダ名とメッセージ番号を表示する。キャッシュ・メッセージの場 - 合は、加えて ID とサイズも表示する。メッセージへのフルパスが、ウ - インドウマネージャのカットバッファに入る。 -`;' - Received: フィールドを解析し、分りやすく Message モードに表示する。 -`Rd' - フォルダを削除する。 -`Rr' - フォルダの名前を変える。 - - - -File: mew.ja.info, Node: status-update, Next: invalid, Prev: features, Up: Viewing - -状態の更新 -========== - -いくつかの設定の変更には、その変更を反映するために、状態を更新しなけれ -ばならない場合があります。変更が反映されなかったり、変更のためにエラー -が生じるようになったりした場合は、以下のコマンドを利用して下さい。 - -`Z' - アドレス帳(*Note addrbook::)などの情報を更新する。 -`C-uZ' - 現在の世界に対するフォルダのリストの情報を更新する。 - -状態を反転させるコマンドを以下にまとめます。 - -`z8' - 8 ビット・モード(`mew-use-8bit')を反転させる。 -`zc' - 解析したメッセージのキャッシュを消去する。 -`zd' - `mew-debug' を反転させる。 -`zo' - PGP を省略方法で作成する場合、PGP/MIME なのか古い PGP の書式なの - か(`mew-use-old-pgp')を反転させる。 -`zp' - 解析、復号化のポリシ(`mew-decode-broken')を反転させる。 -`zv' - Message モードでベールを使うか否か(`mew-use-header-veil')を反転さ - せる。 -`zw' - 警告のレベル(`mew-warning-field-level')が 2 なら 1 へ、1 なら 2 - へ設定する。 - - - -File: mew.ja.info, Node: invalid, Next: Composing, Prev: status-update, Up: Viewing - -規格違反のメッセージ -==================== - -以下のようなメッセージは、Content-Type: で charset が指定されていない -ので、本来 US-ASCII と認識されてしまいます。 - - To: piglet - Subject: 規格違反のメッセージ - From: pooh - MIME-Version: 1.0 - Content-Type: Text/Plain - - 日本語の本文 - -また以下のようなヘッダも規格違反です。 - - From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" - -上の例では "=?" と "?=" で囲まれた部分はもともと日本語でした。メッセー -ジの規格ではヘッダには ASCII のみが格納できると定められています。よっ -て、ASCII 以外の文字コードをヘッダに格納するには、ある規則に従って -ASCII に符号化する必要があります。しかし、この符号化された文字列を 「"」 -で囲むのは間違いです。「"」で囲まれた文字列は、そのままの形で取り扱わ -れます。よって、上の例の "=?" と "?=" で囲まれた部分が日本語に復号化さ -れることは本来ありません。 - -規格に無頓着な一部のメーラではこのような間違いを平気で犯します。正しい -対処方法は、このようなメーラの作者に頼んで、規格を正しく実装するように -変更してもらうことです。しかし、このようなメーラはあまりにも多いので、 -Mew ではできる限り復号化するよう試みます。そして、以下のような警告をヘッ -ダに出します。 - - X-Mew: Charset for body is not specified. - To: has encoded-words in quoted text. - -もし、規格に厳密に復号化したいのなら、`mew-decode-broken' を `nil' に -設定して下さい。この値は `C-u.' を使うと動的に反転できます(*Note -singlepart:: を参照)。 - -次のようなメッセージは、charset で指示されている文字コードと実際の文字 -が異なるため、文字化けを起こします。 - - Content-Type: Text/Plain; charset=ISO-2022-JP - - Shift_JIS で書かれた日本語の本文 - -`C-cC-l' を使えば、charset で指定された文字コードを無視し、指定した言 -語の推測規則に従って文字コードを推測し、再表示させることができます。ま -た、`C-uC-cC-l' で明示的に文字コードを指定し、再表示させることも可能で -す。 - - - - -File: mew.ja.info, Node: Composing, Next: header, Prev: invalid, Up: Top - -メッセージを作成する -******************** - -ここではメッセージの作成方法について説明します。 - -新しいメッセージを書くために、Draft モードに移行するには、次の手段があ -ります。 - - 1. `M-x mew-send' と入力する。 - 2. `mail-user-agent' が設定されている場合、`C-xm' と入力する。 - 3. Summary モードで `w' を押す。 - -すると、以下のようなバッファが用意されます。 - - To: - Subject: - From: Kazu Yamamoto - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - -これを Draft モードといいます。Draft モードにおいて、"----" より上をヘッ -ダ、下を本文と呼びます。 - -またメッセージへの返答(`a' や `A')や転送(`f' や `F')でも Summary モー -ドから Draft モードへ移行します。 - -草稿は、+draft フォルダの下に作成されます。同時に複数の草稿を持つこと -が可能です。 - -一旦用意した草稿を削除する方法については、*Note Quit:: を参照して下さ -い。 - -以下、Draft モードの使い方を説明します。 - -* Menu: - -* header:: ヘッダの補完 -* cheader:: ヘッダの循環的な補完 -* addr-comp:: アドレスの補完 -* addrbook:: アドレス帳 -* auto-alias:: アドレスの自動学習 -* addr-comp1:: アドレスの補完(1) -* addr-comp2:: アドレスの補完(2) -* send:: メッセージの送信 -* cite:: シグニチャと引用 -* mime-comp:: マルチパートの作成 -* charset-guess:: 文字コードの決定 -* longline:: 長い行の取り扱い -* reply:: メッセージへの返答と宛先の決定 -* forward:: メッセージの転送 -* resend:: メッセージの再送 -* shortcut:: 電子署名/暗号メールを作成する -* mark-b-comp:: マークを使った電子署名/暗号メールの作成 -* pgp-key:: PGP の鍵の配布 -* anonymous:: 宛先を匿名にしたメッセージの送信 - - - -File: mew.ja.info, Node: header, Next: cheader, Prev: Composing, Up: Composing - -ヘッダの補完 -============ - -ヘッダでは `TAB' に対し、以下のように各フィールド用の補完機能が割り当 -てられています。 - - - フィールド名の補完 - - アドレスの補完 (To:、Cc: など) (*Note addr-comp:: を参照) - - フォルダ名の補完 (Fcc:) - -<フィールド名の補完> - -行頭の単語中で、しかも、上の行の最後が "," で終る継続行でなければ、 -`TAB' で `mew-fields' に定義されているフィールド名を補完できます。 - - To: kazu@example.org - R`TAB' - -上記の場所で `TAB' を押すと以下のようになります。 - - To: kazu@example.org - Reply-To: - -<フォルダ名の補完> - -Fcc: などのようにフォルダを補完すべきところでは、`TAB' でフォルダを補 -完できます。以下に例を挙げてみます。 - - Fcc: `TAB' - -"+" が補完されます。 - - Fcc: +`TAB' - -`TAB' をもう 1 度押すと候補が表示されるので、候補を見ながら適切な文字 -を入力します。 - - Fcc: +b`TAB' - -候補が一意に定まれば補完されます。 - - Fcc: +backup - - - -File: mew.ja.info, Node: cheader, Next: addr-comp, Prev: header, Up: Composing - -ヘッダの循環的な補完 -==================== - -ヘッダでは、`C-cTAB' に循環的な補完機能が割り当てられています。循環的 -な補完機能とは、あるリストのある値がそのリストの次の値に置き換えられる -ことです。リストの最後は、最初につながっていると考えます。ヘッダ中の循 -環的な補完機能は、以下のようにフィールドごとに異なります。 - - - ドメイン名の循環的な補完 (To:、Cc: など) - - From: の循環的な補完 (From:) - -<ドメイン名の循環的な補完> - -アドレスを書くべきフィールドでは、`C-cTAB' でドメインを補完します。補 -完の候補は `mew-mail-domain-list' から選ばれます。 - - To: kazu@`C-cTAB' - -上記の場所のように候補が一意に定まらない場合は、 -`mew-mail-domain-list' の最初のドメイン名が挿入されます。 - - To: kazu@example.org`C-cTAB' - -補完された後、さらに `C-cTAB' を押すと `mew-mail-domain-list' の次の候 -補に変換します。 - - To: kazu@example.jp - -また、以下の補完が一意に定まれば、その候補を挿入します。 - - To: kazu@w`C-cTAB' - -上記の例は次のようになります。 - - To: kazu@example.jp - - - -草稿には、あらかじめ "mew-name " という形式で、 -From: フィールドが挿入されています。 - - From: Kazu Yamamoto (山本和彦) - -From: フィールド上では、`C-cTAB' は `mew-from-list' の値を循環的に補完 -します。`mew-from-list' は自分で設定してもよいですし、自動的に設定する -ことも可能です。自動設定に関しては、*Note config:: を参照して下さい。 - -値の場所ならどこでも構いませんが、`C-cTAB' と入力すると、この値を -`mew-from-list' の次の値と置き換えます。たとえば、 - - From: Kazu Yamamoto (山本和彦) `C-cTAB' - -は以下のようになります。 - - From: Kazuhiko Yamamoto - - - -File: mew.ja.info, Node: addr-comp, Next: addrbook, Prev: cheader, Up: Composing - -アドレスの補完 -============== - -To: や Cc: では、アドレスを補完できます。補完には `TAB' を用います。 - - To: kazu`TAB' - -上記のように、アドレスの一部で `TAB' を押すと、以下のようにアドレスが -補完される訳です。 - - To: kazu@example.org - -アドレスの補完に利用されるアドレスの種類には、以下の 3 つがあります。 - - 1. アドレス帳の展開規則 - 2. アドレス帳の個人情報 - 3. 送信時に学習されたアドレス - -アドレスの補完には 2 つの方法が提供されています。 -`mew-use-full-alias' によって選択します(初期値は `nil')。 - -`mew-use-full-alias' が `nil' の場合、`@' の前、つまりユーザ名(短縮名) -が補完の対象となります。`TAB' を押すとユーザ名が補完され、補完しきった -ところでさらに `TAB' を押すとアドレスに「展開」されます。これをアドレ -スの補完(1)と呼びましょう。 - -アドレスの補完(1)(*Note addr-comp1::)の利点は、上に書いた 3 種類のアド -レスに対し、補完・展開が矛盾なく実行できることです。後述のように、「強 -制展開」も `TAB' で実行できます。欠点は、ユーザ名の部分が一意でなけれ -ばならないので、あるユーザ名が登録されている場合、同じユーザ名を持つ別 -のアドレスを学習できないことです。 - -`mew-use-full-alias' が `t' の場合、学習されたアドレスに関しては、アド -レスの全体が補完の対象になります。これをアドレスの補完(2)と呼びましょ -う。 - -アドレスの補完(2)(*Note addr-comp2::)の利点は、ユーザ名が一致している -複数のアドレスを学習できることです。欠点は、アドレス帳の個人情報に登録 -されているアドレスの先頭以外は利用できないことです。また、「強制展開」 -は、`M-C-e' という (`TAB' とは別の) キーを押さなければいけないことです。 - - - -File: mew.ja.info, Node: addrbook, Next: auto-alias, Prev: addr-comp, Up: Composing - -アドレス帳 -========== - -Mew ではアドレス帳("~/Mail/Addrbook")が利用できます。アドレス帳には 2 -つの書式が用意されています。一方は「展開規則」を指定する書式、他方は -「個人情報」を記述するための書式です。 - -まず、「展開規則」を記述するための書式を示します。 - - : [, , ,...] - -このように短縮名と展開すべきアドレスを `:' で区切って書きます。複数 -のアドレスに展開する場合は、それらのアドレスを `,' で区切ります。 -(これは、To: などでアドレスが `,' で区切られているのと同じです。) -`,' の後ろに空白を入れても構いません。以下に例を示します。 - - pooh: winnie-the-pooh@example.net - piglet: piglet@example.org - friends: pooh, piglet - - - -次に、「個人情報」を記述するための書式を示します。 - - [, , ,...] - -このように 4 つの要素を空白で区切ります。 が短縮名です。 - と はそれぞれニックネームと正式な氏名であり、日本 -語でも構いません。(ニックネームの使い方は *Note summary-mode:: と -*Note draft-mode:: を参照して下さい。) - -2 番目の要素はアドレスです。複数のアドレスをその人が持っている場合は、 -`,' で区切って書きます。`,' の後に空白を入れても構いません。つまり、こ -の空白は要素の区切りではありません。また、`"' で囲まれた空白も要素の区 -切りにはなりません。以下に例を示します。 - - kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" - -「個人情報」の書式では、各要素を省略できます。中間の要素を省略する場合 -は、`*' と書いて下さい。以下に、アドレスに対してニックネームのみを定義 -する例を示します。 - - * kazu@example.org, kazu@example.net Kazu-kun - -ニックネームは Summary モードでのアドレスの置き換えと、Draft モードで -の引用記号の置き換え(*Note cite::)に利用されます。 - -アドレス帳のコメント文字は `;' と `#' です。`;' は行頭にある場合のみコ -メントとなり、その行が無視されます。`#' は任意の場所でコメントとなり、 -そこから行末までが無視されます。また、`\' は継続行を表わします。 - - - -Summary モードには、現在読んでいるメッセージの情報を Addrbook に登録す -る機能があります。展開規則を登録するには `C-cC-a' と押して下さい。以下 -に例を示します。 - - #If you want to register this entry, type 'C-c C-c'. - #If you want to NOT register this entry, type 'C-c C-q'. - Shortname: kazu - Addresses: kazu@example.org - Comments: - -個人情報を登録するには `C-uC-cC-a' と押して下さい。以下に例を示します。 - - #If you want to register this entry, type C-c C-c. - #If you want to NOT register this entry, type C-c C-q. - Shortname: kazu - Addresses: kazu@example.org - Nickname: - Name: Kazuhiko Yamamoto - Comments: - -必要であれば加筆訂正します。実際に登録するには `C-cC-c'、登録を取り止 -める場合は `C-cC-q' と入力して下さい。*Note Quit:: も参照して下さい。 - -なお、Addrbook に複数の言語の文字を使いたい場合は、以下の設定を -Addrbook の先頭に記述して下さい。 - - #-*-coding:ctext;-*- - - - - -File: mew.ja.info, Node: auto-alias, Next: addr-comp1, Prev: addrbook, Up: Composing - -アドレスの自動学習 -================== - -メッセージを送信した場合、To: と Cc: に書かれているアドレスは、自動的 -に学習されます。以下の例を考えて下さい。 - - To: kazu@example.org - -アドレスの補完(1)(*Note addr-comp1::)の場合:このメッセージを送信する -と、アドレス "kazu@example.org" に対し、短縮名 "kazu" が自動登録されま -す。ただし、すでに "kazu" という短縮名が自動登録されているなら、 -`mew-addrbook-override-by-newone' の値に応じて上書きするかを決定します。 -`nil' なら古い設定を残し、それ以外なら上書きします。展開の際は、アドレ -ス帳の方が優先されます。ですから、アドレス帳に無い短縮名のみが有効にな -ります。 - -アドレスの補完(2)(*Note addr-comp2::)の場合:このメッセージを送信する -と、アドレス "kazu@example.org" が自動登録されます。 - -自動登録されるのは通常 2000 個(`mew-lisp-max-length')のアドレスまでで -す。それを越えて登録するとアルファベット順で最後の方が消えます。これら -の情報は Mew を終了する際に、"~/Mail/.mew-alias" に保存されます。 - -自動登録ですから、不要な短縮名も登録されます。不要な短縮名を削除するに -は、以下のようにするといいでしょう。まず、`M-a' を実行し、 -"~/Mail/.mew-alias" を開きます。次に、テキストファイルを編集する要 -領で、不要な短縮名を削除します。そして、`C-xC-s' で保存して下さい。 -保存と同時に、その内容が Mew に反映されます。 - -アドレスの補完(1)とアドレスの補完(2)では、"~/Mail/.mew-alias" の書式が -異なります。`mew-use-full-alias' の値を変え、方法を切り替えたら、 -Summary モードで一回 `Z' を押して下さい。これで、書式が変換されます。 - - - -File: mew.ja.info, Node: addr-comp1, Next: addr-comp2, Prev: auto-alias, Up: Composing - -アドレスの補完(1) -================= - -アドレスの補完(1)では、アドレス帳の展開規則、アドレス帳の個人情報、お -よび送信時に学習されたアドレスで登録されたアドレスは、ユーザ名(短縮名) -が一意であることが前提となっています。 - -たとえば、以下のように「展開規則」を設定したとします。 - - pooh: winnie-the-pooh@example.net - -Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか -も、1 文字以上の文字列が前にある場所で `TAB' を打つと、アドレスの短縮 -名が補完されます。 - - To: piglet@example.org, - po`TAB' - -このように `TAB' を押すと、(他に候補が無ければ) "pooh" まで補完されま -す。 - - To: piglet@example.org, - pooh`TAB' - -もう一度 `TAB' を押すと "winnie-the-pooh@example.net" に展開されます。 - - To: piglet@example.org, - winnie-the-pooh@example.net - -"@" で終る文字列は強制的に展開します。たとえば、以下のように似たような -短縮名があった場合を考えて下さい。 - - pooh: winnie-the-pooh@example.net - pooh-pooh: pooh-pooh@example.org - -"pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し -かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完 -するのか分りません。"pooh" を "winnie-the-pooh@example.net" に強制的に -展開するには、以下のように `@' を挿入し、`TAB' を押します。 - - To: pooh@`TAB' - -強制展開は、`@' を挿入せず、`M-C-e' を押しても実行できます。 - -上記の説明は、送信時に学習されたアドレスにもあてはまります。 - -「個人情報」の書式では、アドレスが順に置き換えられていきます。以下の例 -を考えて下さい。 - - kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" - -kazu がどう変化するのか見てみましょう。 - - To: kazu`TAB' - -"kazu" の後で `TAB' を打つと、"kazu@example.org" に置き換わります。 - - To: kazu@example.org`TAB' - -次に "kazu@example.org" の後で `TAB' を打つと、"kazu@example.net" に置 -き換わります。 - - To: kazu@example.net`TAB' - -さらに "kazu@example.net" の後で `TAB' を打つと、"kazu@example.org" に -戻ります。このように `TAB' を押すと、アドレスが循環的に置換されます。 - -アドレスを決定した後は、正式名称が付加できます。 - - To: kazu@example.org`M-TAB' - -このように `M-TAB' を押すと、以下のように正式名称が付加されます。 - - To: Kazuhiko Yamamoto - - - -File: mew.ja.info, Node: addr-comp2, Next: send, Prev: addr-comp1, Up: Composing - -アドレスの補完(2) -================= - -アドレスの補完(2)では、学習されたアドレスに関しては、アドレス全体が補 -完の対象になります。アドレス帳の展開規則は、短縮名が補完の対象になり、 -一意に定まれば展開されます。アドレス帳の個人情報では、短縮名が補完の対 -象になり、一意に定まれば、登録されている先頭のアドレスに展開されます。 - -Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか -も、1 文字以上の文字列が前にある場所で `TAB' を打つと、短縮名あるいは -学習されたアドレスが補完されます。 - -kazu@example.org を学習しているとしましょう。 - - To: ka`TAB' - -曖昧でないところまで入力し、`TAB' を押せば、アドレスが補完されます。 - - To: kazu@example.org - -さらに kazunori@example.jp を学習したとしましょう。kazu@example.org へ -補完するには kazu@ まで、kazunori@example.jp へ補完するには kazun まで -入力する必要があります。 - -展開規則と個人情報は、`TAB' により、まず短縮名が補完されます。短縮名が -一意に定まれば、`TAB' で展開できます。 - -たとえば、以下のように「展開規則」を設定したとします。 - - pooh: winnie-the-pooh@example.net - -短縮名 "pooh" を補完してみましょう。 - - To: po`TAB' - -このように `TAB' を押すと、(他に候補が無ければ) "pooh" まで補完されま -す。 - - To: pooh`TAB' - -もう一度 `TAB' を押すと "winnie-the-pooh@example.net" に展開されます。 - - To: winnie-the-pooh@example.net - -問題は、短縮名が一意に定まらない場合の展開です。以下の展開規則を考えて -下さい。 - - pooh: winnie-the-pooh@example.net - pooh-pooh: pooh-pooh@example.org - -"pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し -かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完 -するのか分りません。"pooh" を "winnie-the-pooh@example.net" に強制的に -展開するには、`M-C-e' を利用します。(`TAB' で強制展開する方法はありま -せん。) - - To: pooh`M-C-e' - -この例は、以下のように強制展開されます。 - - To: winnie-the-pooh@example.net - - - - -File: mew.ja.info, Node: send, Next: cite, Prev: addr-comp2, Up: Composing - -メッセージの送信 -================ - -メッセージを書き上げ、いよいよ送信するには、以下の 2 つのコマンドのど -ちらかを選んで下さい。 - -`C-cC-m' - メッセージを作成し +queue または +postq に入れ、送信待ち状態にす - る。 -`C-cC-c' - メッセージを作成し送信する。"Really send this message? (y or n) " - と訊かれる。`y' を押せば、送信される。 - -メッセージが送信される際にどう加工されるか説明します。以下のようなメッ -セージを考えて下さい。 - - To: pooh - Subject: 明日の日曜日 - From: Piglet - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - 明日の日曜日、遊びませんか? - - // ピグレット - -たとえば、`C-cC-m' でこのメッセージを +queue あるいは +postq に入れる -と、メッセージは以下のように加工されています。 - - Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST) - Message-Id: <20000313.194950.59499544.piglet@example.org> - To: winnie-the-pooh@example.net - Subject: =?iso-2022-jp?B?GyRCTEBGfCRORnxNS0Z8GyhC?= - From: Piglet - X-Mailer: Mew version 6.7 on Emacs 24.4 - Mime-Version: 1.0 - Content-Type: Text/Plain; charset=iso-2022-jp - Content-Transfer-Encoding: 7bit - - 明日の日曜日、遊びませんか? - - // ピグレット - -Date: や Message-Id: が付加されたのはお分かりになるでしょう。Subject: -にあった日本語は、配送に安全となるよう ASCII コードに変換されています。 -また、本文のデータ型や文字コードが推測され、正しく付加されていることは -特筆すべきでしょう。 - -`C-cC-m' や `C-cC-c' でメッセージを作成するとき、ヘッダに不備があった -場合に注意を促してくれる機能があります。 - -`mew-ask-subject' を `t' にしておけば、Subject: が空のときに値を尋ねて -くれます。空のままにしたい場合は単純に `RET' を押して下さい。この変数 -の初期値は `nil' です。 - -`mew-ask-fcc' を `t' にしておけば、Fcc: に存在しないフォルダが指定して -ある場合、そのフォルダを作成するか尋ねてくれます。作るなら `y'、作らな -いなら `n' を押して下さい。`n' を押すと、送信が中止され、カーソルは草 -稿に戻ります。この変数の初期値は `nil' です。 - -Mew は、サーバがユーザ認証を要求すると、送信のためのパスワードをユーザ -に訊きます。長い間、メールの送信にはパスワードが必要ありませんでした。 -これが、メールアドレスを詐称できる原因の一つとなっています。これからは、 -メールの送信の際は、受信のときと同じように、パスワードが必要な時代にな -ります。 - -+queue に溜っているメッセージを送信するには、以下の 2 つの方法がありま -す。どちらも Summary モードのコマンドであることに注意しましょう。 - -`i' - `mew-auto-flush-queue' が `t' の場合は、メッセージを受信した後 - に、+queue にあるメッセージを送信する。ダイアルアップ環境において、接続 - 料金を節約する意味でも、送信のための認証という意味でも、これはよい方法。 - `mew-auto-flush-queue' の初期値は `t'。 -`C-cC-c' - +queue にあるメッセージを送信する。+queue に行って、できあがったメッセー - ジを見た後に、このコマンドを使うと便利。`mew-ask-flush-queue' が - `t' なら、"Flush queue? (y or n) " と訊かれる。 - `mew-ask-flush-queue' の初期値は `nil'。 - - - -File: mew.ja.info, Node: cite, Next: mime-comp, Prev: send, Up: Composing - -シグニチャと引用 -================ - -ここでは、本文のテキストを便利に処理するコマンドについて述べます。 - -まずシグニチャについてです。カーソルのある場所に "~/.signature" を挿入 -するコマンドは `C-cTAB' です。シグニチャファイルは、 -`mew-signature-file' で設定できます。`mew-signature-as-lastpart' や -`mew-signature-insert-last' を設定することで、`C-cTAB' の動作をカスタ -マイズできます。 - -`C-cTAB' - カーソルの位置に "~/.signature" を挿入する。 - -次に引用についてです。Summary モードの `a' や `A' を使ってメッセージに -返答するための草稿を用意すると、Emacs が 3 分割されます。上が現在の -Summary モード、中が Message モード、下が Draft モードです。 - -Message モードのテキストを引用するコマンドを以下に示します。 - -`C-cC-y' - Message モードからメッセージの一部をコピーし、引用ラベルと引用記 - 号付で貼り付ける。 - 1. おおまかにいえば、Message モードの本文がコピーされる。たとえ - ば、Text/Plain が表示されていると、Message モード全体がコピー - される。Message/Rfc822 が表示されている場合は、ヘッダを除い - た本文がコピーされる。 - 2. `C-uC-cC-y' では、ヘッダがあればヘッダをコピーする。 - 3. Emacs のマークがあると、そのマークとカーソルの間が対象となる。 -`C-cC-t' - Message モードからメッセージの一部をコピーし、引用ラベルと引用記 - 号なしで貼り付ける。 - -引用ラベルと引用記号の初期値は、以下のようになります。 - - From: SUMIKAWA Munechika - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - > おはようからおやすみまでニートでおなじみの角川です。 - > - > さて、とろけるワイン作戦ですが、定石通り '90 のボルドーの - > カベルネ・ソービニョンを狙いたいと思います。 - -Draft モードでは Message モードに表示されているものならなんでも引用で -きます。つまり、複数のメッセージを簡単に引用できるのです。引用したいメッ -セージを表示させて、本文を引用する手順を、引用したいメッセージの回数だ -け繰り返して下さい。そのための 3 分割です。 - - -本文やヘッダの色付けがおかしくなった場合、`C-cC-l' を実行することで、 -色付けをやり直すことができます。 - - - -File: mew.ja.info, Node: mime-comp, Next: charset-guess, Prev: cite, Up: Composing - -マルチパートの作成 -================== - -さて、ここでマルチパートの作り方を披露しましょう。 - -たとえば、+draft/1 でメッセージを書いているときに、`C-cC-a' と入力する -と、草稿の一番下に - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -という行が挿入されます。"1/" はマルチパートを構築するための一時的なディ -レクトリで、実体は "~/Mail/attach/1" です。パート 1 の CoverPage は本 -文を意味します。ここで Draft モードは次のようになっているでしょう。 - - To: mew-dist - Subject: ここがヘッダ - From: Kazu Yamamoto - X-Mailer: Mew version 6.7 on Emacs 24.4 - ---- - 本文だよ。 - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -3 つの領域を以下のように呼ぶことにします。 - - * "----" より上を 「ヘッダ」 - * "----" から "attachments" までを「本文」 - * "attachments" より下を「添付領域」 - -Draft モードでは、リージョンによってキー割当が違います。 - -たとえば、`TAB' は以下のようになります。 - -ヘッダ - さまざまな補完。 -本文 - TAB の挿入。 -添付領域 - なにもしない。 - -`c' だと以下のようになります。 - -ヘッダ - c を挿入。 -本文 - c を挿入。 -添付領域 - ファイルのコピー。 - -以下、添付領域でのキー割当です。 - -`C-p' - 現在のディレクトリの前のファイルへ移動。 -`C-n' - 現在のディレクトリの後のファイルへ移動。 -`C-f' - 1 番目のサブディレクトリに移動。 -`C-b' - 親ディレクトリに移動。 -`c' - ファイルのコピー。"." 上で有効。ネットワーク経由でも可。リモート - のファイルをコピーする場合は、"/[user@]hostname:/filepath" の形式 - でファイルを指定。 -`l' - ファイルへシンボッリクリンクを張る。"." 上で有効。添付ファイルを - `f' を使って読み込んで編集する場合は、実体を編集してしまわないよ - うに、`l' ではなく `c' でコピーすべき。 -`d' - ファイルとディレクトリの消去。 -`m' - サブディレクトリ(つまりマルチパート)の作成。"." 上で有効。 -`f' - ファイルをバッファに読み込む。 -`F' - 新規ファイルをバッファに読み込む。"." 上で有効。 -`y' - Message モードに表示されているメッセージにリンクを張る。"." 上で - 有効。 -`e' - external-body の入力。"." 上で有効。 -`a' - 音をサンプリングしオーディオファイルとして挿入。"." 上で有効。 -`p' - 入力されたユーザの PGP 公開鍵を取り出す。"." 上で有効。 -`D' - ちょっとした説明(Content-Description:)の入力。 -`T' - データ型(Content-Type:)の変更。 -`t' - データ型に関し、テキストとバイナリを反転させる。 -`I' - Text/* 型の入力 coding-system を指定する。 -`C' - Text/* 型の出力 coding-system を指定する。 -`P' - 受信側でこのパートを保存する際のファイル名(Content-Disposition:) - の変更。ファイル名の入力の際に、単に `RET' を押すと値が消える。そ - して、送信側のファイル名が `*' と共に表示される。 - -添付領域では、ファイルの拡張子によってデータを取り扱います。現在サポー -トしている拡張子は以下の通りです。 - - .txt Text/Plain - .html Text/Html - .xml Text/Xml - .rtf Text/Enriched - .css Text/Css - .sgml Text/Sgml - [0-9]+ Message/Rfc822 - .ps Application/Postscript - .pdf Application/Pdf - .doc Application/Msword - .xls Application/Vnd.Ms-Execl - .ppt Application/Vnd.Ms-Powerpoint - .vsd Application/Vnd.Visio - .dat Application/Ms-Tnef - .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll - Application/Octet-Stream - .gif Image/Gif - .tiff Image/Tiff - .jpe?g Image/Jpeg - .png Image/Png - .xwd Image/X-Xwd - .xbm Image/X-Xbm - .xpm Image/X-Xpm - .bmp Image/X-Bmp - .pcx Image/X-Pcx - .tga Image/X-Tga - .au Audio/Basic - .wav Audio/X-Wav - .aif?f Auido/X-Aiff - .midi? Auido/X-Midi - .mpga|.mp[23] Audio/X-Mpeg - .mpe?g Video/Mpeg - .mov Video/Quicktime - .avi Video/X-Msvideo - -コピーするときのファイル名は、適切なデータ型を推測できるよう拡張子に気 -を付ければなんでもよいです。もし、該当する拡張子がない場合、 -`mew-content-type' で指定されるデータ型が選ばれます。初期値は、 -Text/Plain(テキスト)です。 - - -`c' でファイルをコピーすると、たとえば次のようになります。 - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - B 2 Image/Gif MagicPoint のロゴ mgp.gif - Q 3 Application/Postscript 資料 ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -各行は、 - - - マーク (Content-Transfer-Encoding:) - - パート番号 - - データ型 (Content-Type:) - - 説明 (Content-Description:) - - ファイル名 (Content-Disposition:) - -から構成されています。 - -データ型(Content-Type:)は `T' によって変えられます。データ型がテキスト -(Text/Plain)かバイナリ(Application/Octet-Stream)の場合は、`t' によって -一方を他方へ反転できます。 - -マーク(Content-Transfer-Encoding:)を変更する方法は、*Note -mark-b-comp:: を参照して下さい。説明(Content-Description:)は `D' で入 -力できます。この説明のカラムは、*Note mark-b-comp:: で説明する暗号化の -際に上書きされます。 - -第 5 カラムに表示されるのは、実際にはコピーしたファイル名か -Content-Disposition:、つまり、受信者がそのパートを保存する際のファイル -名です。Content-Disposition: の値があれば、それが表示されます。なけれ -ば、コピーしたファイル名に `*' を付加して表示します。ファイルをコ -ピーした際の Content-Disposition: の値は、コピーしたファイル名が指定さ -れています。ただし、Message/* と Multipart/* には Content-Disposition: -は設定されません。Message/* の Content-Disposition: を指定するには、 -`P' を利用して下さい。 - -ファイルはシングルパートに、ディレクトリはマルチパートに対応します。で -すから、ファイル構造を作っていく感覚で複雑なマルチパートを作成できます。 -簡単でしょ? - -ディレクトリに対するデータ型の初期値は、一般的なマルチパート -(Multipart/Mixed)です。これも `T' によって変更できます。 - -お好みのマルチパートが作成できたら、前節で述べたように `C-cC-m' か -`C-cC-c' を利用してメッセージを送信して下さい。 - -パートの実体が外部にある external-body を作成するコマンド `e' について -説明しましょう。access-type に ftp か anon-ftp を入力するときは、 -ange-ftp のおかげでリモートのファイル名が補完できます。access-type が -local-file の場合は、もちろんファイル名を補完できます。 - -もし、マルチパートの作成途中でやっぱりシングルパートに戻したくなったら、 -一番上のマルチパート部分で `d' を押して下さい。 - - - -File: mew.ja.info, Node: charset-guess, Next: longline, Prev: mime-comp, Up: Composing - -文字コードの決定 -================ - -Mew はシングルパートとマルチパートの両方に対し、配送時の文字コードを決 -定する機能を持っています。 - -<シングルパート> - -Draft モードで `C-cC-m' や `C-cC-c' と入力しメッセージを作成すると、 -Mew は本文の内部表現から配送時の文字コードを決定します。バイリンガル -Emacs では、7 ビットの文字コードに対し US-ASCII を選び、8 ビットの文字 -コードに対し ISO-8859-1 を選択します。国際化 Emacs では、内部表現から -Mew が定めた規則に従って、配送時の文字コードを決定します。 - -<マルチパート> - -マルチパートの一部として添付するデータは、ファイルですからディスク上に -存在します。そこで、メッセージの作成の際に、配送時の文字コードを決定す -るためには、まず Emacs のバッファに取り込み、内部表現に直す必要があり -ます。内部表現に直した後は、シングルパートと同様の方法で、配送時の文字 -コードを決定します。 - -バイリンガル Emacs では、Mew はファイルをそのままの形式で読み込みます。 -ですから、7 ビットのファイルには US-ASCII が、8 ビットのファイルには -ISO-8859-1 が選ばれます。 - -国際化 Emacs では、Mew は環境(つまり auto conversion)に従って、文字コー -ドを推測しながらファイルを読み込みます。国際化 Emacs でこの環境を決定 -するコマンドは、`C-x RET l' です。 - -たとえば、日本語の環境では、国際化 Emacs は ISO-2022-JP、EUC-JP、そし -て、Shift_JIS を見事に推測し、日本語用の内部表現に変換してバッファに格 -納します。Mew はこの内部表現から、配送時の文字コードとして ISO-2022-JP -を選択します。つまり、ファイルの文字コードが EUC-JP や Shift-JIS であっ -ても、配送用の ISO-2022-JP に自動的に変換されます。そこでユーザは、添 -付するファイルの文字コードを気にすることなしに、ファイルを添付可能です。 - -もし、ディスク上のファイルの coding-system を明示的に指定したいなら`I' -を使って下さい。これを入力文字コードと呼ぶことにします。また、配送時の -coding-system を明示的に指示したいなら、`C' を利用して下さい。 - -文字コードの情報は、添付領域において、丸括弧の内側に表示されます。もし、 -配送時の文字コードが明示的に指定されていれば、それが表示されます。そう -でなくて、入力文字コードが明示的に指定されていれば、それが "*" と共に -表示されます。そうでなければ、"guess" と表示されます。 - -以下の例の見て下さい。パート 1 は、本文ですからあらかじめバッファ内に -あります。"guess" と表示されていますから、配送時の文字コードを Mew が -定めた規則に従って決定します。 - -パート 2 は、入力文字コードとして iso-8859-1 が指定されていますので、 -ファイルの文字コードを iso-8859-1 であるとして読み込み、内部表現に変換 -します。配送時の文字コードは Mew が定めた規則に従って決定します。 - -パート 3 の入力文字コードは、この例だけからだと明示的に指定されている -か分かりません。(しかし、ユーザ自身はは実際に指定したか分かっているは -ずです。) とにかく、ファイルは内部表現に直され、配送時の文字コードに指 -定されている EUC-JP に変換されます。 - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - 2 Text/Plain(*iso-8859-1) text1 - B 3 Text/Plain(euc-jp) text2 - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -バイリンガル Emacs では `C' と `I' は利用できません。 - - - diff --git a/elpa/mew-20161030.1807/mew.ja.info-2 b/elpa/mew-20161030.1807/mew.ja.info-2 deleted file mode 100644 index 6bc83997..00000000 --- a/elpa/mew-20161030.1807/mew.ja.info-2 +++ /dev/null @@ -1,2135 +0,0 @@ -Info file: mew.ja.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew-J: (mew.ja.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.ja.info, Node: longline, Next: reply, Prev: charset-guess, Up: Composing - -長い行の取り扱い -================ - -長い間、メッセージに書く文章は、自分自身で各行を(英文字で)70文字程度に -折り返すべきだとされてきました。RFC 3676 で Text/Plain が拡張され、 -format パラメータに flowed という値が定義されました。 - -このおかげで、送り側で長い行を目印を付けて折り返し、受け取り側で長い行 -に戻せるようになりました。ユーザの目から見れば、メッセージに長い行を気 -軽に書いてもよくなったということです。 - -Mew で、長い行を flowed で折り返すには 2 つの方法があります。 - -1) 明示的に折り返すには、`C-cC-f'を実行します。 - -このコマンドは、草稿に長い行があるかを調べます。 -`mew-flowed-fold-threshold' を越える行が見つかったら、flowed で折り返 -しを実行します。この変数の値は 78 です。 - -折り返した行が、何文字以内になるかを制御する変数が -`mew-flowed-fold-length'です。初期値は 70 です。 - -折り返す方法は、文字コードによって変わります。分かち書きをする文字コー -ドでは、既存の空白文字の後に改行文字を入れて折り返します(delsp=no)。分 -かち書きをしない文字コードでは、適切な場所に空白文字と改行文字の両方を -挿入して折り返します(delsp=yes)。 - -もう一度 `C-cC-f' を実行すると、折り返された行が元に戻ります。 - -2) `mew-use-format-flowed' が `t' の場合は、`C-cC-c'や`C-cC-m'でメッセー -ジを作成するときに、この機能が働きます。この変数の初期値は `nil' です。 - -3) `C-cC-pC-f' で、`mew-use-format-flowed' の値を反転できます。 - - -なお、メッセージを表示する際は、`mew-use-format-flowed' の値に関係なく -flowed で折り返された行は、元に戻されます。長い行が見にくい場合は、 -Summary モードで `_' を利用しましょう。 - -`mew-flowed-auto-wrap' が `t' の場合、メッセージを表示すると、元に戻さ -れた行に一回 `_' が実行され、折り返された状態で表示されます。 -`mew-flowed-auto-wrap' のデフォルトの値は `t' です。 - - - -File: mew.ja.info, Node: reply, Next: forward, Prev: longline, Up: Composing - -メッセージへの返答と宛先の決定 -============================== - -新規にメッセージを書く場合は、To:、Cc:、および Newsgroups: を自分で書 -くことになります。一方 Summary モードで `a' や `A' を使って、あるメッ -セージに返答しようとすると、To:、Cc:、Newsgroups: は自動的に用意されま -す。 - -Summary モードで `a' や `A' を使うと、新しい草稿が Draft modeに用意さ -れます。To:、Cc:、Newsgroups: の値は、以下の三つの alist に従って用意 -されます。 - - 1. もし `C-u' 付きで呼び出された場合、送信者/投稿者のみに返答する。 - この場合、`mew-reply-sender-alist' が利用される。 - 2. もし対象が自分自身で送ったメッセージなら、そのヘッダを加工せずに - 返答したいのであろう。この場合、`mew-reply-fromme-alist' が利用さ - れる。 - 3. そうでなければ、すべての人に返答する。この場合、 - `mew-reply-all-alist' が利用される。 - -`mew-reply-sender-alist' の初期値は以下の通りです。 - - '(("Reply-To:" - ("To:" "Reply-To:" "From:")) - (t - ("To:" "From:"))) - -これは、次のように解釈します。 - - 1. Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコ - ピーする。 - 2. そうでなければ、From: の値を新しい To: へコピーする。 - -もし、Reply-To: で指定されたアドレスのみに返答したい場合は、 -`mew-reply-sender-alist' を以下のように設定するとよいでしょう。 - - (setq mew-reply-sender-alist - '(("Reply-To:" - ("To:" "Reply-To:")) - (t - ("To:" "From:")))) - -`mew-reply-fromme-alist' の初期値は以下の通りです。 - - '((t - ("To:" "To:") - ("Cc:" "Cc:") - ("Newsgroups:" "Newsgroups:")))) - -これは、次のように解釈します。 - - 1. To: の値を新しい To: へ、Cc: の値を新しい Cc: へ、Newsgroups: の - 値を新しい Newsgroups: へコピーする。 - -`mew-reply-all-alist' の初期値は以下の通りです。 - - '((("Followup-To:" "poster") - ("To:" "From:")) - ("Followup-To:" - ("Newsgroups:" "Followup-To:" "Newsgroups:")) - ("Newsgroups:" - ("Newsgroups:" "Newsgroups:")) - ("Reply-To:" - ("To:" "Reply-To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:")) - (t - ("To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:"))) - -これは、次のように解釈します。 - - 1. Follwup-To: の値が "poster" であれば、From: の値を新しい To: へコ - ピーする。 - 2. Follwup-To: が存在すれば、Follwup-To: と Newsgroups: の値を新しい - Newsgroups: へコピーする。 - 3. Newsgroups: が存在すれば、Newsgroups: の値を新しい Newsgroups: へ - コピーする。 - 4. Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコ - ピーする。また、To:、Cc:、Apparently-To: の値を新しい Cc: へコピー - する。 - 5. そうでなければ、From: の値を新しい To: へコピーする。また、To:、 - Cc:、Apparently-To: の値を新しい Cc: へコピーする。 - -`mew-reply-all-alist' を以下のように設定したいと思う人もいるかもしれま -せん。 - - (setq mew-reply-all-alist - '((("Followup-To:" "poster") - ("To:" "From:")) - ("Followup-To:" - ("Newsgroups:" "Followup-To:")) - ("Newsgroups:" - ("Newsgroups:" "Newsgroups:")) - ("Reply-To:" - ("To:" "Reply-To:")) - (t - ("To:" "From:") - ("Cc:" "To:" "Cc:" "Apparently-To:")))) - -あるアドレスが複数ある場合は、自動的に 1 つになります。また、匿名の宛 -先を表す ":;" で終るアドレスも、自動的に消去されます。 - -自分のアドレスは自動的に消去されます。自分のアドレスは、 -`mew-config-alist' などから `mew-mail-address-list' に自動設定されます。 -この値が気に入らないなら、以下のように明示的に設定することも可能です。 - - (setq mew-mail-address-list - '("^pooh@[a-z]*.example.org$" - "^pooh@example.net$" - "^winnie@example.jp$")) - - - -File: mew.ja.info, Node: forward, Next: resend, Prev: reply, Up: Composing - -メッセージの転送 -================ - -メッセージを転送するには、Summary モードで `f' や `F' を利用します。す -ると、Draft モードに移行し、あらかじめメッセージが添付領域に添付された -草稿が準備されます。 - -また Draft モードで添付領域を用意し、メッセージをコピー(`c')したりメッ -セージにリンク(`l')を張ったりしても、メッセージを転送できます。ファイ -ル名が数字([0-9]+)の場合は、自動的にメッセージだと判断されます。また、 -添付領域で `y' を使うと、Message モードに表示しているメッセージにリン -クを張るので便利です。 - -通常は添付したメッセージの全体が転送されます。もし、ヘッダの一部を削りた -い場合は、`mew-field-delete-for-forwarding' を定義して下さい。以下 -に "Received:" と "Return-Path:" を転送時に削るための設定例を示します。 - - (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:")) - - - -File: mew.ja.info, Node: resend, Next: shortcut, Prev: forward, Up: Composing - -メッセージの再送 -================ - -メッセージのヘッダの一部のみを変更して、送信したい場合があります。 - -たとえば、同じ内容のメッセージを、複数の宛先に独立して送りたい場合です。 -pooh 宛のメッセージを作成して、+queue に入れ、すぐさまそのメッセージを -コピーし、宛先だけを piglet に変更したい場合を想像して下さい。これを、 -メッセージの再利用による送信と呼びましょう。 - -また、メッセージに Resent-To: というフィールドを付けて再送したいことも -あります。これは、転送の一種です。こちらはヘッダだけ書き直すので、ヘッ -ダ変換といいます。前節で説明した転送は、メッセージを新規のメッセージに -包み込んで転送するため、カプセル化と呼ばれています。 - -ヘッダの一部だけを編集し、メッセージを送信したり、キューに入れたりする -モードとして、Header モードが用意されています。本文が編集できない -Draft モードだと思えばいいでしょう。 - -Header モードに入るために、Summary モードには以下のコマンドが用意され -ています。 - -`W' - メッセージの再利用による送信。対象となるメッセージの To:、Cc:、 - From: などを書き換えるために、Header モードに移行する。典型的には、 - +queue または +postq に入っているメッセージに対して利用する。 -`r' - メッセージの再送。対象となるメッセージのヘッダに、Resent-To:、 - Resent-Cc:、Resent-From: などを追加するために、Header モードに移 - 行する。再送によるメッセージの転送は、受信者を混乱させることがあ - るので、よく考えてから利用すること。 - -Header モードでは、Draft モードのように、補完や循環的な補完が利用でき -ます。ヘッダの入力が終わったら、以下のどちらかのコマンドを用いて、メッ -セージを送信して下さい。本文が表示されていないので不安かもしれませんが、 -ちゃんと対象となっているメッセージの本文とヘッダの一部が再利用されます。 - -`C-cC-m' - メッセージを作成し +queue または +postq に入れ、送信待ち状態にす - る。 -`C-cC-c' - メッセージを作成し送信する。"Really send this message? (y or n) " - と訊かれる。`y' を押せば送信される。 - - - -File: mew.ja.info, Node: shortcut, Next: mark-b-comp, Prev: resend, Up: Composing - -電子署名/暗号メールを作成する -============================= - -ここでは、テキストである本文を PGP や S/MIME で署名したり暗号化したり -する方法について説明します。紹介するコマンドは以下の通りです。 - -`C-cC-s' - 草稿全体を署名する。パスフレーズを入力すること。 -`C-cC-e' - 草稿全体を暗号化する。 -`C-cC-b' - 草稿全体を署名後暗号化する。パスフレーズを入力すること。 -`C-cC-r' - 草稿全体を暗号化後署名する。パスフレーズを入力すること。 - -メッセージを暗号化するには受信者の公開鍵を使用します。逆に署名するには -自分の秘密鍵を使います。よって、署名するためにはパスフレーズを入力する -必要があります。ただし、パスフレーズの保存機能やマスターパスワードを使っ -ており、パスフレーズが保存されている場合は、パスフレーズを入力する必要 -はありません(*Note password::)。 - -これらのコマンドは、通常 PGP/MIME を作成します。S/MIME を作成したい場 -合は、以下のように設定して下さい。 - - (setq mew-draft-privacy-method 'smime) - -この変数の値は、Draft モードの `C-cC-pC-m' でも変更できます。 - -上記4つのコマンドは、次節で説明するマークを使った作成方法の省略方法に -当たります。 - -メッセージに署名を施すには、`C-cC-s' と入力します。署名の際には、自分 -の秘密鍵を復号化する必要がありますので、パスフレーズがキャッシュされて -いなければ、入力を促されます。署名が施されたメッセージは、+queue また -は+postq に格納されます。 - -自分の秘密鍵は、From: にあるアドレスを元に特定されます。From: がない場 -合は、デフォルトの秘密鍵が選択されます。From: にあるアドレスとは違うア -ドレスで秘密鍵を指定したい場合は、`C-uC-cC-s' と入力して下さい。 - -メッセージを暗号化するには、`C-cC-e' とタイプして下さい。To: や Cc: か -らアドレスを切り出して、その受信者が復号化できるよう暗号化します。暗号 -化するだけのなので、パスフレーズを訊かれることはありません。作成された -メッセージは、+queue に格納されます。 - -このメッセージは、受信者の公開鍵に加えて、自分の公開鍵でも暗号化されて -います。ですから、作成したメッセージを復号化できます。たとえば、`g' で -+queue に移動し、念のため復号化して確認することが可能です。 - -署名後暗号化するには、`C-cC-b' と入力します。暗号化後署名するには、 -`C-cC-r' とタイプします。どちらの場合も作成されたメッセージは、+queue -に蓄えられます。 - -署名を施したり、暗号化したりしてメッセージを送ろうと思っていても、うっ -かり忘れることがあります。これを防ぐために、メッセージを作成するコマン -ド `C-cC-m' や `C-cC-c' を実行すると、自動的に署名や暗号化を施す機能が -あります。 - -作成するすべてのメッセージのプライバシを保護したいなら、 -`mew-protect-privacy-always' を `t' にして、 -`mew-protect-privacy-always-type' に利用したいサービスを設定します。 - -暗号化されたメッセージに対する返答メッセージのプライバシを保護したいな -ら、`mew-protect-privacy-encrypted' を `t' にして、 -`mew-protect-privacy-encrypted-type' に利用したいサービスを設定します。 -この設定は、暗号化されたメッセージへの返答する場合、上記のすべてのメー -ルに対する設定よりも優先されます。 - -以下に利用できるサービスを示します。かっこ内はそれぞれのサービスを表す -シンボルです。`C-cC-m' や `C-cC-c' と入力する際に利用されるサービスは、 -モードラインに表示されます。 - -pgp-signature (PS) - PGP で署名 -pgp-encryption (PE) - PGP で暗号化 -pgp-signature-encryption (PSPE) - PGP で署名後暗号化 -pgp-encryption-signature (PEPS) - PGP で暗号化後署名 -smime-signature (SS) - S/MIME で署名 -smime-encryption (SE) - S/MIME で暗号化 -smime-signature-encryption (SSSE) - S/MIME で署名後暗号化 -smime-encryption-signature (SESS) - S/MIME で暗号化後署名 - -以下の例は、すべてのメッセージに対し署名する設定です。 - - (setq mew-protect-privacy-always t) - (setq mew-protect-privacy-always-type 'pgp-signature) - -以下の例は、暗号化されたメッセージへの返答メッセージに対し、PGP で暗号 -化する設定です。 - - (setq mew-protect-privacy-encrypted t) - (setq mew-protect-privacy-encrypted-type 'pgp-encryption) - -Draft モードでは、`C-cC-pC-a' で `mew-protect-privacy-always'、 -`C-cC-pC-e' で `mew-protect-privacy-encrypted' の値を反転できます。 - -Draft モードにおいて現在書いている草稿に対してのみあらかじめサービスを -指定しておき、送信時にサービスを施すことを忘れないようにできます。現在 -の草稿に対し `C-cC-m' や `C-cC-c' で施されるサービスを指定するには、 -`C-cC-pC-d' に続いて上記のサービスの 1 つを入力して下さい。現在のサー -ビスをキャンセルするには、サービス名の代りに単に `RET' を押して下さい。 - -`C-cC-c' や `C-cC-m' でメッセージを作成する際、署名や暗号化に -失敗したら、草稿に戻ります。このとき指定していたサービスはキャンセルされ -ます。続けて `C-cC-c' や `C-cC-m' でメッセージを作成すると、普 -通のメッセージが作成されるので気をつけて下さい。問題を取り除いた後、同じ -サービスを望むなら、明示的に `C-cC-pC-d' でサービスを指定するか、 -`C-cC-s'、`C-cC-e' などを用いて下さい。 - - -`mew-use-old-pgp' を `t' に設定すれば(初期値は `nil')、`C-cC-s' や -`C-cC-e' は PGP/MIME の代りに、古い PGP の書式に従ってメッセージを生成 -します。添付領域がある場合は、エラーになります。 - -上記で説明した `mew-protect-privacy-*' は、PGP/MIME のみに有効であり、 -古い PGP には機能しません。`C-cC-m' や `C-cC-c' で常に古い PGP の署名 -を施すには、`mew-protect-privacy-with-old-pgp-signature'を `t' にして -下さい。 - -PGP/MIME や S/MIME のために Mew は GnuPG 1.x と 2.0 をサポートしていま -すが、2.1 はサポートしていません。 - - - -File: mew.ja.info, Node: mark-b-comp, Next: pgp-key, Prev: shortcut, Up: Composing - -マークを使った電子署名/暗号メールの作成 -======================================= - -PGP/MIME、S/MIME、および ZIP をサポートするために、マークを使った作成 -方法が提供されています。以前の例を思い出してみましょう。 - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - B 2 Image/Gif MagicPoint のロゴ mgp.gif - Q 3 Application/Postscript 資料 ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -行頭に `B' や `Q' といったマークがあります。このマークは符号化を意味し -ています。Mew では、新しい概念「符号化」を導入しています。符号化には、 -Base64、Quoted-Printable、Gzip64 (Gzip + Base64)、署名、暗号化などがあ -ります。 - -現在次の 8 つのマークがサポートされています。 - -`" "' - 符号化しない。ただし、8 ビットのテキストは符号化されるかもしれな - い。 -`B' - Base64 -`Q' - Quoted-Printable -`G' - Gzip64(gzip 圧縮し Base64 で符号化する。Mew が実験的に採用してい - る。相手が Mew を使っていない場合は、使用すべきではない。) -`PS' - PGP で電子署名。 -`PE' - PGP で暗号化。 -`SS' - S/MIME で電子署名。 -`SE' - S/MIME で暗号化。 - -添付領域でのマークに関係する新しいキー割当は以下の通りです。 - -`B' - Base64 で符号化するため `B' マークを付ける。 -`Q' - Quoted-Printable で符号化するため `Q' マークを付ける。 -`G' - Gzip64 で符号化するため `G' マークを付ける。ただし、Text/Plain と - Application/Postscript でしか実行できない。これ以外の型には圧縮は - 無意味である。なぜなら、jpeg などはあらかじめ圧縮されているから。 -`S' - PGP で署名するため `PS' マークを付ける。 -`E' - PGP で暗号化するため `PE' マークを付ける。受信者のアドレスを入力 - する。 -`M-s' - S/MIME で署名するため `SS' マークを付ける。 -`M-e' - S/MIME で暗号化するため `SE' マークを付ける。受信者のアドレスを入 - 力する。 -`Z' - ZIP で直ちに暗号化する。暗号化された後は、`B'マークが付く。 -`U' - 符号化を元に戻す。元々のマークに戻る。 - -次の例を考えてみましょう。パート 2 は PGP で署名され、"kazu" 用に PGP -で暗号化されます。安心して下さい。説明の部分は上書きされていますが、保 -存されています。パート 3 は Gzip64 で符号化されます。 - - ----------------------------- attachments ----------------------------- - Multipart/Mixed 1/ - 1 Text/Plain(guess) CoverPage* - PSPE 2 Image/Gif kazu@example.org mgp.gif - G 3 Application/Postscript 資料 ohp.ps - 4 . - --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- - -マークを付けた後は、`C-cC-m' や `C-cC-c' を使って、メッセージを作成し -て下さい。 - - - -File: mew.ja.info, Node: pgp-key, Next: anonymous, Prev: mark-b-comp, Up: Composing - -PGP の鍵の配布 -============== - -PGP の公開鍵を配布するには、Draft モードの添付領域で `p' を押して下さ -い。だれの公開鍵を配布するか尋ねられます。自分の公開鍵であれば、単に -`RET' と入力して下さい。他人の公開鍵であれば、補完を利用しながらその人 -のアドレスを入力して下さい。PGP の公開鍵は、Application/Pgp-Keys とい -うデータ型で配送されます。 - -Summary モード、あるいは、Virtual モードでメッセージを読んでいる際に、 -あるパートのデータ型が Application/Pgp-Keys であれば、Mew は PGP の公 -開鍵リングにそれを登録しようとします。Mew は、「信用度」と「有効性」を -全く考慮しないことに注意して下さい。これらの値を設定するのは、あなた自 -身です。設定は Mew が表示する説明に従って下さい。もし、「信用度」と -「有効性」の意味が分からなければ、PGP を使って自分のプライバシを保護し -ようとする前に、PGP が提供する「信用の輪」とは何かを学ぶべきです。 - - - -File: mew.ja.info, Node: anonymous, Next: Marks, Prev: pgp-key, Up: Composing - -宛先を匿名にしたメッセージの送信 -================================ - -宛先を匿名にして、複数の受信者にメッセージを送信したいことがあります。 - -たとえば、pooh がパーティーへのお誘いを複数の友達に送ることを考えて下 -さい。パーティーへ参加するという piglet からの返事は、pooh のみに送る -べきです。しかし、To: にたくさんの友達を列挙していると、piglet は誤っ -て多くの人に返答を送りつけてしまうかもしれません。そもそも、pooh は誰 -を誘ったのか、当日までふせておきたいこともあるでしょう。 - -このような要望を実現するために、Mew では匿名の宛先として、":;" を利用 -します。以下の例を見て下さい。 - - To: party:piglet@example.org,roo@example.org; - From: Pooh - -"party" という説明文字列の後に ":" があります。そして、いくつかアドレ -スが "," で区切られながら列挙され、";" で終端されています。このような -形式でアドレスを書くと、Mew は ":" と ";" のアドレスにメッセージを届け -ますが、ヘッダからは削り取ります。この例では、piglet と roo は以下のよ -うなメッセージを受け取ります。 - - To: party:; - From: Pooh - -受信者はこのヘッダから、送信者は pooh であることは分かりますが、自分以 -外の誰に送られたのかは、想像するほかありません。また、"party:;" という -文字列は、アドレスではありませんから、ここに返答することも不可能です。 - -なお、To: や Cc: にたくさんのアドレスを列挙することは、本質的によいこ -とではありません。特定の人にメッセージを何度も送信する機会があるなら、 -通常メーリングリストを作成します。 - - - - -File: mew.ja.info, Node: Marks, Next: unread mark, Prev: anonymous, Up: Top - -愉快なマークたち -**************** - -ここでは、Summary モードでユーザが付けたり消したりできるマークについて -説明します。このマークは以下のように、行頭に付きます。(Mew が付けるマー -クは日付の左に付くことに注意。) - - D 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック - oM03/14 ももちゃん 能登の写真 |この前撮った写真を添付 - * 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 - -現在利用できるマークは以下の 6 つです。 - -`U' - 未読マーク。 -`D' - 消去のマーク。 -`X' - 消去のマーク。 -`o' - 整頓、つまり、フォルダを移動させるマーク。 -`*' - 処理の対象とするマーク。 -`$' - マークを一時的に待避するためのマーク。 - -マークを付けるだけでは、メッセージがなくなったりすることはありません。 -`o'、`D'、`X' といったマークを実際に処理するコマンドは、`x' です。マー -クを付けるのは気軽にできますが、`x' を押すときは慎重にお願いします。 - -以下それぞれについて説明します。また、Mew が表示するマークについてもま -とめます。 - -* Menu: - -* unread mark:: 未読 `U' -* delete mark:: 消去 `D'、`X' -* refile mark:: 整頓 `o' -* target mark:: 対象 `*' -* escape mark:: 待避 `$' -* unmark:: マークの消去 -* mark change:: マークの変換 -* sync:: IMAP サーバとのマークの整合性 -* off-line:: IMAP のためのマークのオフライン処理 -* mew-mark:: Mew が表示するマーク - - - -File: mew.ja.info, Node: unread mark, Next: delete mark, Prev: Marks, Up: Marks - -未読 `U' -======== - -以下のように設定すると、メッセージを一覧表示する際に、未読マーク -`U' がメッセージに付きます。 - - (setq mew-use-unread-mark t) - -`SPC'、`n'、および `p' などでメッセージを読むと -`U' マークは消えます。 - -この三つのコマンドは、通常 `*' マーク、`U' マーク、およびマー -クの付いていないメッセージを読み進みます。`zSPC' を押すと、これら -は `*' マークと `U' マークの付いたメッセージのみを読み進めま -す。これは、未読のメッセージを読み進める場合に便利です。もう一度 -`zSPC' を実行すると、対象とするメッセージが元に戻ります。 - -前のメッセージにマークを付けて、現在のメッセージに移動して来ると、`U' -マークは消えます。`SPC'、`n'、および `p' で移動して来た場合は、このメッ -セージを読むことを意図しているはずですが、マークを付けることで移動した -場合はメッセージを読むことを意図していないかもしれません。その場合、 -`U' マークが消えると少し不便です。マークを付けることで移動した際に、 -`U' マークを消したくないのであれば、以下のように設定するとよいでしょう。 - - (setq mew-delete-unread-mark-by-mark nil) - -以下に `U' マークに関するコマンドをまとめます。 - -`zSPC' - `SPC'、`n'、および `p' が読み進める対象とするメッセージを反転させ - る。反転とは、「`U' マーク、`*' マーク、およびマークなし」と「`U' - マークおよび `*' マーク」に対し、一方を他方へ変えること。 -`M-u' - `U' マークを付ける。 - - - - -File: mew.ja.info, Node: delete mark, Next: refile mark, Prev: unread mark, Up: Marks - -消去 `D'、`X' -============= - -メッセージを消去するには、まず Summary モードで `d' を押して、 -`D' マークを付けます。マークを付けただけでは何も起こらないので、間 -違って `d' を押しても大丈夫です。デフォルトでは、`x' を押すと -`D' マークの付いたメッセージがゴミ箱に移動します。 - -ローカル・フォルダのためのゴミ箱は +trash です。IMAP のためのゴミ箱は、 -%trash です。 - -ゴミ箱の中のメッセージを実際に消去するには、以下の 2 つの方法がありま -す。 - - 1. Summary モードで `D' を実行する。 - 2. ゴミ箱で `D' マークを付けて、`x' を押す。 - -もう少し正確に言うと、ローカル・フォルダでは以下のルールが適用されます。 -(`mew-trash-folder' の初期値は +trash。 -`mew-trash-folder-list' の初期値は `nil'。) - - - `mew-trash-folder' が `nil' なら、`D' マークの付いたメッセージは - 消去される。 - - `mew-trash-folder-list' が定義されていたら、それらのフォルダ - で `D' マークを付けたメッセージは消去される。それ以外のフォルダからは - `mew-trash-folder' へ。 - - `mew-trash-folder-list' が `nil' なら、 `mew-trash-folder' で `D' - マークを付けたメッセージは消去される。それ以外のフォルダからは - `mew-trash-folder' へ。(これが初期値。) - -IMAP に対しては、`mew-imap-trash-folder' と -`mew-imap-trash-folder-list' に従って、同じ規則が適用されます。 - -すべての `*' マークを `D' マークに変換できれば、一度にたくさんの `D' -マークを付けられて便利です。これには、`md' を利用して下さい。 - -また、`Md' を使うと、現在のフォルダ内で同じ Message-Id: を持つメッセー -ジがある場合、1 つを残して他のメッセージに `D' が付きます。 - -`D' マークに似たものに `X' マークがあります。このマークの付けられたメッ -セージは、`x' を押した際に必ず消去されます。`X' マークは、`M-d' で付け -ることができます。 - -`mxM-d' で、`X' マークが付いたメッセージだけを処理できます。 -すべての `*' マークを `X' マークに変換するコマンドは、 -`mM-d' です。 - - -以下に、`D' マークと `X' マークに関するコマンドをまとめます。 - -`d' - `D' マークを付ける。 -`M-d' - `X' マークを付ける。 -`md' - `*' マークを `D' マークへ変換する。 -`mM-d' - `*' マークを `X' マークへ変換する。 -`x' - マークの付いたメッセージを処理する。 -`mxd' - `D' マークの付いたメッセージのみを処理する。 -`mxM-d' - `X' マークの付いたメッセージのみを消去する。 -`D' - ゴミ箱の中のメッセージを全部消去する。 -`C-uD' - 指定されたフォルダのメッセージを全部消去する。 - - - -File: mew.ja.info, Node: refile mark, Next: target mark, Prev: delete mark, Up: Marks - -整頓 `o' -======== - -メッセージを整頓するには `o' を押して、移動先のフォルダを入力し、 -`o' マークを付けます。移動先のフォルダは、賢く推測してくれるので、 -ほどんどの場合はフォルダ名を入力する代わりに `RET' を押すだけです。 -"," で区切って複数のフォルダを入力することもできます。もちろん、 -`TAB' で補完できます。詳しくは *Note Refile:: を参照して下さい。 - -`o' マークの付いたメッセージの上で `o' を押すと、移動先を追加したり変 -更したりできます。また、実際の移動は `x' と入力されたときに実行されま -す。 - -複数のフォルダを指定し、移動させたときのことを考えましょう。ハードリン -クの機能を持つファイルシステムを使っている場合、そのメッセージは最初の -フォルダに移動され、その他のフォルダからはハードリンクが張られます。そ -うでないファイルシステムの場合は、最初のフォルダに移動後、その他のフォ -ルダへ複製されます。 - -指定したフォルダが 1 つで、しかもそれが現在のフォルダである場合、整頓 -してもなにも起こりません。指定したフォルダが複数で、現在のフォルダが含 -まれる場合、現在のフォルダ内での番号を保ったまま、その他のフォルダから -ハードリンクが張られるか、その他のフォルダへ複製されます。 - -`o' に似ていますが、かならず現在のフォルダも候補として提示する -`c' というコマンドも用意されています。 - -以下に、`o' マークに関するコマンドをまとめます。 - -`o' - `o' マークを付ける。 -`c' - `o' マークを付ける。推測したフォルダに加えて、現在のフォルダも候 - 補として提示する。 -`x' - `o' マークの付いたメッセージを移動させる。 -`mxo' - `o' マークの付いたメッセージのみを移動させる。他のマークは処理しない。 -`C-umxo' - `o' マークの付いたメッセージの中で、現在のメッセージと同じ移動先 - を持つもののみを移動させる。 - - - -File: mew.ja.info, Node: target mark, Next: escape mark, Prev: refile mark, Up: Marks - -対象 `*' -======== - -後から読み返したいメッセージには、`*' で `*' マークを付けて下さい。ま -た、選択コマンド `?' を使うと、入力した条件にマッチするメッセージに -`*' マークが付きます(詳しくは、*Note search:: を参照して下さい)。`N' -や `P' で `*' マークの付いたメッセージに移動し表示できます。 - -以下に、`*' に関連するコマンドを示します。 - -`*' - `*' マークを付ける。 -`N' - 下方向の `*' マークの付いたメッセージへ移動し表示。 -`P' - 上方向の `*' マークの付いたメッセージへ移動し表示。 -`ma' - マークの付いていないメッセージすべてに `*' マークを付ける。 -`mr' - 入力した正規表現にマッチしたメッセージに `*' マークを付ける。 - -`*' マークは、複数のメッセージを処理するためにも利用します。以下に複数 -のメッセージを処理するコマンドを示します。 - -`F' - `*' マークの付いたメッセージを MIME 形式で転送するための草稿を準備。 -`J' - 大きなメッセージは Message/Partial として複数に分割されている場合 - がある。これらのメッセージには、Mew によって `P' マークが付けられ - ている。ここで、ユーザがそれらのメッセージに `*' マークを付け、こ - のコマンドを実行すれば、元のメッセージが復元される。 -`mI' - `*' マークの付いている一部だけが取得されたメッセージ群(`T')を取得 - する。 -`C-umI' - `mI' を実行する。 -`M-b' - `*' マークの付いたメッセージに格納されているメッセージを取り出す。 -`M-\' - `*' マークの付いたメッセージを引数として、外部コマンドを起動する。 -`M-t' - `*' マークの付いたメッセージを "uudecode" する。 - -`M-t' では、`*' マークの付いたメッセージがきちんと分割順になっている必 -要があります。順番がくるっているなら、`S' でソートするとよいかもしれま -せん。 - - - -File: mew.ja.info, Node: escape mark, Next: unmark, Prev: target mark, Up: Marks - -待避 `$' -======== - -たとえば `/' などを使いパターンに合致したメッセージに `*' を付けること -を考えて下さい。`*' マークの付いたメッセージがすでにあるなら、これらの -メッセージは `/' の結果と混ざってしまいます。そこで、現在の `*' マーク -を一時的に保存したくなります。 - -この目的のために、待避マーク `$' が提供されています。典型的な使い方は、 -以下のようになります。 - - 1. `m$' で `*' マークを一旦 `$' マークに待避 - 2. `/' などで `*' マークを付け、`*' マークのついたメッセージを処理 - 3. `U*' で `*' マークを消去 - 4. `m*' で `$' マークを `*' マークへ戻す - -`$' マークに関するコマンドを以下にまとめます。 - -`m$' - `*' マークを `$' マークへ変換。 -`m*' - `$' マークを `*' マークへ変換。 - - - -File: mew.ja.info, Node: unmark, Next: mark change, Prev: escape mark, Up: Marks - -マークの消去 -============ - -`o' マークや `D' マークが付いたメッセージは、マーク実行コマンド `x' を -押さない限り処理されません。よって、`x' を押す前に、マークを取り止める -コマンド `u' でマークを消せば、誤ってメッセージを消すことはありません。 - -以下にマークを消去するコマンドをまとめます。 - -`u' - 現在のメッセージのマークを消す。 -`U' - 入力したマークが付いているすべてのメッセージのマークを消す。 - -`$' マークを使って `*' マークを待避し、なんらかの操作をし、元に戻す方 -法は、目に見えるので分りやすいです。しかしながら、`$' マークが付いてい -るメッセージは、マークが付いているので目的の操作の対象外になるかもしれ -ません。 - -このため `U*' で消去した `*' マークを復活させるコマンドがあります。そ -れは、`M*' です。この方法は、復活できるマークは目に見えないので分りに -くいかもしれません。しかしながら、マークが消えているので、そのメッセー -ジは確実に目的の操作の対象になります。 - -`M*' - 一番最後の `U*' で消した `*' マークを復活させる。 - - - - -File: mew.ja.info, Node: mark change, Next: sync, Prev: unmark, Up: Marks - -マークの変換 -============ - -マークには強さのレベルがあります。同じレベルのマークは上書きできます。 -強いマークは弱いマークを上書きできます。 - -マークを強い順に示します。 - -`o'、`D'、`X' - 新たにマークしたときは、次のメッセージを表示。上書きした場合は、 - その行に留まる。 -`*' と `$' - マークを付けた後は、その行に留まる。 -`U' - マークを付けた後は、その行に留まる。 - -強いマークを付けた後にカーソルが動く方向については、*Note -summary-mode:: を参照して下さい。 - -マークは以下のように交換できます。 - -`m$' - `*' -> `$' :: `*' マークを一時的に保存。 -`m*' - `$' -> `*' :: `*' マークを元に戻す。 -`ms' - `$' <-> `*' -`mM-u' - `*' -> `U' :: 選択コマンド `?' で選んだメッセージを未読にするとき - に便利。 -`md' - `*' -> `D' :: 選択コマンド `?' で選んだメッセージを消去するときに - 便利。 -`mM-d' - `*' -> `X' :: 選択コマンド `?' で選んだメッセージを消去するときに - 便利。 -`mo' - `*' -> `o' :: 選択コマンド `?' で選んだメッセージをあるフォルダに - 移動させる場合に便利。 -`mc' - `*' -> `o' :: 選択コマンド `?' で選んだメッセージをあるフォルダに - コピーする場合に便利。 -`e' - 最初に入力したマークを次に入力したマークへ変換する。ただし、`o' - マークは対象外。 - - - -File: mew.ja.info, Node: sync, Next: off-line, Prev: mark change, Up: Marks - -IMAP サーバとのマークの整合性 -============================= - -Mew では、以下のマークに対し、IMAP サーバと整合性を確保できます。 - -`U' - メッセージを読んだか否か。IMAP のフラグは \Seen。通常は %inbox の - みで有効。 -`*' - 注目しているメッセージ。IMAP のフラグは \Flagged。 - -オフラインの操作を許すために、Mew ではユーザが動作を起こすたびに IMAP -サーバとマークの整合性を取ります。定期的に整合性を取ることはしません。 -Mew がマークの整合性を取る方法を以下に示します。 - - 1. `s' + 'update - - 既存のメッセージに対して変更したマークをサーバ側へ反映 - - 新着メッセージに対しては、サーバ側のフラグをマークへ反映 - - 2. `x' - - 既存のメッセージに対して変更したマークをサーバ側へ反映 - - 3. `s' + 'sync - - 既存のメッセージに対して変更したマークをサーバ側へ反映 - - 既存のメッセージの `*',`U', `$', ` ' マークを一旦クリア - - サーバ側のフラグを既存のメッセージにマークとして反映 - - サーバ側で削除されたメッセージを削除 - - - -File: mew.ja.info, Node: off-line, Next: mew-mark, Prev: sync, Up: Marks - -IMAP のためのマークのオフライン処理 -=================================== - -IMAP ユーザは、フォルダ A のメッセージをキャッシュし、出先で `o'マーク -や `D' マークを付け、その場でそれらのマークを処理したくなることがあり -ます。この場合、その後ネットワークに接続したときに、それらの処理が -IMAP サーバに反映されて欲しいと思います。 - -通常 IMAP では、メッセージをフォルダ A からフォルダ B へ移動させた場合、 -フォルダ A にキャッシュされているそのメッセージを削除し、IMAP サーバか -らネットワークを通じ、フォルダ B へそのメッセージをキャッシュし直す必 -要があります。なぜなら、フォルダ A にキャッシュされているメッセージに -付随する IMAP の情報は、フォルダ A 内でのみ有効だからです。 - -出先でフォルダ A のメッセージをフォルダ B へ整理したとしましょう。仮に、 -そのメッセージをフォルダ B で読むためには、ネットワークに接続してその -処理を IMAP サーバに反映し、IMAP サーバから取り直さないといけないとす -ると不便です。欲を言えば、出先でフォルダ B へ整理したメッセージは、 -IMAP サーバから取り直さなくとも、フォルダ B へ移動すれば読めるようになっ -ていて欲しいと思います。 - -Mew では、メッセージ処理を後から IMAP サーバへ反映することと、IMAP サー -バからメッセージを再取得しなくても移動先のフォルダでメッセージを読める -ことの両方を実現しています。ネットワークに接続していない状況で、マーク -を処理するには、`lx' を使用して下さい。`lx' を実行すると、以下の処理が -なされます。 - - 1. `o' マークや `D' マークのついたメッセージがフォルダ A からなくな - る。 - 2. この処理はメッセージ形式で、%queue に溜る。 - 3. `o' マークのついたメッセージは、ローカルでフォルダ B へ移動され、 - 無効なメッセージとして扱われる。 - -無効なメッセージとは、読むことはできるが、`o' マークや `D' マークをつ -けられないものをいいます。無効なメッセージには、`#' マークが付いていま -す。`g' を使って、フォルダ B へ行くと、無効なメッセージの一覧が自動的 -に表示されます。 - -ネットワークに接続した後に、%queue に溜っている処理を IMAP サーバに反 -映させるには、%queue で `C-cC-c' と入力して下さい。 - -IMAP サーバに処理を反映した後に、フォルダ B で `s' を押すと、無効なメッ -セージが削除され、有効なメッセージがキャッシュされます。 - - - -File: mew.ja.info, Node: mew-mark, Next: Refile, Prev: off-line, Up: Marks - -Mew が表示するマーク -==================== - -以下に Mew が表示するマークをまとめます。 - -`M' - マルチパートを表すマーク。*Note multipart:: を参照のこと。 -`-' - Multipart/Alternative を表すマーク。*Note analysis:: を参照のこと。 -`T' - メッセージが切り詰められたことを表すマーク。*Note retrieving:: を - 参照のこと。 -`S' - 署名を表すマーク。*Note cipher-viewing:: を参照のこと。 -`E' - 暗号化を表すマーク。*Note cipher-viewing:: を参照のこと。 -`P' - 分割されていることを示すマーク。*Note target mark:: を参照のこと。 -`#' - メッセージが無効であることを示すマーク。*Note off-line:: を参照の - こと。 - - - - -File: mew.ja.info, Node: Refile, Next: by-folder, Prev: mew-mark, Up: Top - -楽々整理整頓 -************ - -1 日に数百のメッセージを受け取るようになると整理整頓が大変になります -(え、そんなに受け取らないですって? 幸せですね :) 。Mew では、`o' でメッ -セージを整頓する際に、整頓先を推測し初期値として表示してくれます。たと -えば、次のようになります。 - - Folder name (+work/mew-dist): + - -もし、() の中の初期値が自分の希望通りであれば、`RET' を押すだけでよい -のです。整頓先が決定しているメッセージには、`o' マークが付きます。 - -メッセージを移動できるのは、そのメッセージが属している「世界」の中での -みです。前述のように世界はケースと修飾子によって定まります。整頓先のフォ -ルダを指定する場合には、ケースを付けず、同じ修飾子を持つフォルダ名を入 -力する必要があります。ケースを付けない理由は、そのメッセージのケースは -すでに定まっているからです。ミニバッファからフォルダ名を入力する際、ケー -スが "default" でないにも関わらずケースを明示的に入力しないのは、整頓 -先を指定する場合のみです。 - -`o' に似たコマンドに `c' があります。両者の違いは、 -*Note refile mark:: を参照して下さい。 - -この整頓先の推測が賢ければ賢い程ユーザは楽になります。Mew では以下のよ -うな規則が用意されています。 - -* Menu: - -* by-folder:: メーリングリスト用のフォルダから推測 -* by-alist:: 指定した規則から推測 -* by-thread:: 対話関係から推測 -* by-from-folder:: 個人用のフォルダから推測 -* by-from:: From: から推測 -* by-newsgroups:: Newsgroups: から推測 -* by-default:: デフォルトの規則 -* guess-rule:: 規則の制御 -* auto-refile:: 自動で整理整頓 -* copy-msg:: 世界を越えたメッセージのコピー - - - -File: mew.ja.info, Node: by-folder, Next: by-alist, Prev: Refile, Up: Refile - -メーリングリスト用のフォルダから推測 -==================================== - -あるメーリングリスト宛のメッセージを、そのメーリングリスト名のフォルダ -に整理することは多いと思います。Mew ではメーリングリスト宛に届いたメッ -セージに対して、それ用のフォルダを推測する機能があります。 - -たとえば、+misc/pooh-lovers というフォルダがあったとしましょう。次のよ -うなメッセージは、このフォルダに整頓すればよい可能性が高いといえます。 - - To: pooh-lovers@example.org - -このように、To: や Cc: のアドレスが、フォルダ名の一番右側にマッチする -ものがないか探すわけです。フォルダを階層化していない人が多いようですが、 -Mew を使う限り、階層化しない手はありません。 - -さて、鋭い人は次のように個人のアドレスが To: や Cc: にある場合、困るの -ではないかと思うでしょう。 - - To: piglet@example.org - Cc: pooh-lovers@example.org - -たとえば、pooh は pooh-lovers の一員ですから、このメッセージが届きます。 -しかし、piglet と仲がいいので、+from/piglet にマッチしてしまいます。 - -そこで、Mew では無視するフォルダを設定できるようになっています。デフォ -ルトでは、+from 以下を無視します。ですから、個人からのメッセージは -+from 以下に収めて下さい - -候補が決定できたら - - Folder name (+misc/pooh-lovers): + - -と訊いてきます。あっていれば `RET' を、違っていればお望みのフォルダを -入力して下さい。 - -`o' で新しいフォルダを指定すると、そのフォルダが自動的に作成され、次か -らは推測用の候補にも加わります。便利でしょ? - -この機能を提供する関数は `mew-refile-guess-by-folder' です。 - -もし、フォルダ名に大文字を使っていないなら、以下の設定により、この関数 -が高速になります。 - - (setq mew-use-fast-refile t) - -デフォルトでは、末端のフォルダと中間のフォルダが候補の対象となっていま -す。もし、中間のフォルダではなく、末端のフォルダだけを選びたい場合は、 -以下のように設定して下さい。 - - (setq mew-use-node-folder nil) - - - -File: mew.ja.info, Node: by-alist, Next: by-thread, Prev: by-folder, Up: Refile - -指定した規則から推測 -==================== - -フォルダ名から推測する機能だけでは、思うようなフォルダを推測してくれな -い場合があります。たとえば、To: が staff@example.jp であるメッセージと -To: が staff@example.net であるメッセージに対し、フォルダ名からの推測 -では同じフォルダ(たとえば、"+net/staff")が選ばれてしまいます。そこで、 -Mew では、変数 `mew-refile-guess-alist' に明示的に規則を設定できます。 -(`mew-refile-guess-alist' は、必ず新しい書式で書いて下さい。詳しくは -*Note config2:: を参照のこと。) - -1 つ例を挙げてみましょう。 - - (setq mew-refile-guess-alist - '(("To:" - ("staff@example.jp" "+jp/staff") - ("staff@example.net" "+net/staff")))) - -これは、メッセージヘッダ中の To: の横の文字列に staff@example.jp があ -れば +jp/staff へ、staff@example.net があれば +net/staff へ整頓すると -いう意味です。 - -規則は、以下のように書きます。 - - rule ::= ' - ::= (( ) ( ) ... []) - -全体は ( ) のリストです。 はフィールド名を書きます。 - は以下のようになります。 - - ::= ( |) ( |) ... - - は で示したフィールドにくる値です。 は に -マッチした際にどのフォルダに整頓するかを意味しています。 の代 -りに を再帰的に記述することもできます。 - -特殊な として `nil' と `t' があります。`nil' は、何も推測できな -かった場合に返す を指定するために用います。`t' は、推測した値 -に加えて返す を指示するために使います。 - - ::= (t ) | (nil ) - -正規表現を知っている人は、以下のような複雑な規則を設定できます。 - - (setq mew-refile-guess-alist - '(("Newsgroups:" - ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1") - (".*" "+rec/news")) - ("To:" - ("\\(inet\\|wide\\)@wnoc-fuk" "+wide/\\1-wnoc-fuk")) - ("From:" - ("uucp@" "+adm/uucp") - ("ftpsync@" "+adm/ftpsync")) - (nil "+unknown"))) - -この機能を提供する関数は `mew-refile-guess-by-alist' です。 - - - -File: mew.ja.info, Node: by-thread, Next: by-from-folder, Prev: by-alist, Up: Refile - -対話関係から推測 -================ - -Mew には、整頓しようとしているメッセージの親のメッセージが以前整頓され -たフォルダを選択してくれる機能があります。 - -たとえば、pooh、piglet、roo との間で、蜂蜜を取りに行こうという話題が盛 -り上がったとしましょう。pooh は、+project/honey というフォルダを作って、 -最初のメッセージをそこに整頓したとしましょう。以降、3 人の間のメッセー -ジがきちんとした返答であるかぎり、+project/honey を推測してくれます。 - -あるメッセージをどこに保存したかという情報は、 -"~/Mail/.mew-refile-msgid-alist" に保存されています。この情報を過去 -何通のメッセージに関して保存するかは、`mew-lisp-max-length' で決定 -します。初期値は 2000 通です。3000 通にしたい場合は "~/.mew.el" 中で以 -下のように設定して下さい。 - - (setq mew-lisp-max-length 3000) - -この機能を提供する関数は `mew-refile-guess-by-thread' です。 - - - -File: mew.ja.info, Node: by-from-folder, Next: by-from, Prev: by-thread, Up: Refile - -個人用のフォルダから推測 -======================== - -*Note by-folder:: で説明したメーリングリスト用のフォルダを推測するに加 -えて、個人用のフォルダを推測する機能があります。個人用のフォルダは -+from 以下にありますから、+from 以下のフォルダを選択する機能だともいえ -ます。以下の例を考えてみましょう。 - - To: pooh@example.net - From: piglet@example.org - -piglet から pooh にメッセージが来ました。pooh がこの機能を使うと、 -From: を手がかりに +from/piglet が選択されます。(+from 以下は階層化さ -れていても構いません。また、フォルダ名はユーザ名だけではなくアドレス全 -体でも OK です。) - -この機能を提供する関数は、`mew-refile-guess-by-from-folder' といいます。 - -次に、pooh が piglet に返答した場合を考えましょう。pooh は自分自身に -Cc: していたので、自分にメッセージが戻ってきました。 - - To: piglet@example.org - Cc: pooh@example.net - From: pooh@example.net - -pooh の立場になって考えてみて下さい。このメッセージを +from/pooh に整 -頓するか、あるいは +from/piglet に整頓するのかは、好みが分かれるところ -でしょう。そこで、どちらを選択するのかカスタマイズできるようになってい -ます。 - -`mew-refile-guess-from-me-is-special' が `t' なら、 -`mew-refile-guess-by-from-folder' は、From: が自分のアドレスの場合に、 -To: と Cc: にあるアドレスをもとに、+from 以下のフォルダを選択します。 - - - -File: mew.ja.info, Node: by-from, Next: by-newsgroups, Prev: by-from-folder, Up: Refile - -From: から推測 -============== - -From: に同一のアドレスを持つメッセージが、かつてどこに整頓されたかによっ -て推測する機能があります。 - -たとえば、piglet は piglet@example.org と p-p-p@example.org の 2 つの -アドレスを持っているとしましょう。どちらのアドレスからメッセージが届い -ても、pooh はそれらを +from/piglet に整頓したいと思っています。もちろ -ん、以下のように明示的に規則を書けば実現できます。 - - (setq mew-refile-guess-alist - '(("From:" - ("piglet@example.org" "+from/piglet") - ("p-p-p@example.org" "+from/piglet")))) - -しかし、いちいち規則を書くのは面倒です。そこで、まず From: が -piglet@example.org であるメッセージを +from/piglet に整頓します。これ -でフォルダ +from/piglet が作成されます。次に、From: が -p-p-p@example.org であるメッセージを +from/piglet に整頓したとします。 -ここで Mew は、p-p-p@example.org が +from/piglet に整頓されたことを学 -習します。以後 From: が p-p-p@example.org であるメッセージを整頓しよう -とすると、+from/piglet を選択するようになります。 - -その他、機械からくるメッセージは、いつも +adm/misc に入れることにした -い場合なども、明示的な規則を書かずに済ませられます。 - -From: とフォルダの情報は、"~/Mail/.mew-refile-from-alist" に保存されてい -ます。この情報を過去何通のメッセージに関して保存するかは、 -*Note by-thread:: と同様に `mew-lisp-max-length' で決定します。 - -この機能を提供する関数は `mew-refile-guess-by-from' です。 - -`mew-refile-guess-from-me-is-special' が `t' の場合、 -`mew-refile-guess-by-from' は `mew-refile-guess-by-from-folder'(*Note -by-from-folder::)と同様な動きをします。 - - - -File: mew.ja.info, Node: by-newsgroups, Next: by-default, Prev: by-from, Up: Refile - -Newsgroups: から推測 -==================== - -ニュースをメールとして受信して Mew で読んでいる人のために、Newsgroups: -からフォルダを推測する機能を用意しました。関数名は -`mew-refile-guess-by-newsgroups' です。 - - - -File: mew.ja.info, Node: by-default, Next: guess-rule, Prev: by-newsgroups, Up: Refile - -デフォルトの規則 -================ - -デフォルトの規則は、From: からユーザ名を切り出して、`+from/user' -を選ぶようになっています。ただし、 -`mew-refile-guess-strip-domainpart' が `nil' ならアドレスを切 -り出すので、`+from/user@domain' が選択されます。 -`mew-refile-guess-strip-domainpart' の初期値は `t' です。 - -関数名は、`mew-refile-guess-by-default' です。 - - - -File: mew.ja.info, Node: guess-rule, Next: auto-refile, Prev: by-default, Up: Refile - -規則の制御 -========== - -Mew では、フォルダ推測の規則を 2 つの変数、`mew-refile-guess-control' -と `mew-refile-ctrl-multi' で制御します。`mew-refile-guess-control' は、 -呼び出す関数を順に定義します。候補を複数にしたい場合は -`mew-refile-ctrl-multi' を `t' に、単数にしたい場合は `nil' に設定しま -す。 - -標準では、`mew-refile-guess-control' は以下のように宣言されています(宣 -言なので `defvar' が使われています)。 - - (defvar mew-refile-guess-control - '(mew-refile-guess-by-alist - mew-refile-ctrl-throw - mew-refile-guess-by-newsgroups - mew-refile-guess-by-folder - mew-refile-ctrl-throw - mew-refile-ctrl-auto-boundary - mew-refile-guess-by-thread - mew-refile-ctrl-throw - mew-refile-guess-by-from-folder - mew-refile-ctrl-throw - mew-refile-guess-by-from - mew-refile-ctrl-throw - mew-refile-guess-by-default)) - -Mew は `mew-refile-guess-control' に並べられた関数を順番にすべて実行し -ます。各々の関数が複数の候補を推測することがあります。 - -`mew-refile-guess-control' の動作例として以下を考えてみましょう。 - -`mew-refile-guess-by-alist' - が +aaa、+bbb を推測。 -`mew-refile-guess-by-folder' - が +ccc、+ddd を推測。 -`mew-refile-guess-by-default' - が +eee を推測。 - -+aaa 〜 +eee すべてをユーザに提示して欲しい場合は、 -`mew-refile-ctrl-multi' を `t' に、+aaa だけを提示して欲しい場合は、 -`nil' に設定します。 - -また、+aaa 〜 +ddd は提示して欲しいけれどもそれ以降はいらない、つまり、 -+eee を提示するのは先に実行された関数群が何も推測できなかったときだけ -にしたい場合は、`mew-refile-ctrl-multi' を `t' にして、 -`mew-refile-guess-by-folder' と `mew-refile-guess-by-default' の間に -`mew-refile-ctrl-throw' を入れて下さい。 - -`C-uo' は、この推測の流れを Message バッファに表示します。 - - - -File: mew.ja.info, Node: auto-refile, Next: copy-msg, Prev: guess-rule, Up: Refile - -自動で整理整頓 -============== - -毎日メッセージをたくさんもらう人は、まだ整頓していないメッセージを -+inbox (あるいは %inbox) フォルダに大量に溜めてしまうことがあります。 -そんなときは、「メッセージ達よ、とにかくこのフォルダからどこかに行って -しまえ」と叫びたくなることがあるでしょう。Mew は、そんなわがままな人を -満足させるための自動整理整頓関数を提供しています。:) `M-o' がその呪文 -です。 - -この関数を実行すると、現在のフォルダ内の特定のメッセージに対して、自動的 -に `o' マークを付けてくれます。特定のメッセージとは、 -`mew-refile-auto-refile-skip-any-mark' が `nil' なら、`o' -や `D' マークが付いていないメッセージです。 -`mew-refile-auto-refile-skip-any-mark' が `t' なら、なにもマー -クが付いてない(既読)メッセージです。 -`mew-refile-auto-refile-skip-any-mark' の初期値は `nil' です。 - -`C-uM-o' は、`mew-refile-auto-refile-skip-any-mark' の値とは関係なく -`*' マークの付いたメッセージを対象にします。 - -整頓先の決定には、先に説明した推測関数群が働くようになっています。この -関数は、`o' を付けるだけですので、`x' を押さない限り実際にメッセージが -どこかに行ってしまうことはありません。 - -Mew の整頓先推測はあまりにも賢すぎるので、この機能には仇となってしまい -ます。というのは、Mew が推測機能をフルに使って勝手に整頓してしまうと、 -大抵のユーザはどこにメッセージが整頓されたか分からなくなってしまうから -です。:) そのために、Mew が使う推測関数を制限する機能が提供されていま -す。前に出てきた宣言をもう一度思い出して下さい。 - - (defvar mew-refile-guess-control - '(mew-refile-guess-by-alist - mew-refile-ctrl-throw - mew-refile-guess-by-newsgroups - mew-refile-guess-by-folder - mew-refile-ctrl-throw - mew-refile-ctrl-auto-boundary - mew-refile-guess-by-thread - mew-refile-ctrl-throw - mew-refile-guess-by-from-folder - mew-refile-ctrl-throw - mew-refile-guess-by-from - mew-refile-ctrl-throw - mew-refile-guess-by-default)) - -`mew-refile-guess-control' の中に `mew-refile-ctrl-auto-boundary' とい -う関数があります。これがその仕掛です。自動整理整頓のときに限り、Mew は -この関数より下に記述してある推測を無視します。 -`mew-refile-ctrl-auto-boundary' より上に記述している関数が何も推測でき -なかった場合は、そのメッセージには `o' が付きません。破滅が訪れる前に -`mew-refile-ctrl-auto-boundary' の御札を貼って下さい。 - - - - -File: mew.ja.info, Node: copy-msg, Next: Virtual, Prev: auto-refile, Up: Refile - -世界を越えたメッセージのコピー -============================== - -これまで説明した整頓とは、同じ世界の中でメッセージを移動させることでし -た。これに対し、ある世界から他の世界へメッセージを移動させたいこともあ -るでしょう。これは、ある世界から他の世界へメッセージへコピーし、その後 -元のメッセージを削除することで実現できます。ここでは、ある世界から他の -世界へメッセージへコピーする方法について説明します。 - -あるフォルダのメッセージをローカルフォルダへコピーしたくなることがあり -ます。この場合 `lc' を利用して下さい。`lc' は、リモート・フォルダで実 -行された場合、キャッシュされたメッセージから、そのリモート・フォルダに -特有の情報をヘッダから取り除き、ローカル・フォルダへコピーします。 -(`lc' は、ローカルフォルダでも実行できます。この場合、同じ世界内でのコ -ピーになります。) - -あるフォルダのメッセージを IMAP のフォルダ(サーバ側)へコピーするには、 -`li' を利用します。 - -`*' の付いた複数のメッセージをローカル・フォルダへコピーするには`mlc' -を使います。また、`*' の付いた複数のメッセージを IMAPフォルダへコピー -するには `mli' を利用して下さい。 - -ある世界から他の世界へメッセージへコピーするコマンドを以下にまとめます。 - -`lc' - あるフォルダのメッセージをローカルフォルダへコピーする。 -`mlc' - `*' の付いた複数のメッセージをローカル・フォルダへコピーする。 -`li' - あるフォルダのメッセージを IMAP のフォルダへコピーする。 -`mli' - `*' の付いた複数のメッセージを IMAP フォルダへコピーする。 - - - - -File: mew.ja.info, Node: Virtual, Next: selection, Prev: copy-msg, Up: Top - -仮想フォルダ -************ - -Virtual モードは、必要なメッセージを表示するための仮想的なフォルダであ -り、「セレクション」と「スレッド」の2種類に分類できます。 - -`セレクション' - いろいろなフォルダから必要なメッセージだけを集めた仮想フォルダで - す。フォルダ名の左側に "*" が付きます。 -`スレッド' - フォルダ(Summary)やセレクション(Virtual)を基に、対話関係を行頭揃 - えによって可視化した仮想フォルダです。フォルダ名の両側に "*" が付 - きます。 - -Summary モードで利用できるコマンドの多くが、Virtual モードで利用できま -す。 - -Virtual モードでメッセージにマークを付けると、対応する Summary モード -があれば、そちらのメッセージにもマークが付きます。逆に、Summary モード -であるメッセージにマークを付けても、Virtual モードの対応するメッセージ -にはマークは付きません。 - -Virtual モードからマークを処理することはできません。`x' を押しマークを -処理しようとすると、対応する Summary モードがあれば、そちらに移動し、 -もう一度 `x' を押すよう促されます。 - -仮想フォルダはまさしく仮想であり、ファイルシステムなどには存在しないこ -とに注意して下さい。Emacs を終了すると、仮想フォルダはなくなります。 -Virtual モードを消去する方法については、*Note Quit:: を参照して下さい。 - -* Menu: - -* selection:: セレクション -* sorting:: ソート -* dialog:: 対話 -* search:: 検索 -* condition:: 検索条件の入力方法 -* dbsearch:: 検索エンジン -* keyword:: キーワードの強調 -* thread:: スレッド -* thread-op:: スレッドの操作 - - - -File: mew.ja.info, Node: selection, Next: sorting, Prev: Virtual, Up: Virtual - -セレクション -============ - -セレクションは、いろいろなフォルダから必要なメッセージだけを集めた仮想 -フォルダです。セレクションの作り方には、以下の 5 つがあります。 - -`m/' - あるフォルダで、"*" マークが付いているメッセージのみを表示する。 -`S' - あるフォルダで、メッセージをソートして表示する。(元のフォルダには、 - 何の影響もない。) *Note sorting:: を参照のこと。 -`V' - 現在のメッセージと対話関係にあるメッセージを表示する。*Note - dialog:: を参照のこと。 -`/' - あるフォルダから、検索条件に合致するメッセージを表示する。*Note - search:: を参照のこと。 -`k/' - すべてのフォルダから、検索条件に合致するメッセージを表示する。 - *Note dbsearch:: を参照のこと。 - - - - -File: mew.ja.info, Node: sorting, Next: dialog, Prev: selection, Up: Virtual - -ソート -====== - -メッセージをソートしセレクションを作成するには `S' を使います。このと -き次のようにどのフィールドでソートするか訊いてくるので、ソートしたい -フィールド名を入力して下さい。 - - Sort by? (default date): - -指定したフィールドに書かれている文字列は単純に文字列比較でソートするべ -きではありません。たとえば、Subject: はテキストと考えてよいのですが、 -Date: は日付、X-Mail-Count: は数字と考えてソートすべきです。このように -文字列をどう取り扱うかをモードといいます。ソートによく指定されるフィー -ルド名に対するモードは `mew-sort-key-alist' で設定されています。 - -ソートのモードを明示的に指定、変更したい場合には `:' で区切って指定し -ます。たとえば X-Mail-Count: フィールドの内容を(テキストとしてではなく) -数値とみなしてソートしたい場合には、次のように入力します。 - - x-mail-count:num - -フィールド名やモードは `TAB' で補完できます。 - -モードには、以下の 4 つがあります。 - -`text' - 先頭の "Re: " や "Fw: " を取り除いた文字列。 -`ml' - text と同じであるが、さらにメーリングリスト特有の文字列も取り除く。 -`num' - 数値。 -`date' - 日付。 - -"Sort by?" と訊かれる際のフィールド名の初期値は、 -`mew-sort-default-key' で設定できます。以下は、初期値である"date" -を "x-ml-count" に変更する例です。 - - (setq mew-sort-default-key "x-ml-count") - -`mew-sort-default-key-alist' で、フォルダごとにフィールド名の初期 -値を設定することもできます。ここで指定しなかったフォルダでは、フィール -ド名の初期値として `mew-sort-default-key' の値が使われます。以下は、 -+inbox フォルダでの初期値を "subject" に、+mew-dist フォルダでの初期値 -を "x-mail-count" に変更する例です。 - - (setq mew-sort-default-key-alist - '(("+inbox" "subject") - ("+mew-dist" "x-mail-count"))) - -なお、ローカル・フォルダでメッセージを本当にソートするためには`M-s' を -使って下さい。このコマンドは、リモート・フォルダでは利用できません。 - - - -File: mew.ja.info, Node: dialog, Next: search, Prev: sorting, Up: Virtual - -対話 -==== - -Mew では、あるメッセージに関係するメッセージをさまざまなフォルダから集 -めて仮想フォルダに一覧表示できます。これを「対話」と呼びましょう。後ほ -ど説明するスレッド(*Note thread::)とは、以下の点で異なります。 - - - - スレッドは、1つのフォルダ/仮想フォルダに対してのみ作成できる。対 - 話は、関連するメッセージが複数のフォルダに散らばっていてもよい。 - - - スレッドは、行頭揃えによって木構造を可視化する。対話は、日付順に - 一覧表示する。 - -対話の機能を使うには、まず `kI' を実行し、データベースを作る必要が -あります。新しく届くメッセージはデータベースに入らないので、`kI' -は定期的に実行して下さい。`kI' は、データベースを差分更新します。 -この方式は早いのですが、ゴミが残ることは避けられないので、ときどき -`C-ukI' を実行し、データベースを一から作り直して下さい。 - -対話を作成するには、注目しているメッセージの上で `V' を押します。 -このコマンドは、自分の子孫と、自分の先祖、そして自分だけを表示します。 -自分の兄弟などは表示しません。一族全体を表示したいなら、一旦作った仮想 -フォルダの一番上にあるメッセージ、すなわち一族の祖の上で、もう一度 -`V' を実行して下さい。 - - - -File: mew.ja.info, Node: search, Next: condition, Prev: dialog, Up: Virtual - -検索 -==== - -Mew では、以下のようなメッセージの検索機能を提供しています。 - -`?' - 現在のフォルダで、条件に合致したメッセージに `*' マークを付ける。 - 入力された条件によって、`mewl' か `grep' のどちらかが呼ばれる。 -`C-u?' - リージョンを指定した `?'。 -`/' - 現在のフォルダで、条件に合致したメッセージからセレクションを作る。 - 入力された条件によって、`mewl' か `grep' のどちらかが呼ばれる。 -`C-u/' - リージョンを指定した `/'。 - -また、Spotlight や Windows Desktop Search などの検索エンジンを利用した -検索も可能です。これには、以下のコマンドがあります。 - -`k?' - 現在のフォルダで、条件に合致したメッセージに `*' マークを付ける。 -`k/' - 全フォルダに対し、条件に合致したメッセージからセレクションを作る。 -`C-uk/' - 指定されたフォルダに対し、条件に合致したメッセージからセレクショ - ンを作る。フォルダを複数指定するには "," で区切る。ワイルドカード - として、"*"を利用できる。 - - - -File: mew.ja.info, Node: condition, Next: dbsearch, Prev: search, Up: Virtual - -検索条件の入力方法 -================== - -`?' や `/' を実行すると、Mew はユーザに対し以下のように検索のパターン -を訊きます。 - - mewl/grep pick pattern: - -単純に「文字列」を 1 つ入力すると、Mew は `grep' を呼び出します。また、 -「条件式」を入力すると、`mewl' を呼び出します。 - -条件式の書式を以下に示します。(結合力の強い順に並んでいます。) - -`field=string' - フィールド field に文字列 string が含まれているときマッチ(大文字 - 小文字を区別しない)。field に "head" を指定した場合は、ヘッダ全体 - を意味する。 -`field==string' - フィールド field に文字列 string が含まれているときマッチ(大文字 - 小文字を区別する)。field に "head" を指定した場合は、ヘッダ全体を - 意味する。 -`field!=string' - フィールド field に文字列 string が含まれていないときマッチ(大文 - 字小文字を区別しない)。field に "head" を指定した場合は、ヘッダ全 - 体を意味する。 -`field!==string' - フィールド field に文字列 string が含まれていないときマッチ(大文 - 字小文字を区別する)。field に "head" を指定した場合は、ヘッダ全体 - を意味する。 -`( )' - の内容を先に評価。 -`! ' - でないときマッチ。 -` & ' - かつ のときマッチ。省略可能。 -` | ' - または のときマッチ。 - -以下に例を示します。 - -(a) From: に kazu が含まれるメッセージ - - from=kazu - -(b) To: が mew、または、Cc: が mew であるメッセージ - - to=mew | cc=mew - -(c) To: が mew、または、Cc: が mew で、かつ、from が kazu であるメッセー -ジ - - (to=mew | cc=mew) & from=kazu - -`?' や `/' で、パターンに入力の際に単純に `RET' を押すと、以下のように -利用するコマンドまで入力できるようになります。 - - Cmd opts pattern: grep -l -e - -`k?' や `k/' で検索エンジンを利用する場合は、上記のパターン(文字列や条 -件式)が自動的に検索エンジンの書式に変換されます。 - -たとえば、kazu から来たメールで、「wine」を含み、かつ「bordeaux」を含 -まないという条件式は以下のように書きます。 - - from=kazu wine ! bordeaux - -なお、`mew-pick-pattern-list' にパターンのリストを定義しておくと、 -`C-cTAB' で各要素を循環的に補完できます。この場合、リストの先頭がデフォ -ルトとして表示されます。 - -日本語の全文検索をしたい場合は、("grep" の代わりに) "mg" をインストー -ルし、以下のように設定して下さい。 - - (setq mew-prog-grep "mg") - (setq mew-prog-grep-opts '("-j" "jis" "-l" "-e" "-x" "&mime")) - - - -File: mew.ja.info, Node: dbsearch, Next: keyword, Prev: condition, Up: Virtual - -検索エンジン -============ - -検索エンジンを操作するために以下のコマンドが用意されています。 - -`km' - そのフォルダのインデックスを作る。 -`kM' - 全体のフォルダのインデックスを作る。あるいは、作るために初期化す - る。 -`kc' - 検索エンジンを切り替える。 - -以下に、それぞれの検索エンジンの説明を示します。 - -`Hyper Estraier' - 定期的に `kM' を実行する必要があります。コマンドラインで、 - "mewest" を実行しても構いません。あるフォルダのインデックスを急い - で更新したいなら `km' でもよいでしょう。`k?' と`k/' の両方が利用 - できます。`C-uk/'でフォルダを指定すると、サブディレクトリも検索に - なります。 -`Spotlight' - 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 - `k?' と `k/' の両方が利用できます。 -`Windows Desktop Search' - 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 -`Google Desktop' - 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 - `k/' のみが利用できます。 - -検索エンジンの初期値は、最初に見つかった利用できるものに自動的に設定さ -れます。明示的に指定したい場合は、 -`mew-search-method'に'est、'spotlight、'wds, 'google のどれかを指定し -て下さい。以下は、Hyper Estraier に設定する例です。 - - (setq mew-search-method 'est) - - - -File: mew.ja.info, Node: keyword, Next: thread, Prev: dbsearch, Up: Virtual - -キーワードの強調 -================ - -検索に使ったキーワードは、バッファに保存されています。メッセージを表示 -し、さらにキーワードをハイライトすることができます。この機能を提供する -コマンドは以下の通りです。 - -`M-n' - 下方向のメッセージへ移動しキーワードをハイライトして表示。Summary - モードでは `*' マークのついたメッセージが、Virtual モードではすべ - てのメッセージが対象となる。このコマンドを繰り返し利用すると、キー - ワードの付近が次々と表示されていく。キーワードが設定されていない - なら、ユーザにキーワードを訊く。 -`C-uM-n' - キーワードを明示的に設定できること以外は、`M-n' に同じ。 -`M-p' - `M-n' を逆方向にしたコマンド。 -`C-uM-p' - `C-uM-n' を逆方向にしたコマンド。 - - - -File: mew.ja.info, Node: thread, Next: thread-op, Prev: keyword, Up: Virtual - -スレッド -======== - -メッセージをやりとりしていると、対話の流れは木構造になります。これを行 -頭揃えにより可視化したものをスレッドと呼びます。以下にスレッドの例を示 -します。 - - 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック - 03/13 かずくん ┣Re: 今週末 |雨なので、中にしますか - 03/15 Hidenori Ohta ┃┗Re: 今週末 |それでは、12:00 に集合 - 03/14 おだちゃん ┗Re: 今週末 |いいねぇ。次はあれを落 - -スレッドは仮想フォルダとして実現されています。たとえば、+inbox に対し -スレッドを作ると、*+inbox* というバッファが用意されます。 - -スレッドを作るために、以下のコマンドが用意されています。 - -`tt' - Summary モード、あるは、セレクションからスレッドを作る。そして、 - カーソルを現在のメッセージに移動する。もし、対応するスレッドがす - でに存在しているなら、スレッドに表示を切り替える。スレッドで使用 - された際は、元のフォルダへ移り、カーソルを現在のメッセージへ移動 - する。 -`C-utt' - リージョンに対し、スレッドを作る。 -`mt' - `*' マークの付いているメッセージに対し、スレッドを作る。 -`tr' - 正規表現に合致したメッセージに対し、スレッドを作る。 - - - -File: mew.ja.info, Node: thread-op, Next: Quit, Prev: thread, Up: Virtual - -スレッドの操作 -============== - -スレッドに特化した移動コマンドを以下に示します。 - -`tp' - 現在のスレッドの頭に移動する。もし、あるスレッドの頭にカーソルが - ある場合は、前のスレッドの頭に移動する。 -`tn' - 次のスレッドの頭に移動する。 -`^' - 親のメッセージに移動する。(スレッドでなくても利用可能) -`&' - 長男のメッセージに移動する。(スレッドでなくても利用可能) -`(' - 兄のメッセージに移動する。 -`)' - 弟のメッセージに移動する。 - - -スレッドにマークを付けるコマンドを以下に示します。 - -`t*' - 現在のメッセージを頭とする部分木に属するメッセージすべてに `*' マー - クを付ける。詳しくは *Note target mark:: を参照のこと。 -`t$' - 現在のメッセージを頭とする部分木に属するメッセージすべてに `$' マー - クを付ける。詳しくは *Note escape mark:: を参照のこと。 -`td' - 現在のメッセージを頭とする部分木に属するメッセージすべてに `D' マー - クを付ける。詳しくは *Note delete mark:: を参照のこと。 -`tM-d' - 現在のメッセージを頭とする部分木に属するメッセージすべてに `X' マー - クを付ける。詳しくは *Note delete mark:: を参照のこと。 -`to' - 現在のメッセージを頭とする部分木に属するメッセージすべてに `o' マー - クを付ける。詳しくは *Note refile mark:: を参照のこと。 - -スレッドからマークを消すコマンドは、`tu' です。 - - -以下に、スレッドを加工するコマンドを示します。 - -`tSPC' - 子供以下を隠して親だけにする。子供以下が隠れている親メッセージに - は、"+" が付く。また、子供以下が隠れている親メッセージでこのコマ - ンドを実行すると、子供以下が現れる。 -`ta' - すべてのスレッドに対し、子供の表示を反転させる。 -`tg' - あるスレッドをあるメッセージに接ぎ木する。接ぎ木するスレッドは、 - `C-SPC' で指定する。目的のスレッドの一番上のメッセージで、`C-SPC' - を押すと、そのスレッドが選択されたことになる。そして目的のメッセー - ジへ移動し、`tg' を押すと、スレッドがこのメッセージの子供として接 - ぎ木される。 - - -なお、`mew-use-thread-separator' を `t' にすると、スレッド間に境界文字 -列として `mew-thread-separator' (初期値は "--") が挿入されます。 - - - - -File: mew.ja.info, Node: Quit, Next: Customize, Prev: thread-op, Up: Top - -一休み -****** - -Mew を終了させたり、一時中断させたり、そのモード(正確にはバッファ)を消 -去する方法を以下に示します。 - - - -`q' - Mew を一時中断し、他のバッファに切り替える。Mew 用のバッファはす - べて残っているので、バッファ操作で選べば再開できる。 -`Q' - Mew を終了。Mew が使ったすべてのバッファを消去する。 -`C-cC-q' - そのモード(正確にはバッファ)を消去する。 - - - -`C-cC-q' - その草稿を消去する。 - - - -`C-cC-q' - そのバッファを消去する。 - - - - -File: mew.ja.info, Node: Customize, Next: summary-mode, Prev: Quit, Up: Top - -カスタマイズ -************ - -ここでは、Mew のデフォルトの動作を変更し、自分好みの Mew にする方法を -説明します。主に "~/.mew.el" で設定して下さい。 - -* Menu: - -* summary-mode:: Summary mode -* message-mode:: Message mode -* draft-mode:: Draft mode -* charset:: 文字コード -* highlight:: 色付け -* hooks:: フック -* pop:: POP -* imap:: IMAP -* nntp:: NNTP -* smtp:: SMTP -* config:: 送受信の動作変化 -* config2:: 設定の書式 -* custom-misc:: その他 - - - -File: mew.ja.info, Node: summary-mode, Next: message-mode, Prev: Customize, Up: Customize - -Summary mode -============ - -Summary モードの書式は、`mew-summary-form' で指定できます。以下に初期 -値を示します。 - - (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body))) - -このように、`mew-summary-form' は、リスト、シンボル、文字列のリストで -す。 - - 1. 文字列はそのまま出力される - 2. リストは、整数とシンボルから構成される。シンボルは、呼び出す関数 - を意味する。関数名は、"mew-summary-form-" とシンボル名を連結する - ことで作られる。(例: 'date というシンボルは、 - `mew-summary-form-date' という関数名になる) あらかじめ定義されて - いるシンボルに - は、'type、'time、'date、'year、'size、'from、'subj、'body がある。 - 詳細は、`mew-summary-form-' という名を持つ関数の説明を参 - 照のこと。整数は、関数が返す文字列が埋めるフィールドの幅を指定す - る。正の数は、左詰めを意味する。負の数は、右詰めを意味する。もし、 - 負の数を指定する場合、対応する関数は ASCII 文字列を返す必要がある。 - 0 は、行の残りを意味し、左詰めとなる。 - 3. `t' 以外のシンボルは、(1 シンボル) に等しい。 - 4. `mew-summary-form' は、利用される際に先頭に (mark) が付け加えられる。 - 5. `t' は、スレッドの際に段付けする位置を意味する。 - -例を以下に示します。 - - (setq mew-summary-form - '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body))) - -`mew-summary-form-from-me-prefix' は、自分から送信されたメッセージの宛 -先の先頭に加えられる文字列です。初期値は "To:" です。 - -`mew-summary-form-extract-rule' は、From: フィールドからどの部分を切り -出すか指定するためのリストです。要素 -は、'name、'comment、'address、'nickname、あるいは正規表現である必要が -あります。初期値は '(nickname) です。 - - -次の例を考えて下さい。 - - A: Kazu Yamamoto - B: kazu@example.org (Kazu Yamamoto) - C: Kazuhiko Yamamoto (Kazu) - -それぞの要素は、以下のような意味を持ちます。 - - 1. 'name:: 名前の部分 - A. Kazu Yamamoto - B. (No match) - C. Kazuhiko Yamamoto (Kazu) - 2. 'comment:: コメントの部分 - A: (No match) - B: Kazu Yamamoto - C: (Kazu) - 3. 'address:: アドレスの部分 - A: kazu@example.org - B: kazu@example.org - C: kazu@example.org - 4. 'nickname:: `mew-addrbook-for-summary' の値に応じたアドレス帳の個 - 人情報のある要素。`mew-addrbook-for-summary' の初期値は - `'nickname' なので、通常はニックネームに変換される。何が指定でき - るかは、*Note draft-mode:: を参照のこと。 - 5. (regex):: 最初に合致した文字列 - -ある要素が合致しない場合、次の要素が評価されます。どの要素も From: フィー -ルドに合致しない場合か、この値が `nil' の場合、From: フィールド全体が -利用されます。 - - -`mew-summary-form-mark-delete' が `t' の場合、重複しているメッセージに -自動的に `D' マークが付きます。初期値は `nil' です。 - - -`mew-summary-form-mark-spam' が `t' の場合、本文の一部に対する MD5 チェッ -クサムが一致しているメッセージに自動的に `D' マークが付きます。初期値 -は `nil' です。 - -`mew-summary-form-mark-review' が `t' の場合、自分宛てのメッセージに自 -動的に `*' マークが付きます。初期値は `nil' です。 - - -いつも Emacs のフレーム全体で Mew を使いたい人は、以下の設定をして下さ -い。 - - (setq mew-use-full-window t) - - -Summary モードの `SPC' は、`mew-summary-show-direction' によって、次の -メッセージの表示の仕方が変わります。また同様に、強いマークを付けた後カー -ソルが動く方向は `mew-summary-mark-direction' により指定できます。以下 -の値を設定できます。 - -`up' - 上のメッセージを表示する。 -`down' - 下のメッセージを表示する。 -`next' - 読み進めている方向の次のメッセージを表示する。 -`stop' - 次は表示しない。 - -両方とも初期値は `next' です。いつもメッセージを下から読む人は、以下の -ようにすればよいでしょう。 - - (setq mew-summary-show-direction 'up) - - - -File: mew.ja.info, Node: message-mode, Next: draft-mode, Prev: summary-mode, Up: Customize - -Message mode -============ - -Emacs がサポートしてないデータ型のファイルは、Message バッファに直接表 -示できません。そのデータをテキストに整形する外部コマンドをインストール -すれば、Message バッファに表示可能になります。 - -"w3m" と "emacs-w3m" をインストールすると、Text/Html を Message バッ -ファに表示できるようになります。(以下で説明する "wvHtml"、"xlhtml"、 -"ppthtml" は、単なる "w3m" ではなく、国際化された "w3m-m17n" が必要で -す。) 両者をインストールしたら、"~/.mew.el" に以下の設定を加えて下さい。 - - (condition-case nil - (require 'mew-w3m) - (file-error nil)) - -これで、あたかも Text/Plain であるかのように、Text/Html を Message バッ -ファに表示できるようになります。この際も、以下で説明する `C-cC-e'の操 -作は有効です。 - -"wvHtml"、"xlhtml"、"ppthtml" というコマンドをインストールすれば、それ -ぞれ WORD、Excel、PowerPoint ファイルのテキスト部分を、Message バッファ -に表示可能です。これらのコマンドは、HTML を利用するので、上記の -Text/Html の設定を完了させて下さい。これで、たとえば WORD ファイルをあ -たかもテキストのように、Message バッファに表示可能になります。 - -外部のプログラムの整形結果を Message バッファに表示する代わりに、外部の -プログラム自身にそのデータを表示させることもできます。これには -`C-cC-e' を使います。 - -Message バッファに画像を表示することもできます。また `C-cC-e' を使い、 -外部のプログラムに表示させることも可能です。 - -HTML は `C-cC-e' を使って外部のブラウザに表示できます。Windows やMac -ではデフォルトのブラウザが利用されます。Unix では、以下のように -"mozilla" が初期値となっています。 - - (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t)) - -たとえば、これを "firefox" に変更するには以下のようにします。 - - (setq mew-prog-text/html-ext - '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t)) - -Office 関連のファイルも、`C-cC-e' を使えば、それぞれのアプリケーション -で表示可能です。Windows や Mac では、文字通り Office のアプリケーショ -ンが起動されます。Unix では、以下のように "ooffice" が初期値となってい -ます。 - - (defvar mew-prog-msword-ext "ooffice") - (defvar mew-prog-msexcel-ext "ooffice") - (defvar mew-prog-mspowerpoint-ext "ooffice") - -これを "soffice" に変更するには以下のようにします。 - - (setq mew-prog-msword-ext "soffice") - (setq mew-prog-msexcel-ext "soffice") - (setq mew-prog-mspowerpoint-ext "soffice") - -また Office 関連のアプリケーションに対し、`SPC' などでは内容を表示せず、 -`C-cC-e' では "wvHtml" などを使って Message バッファに表示するには、以 -下のように設定します。 - - (setq mew-prog-msword '(nil mew-mime-application/msword)) - (setq mew-prog-msexcel '(nil mew-mime-application/msexcel)) - (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint)) - -あらかじめ定められているコマンドではなく、任意の外部コマンドを呼び出し -たい場合は、`C-uC-cC-e' と入力して下さい。 - -最近、Multipart/Alternative の中に Text/Plain と Text/Html の両方が入っ -ており、どちらかを選ぶようになっているメッセージを多く見掛けます。Mew -は、標準では Text/Plain の方を優先して表示します。"emacs-w3m" をインス -トールすれば、Text/Html の方を優先したくなるかもしれません。その場合、 -以下の設定を "~/.mew.el" に加えて下さい。(ここで *Note multipart:: を -読み、`:' の使い方も思い出しておきましょう。) - - (setq mew-mime-multipart-alternative-list - '("Text/Html" "Text/Plain" ".*")) - -ZIP で暗号化された添付ファイルは、`zz' で復号化し表示できます。 - - - diff --git a/elpa/mew-20161030.1807/mew.ja.info-3 b/elpa/mew-20161030.1807/mew.ja.info-3 deleted file mode 100644 index a4c6c36b..00000000 --- a/elpa/mew-20161030.1807/mew.ja.info-3 +++ /dev/null @@ -1,1886 +0,0 @@ -Info file: mew.ja.info, -*-Text-*- -produced by `texinfo-format-buffer' -from file `mew.texi' -using `texinfmt.el' version 2.42 of 7 Jul 2006. - -INFO-DIR-SECTION Message User Agent -START-INFO-DIR-ENTRY -* Mew-J: (mew.ja.info). Messaging in the Emacs World. -END-INFO-DIR-ENTRY - - - - - - -File: mew.ja.info, Node: draft-mode, Next: charset, Prev: message-mode, Up: Customize - -Draft mode -========== - -自分へ Cc: したい人は `mew-cc' を設定して下さい。返答の際には、対象の -メッセージから、別途 Cc: が用意される場合があります。複数の Cc: がある -場合、送信時に 1 つにまとめられます。 - -バックアップのため、自分が送るメッセージを受け取りたいと考え、しかもヘッ -ダに自分のアドレスを残したくないなら、Dcc: を使って下さい。 -`mew-dcc' に自分のアドレスを設定しましょう。 - -いつも入れて欲しいヘッダは、`mew-header-alist' に連想リスト形式で定義 -して下さい。以下に例を示します。 - - (setq mew-header-alist - '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94") - ("X-URL:" "http://www.example.org/~kazu/"))) - -引用ラベルは、引用するフィールドを `mew-cite-fields'、ラベルの書式 -を `mew-cite-format' に定義します。引用記号は -`mew-cite-prefix' に指定します。初期値は、以下のようになっています。 - - (defvar mew-cite-fields '("From:" "Subject:" "Date:")) - (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n") - (defvar mew-cite-prefix "> ") - -引用ラベルに Message-ID: を加えるには以下のようにします。 - - (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:")) - (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n") - -引用記号にアドレスのユーザ部分が付くようにするには以下のようにします。 - - (setq mew-cite-prefix-function (function mew-cite-prefix-username)) - -これで引用記号は以下のようになります。 - - From: SUMIKAWA Munechika - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - sumikawa> おはようからおやすみまでニートでおなじみの角川です。 - sumikawa> - sumikawa> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの - sumikawa> カベルネ・ソービニョンを狙いたいと思います。 - -引用ラベルの From: の部分と、引用記号は、アドレス帳の個人情報の要素に変 -換できます。それぞれ、`mew-addrbook-for-cite-label'、 -`mew-addrbook-for-cite-prefix' で指定できます。初期値はそれぞれ -`nil' と `'username' です。以下のような値が設定できます。 - -'shortname - 短縮名 -'address - アドレス -'username - アドレスのユーザ部分 -'nickname - ニックネーム -'name - 正式な氏名 - -例として以下のような設定を考えてみましょう。 - - (setq mew-addrbook-for-cite-label 'nickname) - (setq mew-addrbook-for-cite-prefix 'nickname) - -最初の設定でラベルの中のアドレスがニックネームに変わります。また、次の -設定で引用記号もニックネームに置き換わります。 - - From: すみっち - Subject: Wine - Date: Wed, 23 Jul 1997 11:40:50 +0900 - - すみっち> おはようからおやすみまでニートでおなじみの角川です。 - すみっち> - すみっち> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの - すみっち> カベルネ・ソービニョンを狙いたいと思います。 - - - -File: mew.ja.info, Node: charset, Next: highlight, Prev: draft-mode, Up: Customize - -文字コード -========== - -*Note charset-guess:: で説明したように、Mew ではメッセージを作成する際 -に適切な文字コードを自動的に選択します。 - -もし複数の言語の文字が混在しており、国際化された文字コードを選択する必 -要がある場合は、`mew-charset-m17n' の値を利用します。初期値は、"utf-8" -(Unicode と理解してよい)です。"iso-2022-jp-2" にしたい人は、以下のよう -に設定するとよいでしょう。 - - (setq mew-charset-m17n "iso-2022-jp-2") - -メッセージを作成した際に、推測された文字コードを確認したい場合は、 -`mew-ask-charset' を設定して下さい。 - -`nil' - どのような文字コードが利用されても確認なし -`文字コードのリスト' - このリストに存在しない文字コードが利用された場合に確認 -`t' - `mew-charset-m17n' が利用された場合に確認 - -たとえば、US-ASCII と ISO-2022-JP 以外の文字コードが選ばれた場合確認し -たいのであれば、以下のように設定して下さい。 - - (setq mew-ask-charset '("us-ascii" "iso-2022-jp")) - -こう設定しているとき、たとえば "utf-8" が選択されると、以下のように訊 -かれます。 - - utf-8 is used. OK? (y or n) - -`y' を押すと、メッセージが送信されます(あるいは、キューに溜ります)。 -`n' を押すと、草稿が元の状態に戻ります。 - -ヨーロッパでは、Latin 1 (ISO-8859-1) の代りに、ユーロ記号を含む Latin -9 (ISO-8859-15、通称 Latin 0) が使われ始めています。草稿に、Latin 1 の -文字と Latin 9 の文字が混在していると、以下の手順によって、文字コード -が決定されます。 - - 1. `unify-8859-on-decoding-mode' を利用している場合: - 1. ISO-8859-1 に収まるなら "iso-8859-1" を利用 - 2. そうでないなら "utf-8" を利用 - 2. `unify-8859-on-decoding-mode' を利用していない場合: - 1. ISO-8859-1 と ISO-8859-15 のどちらにも収まる場合、"ISO-8859-1" - 2. ISO-8859-1 に収まるなら "iso-8859-1" を利用 - 3. ISO-8859-15 に収まるなら "iso-8859-15" を利用 - 4. そうでないなら、"utf-8" を利用 - -`mew-charset-latin' の初期値は、"iso-8859-15" です。"iso-8859-1" にし -たい場合は、以下のように設定します。 - - (setq mew-charset-latin "iso-8859-1") - -もし、US-ASCII 以外の文字に対し、必ず UTF-8 を使いたいなら、以下のよう -に設定して下さい。 - - (setq mew-cs-database-for-encoding - `(((ascii) nil "7bit" "7bit") - (nil utf-8 "base64" "B"))) - - - -File: mew.ja.info, Node: highlight, Next: hooks, Prev: charset, Up: Customize - -色付け -====== - -`mew-use-highlight-mark' が `t' の場合、マークの付いたメッセージに色が -付きます。初期値は `t' です。 - -`mew-use-highlight-header' が `t' の場合、メッセージのヘッダに色が付き -ます。初期値は `t' です。 - -`mew-use-highlight-body' が `t' の場合、メッセージの本文に色が付きます。 -初期値は `t' です。色を付ける上限は、`mew-highlight-body-max-size' で -指定できます。初期値は 10000 バイトです。 - -`mew-use-highlight-url' が `t' の場合、メッセージ中の URL に仕 -掛けが施されて、マウスを持っていくと光るようになります。初期値は -`t' です。 - -`mew-use-cursor-mark' が `t' の場合、Summary モードにおいて、現在表示 -しているメッセージの行頭に、`mew-cursor-mark' で指定された目印が付きま -す。初期値は `nil' です。`mew-cursor-mark' の初期値は ">" です。 - -`mew-use-highlight-cursor-line' が `t' の場合、Summary モードでカーソ -ルのある行に下線が引かれます。初期値は `t' です。 - -`mew-use-highlight-mouse-line' が `t' の場合、Emacs がマウスの色付けを -サポートしていれば、Summary モードでマウスのある行に色がつきます。真中 -のボタンをクリックしながら、マウスだけでメッセージを読む際にはとても便 -利です。初期値は `nil' になっています。 - -`mew-use-highlight-x-face' が `t' で、ヘッダ中の X-Face: が -Message モードでアイコン化されます。初期値は `t' です。この機能を -利用するには、"netpbm" と "compface" パッケージをインストールして下 -さい。 - -色を変更するには、Mew のソースと一緒に配布されている "dot.theme" を -適当な名前でコピーし内容を変更します。ここでは、そのファイル名を -"~/.mew-theme.el" としましょう。まず、この名前を ".mew.el" で -`mew-theme-file' に指定して下さい。 - - (setq mew-theme-file "~/.mew-theme.el") - -次に中身を変更します。たとえば、以下のような設定が見つかります。 - - (mew-setface-bold header-subject - :tty "red" :light "Firebrick" :dark "OrangeRed") - -シンボル `header-subject' は、ヘッダの "Subject:" の値を意味していま -す。:tty は Emacs をカラーの端末で起動した場合、:light と :dark は、そ -れぞれ Emacs をウインドウで起動したときの背景が白と黒の場合を意味して -います。 - -端末では green 、背景が白なら ForestGreen、背景が黒なら LimeGreen と設 -定するには、以下のようにします。 - - (mew-setface-bold header-subject - :tty "green" :light "ForestGreen" :dark "LimeGreen") - -シンボルに何があるのかは、"dot.mew" を見て下さい。 - -上記の方法では、ヘッダのすべてのフィールド名やフィールド値に対してシン -ボルが定義されている訳ではありません。そこで、どんなフィールドの色でも -簡単に変更できるように、`mew-header-color' と`mew-header-color-bold' -という関数が用意されています。後者を使うと太字に、前者を使うと普通の文 -字になります。たとえば、以下のように使います。 - - (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed") - -この設定では、"Subject:" が LimeGreen の太字に、その値が OrangeRed の -太字になります。 - -この方法では、端末や背景の色を考慮した設定はできません。また、フィール -ド値の色を省略すると、フィールド名と同じ色が使用されます。 - - - -File: mew.ja.info, Node: hooks, Next: pop, Prev: highlight, Up: Customize - -フック -====== - -Mew で用意されているフックをまとめます。 - -`mew-env-hook' - Mew の起動時の環境が設定される前に評価される。 -`mew-init-hook' - Mew の起動時に評価される。 -`mew-status-update-hook' - 状態の更新(`Z')のときに評価される。 -`mew-summary-mode-hook' - Summary モードに入るときに評価される。 -`mew-virtual-mode-hook' - Virtual モードに入るときに評価される。 -`mew-thread-display-hook' - スレッドが表示された後に評価される。 -`mew-header-mode-hook' - Header モードに入るときに評価される。 -`mew-draft-mode-hook' - Draft モードに入るときに評価される。 -`mew-draft-mode-newdraft-hook' - 新しい草稿が用意された際に、Draft モードにおいて評価される。 -`mew-draft-mode-reedit-hook' - +draft でないフォルダにある古い草稿を再編集した際に、Draft モード - において評価される。 -`mew-draft-mode-reedit-draft-hook' - +draft でないフォルダにある草稿を再編集した際に、Draft モードにお - いて評価される。 -`mew-draft-mode-reedit-queue-hook' - +queue または +postq フォルダにあるメッセージを再編集した際に、 - Draft モードにおいて評価される。 -`mew-draft-mode-edit-again-hook' - 古い形式で戻ってきたメッセージを再編集した際に、Draft モードにお - いて評価される。 -`mew-message-mode-hook' - Message モードに入るときに評価される。 -`mew-message-hook' - メッセージが Message モードで表示される度に評価される。 -`mew-make-message-hook' - Draft モードで MIME メッセージを作る前、つまり `C-cC-m' の際の最 - 初に評価される。例:(add-hook 'mew-make-message-hook - 'ispell-message) -`mew-send-hook' - メッセージを SMTP で送信/キューイングする前に評価される。メッセー - ジの最終形が作られる前に評価されることに注意。 -`mew-post-hook' - メッセージを NNTP で投稿/キューイングする前に評価される。メッセー - ジの最終形が作られる前に評価されることに注意。 -`mew-real-send-hook' - メッセージを SMTP で送信/キューイングする前に評価される。メッセー - ジの最終形が作られた後に評価されることに注意。 -`mew-real-post-hook' - メッセージを NNTP で送信/キューイングする前に評価される。メッセー - ジの最終形が作られた後に評価されることに注意。 -`mew-smtp-flush-hook' - +queue フォルダにメッセージがある場合に、SMTP が起動される前に評 - 価される。 -`mew-nntp2-flush-hook' - +postq フォルダにメッセージがある場合に、NNTP が起動される前に評 - 価される。 -`mew-smtp-sentinel-hook' - SMTP が終了する際に評価される。 -`mew-nntp-sentinel-hook' - 受信用の NNTP が終了する際に評価される。 -`mew-nntp2-sentinel-hook' - 送信用の NNTP が終了する際に評価される。 -`mew-pop-sentinel-hook' - POP が終了する際に評価される。 -`mew-pop-sentinel-non-biff-hook' - Biff ではない POP が終了する際に評価される。 -`mew-imap-sentinel-hook' - IMAP が終了する際に評価される。 -`mew-imap-sentinel-non-biff-hook' - Biff ではない IMAP が終了する際に評価される。 -`mew-scan-sentinel-hook' - Summary モードの `s' が終了する際に評価される。 -`mew-summary-ls-no-scan-hook' - Summary モードの `s' がフォルダの一覧を取らなかった場合に評価され - る。 -`mew-summary-exec-hook' - Summary モードの `x' の実行が終了する際に評価される。 -`mew-refile-guess-by-from-learn-hook' - mew-refile-guess-by-from-learn が実行される際に評価される。 -`mew-sort-hook' - Summary モードの `M-s' の実行が終了する際に評価される。 -`mew-pack-hook' - Summary モードの `O' の実行が終了する際に評価される。 -`mew-summary-delete-folder-hook' - フォルダが削除されるときに評価される。 -`mew-summary-rename-folder-hook' - フォルダ名が変更されるときに評価される。 -`mew-summary-toggle-disp-msg-hook' - Summary モードの `v' の実行が終了する際に評価される。 -`mew-syntax-format-hook' - マルチパートの書式を作成する関数 `mew-syntax-format' が呼ばれた際 - に評価される。 -`mew-addrbook-mode-hook' - アドレス帳の登録モードに入るときに評価される。 -`mew-cite-hook' - Draft モードで引用する際に呼ばれる。通常 supercite を設定するため - に使う。 -`mew-before-cite-hook' - Draft モードでメッセージを引用する直前に呼ばれる。 -`mew-suspend-hook' - Mew を一時中断した際に評価される。 -`mew-quit-hook' - Mew の終了時に評価される。 - -以下にフックの設定例を示します。 - -Draft モードでは、フックを `text-mode-hook'、`mew-draft-mode-hook' の -順で評価します。`text-mode-hook' で `auto-fill-mode' を設定していない -人は、 `mew-draft-mode-hook' を以下のように設定するのがよいかもしれま -せん。 - - (add-hook 'mew-draft-mode-hook - (lambda () - (auto-fill-mode 1) - (set-fill-column 70))) - -この例では、折り返しのカラム数を70に設定しています。 - - - -File: mew.ja.info, Node: pop, Next: imap, Prev: hooks, Up: Customize - -POP -=== - -Mew では、メッセージを受信する際に POP を利用できます。ここでは、POP -を制御するための以下の変数についてまとめます。 - -`mew-pop-server' - POP サーバの名前。 -`mew-pop-ssh-server' - POP を SSH 経由で取得する場合の SSH サーバの名前。 -`mew-pop-ssl' - POP over SSL を使うか否か。 -`mew-pop-ssl-port' - POP over SSL のポート番号。 -`mew-pop-user' - POP のアカウント名。初期値はログイン名。 -`mew-pop-auth' - POP の認証方式。`'pass' は USER/PASS (生パスワード)、`'apop' は - APOP、`t' は `mew-pop-auth-list' に従った SASL を意味する。初期値 - は `'apop'。 -`mew-pop-auth-list' - SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、 - "CRAM-MD5" が利用可能。 -`mew-pop-delete' - POP サーバからメッセージを取得後、POP サーバにあるメッセージを削 - 除するか否か。`t' なら削除。`nil' なら削除しない。数値 N なら、最 - 初のアクセスから N 日後に削除する。初期値は `t'。 -`mew-pop-size' - POP サーバから取得するメッセージの大きさの上限。初期値は 55296 バ - イト。0 に設定すると、上限なしの意味になり、すべてのメッセージを - 取得する。上限に引っ掛かったメッセージの全体を取得する方法につい - ては、*Note retrieving:: を参照のこと。 -`mew-pop-body-lines' - 大きさの上限にひっかかったメッセージの本文を何行取得するかという - 値。初期値は 40。 -`mew-pop-header-only' - POP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 - `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 - - - -File: mew.ja.info, Node: imap, Next: nntp, Prev: pop, Up: Customize - -IMAP -==== - -Mew では、メッセージを受信する際に IMAP を利用できます。ここでは、IMAP -を制御するための以下の変数についてまとめます。 - -`mew-imap-server' - IMAP サーバの名前。 -`mew-imap-ssh-server' - IMAP を SSH 経由で取得する場合の SSH サーバの名前。 -`mew-imap-ssl' - IMAP over SSL を使うか否か。 -`mew-imap-ssl-port' - IMAP over SSL のポート番号。 -`mew-imap-user' - IMAP のアカウント名。初期値はログイン名。 -`mew-imap-auth' - IMAP の認証方式。`nil' は LOGIN (生パスワード)、`t' は - `mew-imap-auth-list' に基づいた SASL を意味する。初期値は `t'。 -`mew-imap-auth-list' - SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、 - "CRAM-MD5" と "LOGIN" が利用可能。 -`mew-imap-delete' - IMAP サーバからメッセージを取得後、IMAP サーバにあるメッセージを - 削除するか否か。`t' なら削除。`nil' なら削除しない。数値 N なら、 - 最初のアクセスから N 日後に削除する。初期値は `t'。 -`mew-imap-size' - IMAP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。 - 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限 - に引っ掛かったメッセージの全体を取得する方法については、 - *Note retrieving:: を参照のこと。 -`mew-imap-header-only' - IMAP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 - `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 - - - -File: mew.ja.info, Node: nntp, Next: smtp, Prev: imap, Up: Customize - -NNTP -==== - -Mew では、ニュースを読み書きする際に NNTP を利用します。ここでは、NNTP -を制御するための以下の変数についてまとめます。 - -`mew-nntp-server' - NNTP サーバの名前。 -`mew-nntp-ssh-server' - NNTP を SSH 経由で取得する場合の SSH サーバの名前。 -`mew-nntp-ssl' - NNTP over SSL を使うか否か。 -`mew-nntp-ssl-port' - NNTP over SSL のポート番号。 -`mew-nntp-user' - NNTP のアカウント名。もし `nil' でなければ、認証の手続きが実行さ - れる。(mew-nntp-auth という変数はないことに注意。) -`mew-nntp-newsgroup' - ニュースグループ名の初期値。 -`mew-nntp-size' - NNTP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。 - 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限 - に引っ掛かったメッセージの全体を取得する方法については、 - *Note retrieving:: を参照のこと。 -`mew-nntp-header-only' - NNTP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 - `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 -`mew-nntp-msgid-user' - Message-Id: を作成するためのユーザ名。`nil' であれば `mew-user' - の値が利用される。初期値は `nil'。Message-Id: の書式は以下を参照。 -`mew-nntp-msgid-domain' - Message-Id: を作成するためのドメイン名。`nil' であれば - `mew-mail-domain' の値が利用される。初期値は `nil'。Message-Id: - の書式は以下を参照。 - -なお、NNTP 用の Message-Id: の値は以下のように作成されます。 - - message-id = *random*.nntp-msgid-user@nntp-msgid-domain - - - -File: mew.ja.info, Node: smtp, Next: config, Prev: nntp, Up: Customize - -SMTP -==== - -Mew では、メッセージを送信する際に SMTP を利用します。SMTP サーバが認 -証を要求した場合、Mew は自動的にユーザにバスワードの入力を求めます。こ -こでは、SMTP を制御するための以下の変数についてまとめます。 - -`mew-smtp-server' - SMTP サーバの名前。 -`mew-smtp-port' - SMTP ポート番号。 -`mew-smtp-ssh-server' - SSH 経由でメッセージを送る際の SSH サーバの名前。 -`mew-smtp-ssl' - SMTP over SSL を使うか否か。 -`mew-smtp-ssl-port' - SMTP over SSL のポート番号。 -`mew-smtp-user' - SMTP AUTH で利用されるアカウント名。設定されない場合は、自動的に - メールアドレスに設定される。 -`mew-smtp-auth-list' - SMTP AUTH で利用する認証方式のリスト。優先順位の高い順に並べる。 - 初期値は、'("CRAM-MD5" "PLAIN" "LOGIN")。 -`mew-smtp-helo-domain' - SMTP HELO コマンドで使われるサーバ名。初期値は "localhost"。 -`mew-smtp-mail-from' - SMTP MAIL FROM コマンドで指定されるアドレス。`nil' の場合は、 - From: フィールドのアドレスが指定される。初期値は `nil'。 -`mew-smtp-msgid-user' - Message-Id: を作成するためのユーザ名。`nil' であれば `mew-user' - の値が利用される。初期値は `nil'。Message-Id: の書式は以下を参照。 -`mew-smtp-msgid-domain' - Message-Id: を作成するためのドメイン名。`nil' であれば - `mew-mail-domain' の値が利用される。初期値は `nil'。Message-Id: - の書式は以下を参照。 -`mew-use-8bit' - 8 ビットテキストを符号化せずにそのまま送るか否か。`nil' の場合は、 - 適切な MIME 符号化が施される。初期値は `nil'。 - -なお、SMTP 用の Message-Id: の値は以下のように作成されます。 - - message-id = *random*.smtp-msgid-user@smtp-msgid-domain - -Message Submission (ポート番号が 587 である送信用の SMTP)を使いたい場 -合は、以下のように設定して下さい。 - - (setq mew-smtp-port "submission") - -SSL (*Note SSL::)や TLS (*Note TLS::) の章も参考にして下さい。 - -SMTP サーバの中には、認証なし、つまりパスワードを送られるとエラーと見 -なす設定であるにも関わらず、認証を要求してくるものがあります。Mew は、 -SMTP サーバが認証を要求すると、ユーザにパスワードを尋ねて、入力された -パスワードをサーバへ送ります。上記のようなおかしな SMTP サーバに対処す -るには、以下のように設定し、認証を要求されてもパスワードを送らなくすれ -ばよいでしょう。 - - (setq mew-use-smtp-auth nil) - -`mew-use-smtp-auth' - SMTP サーバが認証を要求したとき、パスワードを送るかどうか。デフォルトは - `t'。`nil' にすると、SMTP サーバが認証を要求しても無視する。 - - - -File: mew.ja.info, Node: config, Next: config2, Prev: smtp, Up: Customize - -送受信の動作変化 -================ - -`mew-config-alist' を使うと、メッセージの送受信に関する動作に変化をつ -けられます。以下の設定例を使って説明します。 - - (setq mew-config-alist - '((home - (inbox-folder "+inbox-home") - (pop-server "pop.iij4u.or.jp")) - (ext - (pop-ssh-server "ssh.example.org")) - (default - (proto "%") - (imap-server "imap.example.org") - (pop-server "pop.example.org")))) - -この例では、"home"、"ext"、"default" という 3 つのケースを定めています。 -それぞれのケースに対して、いくつかのキーと値の対が設定されています。 - -この例を使って、`mew-config-alist' の意味を説明します。ケースを -"home" にして "pop-server" を索くと、"pop.iij4u.or.jp" が得られます。ケー -スを "ext" にして "pop-server" を索くと、"ext" には該当するキーがな -いので、"default" を見て、"pop.example.org" が得られます。ケースを -"default" にして "pop-server" を索くと、"pop.example.org" が得られます。 - -ケースを "home" にして "inbox-folder" を索くと、"+inbox-home" が得られ -ます。ケースを "ext" にして "inbox-folder" を索くと、"ext" には該当す -るキーがなく、さらに "default" にもないので、`mew-inbox-folder' という -変数の値が得られます。ケースを "default" にして "inbox-folder" を索い -た場合も、`mew-inbox-folder' の値が得られます。 - -"proto" (`mew-proto')は、`M-x mew' と入力された際に、どのフォルダに移 -動するか指定するために使います。(Mew を起動するために`M-x mew' と入力 -する場合、"default" ケースの "proto" が利用されます。Mew が起動してい -る際に、`M-x mew' と入力するとケースに従って、"proto" が選ばれます。) - -値の候補は、"+"、"$"、"%"、"-" です。これらは標準では、"+inbox"、 -"$inbox"、"%inbox"、"-fj.mail.reader.mew" を意味します。 - -`mew-config-alist' で設定できるキーは、`mew-"キー"' という変数に対応し -ています。以下に設定できる項目を列挙します。 - - name, user, mail-domain, - cc, fcc, dcc, reply-to, organization, header-alist, proto, - smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port, - smtp-user, smtp-auth-list, - smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from, - pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port, - pop-user, pop-auth, pop-auth-list, - pop-size, pop-header-only, pop-delete, pop-body-lines, - pop-proxy-server, pop-proxy-port, - imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port, - imap-user, imap-auth, imap-auth-list, - imap-size, imap-header-only, imap-delete, - imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word, - imap-proxy-server, imap-proxy-port, - nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port, - nntp-user, nntp-size, nntp-header-only, - nntp-msgid-user, nntp-msgid-domain, - ssl-cert-directory, ssl-verify-level, - inbox-folder, queue-folder, postq-folder, - mailbox-type, mbox-command, mbox-command-arg, - signature-file, content-type, refile-guess-alist, - spam-prog, spam-prog-args, ham-prog, ham-prog-args, - use-old-pgp, pgp-signer, smime-signer, privacy-method, - protect-privacy-always, protect-privacy-always-type, - protect-privacy-encrypted, protect-privacy-encrypted-type, - protect-privacy-with-old-pgp-signature, - use-format-flowed - -name、user、mail-domain は以下の規則にしたがって、From: の値になります。 - - from = name - -自分で `mew-from-list' を設定していない場合は、上記のルールに従い各 -ケースの from を集めて、`mew-from-list' が自動的に設定されます。 -*Note cheader:: を参照のこと。 - -`mew-config-alist' に設定したケース名をケースに指定できます。Mewの起動 -時のケースは、"default" になっています。 - -Summary モードにおいて、ケースを変更するには `C' を利用します。ケース -には、`TAB' で補完、`C-cTAB' で循環的な補完が効きます。 - -ケースが "default" 以外の値をとった場合は、Summary モードのモードライ -ンに表示されます。以下はケースが "home" となっている場合の例です。 - - (Summary home) - - -Draft モードでは、ケースが "default" でない場合、モードラインにその値 -が表示されます。以下は、ケースが "home" である場合の例です。 - - (Draft home) - -Draft モードにおいて、その草稿のケースを変更するには、`C-cC-o' を用い -ます。mail-domain キーや header-alist キーに対応する値に応じて、ヘッダ -が動的に変更されます。なお、このケースは、その Draft モードに固有にな -ります。 - -Draft モードでは、ケースを自動的に設定することもできます。 - -`mew-case-guess-when-prepared' - この変数が `t' の場合、草稿が用意されたときに、 - `mew-case-guess-alist' に従ってケースが設定される。初期値は - `t'。 -`mew-case-guess-when-composed' - この変数が `t' の場合、メッセージが作成されたときに、 - `mew-case-guess-alist' に従ってケースが設定される。初期値は - `nil' -`mew-case-guess-when-replied' - この変数が `t' の場合、返答によって草稿が用意されたときに、 - `mew-case-guess-when-replied-alist' に従ってケースが設定される。 - 初期値は `t'。 - -`mew-case-guess-alist' と `mew-case-guess-when-replied-alist' -の書式は、`mew-refile-guess-alist' と同じです。詳しくは、 -*Note by-alist:: を参照して下さい。 - -Draft モードで草稿を送信するために `C-cC-c' を使うと、Draft モードのケー -スが SMTP/NNTP サーバなどを決定するために利用されます。Summary モード -で +queue/+postq のメッセージを送り出すために `C-cC-c' を利用すると、 -Summary モードのケースが利用されます。たとえ、そのケースが Draftモード -で指定されていたケースと違ってもです。Summary モードで`C-uC-cC-c' を使 -うと、+queue/+postq のメッセージを送り出すためのケースが指定できます。 - - -以下にケースに関するコマンドをまとめます。 - -`C' - Summary モードにおいて、ケースを設定する。 -`C-cC-o' - Draft モードにおいて、その草稿のケースを設定する。 - - - -File: mew.ja.info, Node: config2, Next: custom-misc, Prev: config, Up: Customize - -設定の書式 -========== - -Mew 6.1 から ".mew.el" の設定方法が改善されました。古い書式も有効です -が、より簡単な新しい書式も利用できます。 - - - 古い書式ではリストの中に "." が現れる場合がありました。新しい書式 - では、"." はまったく使われません。たとえば、("foo" . "bar") と書 - いていたところは、("foo" "bar") と書けます。 - - 古い書式では、ポート番号は文字列で書いていました。たとえば、"25" - です。新しい書式では、数値で書いてもよくなりました。たとえば、25 - です。文字列も有効です。たとえば、"smtp" です。 - - 古い書式では、`mew-config-alist' のケースやキーを文字列で書いてい - ました。新しい書式では、シンボルで書けます。 - -以下に mew-config-alist を新しい書式で書いた例を示します。 - - (setq mew-config-alist - '((home - (imap-server "imap.example.org") - (imap-ssl t) - (imap-ssl-port 993) - (smtp-server "smtp.example.org") - (smtp-port "submission")))) - -以下の古い書式と見比べて下さい。 - - (setq mew-config-alist - '(("home" - ("imap-server" . "imap.example.org") - ("imap-ssl" . t) - ("imap-ssl-port" . "993") - ("smtp-server" . "smtp.example.org") - ("smtp-port" . "submission")))) - -繰り返しますが、Mew 6.1 では古い書式も有効です。古い書式と新しい書式を -混ぜて書いても構いません。 - - - -File: mew.ja.info, Node: custom-misc, Next: Tips, Prev: config2, Up: Customize - -その他 -====== - -環境によっては、添付ファイルをセーブする際に、ファイル名を SAMBA 形式に -すると便利なことがあります。この場合、`mew-use-samba-encoding' を -`t' にして下さい。ファイル名として、どの文字コードを利用するかは、 -`mew-cs-samba' で指定できます。初期値は `shift_jis' です。 - -Summary モードで `#' と押すと、現在のメッセージを印刷できます。印刷に -利用する関数は `mew-print-function' で定義します。初期値は、 -`ps-print-buffer' ですから、PostScript に変換されて印刷されます。自分 -の作成した関数を利用するには、以下のように設定します。 - - (setq mew-print-function 'my-print-function) - -ヘッダ中のどのフィールドを印刷するかは、`mew-field-for-printing'で指定 -できます。初期値は、以下のようになっています。 - - '("Subject:" "From:" "To:" "Cc:" "Date:") - -たとえば、Subject:、From:、Date: のみを印刷するには、以下のように設定 -しましょう。 - - (setq mew-field-for-printing '("Subject:" "From:" "Date:")) - - - - -File: mew.ja.info, Node: Tips, Next: region, Prev: custom-misc, Up: Top - -さらなる一歩 -************ - -* Menu: - -* region:: リージョン -* visiting:: 移動 -* SSH:: Secure SHell -* SSL:: Secure Socket Layer -* TLS:: Transport Layer Security -* spam:: スパム -* spam2:: スパム(2) -* addr-warn:: アドレスの警告 -* biff:: Biff -* edit:: Edit モード - - - -File: mew.ja.info, Node: region, Next: visiting, Prev: Tips, Up: Tips - -リージョン -========== - -Summary モードには、`C-u' 付きで呼び出すと、リージョンに作用するコマン -ドがあります。これらのコマンドは、ビジブルなリージョンが指定されている -場合は、`C-u' なしでもそのリージョンに作用します。 - -Emacs では、以下の設定を "~/.emacs" に入れると、ビジブルなリージョンが -利用できるようになります。 - - (transient-mark-mode 1) - -以下に、該当するコマンドを列挙しておきます。 - - `?', `/', `tt', `x', `lx', `ma', `Md', `S', `mlc', `mli', `*', `$', `d', `u' - -`*', `$', `d', `u' は、直前に数字を入力することで、繰り返しの回数を指 -定することもできます。たとえば、`3*' は 3 つのメールに `*' マークを付 -けます。数字の前に `C-u' は不要です。 - - - -File: mew.ja.info, Node: visiting, Next: SSH, Prev: region, Up: Tips - -移動 -==== - -Draft モードにおいて、`C-cC-m' でメッセージを作成し送信キューに入 -れた後、+queue に移動したい場合は、 -`mew-visit-queue-after-sending' を `t' に設定して下さい。 - -Summary モードにおいて、`C' でケースを設定した後に、各 inbox に移動し -たい場合は、`mew-visit-inbox-after-setting-case' を `t'に設定しましょ -う。 - -Summary モードから、一番数字の小さい草稿(Draft モード)に移動するには、 -`C-cC-o' が利用できます。 - - - -File: mew.ja.info, Node: SSH, Next: SSL, Prev: visiting, Up: Tips - -Secure SHell -============ - -Mew は SSH として、SSH バージョン 1、2 および OpenSSH をサポートしてい -ます。Mew から SSH を利用する前に、必ずコマンド・ラインで "ssh" を実行 -し、SSH サーバの公開鍵を取得して下さい。すなわち、ユーザのパスワードか、 -ローカルのマシンの秘密鍵を復号化するためのパスワードを入力すれば、サー -バにログインできる状態にして下さい。なお、"ssh-agent" を利用すれば、秘 -密鍵を復号化するためのパスワードの入力を省略できます。 - -後は、各プロトコルの SSH に関する変数を設定して下さい。たとえば、POP -over SSH を利用する場合は、`mew-pop-ssh-server' に SSH サーバの名前を -設定しましょう。 - -SSH で通信が保護されている場合、モードラインに錠前の絵が表示されます。 - -Mew の実装では、SSH と SSL/TLS を同時には使えません。SSH トンネルの中 -でSSL/TLS を使う必要がある場合、Mew では SSL/TLS だけを設定し、SSH ト -ンネルはコマンドラインから張るようにして下さい。 - - - -File: mew.ja.info, Node: SSL, Next: TLS, Prev: SSH, Up: Tips - -Secure Socket Layer -=================== - -SSL を使うには、認証局方式の信用モデルを理解している必要があります。現 -在、Mew は SSL のために "stunnel" バージョン 3 とバージョン 4 をサポー -トしています。 - -Mew で利用する前に、SSL サーバに対して "stunnel" で SSL のコネクション -が張れるか確かめて下さい。"stunnel" は、"openssl" のライブラリをリンク -しているので、"openssl" の知識が必要です。 - -信用する証明書を保存しておくディレクトリを "~/.certs" だとしましょう。 -ここに "openssl" の "certs" ディレクトリに付いてくる PEM 形式の証明書 -を"<ハッシュ>.0" という名前でコピーします。 - -ここでは、PEM 形式の証明書のファイル名を "ca.pem" だとしましょう。「< -ハッシュ>」は以下のように計算できます。 - - % openssl x509 -hash -noout -in ca.pem - -"~/.certs/" へコピーするには、以下のようにします。 - - % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0 - -"openssl" に付いてくる証明書は、世の中で使われている CA すべてを網羅で -きていません。あなたが利用するサーバの証明書が、他の CA から発行された -場合、その CA の証明書を同様にコピーしておく必要があります。以下のペー -ジに CA の証明書がたくさん置いてあります。 - - http://www.columbia.edu/~ariel/good-certs/ns45/ - -Mew で "stunnel" を制御する重要な変数は 2 つです。 -`mew-ssl-cert-directory' は、信用する CA の証明書を置いておくディレク -トリであり、初期値は "~/.certs" です。また、`mew-ssl-verify-level' で、 -証明書を検証するレベルを指定できます。レベルの初期値は 1 です。この意 -味は、以下の通りです。 - -0 - 検証しない -1 - サーバの証明書があれば検証する。検証結果が失敗なら、SSL/TSL コネ - クションは作られない。証明書がなければ、SSL/TLS コネクションを作 - 成する。 -2 - サーバの証明書を検証する。検証結果が失敗なら、SSL/TSL コネクショ - ンは作られない。証明書がなければ、SSL/TLS コネクションを作成しな - い。 -3 - サーバが送ってきたものではなく、ローカルにインストールされている - 証明書で検証する。 - -後は各プロトコルの SSL に関する変数を設定して下しさい。たとえば、POP -over SSL を利用するには、`mew-pop-ssl' を `t' にします。また、ポート番 -号が標準と異なる場合には、`mew-pop-ssl-port' を設定して下さい。 - - (setq mew-pop-ssl t) - -SMTP で SSL を利用する場合は、以下のようにします。 - - (setq mew-smtp-ssl t) - -SSL で通信が保護されている場合、モードラインに錠前の絵が表示されます。 - - - -File: mew.ja.info, Node: TLS, Next: spam, Prev: SSL, Up: Tips - -Transport Layer Security -======================== - -Mew では SSL の代りに TLS を利用することもできます。TLS の実現は、SSL -と同様 "stunnel" に頼っています。ですので、TLS を利用する際には、 -*Note SSL:: の説明に従って設定して下さい。 - -次に、SSL のポート番号を守りたいプロトコルと同じポート番号に設定します。 -たとえば、POP では以下のようにします。 - - ;; mew-pop-port is default to "pop3" (110) - (setq mew-pop-ssl t) - (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995) - -すなわち、SSL のポート番号と保護したいプロトコルのポートが同じであれば -TLS、異なれば SSL が利用されます。 - -以下は、Message Submission を TLS で守るための設定例です。 - - (setq mew-smtp-port "submission") ;; The default is "smtp" (25) - (setq mew-smtp-ssl t) - (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465 - - - -File: mew.ja.info, Node: spam, Next: spam2, Prev: TLS, Up: Tips - -スパム -====== - -(1) スパムのフィルタが POP サーバや IMAP サーバ側で動いている場合: - -POP で +inbox にメッセージを取得したり、$inbox や %inbox でメッセージ -の一覧を取ったりする場合に、スパムに自動的に `D' マークを付けることが -できます。 - -Bogofilter を利用している場合は、以下の設定を "~/.mew.el" に入れて下さ -い。 - - (defun mew-spam-bogofilter (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) ?D))) - - (setq mew-inbox-action-alist - '(("X-Bogosity:" mew-spam-bogofilter))) - -`D' マークを付ける代わりに、+spam フォルダへリファイルするように `o' -マークを付けるようにするには、関数を以下のように記述します。 - - (defun mew-spam-bogofilter (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) "+spam"))) - -Spamassassin の場合は、以下の設定を "~/.mew.el" に入れて下さい。 - - (setq mew-spam: "X-Spam-Flag:") - (defun mew-spam-assassin (val) - (let ((case-fold-search t)) - (if (string-match "yes" val) ?D))) - - (setq mew-inbox-action-alist - '(("X-Spam-Flag:" mew-spam-assassin))) - -bsfilter を使う場合は、bsfilter に含まれているマニュアルを参照して下さ -い。 - - -(2) スパムのフィルタが IMAP サーバ側で動いている場合: - -%inbox でメッセージの一覧を取る際に、IMAP サーバの中でスパムを消去、ま -たは、他のフォルダへ移動させることができます。Bogofilter を利用してい -る場合は、以下のような設定を "~/.mew.el" に加えて下さい。 - - (setq mew-imap-spam-field "X-Bogosity") - (setq mew-imap-spam-word "Yes") - -`mew-imap-spam-folder' あるいは `mew-imap-trash-folder' が定義されてい -れば、そのフォルダへスパムが移動します。そうでなければ、スパムは消去さ -れます。 - -(3) ローカルで bogofilter を動かして、一括して `*' マークを付ける方法 -もあります。まず、以下のスクリプトをインストールして下さい。 - - #!/bin/sh - - bogofilter -v -T -B $* | grep S - -このスクリプト名を "bogo" だとしましょう。Summary モードで `?' を実行 -し、`RET' を入力し、コマンド名に "bogo" を指定すれば、スパムに`*' マー -クが付きます。あとは、`md' + `x' などで処理するといいでしょう。 - -(4) POP サーバを利用しており、サーバ側ではスパムのフィルタを動かせない -が、メッセージの取得時にマークを付けたい場合: - -bsfilter は、POP の代理サーバとなる機能があるので、これを実現できます。 -詳しくは bsfilter に含まれているマニュアルを参照して下さい。 - - - -File: mew.ja.info, Node: spam2, Next: addr-warn, Prev: spam, Up: Tips - -スパム(2) -========= - -Summary モードで読んでいる現在のメッセージを、フィルターにスパムとして -学習させるには `ls' を使います。同様に、ハム(スパムでないメッセージ)と -して学習させるには `lh' を利用して下さい。 - -両者のコマンドを使用するためには、4 つの変数を設定しておく必要がありま -す。ここでは bogofilter を例題にとり、3 つの場合について説明します。 - -(1) ローカルのフィルターに学習させる場合: - - (setq mew-spam-prog "bogofilter") - (setq mew-spam-prog-args '("-s" "-N" "-v")) - (setq mew-ham-prog "bogofilter") - (setq mew-ham-prog-args '("-n" "-S" "-v"))) - -(2) サーバ()側のフィルターに SSH 経由で学習させる場合: - - (setq mew-spam-prog "ssh") - (setq mew-spam-prog-args '("" "bogofilter" "-s" "-N" "-v")) - (setq mew-ham-prog "ssh") - (setq mew-ham-prog-args '("" "bogofilter" "-n" "-S" "-v"))) - -(3) ファイアウォール()の先のサーバ()のフィルターに多 -段の SSH 経由で学習させる場合: - - (setq mew-spam-prog "ssh") - (setq mew-spam-prog-args '("-A" "" "ssh" "" "bogofilter" "-s" "-N" "-v")) - (setq mew-ham-prog "ssh") - (setq mew-ham-prog-args '("-A" "" "ssh" "" "bogofilter" "-n" "-S" "-v"))) - -なお SSH を利用する場合、関連するホストには、パスワードなしでログイン -できるように設定しておく必要があります。 - - - -File: mew.ja.info, Node: addr-warn, Next: biff, Prev: spam2, Up: Tips - -アドレスの警告 -============== - -社内で閉じるべきメッセージの宛先に、うっかり社外の人のアドレスを書いて -しまうことがあります。Mew では、たとえば社内のドメイン名を列挙しておく -と、社外のアドレスを赤色にして警告してくれます。 - -どのアドレスを警告するのかを決定する変数は 4 つあり、すべて文字列のリ -ストになります。Mew は以下のルールに従って、警告するアドレスを決めます。 - - 1. アドレスが `mew-safe-addresses' で指定されていれば警告しない。 - 2. アドレスが `mew-warn-addresses' で指定されていれば警告する。 - 3. ドメインが `mew-safe-domains' で指定されていれば警告しない。 - 4. ドメインが `mew-warn-domains' で指定されていれば警告する。 - 5. `mew-warn-addresses' か `mew-safe-domains' が定義されていれば警告 - する。 - 6. 警告しない。 - -以下に "@example.org" 以外のドメインを持つアドレスを警告する例を示しま -す。 - - (setq mew-safe-domains '("example.org")) - -ドメインは "@example.org" ですが、"customers@example.org" は警告したい -場合は、さらに以下のように設定します。 - - (setq mew-warn-addresses '("customers@example.org")) - - - -File: mew.ja.info, Node: biff, Next: edit, Prev: addr-warn, Up: Tips - -Biff -==== - -メッセージが到着したか定期的に調べる機能を biff といいます。Mew では、 -以下の設定をすると、5 分ごとに新規メッセージが何個あるか調べるようにな -ります。 - - (setq mew-use-biff t) - -新規メッセージがあれば、その数がモードラインに表示されます。 - -Biff の対象となるサーバとプロトコルは、Mew の起動時に `mew-proto'とケー -ス(`mew-case')から決定されます。 - -以下の設定をすると、新規メッセージがない状態からある状態に変った際に、 -ビープ音が鳴ります。 - - (setq mew-use-biff-bell t) - -メッセージの到着を調べる間隔を変えるには、`mew-biff-interval' を設定し -て下さい。以下は、10 分にする例です。 - - (setq mew-biff-interval 10) - - - -File: mew.ja.info, Node: edit, Next: Convention, Prev: biff, Up: Tips - -Edit モード -=========== - -Edit モードは、既存のメッセージを編集し、新しいメッセージを作成するた -めのモードです。用途の典型例を以下に示します。 - - - 大きな添付ファイルを削除して保存する - - PGP/MIME や S/MIME で暗号化されたメッセージを復号化した状態で保存 - する - -現在のメッセージを Edit モードで編集するには、`M-e'を押します。すると、 -Draft モードに似た形で草稿が用意されます。Edit モードでは、Draftモード -と同様の操作で、メッセージを編集できます。 - -編集したメッセージを新しいメッセージとして保存するには、`C-cC-c'か -`C-cC-m'を使います。両者は、まったく同じコマンドです。これらのコマンド -を実行すると、どのフォルダに保存するかを訊いてきます。 - -なお、この機能は再編集(*Note sum-write::)と混同しやすいので注意して下 -さい。再編集は編集後に送信するのに対し、Edit モードでは編集の後に保存 -します。 - -以下に Edit モードのまとめを示します。Summary モードから Edit モードに -入るには以下のコマンドを使います。 - -`M-e' - 現在のメッセージを元に Edit モードに入る。 - -Edit モードでのコマンドをまとめます。 - -`C-cC-c' - 編集したメッセージを新しいメッセージに保存。 -`C-cC-m' - `C-cC-c'に同じ。 -`その他' - Draft モードと同じ。 - - - - -File: mew.ja.info, Node: Convention, Next: Implementation, Prev: edit, Up: Top - -メッセージの作法 -**************** - -メッセージをやりとりする際には、最低限のマナーがあります。マナーを守っ -ていないメッセージは読みにくいため、大変損します。簡潔かつ適切な文章を -書き、なるべく相手に理解してもらえるよう努力しましょう。 - -メッセージを書く際に気を付けるべき項目を以下に示します。 - -To: と Cc: を正しく書く - To: が目的の人で、Cc: は参考までに送り付ける人です。自分のアドレ - スが Cc: の場合は、読み飛ばす人がいますから注意して下さい。また、 - 不必要なアドレスを To: や Cc: に書いて、相手に迷惑をかけてしまう - ことがないようにしましょう。 - -To: と Cc: に書くアドレスの数は少なくする - アドレスをたくさん To: や Cc: に書くのはよくないことです。面倒で - もメーリングリストを作りましょう。あるいは、必要に応じて宛先を匿 - 名にしましょう(*Note anonymous::)。 - -Subject: には本文の内容を的確に短く書く - Subject: を見て読むか決める人がいますから、不適切な Subject: だと - 読んでもらえないかもしれません。長い Subject: は読みにくいので止 - めましょう。 - -必要な部分だけを引用する - 面倒でも不要な部分は削りましょう。Mew を使っていれば、引用は楽勝 - のはずです。 - -シグニチャは簡素にする - 長いシグニチャは単なる自己満足です。 - -いたずらメッセージを送らない - こんなことは注意したくありませんが、それでも不幸のメッセージなど - を送ってくる人がいます。人格を疑われることを理解すべきです。 - -相手の読めるデータのみを添付する - なんの合意もなしに送ってよいデータはテキストのみです。それ以外の - データを送る場合は、あらかじめ相手に送ってよいか確認をとりましょ - う。メーリングリストには、テキストのみを投稿するのが無難でしょう。 - -また、インターネットのマナーは RFC1855 を読むといいでしょう。 - - - - -File: mew.ja.info, Node: Implementation, Next: Avail, Prev: Convention, Up: Top - -実装について -************ - -"mewl" と "mewencode" が必要なのはなぜ? - Mew では、Summary mode でメッセージを取得している間や、一覧を再表 - 示している間に、メッセージを読み進めることができます。これは、プ - ログラムの制御の流れが複数必要であることを意味しています。Emacs - で制御の流れを複数にするには、サブプロセスを作るか、TCP コネクショ - ンを張るしか方法がありません(Emacs Lisp には light weight process - がありません)。POP や SMTP には、TCP コネクションを使うので問題あ - りません。しかし、Summary mode の一覧を再表示するためには、何かコ - マンドを起動しないといけません。これが、"mewl" が存在する理由です。 - "mewencode" が存在する理由は、単に速度のためです。MIME の符号化を - Emacs Lisp で実装したところ、使い物にならないぐらい遅かったので、 - "mewencode" を使い続けています。(ただし、Base64 が Emacs で実装さ - れていれば、そちらを使います。) - -文字列検索(`C-s'、`C-r')すると、行末にカーソルが飛ぶのはなぜ? - Summary mode において、スレッド情報は表示されません。これは、 - Summary mode で表示されている行に関しては、表示する瞬間にスレッド - 情報に非表示の属性を付けるからです。非表示の属性がついている部分 - は文字列検索の対象にはなりません。しかし、Summary mode に表示され - ていない行のスレッド情報は、非表示の属性がついていないため、検索 - の対象となります。そして、合致した行が表示される際に非表示の属性 - がついて、あたかも行末に合致したかのような錯覚を受けます。Summary - mode 全体の行のスレッド情報には、キーの入力がない時間に非表示の属 - 性が付きます。全体に非表示の属性が付くと、Summary mode のモードラ - インの右端にある `*' マークが消えます。この状態では、文字列検索が - 直感通りに働きます。 - -Mew 4.3 でファイルを添付すると MS のメールリーダでファイル名が認識できるようになりました - MS のメールリーダは、ファイル名を符号化する際に、標準化されてない - 独自の方法を使います。MS のメールリーダが、標準化されている符号化 - 方式に移行すればいいのですが、何度お願いしても無理でした。そこで、 - Mew では以下のような方法で、この問題を解決しました。すなわち、Mew - は基本的には標準化されている方法で、ファイル名を符号化します。そ - れに加えて、MS のメールリーダが参照する標準化されてないパラメータ - に対して、ファイル名を MS 独自の方法で符号化し、付加します。 - - - - - -File: mew.ja.info, Node: Avail, Next: obtain, Prev: Implementation, Up: Top - -入手方法とメーリングリスト -************************** - -ここでは、Mew の入手方法とメーリングリストについて触れます。 - -* Menu: - -* obtain:: Mew の入手方法 -* ml:: メーリングリスト - - - -File: mew.ja.info, Node: obtain, Next: ml, Prev: Avail, Up: Avail - -Mew の入手方法 -============== - -Mew の最新バージョンは以下から入手できます。 - - http://www.Mew.org/Release/ - -Mew の Git 版について知りたければ、以下を参照して下さい。 - - http://www.mew.org/ja/git/ - - - -File: mew.ja.info, Node: ml, Next: Copyright, Prev: obtain, Up: Avail - -メーリングリスト -================ - -Mew に関するメーリングリストについては、以下を参照して下さい。 - - http://www.mew.org/mailman/listinfo - - - - - -File: mew.ja.info, Node: Copyright, Next: Variable Index, Prev: ml, Up: Top - -著作権について -************** - -Mew は以下の著作権に従います。 - -Copyright (C) 1994-2013 Mew developing team. -All rights reserved. - -変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、 -以下の条件を満たしていれば、これを許可する。 - - 1. ソース・コードの再配布は、上記の著作権表示、この条件項目、および、 - 以下の免責事項を保存しなければならない。 - 2. バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、 - 以下の免責事項を、その配布に付随する説明書、あるいはその他の資料 - のいずれかに明記しなければならない。 - 3. 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品 - の推奨や販売促進のために、このチーム名と貢献者達の名前を利用して - はならない。 - -このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証 -は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら -だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい -たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に -おいて、このチームと貢献者達は、(代替製品やサービスの調達; 利用権、デー -タ、あるいは利益の損失; あるいは営業の中断を含む、またこれらだけに限ら -ず)直接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じ -てしまった損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わ -らず厳密な責任はなく、また(過失あるいはその他を含む)不法行為に対しても -責任はない。 - -CD ROM に入れて配布したいという方は、できるだけ教えて下さい。教えてく -れなくても怒りませんが、教えて頂けるとありがたいです。配布を断ったこと -はありません。 - -このマニュアルの著作権は、著者に属します。複製、改変、再配布は自由です -が、無保証です。また、このマニュアルから発生した被害に対し、著者は一切 -責任を負いません。 - - - - -File: mew.ja.info, Node: Variable Index, Next: Key Index, Prev: Copyright, Up: Top - -変数索引 -******** - - -* Menu: - -* mail-user-agent: Composing. (line 5) -* mail-user-agent: configuration. (line 5) -* mail-user-agent: start. (line 5) -* mew-addrbook-for-cite-label: draft-mode. (line 5) -* mew-addrbook-for-cite-prefix: draft-mode. (line 5) -* mew-addrbook-mode-hook: hooks. -* mew-addrbook-override-by-newone: auto-alias. (line 5) -* mew-ask-charset: charset. (line 5) -* mew-ask-fcc: send. (line 5) -* mew-ask-subject: send. (line 5) -* mew-auto-flush-queue: retrieving. (line 5) -* mew-auto-get: start. (line 5) -* mew-before-cite-hook: hooks. -* mew-biff-interval: biff. (line 5) -* mew-case-guess-alist: config. (line 5) -* mew-case-guess-when-composed: config. -* mew-case-guess-when-prepared: config. -* mew-case-guess-when-replied-alist: config. (line 5) -* mew-case-guess-when-replied: config. -* mew-cc: draft-mode. (line 5) -* mew-charset-latin: charset. (line 5) -* mew-charset-m17n: charset. (line 5) -* mew-cite-fields: draft-mode. (line 5) -* mew-cite-format: draft-mode. (line 5) -* mew-cite-hook: hooks. -* mew-cite-prefix: draft-mode. (line 5) -* mew-cite-prefix-function: draft-mode. (line 5) -* mew-config-alist: config. (line 5) -* mew-config-alist: config2. (line 5) -* mew-cs-samba: custom-misc. (line 5) -* mew-cursor-mark: highlight. (line 5) -* mew-dcc: draft-mode. (line 5) -* mew-debug: status-update. (line 5) -* mew-decode-broken: analysis. -* mew-decode-broken: status-update. (line 5) -* mew-decode-quoted: invalid. (line 5) -* mew-delete-unread-mark-by-mark: unread mark. (line 5) -* mew-draft-mode-edit-again-hook: hooks. -* mew-draft-mode-hook: hooks. -* mew-draft-mode-newdraft-hook: hooks. -* mew-draft-mode-reedit-draft-hook: hooks. -* mew-draft-mode-reedit-hook: hooks. -* mew-draft-mode-reedit-queue-hook: hooks. -* mew-draft-privacy-method: shortcut. (line 5) -* mew-end-of-message-string: multipart. (line 5) -* mew-end-of-part-string: multipart. (line 5) -* mew-env-hook: hooks. -* mew-field-delete-for-forwarding: forward. (line 5) -* mew-field-for-printing: custom-misc. (line 5) -* mew-fields: header. (line 5) -* mew-file-max-size: analysis. -* mew-flowed-auto-wrap: longline. (line 5) -* mew-flowed-fold-length: longline. (line 5) -* mew-flowed-fold-threshold: longline. (line 5) -* mew-from-list: cheader. (line 5) -* mew-ham-prog-args: spam2. (line 5) -* mew-ham-prog: spam2. (line 5) -* mew-header-alist: draft-mode. (line 5) -* mew-header-max-length: analysis. -* mew-header-mode-hook: hooks. -* mew-header-veil-count: features. (line 5) -* mew-highlight-body-max-size: highlight. (line 5) -* mew-imap-auth: imap. -* mew-imap-auth-list: imap. -* mew-imap-delete: imap. -* mew-imap-delete: retrieving. (line 5) -* mew-imap-header-only: imap. -* mew-imap-header-only: retrieving. (line 5) -* mew-imap-sentinel-hook: hooks. -* mew-imap-sentinel-non-biff-hook: hooks. -* mew-imap-server: configuration. (line 5) -* mew-imap-server: imap. -* mew-imap-size: imap. -* mew-imap-spam-field: spam. (line 5) -* mew-imap-spam-folder: spam. (line 5) -* mew-imap-spam-word: spam. (line 5) -* mew-imap-ssh-server: imap. -* mew-imap-ssl: imap. -* mew-imap-ssl-port: imap. -* mew-imap-trash-folder: delete mark. (line 5) -* mew-imap-trash-folder-list: delete mark. (line 5) -* mew-imap-user: imap. -* mew-inbox-action-alist: spam. (line 5) -* mew-init-hook: hooks. -* mew-lisp-max-length: auto-alias. (line 5) -* mew-lisp-max-length: by-from. (line 5) -* mew-lisp-max-length: by-thread. (line 5) -* mew-mail-address-list: reply. (line 5) -* mew-mail-domain-list: cheader. (line 5) -* mew-mailbox-type: config. (line 5) -* mew-mailbox-type: configuration. (line 5) -* mew-mailbox-type: retrieving. (line 5) -* mew-mailbox-type: start. (line 5) -* mew-make-message-hook: hooks. -* mew-mbox-command-arg: configuration. (line 5) -* mew-mbox-command: configuration. (line 5) -* mew-message-hook: hooks. -* mew-message-mode-hook: hooks. -* mew-mime-multipart-alternative-list: message-mode. (line 5) -* mew-name: configuration. (line 5) -* mew-nntp-header-only: nntp. -* mew-nntp-header-only: retrieving. (line 5) -* mew-nntp-msgid-domain: nntp. -* mew-nntp-msgid-user: nntp. -* mew-nntp-newsgroup: nntp. -* mew-nntp-sentinel-hook: hooks. -* mew-nntp-server: configuration. (line 5) -* mew-nntp-server: nntp. -* mew-nntp-size: nntp. -* mew-nntp-ssh-server: nntp. -* mew-nntp-ssl: nntp. -* mew-nntp-ssl-port: nntp. -* mew-nntp-user: nntp. -* mew-nntp2-flush-hook: hooks. -* mew-nntp2-sentinel-hook: hooks. -* mew-pack-hook: hooks. -* mew-pick-pattern-list: condition. (line 5) -* mew-pop-auth-list: pop. -* mew-pop-auth: pop. -* mew-pop-body-lines: pop. -* mew-pop-delete: pop. -* mew-pop-delete: retrieving. (line 5) -* mew-pop-header-only: pop. -* mew-pop-header-only: retrieving. (line 5) -* mew-pop-sentinel-hook: hooks. -* mew-pop-sentinel-non-biff-hook: hooks. -* mew-pop-server: pop. -* mew-pop-size: pop. -* mew-pop-ssh-server: SSH. (line 5) -* mew-pop-ssh-server: pop. -* mew-pop-ssl: SSL. (line 5) -* mew-pop-ssl: pop. -* mew-pop-ssl-port: SSL. (line 5) -* mew-pop-ssl-port: pop. -* mew-pop-user: configuration. (line 5) -* mew-pop-user: pop. -* mew-post-hook: hooks. -* mew-print-function: custom-misc. (line 5) -* mew-print-function: features. (line 5) -* mew-prog-gpg: cipher-viewing. (line 5) -* mew-prog-grep: condition. (line 5) -* mew-prog-grep-opts: condition. (line 5) -* mew-prog-msexcel-ext: message-mode. (line 5) -* mew-prog-msexcel: message-mode. (line 5) -* mew-prog-mspowerpoint-ext: message-mode. (line 5) -* mew-prog-mspowerpoint: message-mode. (line 5) -* mew-prog-msword-ext: message-mode. (line 5) -* mew-prog-msword: message-mode. (line 5) -* mew-prog-pgp: cipher-viewing. (line 5) -* mew-prog-pgp2: cipher-viewing. (line 5) -* mew-prog-pgp5: cipher-viewing. (line 5) -* mew-prog-text/html-ext: message-mode. (line 5) -* mew-protect-privacy-always: shortcut. (line 5) -* mew-protect-privacy-always-type: shortcut. (line 5) -* mew-protect-privacy-encrypted: shortcut. (line 5) -* mew-protect-privacy-encrypted-type: shortcut. (line 5) -* mew-protect-privacy-with-old-pgp-signature: shortcut. (line 5) -* mew-proto: config. (line 5) -* mew-proto: configuration. (line 5) -* mew-proto: start. (line 5) -* mew-quit-hook: hooks. -* mew-real-post-hook: hooks. -* mew-real-send-hook: hooks. -* mew-refile-auto-refile-skip-any-mark: auto-refile. (line 5) -* mew-refile-ctrl-multi: guess-rule. (line 5) -* mew-refile-guess-alist: by-alist. (line 5) -* mew-refile-guess-by-from-learn-hook: hooks. -* mew-refile-guess-control: guess-rule. (line 5) -* mew-refile-guess-from-me-is-special: by-from-folder. (line 5) -* mew-refile-guess-from-me-is-special: by-from. (line 5) -* mew-refile-guess-strip-domainpart: by-default. (line 5) -* mew-reply-all-alist: reply. (line 5) -* mew-reply-fromme-alist: reply. (line 5) -* mew-reply-sender-alist: reply. (line 5) -* mew-safe-addresses: addr-warn. (line 5) -* mew-safe-domains: addr-warn. (line 5) -* mew-scan-sentinel-hook: hooks. -* mew-search-method: dbsearch. (line 5) -* mew-send-hook: hooks. -* mew-signature-as-lastpart: cite. (line 5) -* mew-signature-file: cite. (line 5) -* mew-signature-insert-last: cite. (line 5) -* mew-smtp-auth-list: smtp. -* mew-smtp-flush-hook: hooks. -* mew-smtp-helo-domain: smtp. -* mew-smtp-mail-from: smtp. -* mew-smtp-msgid-domain: smtp. -* mew-smtp-msgid-user: smtp. -* mew-smtp-port: smtp. -* mew-smtp-sentinel-hook: hooks. -* mew-smtp-server: configuration. (line 5) -* mew-smtp-server: smtp. -* mew-smtp-ssh-server: smtp. -* mew-smtp-ssl: SSL. (line 5) -* mew-smtp-ssl-port: smtp. -* mew-smtp-ssl: smtp. -* mew-smtp-user: smtp. -* mew-sort-default-key-alist: sorting. (line 5) -* mew-sort-default-key: sorting. (line 5) -* mew-sort-hook: hooks. -* mew-sort-key-alist: sorting. (line 5) -* mew-spam-prog-args: spam2. (line 5) -* mew-spam-prog: spam2. (line 5) -* mew-spam: spam. (line 5) -* mew-ssl-cert-directory: SSL. (line 5) -* mew-ssl-verify-level: SSL. (line 5) -* mew-status-update-hook: hooks. -* mew-summary-delete-folder-hook: hooks. -* mew-summary-exec-hook: hooks. -* mew-summary-form-extract-rule: summary-mode. (line 5) -* mew-summary-form-from-me-prefix: summary-mode. (line 5) -* mew-summary-form-mark-delete: summary-mode. (line 5) -* mew-summary-form-mark-review: summary-mode. (line 5) -* mew-summary-form-mark-spam: summary-mode. (line 5) -* mew-summary-form: summary-mode. (line 5) -* mew-summary-ls-no-scan-hook: hooks. -* mew-summary-mark-direction: summary-mode. (line 5) -* mew-summary-mode-hook: hooks. -* mew-summary-rename-folder-hook: hooks. -* mew-summary-show-direction: summary-mode. (line 5) -* mew-summary-toggle-disp-msg-hook: hooks. -* mew-suspend-hook: hooks. -* mew-syntax-format-hook: hooks. -* mew-theme-file: highlight. (line 5) -* mew-thread-display-hook: hooks. -* mew-thread-separator: thread. (line 5) -* mew-trash-folder: delete mark. (line 5) -* mew-trash-folder-list: delete mark. (line 5) -* mew-use-8bit: smtp. -* mew-use-8bit: status-update. (line 5) -* mew-use-alternative: analysis. -* mew-use-biff-bell: biff. (line 5) -* mew-use-biff: biff. (line 5) -* mew-use-cached-passwd: password. (line 5) -* mew-use-cursor-mark: highlight. (line 5) -* mew-use-fast-refile: by-folder. (line 5) -* mew-use-format-flowed: longline. (line 5) -* mew-use-full-window: summary-mode. (line 5) -* mew-use-header-veil: features. (line 5) -* mew-use-header-veil: status-update. (line 5) -* mew-use-highlight-body: highlight. (line 5) -* mew-use-highlight-cursor-line: highlight. (line 5) -* mew-use-highlight-header: highlight. (line 5) -* mew-use-highlight-mark: highlight. (line 5) -* mew-use-highlight-mouse-line: highlight. (line 5) -* mew-use-highlight-url: highlight. (line 5) -* mew-use-highlight-x-face: highlight. (line 5) -* mew-use-master-passwd: password. (line 5) -* mew-use-node-folder: by-folder. (line 5) -* mew-use-old-pgp: shortcut. (line 5) -* mew-use-old-pgp: status-update. (line 5) -* mew-use-samba-encoding: custom-misc. (line 5) -* mew-use-smtp-auth: smtp. -* mew-use-text-body: analysis. -* mew-use-text/html: analysis. -* mew-use-text/xml: analysis. -* mew-use-thread-separator: thread. (line 5) -* mew-use-unread-mark: unread mark. (line 5) -* mew-user: configuration. (line 5) -* mew-virtual-mode-hook: hooks. -* mew-visit-inbox-after-setting-case: visiting. (line 5) -* mew-visit-queue-after-sending: visiting. (line 5) -* mew-warn-addresses: addr-warn. (line 5) -* mew-warn-domains: addr-warn. (line 5) -* mew-warning-field-level: status-update. (line 5) -* mew-x-pgp-key-list: cipher-viewing. (line 5) -* read-mail-command: configuration. (line 5) - - - - -File: mew.ja.info, Node: Key Index, Prev: Variable Index, Up: Top - -キー索引 -******** - - -* Menu: - -* A (Summary): Composing. (line 5) -* A (Summary): reply. (line 5) -* A (Summary): sum-write. (line 5) -* B (Attach): mark-b-comp. (line 5) -* B (Summary): features. (line 5) -* C (Attach): charset-guess. (line 5) -* C (Attach): mime-comp. (line 5) -* C (Summary): features. (line 5) -* C-b (Attach): mime-comp. (line 5) -* C-cC-a (Draft): mime-comp. (line 5) -* C-cC-a (Summary): addrbook. (line 5) -* C-cC-a (Summary): features. (line 5) -* C-cC-b (Draft): shortcut. (line 5) -* C-cC-c (Addrbook): addrbook. (line 5) -* C-cC-c (Draft): send. (line 5) -* C-cC-c (Edit): edit. (line 5) -* C-cC-c (Header): resend. (line 5) -* C-cC-c (Summary): off-line. (line 5) -* C-cC-c (Summary): send. (line 5) -* C-cC-e (Draft): shortcut. (line 5) -* C-cC-e (Summary): message-mode. (line 5) -* C-cC-f (Draft): longline. (line 5) -* C-cC-f (Summary): cipher-viewing. (line 5) -* C-cC-l (Draft): cite. (line 5) -* C-cC-l (Summary): invalid. (line 5) -* C-cC-m (Draft): send. (line 5) -* C-cC-m (Edit): edit. (line 5) -* C-cC-m (Header): resend. (line 5) -* C-cC-o (Draft): config. (line 5) -* C-cC-o (Summary): visiting. (line 5) -* C-cC-pC-a (Draft): shortcut. (line 5) -* C-cC-pC-e (Draft): shortcut. (line 5) -* C-cC-pC-f (Draft): longline. (line 5) -* C-cC-pC-m (Draft): shortcut. (line 5) -* C-cC-q (Addrbook): Quit. (line 5) -* C-cC-q (Addrbook): addrbook. (line 5) -* C-cC-q (Draft): Quit. (line 5) -* C-cC-q (Header): Quit. (line 5) -* C-cC-q (Summary): Quit. (line 5) -* C-cC-r (Draft): shortcut. (line 5) -* C-cC-r (Summary): features. (line 5) -* C-cC-s (Draft): shortcut. (line 5) -* C-cC-s (Summary): features. (line 5) -* C-cC-t (Draft): cite. (line 5) -* C-cC-v (Summary): cipher-viewing. (line 5) -* C-cC-v (Summary): features. (line 5) -* C-cC-y (Draft): cite. (line 5) -* C-cC-z (Summary): cipher-viewing. (line 5) -* C-cC-z (Summary): features. (line 5) -* C-cTAB (Draft): cheader. (line 5) -* C-cTAB (Draft): cite. (line 5) -* C-cTAB (Summary): analysis. (line 5) -* C-f (Attach): mime-comp. (line 5) -* C-n (Attach): mime-comp. (line 5) -* C-n (Summary): singlepart. (line 5) -* C-p (Attach): mime-comp. (line 5) -* C-p (Summary): singlepart. (line 5) -* C-u: (Summary): analysis. (line 5) -* C-u. (Summary): analysis. (line 5) -* C-u. (Summary): invalid. (line 5) -* C-u/ (Summary): search. (line 5) -* C-u? (Summary): search. (line 5) -* C-uA (Summary): reply. (line 5) -* C-uC-cC-a (Summary): addrbook. (line 5) -* C-uC-cC-e (Summary): message-mode. (line 5) -* C-uC-cC-f (Summary): cipher-viewing. (line 5) -* C-uC-cC-l (Summary): invalid. (line 5) -* C-uD (Summary): delete mark. (line 5) -* C-uD (Summary): features. (line 5) -* C-uM-n (Summary): keyword. (line 5) -* C-uM-o (Summary): auto-refile. (line 5) -* C-uM-p (Summary): keyword. (line 5) -* C-uM-x mew: start. (line 5) -* C-uSPC (Summary): singlepart. (line 5) -* C-uZ (Summary): status-update. (line 5) -* C-ua (Summary): reply. (line 5) -* C-uj (Summary): singlepart. (line 5) -* C-uk/ (Summary): search. (line 5) -* C-ukI (Summary): dialog. (line 5) -* C-umI (Summary): target mark. (line 5) -* C-un (Summary): singlepart. (line 5) -* C-up (Summary): singlepart. (line 5) -* C-us (Summary): retrieving. (line 5) -* C-utt (Summary): thread. (line 5) -* C-uw (Summary): sum-write. (line 5) -* C-x RET l: charset-guess. (line 5) -* C-xm: Composing. (line 5) -* C-xm: start. (line 5) -* D (Attach): mime-comp. (line 5) -* D (Summary): delete mark. (line 5) -* D (Summary): features. (line 5) -* DEL (Summary): singlepart. (line 5) -* E (Attach): mark-b-comp. (line 5) -* E (Summary): sum-write. (line 5) -* F (Attach): mime-comp. (line 5) -* F (Summary): Composing. (line 5) -* F (Summary): forward. (line 5) -* F (Summary): sum-write. (line 5) -* F (Summary): target mark. (line 5) -* G (Attach): mark-b-comp. (line 5) -* I (Attach): charset-guess. (line 5) -* I (Summary): retrieving. (line 5) -* J (Summary): target mark. (line 5) -* M-RET (Summary): singlepart. (line 5) -* M-\ (Summary): target mark. (line 5) -* M* (Summary): unmark. (line 5) -* M-b (Summary): target mark. (line 5) -* M-d (Summary): delete mark. (line 5) -* M-e (Attach): mark-b-comp. (line 5) -* M-e: edit. (line 5) -* M-l (Summary): features. (line 5) -* M-n (Summary): keyword. (line 5) -* M-o (Summary): auto-refile. (line 5) -* M-p (Summary): keyword. (line 5) -* M-s (Attach): mark-b-comp. (line 5) -* M-s (Summary): sorting. (line 5) -* M-t (Summary): target mark. (line 5) -* M-u: unread mark. (line 5) -* M-x mew: Viewing. (line 5) -* M-x mew-send: Composing. (line 5) -* M-x mew-send: start. (line 5) -* M-x mew: start. (line 5) -* Md (Summary): delete mark. (line 5) -* N (Summary): target mark. (line 5) -* P (Attach): mime-comp. (line 5) -* P (Summary): target mark. (line 5) -* Q (Attach): mark-b-comp. (line 5) -* Q (Summary): Quit. (line 5) -* RET (Summary): singlepart. (line 5) -* Rd (Summary): features. (line 5) -* Rr (Summary): features. (line 5) -* S (Attach): mark-b-comp. (line 5) -* S (Summary): sorting. (line 5) -* SPC (Summary): singlepart. (line 5) -* : (Summary): analysis. (line 5) -* , (Summary): analysis. (line 5) -* . (Summary): analysis. (line 5) -* ; (Summary): features. (line 5) -* = (Summary): features. (line 5) -* | (Summary): features. (line 5) -* # (Summary): features. (line 5) -* _ (Summary): features. (line 5) -* _ (Summary): longline. (line 5) -* / (Summary): search. (line 5) -* ? (Summary): search. (line 5) -* - (Summary): singlepart. (line 5) -* * (Summary): target mark. (line 5) -* T (Attach): mime-comp. (line 5) -* TAB (Draft): header. (line 5) -* U (Attach): mark-b-comp. (line 5) -* U (Summary): unmark. (line 5) -* V (Summary): dialog. (line 5) -* ) (Virtual): thread. (line 5) -* ( (Virtual): thread. (line 5) -* & (Virtual): thread. (line 5) -* ^ (Virtual): thread. (line 5) -* W (Summary): resend. (line 5) -* W (Summary): sum-write. (line 5) -* Z (Attach): mark-b-comp. (line 5) -* Z (Summary): auto-alias. (line 5) -* Z (Summary): status-update. (line 5) -* a (Attach): mime-comp. (line 5) -* a (Summary): Composing. (line 5) -* a (Summary): reply. (line 5) -* a (Summary): sum-write. (line 5) -* b (Summary): features. (line 5) -* c (Attach): mime-comp. (line 5) -* d (Attach): mime-comp. (line 5) -* d (Summary): delete mark. (line 5) -* e (Attach): mime-comp. (line 5) -* f (Attach): mime-comp. (line 5) -* f (Summary): Composing. (line 5) -* f (Summary): forward. (line 5) -* f (Summary): sum-write. (line 5) -* g (Summary): moving. (line 5) -* i (Attach): mime-comp. (line 5) -* i (Summary): retrieving. (line 5) -* i (Summary): send. (line 5) -* j (Summary): singlepart. (line 5) -* k/ (Summary): search. (line 5) -* k? (Summary): search. (line 5) -* kI (Summary): dialog. (line 5) -* kM: dbsearch. (line 5) -* kc: dbsearch. (line 5) -* km: dbsearch. (line 5) -* lc (Summary): copy-msg. (line 5) -* lh (Summary): spam2. (line 5) -* li (Summary): copy-msg. (line 5) -* ls (Summary): spam2. (line 5) -* lx: off-line. (line 5) -* m (Attach): mime-comp. (line 5) -* m* (Summary): mark change. (line 5) -* m$ (Summary): mark change. (line 5) -* m*: escape mark. (line 5) -* m$: escape mark. (line 5) -* mI (Summary): target mark. (line 5) -* mM-d (Summary): delete mark. (line 5) -* mM-d (Summary): mark change. (line 5) -* mM-u (Summary): mark change. (line 5) -* ma (Summary): target mark. (line 5) -* mc (Summary): mark change. (line 5) -* md (Summary): delete mark. (line 5) -* md (Summary): mark change. (line 5) -* mlc (Summary): copy-msg. (line 5) -* mli (Summary): copy-msg. (line 5) -* mo (Summary): mark change. (line 5) -* mr (Summary): target mark. (line 5) -* ms (Summary): mark change. (line 5) -* mt (Summary): thread. (line 5) -* mxM-d (Summary): delete mark. (line 5) -* mxd (Summary): delete mark. (line 5) -* n (Summary): singlepart. (line 5) -* o (Summary): refile mark. (line 5) -* p (Attach): mime-comp. (line 5) -* p (Attach): pgp-key. (line 5) -* p (Summary): singlepart. (line 5) -* q (Summary): Quit. (line 5) -* r (Summary): resend. (line 5) -* s (Summary): off-line. (line 5) -* s (Summary): retrieving. (line 5) -* t (Attach): mime-comp. (line 5) -* t (Virtual): thread. (line 5) -* t* (Virtual): thread. (line 5) -* tM-d (Virtual): thread. (line 5) -* tSPC (Virtual): thread. (line 5) -* ta (Virtual): thread. (line 5) -* td (Virtual): thread. (line 5) -* tg (Virtual): thread. (line 5) -* tn (Virtual): thread. (line 5) -* to (Virtual): thread. (line 5) -* tp (Virtual): thread. (line 5) -* tr (Summary): thread. (line 5) -* tt (Summary): thread. (line 5) -* tu (Virtual): thread. (line 5) -* u (Summary): unmark. (line 5) -* v (Summary): features. (line 5) -* w (Summary): Composing. (line 5) -* w (Summary): sum-write. (line 5) -* x (Summary): Marks. (line 5) -* x (Summary): delete mark. (line 5) -* x (Summary): unmark. (line 5) -* y (Attach): mime-comp. (line 5) -* y (Summary): features. (line 5) -* z8 (Summary): status-update. (line 5) -* zSPC: unread mark. (line 5) -* zc (Summary): status-update. (line 5) -* zd (Summary): status-update. (line 5) -* zo (Summary): status-update. (line 5) -* zp (Summary): status-update. (line 5) -* zv (Summary): features. (line 5) -* zv (Summary): status-update. (line 5) -* zw (Summary): status-update. (line 5) -* zz (Summary): message-mode. (line 5) - diff --git a/elpa/mew-20161030.1807/dir b/elpa/mew-20180911.123/dir similarity index 90% rename from elpa/mew-20161030.1807/dir rename to elpa/mew-20180911.123/dir index 0f2efff7..5a94721c 100644 --- a/elpa/mew-20161030.1807/dir +++ b/elpa/mew-20180911.123/dir @@ -5,7 +5,7 @@ The first time you invoke Info you start off looking at this node. File: dir, Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. - Typing "q" exits, "?" lists all Info commands, "d" returns here, + Typing "q" exits, "H" lists all Info commands, "d" returns here, "h" gives a primer for first-timers, "mEmacs" visits the Emacs manual, etc. diff --git a/elpa/mew-20161030.1807/etc/Mew.img b/elpa/mew-20180911.123/etc/Mew.img similarity index 100% rename from elpa/mew-20161030.1807/etc/Mew.img rename to elpa/mew-20180911.123/etc/Mew.img diff --git a/elpa/mew-20161030.1807/etc/Mew.png b/elpa/mew-20180911.123/etc/Mew.png similarity index 100% rename from elpa/mew-20161030.1807/etc/Mew.png rename to elpa/mew-20180911.123/etc/Mew.png diff --git a/elpa/mew-20161030.1807/etc/Mew.xbm b/elpa/mew-20180911.123/etc/Mew.xbm similarity index 100% rename from elpa/mew-20161030.1807/etc/Mew.xbm rename to elpa/mew-20180911.123/etc/Mew.xbm diff --git a/elpa/mew-20161030.1807/etc/Mew.xpm b/elpa/mew-20180911.123/etc/Mew.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/Mew.xpm rename to elpa/mew-20180911.123/etc/Mew.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Audio.xpm b/elpa/mew-20180911.123/etc/mew-Audio.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Audio.xpm rename to elpa/mew-20180911.123/etc/mew-Audio.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Blank.xpm b/elpa/mew-20180911.123/etc/mew-Blank.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Blank.xpm rename to elpa/mew-20180911.123/etc/mew-Blank.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-External.xpm b/elpa/mew-20180911.123/etc/mew-External.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-External.xpm rename to elpa/mew-20180911.123/etc/mew-External.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Folder.xpm b/elpa/mew-20180911.123/etc/mew-Folder.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Folder.xpm rename to elpa/mew-20180911.123/etc/mew-Folder.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Image.xpm b/elpa/mew-20180911.123/etc/mew-Image.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Image.xpm rename to elpa/mew-20180911.123/etc/mew-Image.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Octet-Stream.xpm b/elpa/mew-20180911.123/etc/mew-Octet-Stream.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Octet-Stream.xpm rename to elpa/mew-20180911.123/etc/mew-Octet-Stream.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Postscript.xpm b/elpa/mew-20180911.123/etc/mew-Postscript.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Postscript.xpm rename to elpa/mew-20180911.123/etc/mew-Postscript.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Rfc822.xpm b/elpa/mew-20180911.123/etc/mew-Rfc822.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Rfc822.xpm rename to elpa/mew-20180911.123/etc/mew-Rfc822.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Text.xpm b/elpa/mew-20180911.123/etc/mew-Text.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Text.xpm rename to elpa/mew-20180911.123/etc/mew-Text.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Unknown.xpm b/elpa/mew-20180911.123/etc/mew-Unknown.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Unknown.xpm rename to elpa/mew-20180911.123/etc/mew-Unknown.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-Video.xpm b/elpa/mew-20180911.123/etc/mew-Video.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-Video.xpm rename to elpa/mew-20180911.123/etc/mew-Video.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-attach.xpm b/elpa/mew-20180911.123/etc/mew-attach.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-attach.xpm rename to elpa/mew-20180911.123/etc/mew-attach.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-cite.xpm b/elpa/mew-20180911.123/etc/mew-cite.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-cite.xpm rename to elpa/mew-20180911.123/etc/mew-cite.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-forward.xpm b/elpa/mew-20180911.123/etc/mew-forward.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-forward.xpm rename to elpa/mew-20180911.123/etc/mew-forward.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-inc.xpm b/elpa/mew-20180911.123/etc/mew-inc.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-inc.xpm rename to elpa/mew-20180911.123/etc/mew-inc.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-lock.xpm b/elpa/mew-20180911.123/etc/mew-lock.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-lock.xpm rename to elpa/mew-20180911.123/etc/mew-lock.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-next.xpm b/elpa/mew-20180911.123/etc/mew-next.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-next.xpm rename to elpa/mew-20180911.123/etc/mew-next.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-pgp-enc.xpm b/elpa/mew-20180911.123/etc/mew-pgp-enc.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-pgp-enc.xpm rename to elpa/mew-20180911.123/etc/mew-pgp-enc.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-pgp-sigenc.xpm b/elpa/mew-20180911.123/etc/mew-pgp-sigenc.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-pgp-sigenc.xpm rename to elpa/mew-20180911.123/etc/mew-pgp-sigenc.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-pgp-sign.xpm b/elpa/mew-20180911.123/etc/mew-pgp-sign.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-pgp-sign.xpm rename to elpa/mew-20180911.123/etc/mew-pgp-sign.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-prev.xpm b/elpa/mew-20180911.123/etc/mew-prev.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-prev.xpm rename to elpa/mew-20180911.123/etc/mew-prev.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-queue.xpm b/elpa/mew-20180911.123/etc/mew-queue.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-queue.xpm rename to elpa/mew-20180911.123/etc/mew-queue.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-refile.xpm b/elpa/mew-20180911.123/etc/mew-refile.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-refile.xpm rename to elpa/mew-20180911.123/etc/mew-refile.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-reply.xpm b/elpa/mew-20180911.123/etc/mew-reply.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-reply.xpm rename to elpa/mew-20180911.123/etc/mew-reply.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-send.xpm b/elpa/mew-20180911.123/etc/mew-send.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-send.xpm rename to elpa/mew-20180911.123/etc/mew-send.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-sep.xpm b/elpa/mew-20180911.123/etc/mew-sep.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-sep.xpm rename to elpa/mew-20180911.123/etc/mew-sep.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-show.xpm b/elpa/mew-20180911.123/etc/mew-show.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-show.xpm rename to elpa/mew-20180911.123/etc/mew-show.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-write.xpm b/elpa/mew-20180911.123/etc/mew-write.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-write.xpm rename to elpa/mew-20180911.123/etc/mew-write.xpm diff --git a/elpa/mew-20161030.1807/etc/mew-yank.xpm b/elpa/mew-20180911.123/etc/mew-yank.xpm similarity index 100% rename from elpa/mew-20161030.1807/etc/mew-yank.xpm rename to elpa/mew-20180911.123/etc/mew-yank.xpm diff --git a/elpa/mew-20161030.1807/mew-addrbook.el b/elpa/mew-20180911.123/mew-addrbook.el similarity index 100% rename from elpa/mew-20161030.1807/mew-addrbook.el rename to elpa/mew-20180911.123/mew-addrbook.el diff --git a/elpa/mew-20161030.1807/mew-attach.el b/elpa/mew-20180911.123/mew-attach.el similarity index 100% rename from elpa/mew-20161030.1807/mew-attach.el rename to elpa/mew-20180911.123/mew-attach.el diff --git a/elpa/mew-20161030.1807/mew-auth.el b/elpa/mew-20180911.123/mew-auth.el similarity index 100% rename from elpa/mew-20161030.1807/mew-auth.el rename to elpa/mew-20180911.123/mew-auth.el diff --git a/elpa/mew-20180911.123/mew-autoloads.el b/elpa/mew-20180911.123/mew-autoloads.el new file mode 100644 index 00000000..2a0864bf --- /dev/null +++ b/elpa/mew-20180911.123/mew-autoloads.el @@ -0,0 +1,520 @@ +;;; mew-autoloads.el --- automatically extracted autoloads +;; +;;; Code: + +(add-to-list 'load-path (directory-file-name + (or (file-name-directory #$) (car load-path)))) + + +;;;### (autoloads nil "mew" "mew.el" (0 0 0 0)) +;;; Generated autoloads from mew.el + +(autoload 'mew "mew" "\ +Execute Mew first unless Mew is running. And retrieve arrived +messages or just visit to the default folder. + +'proto' is determined by 'mew-proto' and 'mew-case'. + +If 'proto' is '+' (ie a local folder), a mailbox is determined +according to 'mew-mailbox-type'. Otherwise (ie a remote folder), an +appropriate protocol to retrieve messages is chosen according to +'proto'. + +If 'mew-auto-get' is 't', arrived messages are asynchronously fetched +and listed up in Summary mode. + +'mew-auto-get' is 'nil', just visit to the folder determined by +'proto'. + +When executed with '\\[universal-argument]', 'mew-auto-get' is +considered reversed. + +\(fn &optional ARG)" t nil) + +(autoload 'mew-send "mew" "\ +Execute Mew then prepare a draft. This may be used as library +function. + +\(fn &optional TO CC SUBJECT)" t nil) + +(autoload 'mew-user-agent-compose "mew" "\ +Set up message composition draft with Mew. +This is 'mail-user-agent' entry point to Mew. + +The optional arguments TO and SUBJECT specify recipients and the +initial Subject field, respectively. + +OTHER-HEADERS is an alist specifying additional +header fields. Elements look like (HEADER . VALUE) where both +HEADER and VALUE are strings. + +A Draft buffer is prepared according to SWITCH-FUNCTION. + +CONTINUE, YANK-ACTION and SEND-ACTIONS are ignored. + +\(fn &optional TO SUBJECT OTHER-HEADERS CONTINUE SWITCH-FUNCTION YANK-ACTION SEND-ACTIONS &rest DUMMY)" nil nil) + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-addrbook" "mew-addrbook.el" (0 0 0 0)) +;;; Generated autoloads from mew-addrbook.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-addrbook" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-attach" "mew-attach.el" (0 0 0 0)) +;;; Generated autoloads from mew-attach.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-attach" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-auth" "mew-auth.el" (0 0 0 0)) +;;; Generated autoloads from mew-auth.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-auth" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-blvs" "mew-blvs.el" (0 0 0 0)) +;;; Generated autoloads from mew-blvs.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-blvs" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-bq" "mew-bq.el" (0 0 0 0)) +;;; Generated autoloads from mew-bq.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-bq" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-cache" "mew-cache.el" (0 0 0 0)) +;;; Generated autoloads from mew-cache.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-cache" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-complete" "mew-complete.el" (0 0 0 0)) +;;; Generated autoloads from mew-complete.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-complete" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-config" "mew-config.el" (0 0 0 0)) +;;; Generated autoloads from mew-config.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-config" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-const" "mew-const.el" (0 0 0 0)) +;;; Generated autoloads from mew-const.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-const" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-darwin" "mew-darwin.el" (0 0 0 0)) +;;; Generated autoloads from mew-darwin.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-darwin" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-decode" "mew-decode.el" (0 0 0 0)) +;;; Generated autoloads from mew-decode.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-decode" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-demo" "mew-demo.el" (0 0 0 0)) +;;; Generated autoloads from mew-demo.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-demo" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-draft" "mew-draft.el" (0 0 0 0)) +;;; Generated autoloads from mew-draft.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-draft" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-edit" "mew-edit.el" (0 0 0 0)) +;;; Generated autoloads from mew-edit.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-edit" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-encode" "mew-encode.el" (0 0 0 0)) +;;; Generated autoloads from mew-encode.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-encode" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-env" "mew-env.el" (0 0 0 0)) +;;; Generated autoloads from mew-env.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-env" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-exec" "mew-exec.el" (0 0 0 0)) +;;; Generated autoloads from mew-exec.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-exec" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-ext" "mew-ext.el" (0 0 0 0)) +;;; Generated autoloads from mew-ext.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-ext" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-fib" "mew-fib.el" (0 0 0 0)) +;;; Generated autoloads from mew-fib.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-fib" '("mew-fib-"))) + +;;;*** + +;;;### (autoloads nil "mew-func" "mew-func.el" (0 0 0 0)) +;;; Generated autoloads from mew-func.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-func" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-gemacs" "mew-gemacs.el" (0 0 0 0)) +;;; Generated autoloads from mew-gemacs.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-gemacs" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-header" "mew-header.el" (0 0 0 0)) +;;; Generated autoloads from mew-header.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-header" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-highlight" "mew-highlight.el" (0 0 0 0)) +;;; Generated autoloads from mew-highlight.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-highlight" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-imap" "mew-imap.el" (0 0 0 0)) +;;; Generated autoloads from mew-imap.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-imap" '("mew-imap-"))) + +;;;*** + +;;;### (autoloads nil "mew-imap2" "mew-imap2.el" (0 0 0 0)) +;;; Generated autoloads from mew-imap2.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-imap2" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-key" "mew-key.el" (0 0 0 0)) +;;; Generated autoloads from mew-key.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-key" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-lang-jp" "mew-lang-jp.el" (0 0 0 0)) +;;; Generated autoloads from mew-lang-jp.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-lang-jp" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-lang-kr" "mew-lang-kr.el" (0 0 0 0)) +;;; Generated autoloads from mew-lang-kr.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-lang-kr" '("mew-thread-indent-strings"))) + +;;;*** + +;;;### (autoloads nil "mew-lang-latin" "mew-lang-latin.el" (0 0 0 +;;;;;; 0)) +;;; Generated autoloads from mew-lang-latin.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-lang-latin" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-local" "mew-local.el" (0 0 0 0)) +;;; Generated autoloads from mew-local.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-local" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-mark" "mew-mark.el" (0 0 0 0)) +;;; Generated autoloads from mew-mark.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-mark" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-message" "mew-message.el" (0 0 0 0)) +;;; Generated autoloads from mew-message.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-message" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-mime" "mew-mime.el" (0 0 0 0)) +;;; Generated autoloads from mew-mime.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-mime" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-minibuf" "mew-minibuf.el" (0 0 0 0)) +;;; Generated autoloads from mew-minibuf.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-minibuf" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-mule" "mew-mule.el" (0 0 0 0)) +;;; Generated autoloads from mew-mule.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-mule" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-mule3" "mew-mule3.el" (0 0 0 0)) +;;; Generated autoloads from mew-mule3.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-mule3" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-net" "mew-net.el" (0 0 0 0)) +;;; Generated autoloads from mew-net.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-net" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-nntp" "mew-nntp.el" (0 0 0 0)) +;;; Generated autoloads from mew-nntp.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-nntp" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-nntp2" "mew-nntp2.el" (0 0 0 0)) +;;; Generated autoloads from mew-nntp2.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-nntp2" '("mew-nntp2-"))) + +;;;*** + +;;;### (autoloads nil "mew-passwd" "mew-passwd.el" (0 0 0 0)) +;;; Generated autoloads from mew-passwd.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-passwd" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-pgp" "mew-pgp.el" (0 0 0 0)) +;;; Generated autoloads from mew-pgp.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-pgp" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-pick" "mew-pick.el" (0 0 0 0)) +;;; Generated autoloads from mew-pick.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-pick" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-pop" "mew-pop.el" (0 0 0 0)) +;;; Generated autoloads from mew-pop.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-pop" '("mew-pop-"))) + +;;;*** + +;;;### (autoloads nil "mew-refile" "mew-refile.el" (0 0 0 0)) +;;; Generated autoloads from mew-refile.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-refile" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-scan" "mew-scan.el" (0 0 0 0)) +;;; Generated autoloads from mew-scan.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-scan" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-search" "mew-search.el" (0 0 0 0)) +;;; Generated autoloads from mew-search.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-search" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-smime" "mew-smime.el" (0 0 0 0)) +;;; Generated autoloads from mew-smime.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-smime" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-smtp" "mew-smtp.el" (0 0 0 0)) +;;; Generated autoloads from mew-smtp.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-smtp" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-sort" "mew-sort.el" (0 0 0 0)) +;;; Generated autoloads from mew-sort.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-sort" '("mew-s"))) + +;;;*** + +;;;### (autoloads nil "mew-ssh" "mew-ssh.el" (0 0 0 0)) +;;; Generated autoloads from mew-ssh.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-ssh" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-ssl" "mew-ssl.el" (0 0 0 0)) +;;; Generated autoloads from mew-ssl.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-ssl" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-summary" "mew-summary.el" (0 0 0 0)) +;;; Generated autoloads from mew-summary.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-summary" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-summary2" "mew-summary2.el" (0 0 0 0)) +;;; Generated autoloads from mew-summary2.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-summary2" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-summary3" "mew-summary3.el" (0 0 0 0)) +;;; Generated autoloads from mew-summary3.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-summary3" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-summary4" "mew-summary4.el" (0 0 0 0)) +;;; Generated autoloads from mew-summary4.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-summary4" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-syntax" "mew-syntax.el" (0 0 0 0)) +;;; Generated autoloads from mew-syntax.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-syntax" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-thread" "mew-thread.el" (0 0 0 0)) +;;; Generated autoloads from mew-thread.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-thread" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-unix" "mew-unix.el" (0 0 0 0)) +;;; Generated autoloads from mew-unix.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-unix" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-vars" "mew-vars.el" (0 0 0 0)) +;;; Generated autoloads from mew-vars.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-vars" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-vars2" "mew-vars2.el" (0 0 0 0)) +;;; Generated autoloads from mew-vars2.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-vars2" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-vars3" "mew-vars3.el" (0 0 0 0)) +;;; Generated autoloads from mew-vars3.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-vars3" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-varsx" "mew-varsx.el" (0 0 0 0)) +;;; Generated autoloads from mew-varsx.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-varsx" '("mew-defvar"))) + +;;;*** + +;;;### (autoloads nil "mew-virtual" "mew-virtual.el" (0 0 0 0)) +;;; Generated autoloads from mew-virtual.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-virtual" '("mew-"))) + +;;;*** + +;;;### (autoloads nil "mew-win32" "mew-win32.el" (0 0 0 0)) +;;; Generated autoloads from mew-win32.el + +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "mew-win32" '("mew-"))) + +;;;*** + +;;;### (autoloads nil nil ("mew-pkg.el") (0 0 0 0)) + +;;;*** + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; coding: utf-8 +;; End: +;;; mew-autoloads.el ends here diff --git a/elpa/mew-20161030.1807/mew-blvs.el b/elpa/mew-20180911.123/mew-blvs.el similarity index 100% rename from elpa/mew-20161030.1807/mew-blvs.el rename to elpa/mew-20180911.123/mew-blvs.el diff --git a/elpa/mew-20161030.1807/mew-bq.el b/elpa/mew-20180911.123/mew-bq.el similarity index 100% rename from elpa/mew-20161030.1807/mew-bq.el rename to elpa/mew-20180911.123/mew-bq.el diff --git a/elpa/mew-20161030.1807/mew-cache.el b/elpa/mew-20180911.123/mew-cache.el similarity index 100% rename from elpa/mew-20161030.1807/mew-cache.el rename to elpa/mew-20180911.123/mew-cache.el diff --git a/elpa/mew-20161030.1807/mew-complete.el b/elpa/mew-20180911.123/mew-complete.el similarity index 100% rename from elpa/mew-20161030.1807/mew-complete.el rename to elpa/mew-20180911.123/mew-complete.el diff --git a/elpa/mew-20161030.1807/mew-config.el b/elpa/mew-20180911.123/mew-config.el similarity index 100% rename from elpa/mew-20161030.1807/mew-config.el rename to elpa/mew-20180911.123/mew-config.el diff --git a/elpa/mew-20161030.1807/mew-const.el b/elpa/mew-20180911.123/mew-const.el similarity index 98% rename from elpa/mew-20161030.1807/mew-const.el rename to elpa/mew-20180911.123/mew-const.el index 1ef563fa..ba6e97ec 100644 --- a/elpa/mew-20161030.1807/mew-const.el +++ b/elpa/mew-20180911.123/mew-const.el @@ -83,6 +83,10 @@ (defconst mew-x-mew-uidl: "X-Mew-Uidl:") (defconst mew-x-mew-ref: "X-Mew-Ref:") +(defconst mew-x-gm-msgid: "X-GM-MSGID:") +(defconst mew-x-gm-thrid: "X-GM-THRID:") +(defconst mew-x-gm-labels: "X-GM-LABELS:") + (defconst mew-keywords: "Keywords:") (defconst mew-body: "Body:") @@ -164,11 +168,7 @@ (+ (length [key beg end pri]) (length mew-mime-fields))) (defconst mew-x-mailer - (format "%s on Emacs %s / Mule %s" - mew-version - (when (string-match "^\\([.0-9]+\\)\\.[0-9]+$" emacs-version) - (match-string 1 emacs-version)) - mule-version) + (format "%s on Emacs %d.%d" mew-version emacs-major-version emacs-minor-version) "*A value inserted into X-Mailer: field in Draft mode if *non-nil*.") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/elpa/mew-20161030.1807/mew-darwin.el b/elpa/mew-20180911.123/mew-darwin.el similarity index 100% rename from elpa/mew-20161030.1807/mew-darwin.el rename to elpa/mew-20180911.123/mew-darwin.el diff --git a/elpa/mew-20161030.1807/mew-decode.el b/elpa/mew-20180911.123/mew-decode.el similarity index 99% rename from elpa/mew-20161030.1807/mew-decode.el rename to elpa/mew-20180911.123/mew-decode.el index e04a1eef..cc74a74a 100644 --- a/elpa/mew-20161030.1807/mew-decode.el +++ b/elpa/mew-20180911.123/mew-decode.el @@ -101,6 +101,7 @@ ;;; (defmacro mew-decode-narrow-to-header (&rest body) + (declare (debug (&rest form))) `(progn (if (re-search-forward mew-eoh nil t) (beginning-of-line) diff --git a/elpa/mew-20161030.1807/mew-demo.el b/elpa/mew-20180911.123/mew-demo.el similarity index 99% rename from elpa/mew-20161030.1807/mew-demo.el rename to elpa/mew-20180911.123/mew-demo.el index c2de2d97..e8ba169a 100644 --- a/elpa/mew-20161030.1807/mew-demo.el +++ b/elpa/mew-20180911.123/mew-demo.el @@ -20,7 +20,7 @@ Mew -- Messaging in the Emacs World %s -Copyright (C) 1994-2015 Kazu Yamamoto +Copyright (C) 1994-2018 Kazu Yamamoto Please send comments to Kazu@Mew.org. diff --git a/elpa/mew-20161030.1807/mew-draft.el b/elpa/mew-20180911.123/mew-draft.el similarity index 100% rename from elpa/mew-20161030.1807/mew-draft.el rename to elpa/mew-20180911.123/mew-draft.el diff --git a/elpa/mew-20161030.1807/mew-edit.el b/elpa/mew-20180911.123/mew-edit.el similarity index 100% rename from elpa/mew-20161030.1807/mew-edit.el rename to elpa/mew-20180911.123/mew-edit.el diff --git a/elpa/mew-20161030.1807/mew-encode.el b/elpa/mew-20180911.123/mew-encode.el similarity index 100% rename from elpa/mew-20161030.1807/mew-encode.el rename to elpa/mew-20180911.123/mew-encode.el diff --git a/elpa/mew-20161030.1807/mew-env.el b/elpa/mew-20180911.123/mew-env.el similarity index 98% rename from elpa/mew-20161030.1807/mew-env.el rename to elpa/mew-20180911.123/mew-env.el index a9cbfbc2..6bcf03a9 100644 --- a/elpa/mew-20161030.1807/mew-env.el +++ b/elpa/mew-20180911.123/mew-env.el @@ -86,7 +86,9 @@ requires PTY.") (eval-when-compile (unless (fboundp 'with-no-warnings) - (defmacro with-no-warnings (&rest body) `(progn ,@body)))) + (defmacro with-no-warnings (&rest body) + (declare (debug (&rest form))) + `(progn ,@body)))) (if (fboundp 'set-process-query-on-exit-flag) (defun mew-process-silent-exit (pro) @@ -315,7 +317,7 @@ requires PTY.") ;;; Unix/Mac/Win ;;; -(cond +(cond ((>= emacs-major-version 24) ;; this must be macro. If implemented as a function, its behavior ;; is changed. diff --git a/elpa/mew-20161030.1807/mew-exec.el b/elpa/mew-20180911.123/mew-exec.el similarity index 100% rename from elpa/mew-20161030.1807/mew-exec.el rename to elpa/mew-20180911.123/mew-exec.el diff --git a/elpa/mew-20161030.1807/mew-ext.el b/elpa/mew-20180911.123/mew-ext.el similarity index 100% rename from elpa/mew-20161030.1807/mew-ext.el rename to elpa/mew-20180911.123/mew-ext.el diff --git a/elpa/mew-20161030.1807/mew-fib.el b/elpa/mew-20180911.123/mew-fib.el similarity index 100% rename from elpa/mew-20161030.1807/mew-fib.el rename to elpa/mew-20180911.123/mew-fib.el diff --git a/elpa/mew-20161030.1807/mew-func.el b/elpa/mew-20180911.123/mew-func.el similarity index 99% rename from elpa/mew-20161030.1807/mew-func.el rename to elpa/mew-20180911.123/mew-func.el index a579ae89..33113055 100644 --- a/elpa/mew-20161030.1807/mew-func.el +++ b/elpa/mew-20180911.123/mew-func.el @@ -1032,7 +1032,7 @@ and sets buffer-file-coding-system." (if fname (let ((exist (file-exists-p (expand-file-name fname mew-temp-dir)))) (if (and (not exist) - (or (not (featurep 'meadow)) + (or (not (eq system-type 'windows-nt)) (string-match "^[ -~]+$" fname))) (expand-file-name fname mew-temp-dir) (if (string-match "\\.[ -~]+$" fname) @@ -1093,6 +1093,7 @@ and sets buffer-file-coding-system." (if (and buf (get-buffer buf)) (kill-buffer buf))) (defmacro mew-elet (&rest body) + (declare (debug (&rest form))) `(let ((buffer-read-only nil) (inhibit-read-only t) (after-change-functions nil) @@ -1166,6 +1167,7 @@ and sets buffer-file-coding-system." ;;; (defmacro mew-filter (&rest body) + (declare (debug (&rest form))) `(let ((pbuf (process-buffer process)) ;; MUST use 'process' (obuf (buffer-name)) (inhibit-eol-conversion nil)) ;; \r\n as is diff --git a/elpa/mew-20161030.1807/mew-gemacs.el b/elpa/mew-20180911.123/mew-gemacs.el similarity index 100% rename from elpa/mew-20161030.1807/mew-gemacs.el rename to elpa/mew-20180911.123/mew-gemacs.el diff --git a/elpa/mew-20161030.1807/mew-header.el b/elpa/mew-20180911.123/mew-header.el similarity index 100% rename from elpa/mew-20161030.1807/mew-header.el rename to elpa/mew-20180911.123/mew-header.el diff --git a/elpa/mew-20161030.1807/mew-highlight.el b/elpa/mew-20180911.123/mew-highlight.el similarity index 100% rename from elpa/mew-20161030.1807/mew-highlight.el rename to elpa/mew-20180911.123/mew-highlight.el diff --git a/elpa/mew-20161030.1807/mew-imap.el b/elpa/mew-20180911.123/mew-imap.el similarity index 96% rename from elpa/mew-20161030.1807/mew-imap.el rename to elpa/mew-20180911.123/mew-imap.el index cfc19265..0d4447cc 100644 --- a/elpa/mew-20161030.1807/mew-imap.el +++ b/elpa/mew-20180911.123/mew-imap.el @@ -43,6 +43,7 @@ "wrk" "jobs" "namespace" "authl" "spam" "spam-field" "spam-word" "spam-pattern" "new-mailbox" "my-prefix" "specials" "bytes" + "gm-ext-1" "gm-thrid" "gm-msgid" "gm-labels" "virtual-info" "disp-info" "status-buf" "mark-hist")) (mew-info-defun "mew-imap-" mew-imap-info-list) @@ -117,6 +118,9 @@ authl) (save-excursion (goto-char (point-min)) + (if (re-search-forward "X-GM-EXT-1" nil t) + (mew-imap-set-gm-ext-1 pnm t)) + (goto-char (point-min)) (while (re-search-forward "AUTH=\\([^ \r\n]+\\)" nil t) (setq authl (cons (mew-match-string 1) authl))) (goto-char (point-min)) @@ -261,7 +265,10 @@ "Checking" nil (mew-imap-secure-p pnm)) (if (eq directive 'get) (mew-imap-process-send-string - pro pnm "UID FETCH %s:%s (UID RFC822.SIZE FLAGS)" + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %s:%s (UID RFC822.SIZE FLAGS X-GM-MSGID X-GM-THRID X-GM-LABELS)" + "UID FETCH %s:%s (UID RFC822.SIZE FLAGS)") (mew-refileinfo-get-uid (car refs)) (mew-refileinfo-get-uid (nth (1- (length refs)) refs))) (cond @@ -276,7 +283,11 @@ (setq max 0)) (mew-imap-set-max pnm max) (mew-imap-process-send-string - pro pnm "UID FETCH %d:* (UID RFC822.SIZE FLAGS)" (1+ max)))))) + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %d:* (UID RFC822.SIZE FLAGS X-GM-MSGID X-GM-THRID X-GM-LABELS)" + "UID FETCH %d:* (UID RFC822.SIZE FLAGS)") + (1+ max)))))) (defun mew-imap-command-umsg (pro pnm) (let* ((directive (mew-imap-get-directive pnm)) @@ -626,17 +637,36 @@ (mew-imap-set-truncated pnm nil) ;; RFC822 turns the Seen flag "on" ;; BODY.PEEK[] keeps the Seen flag "off" - (mew-imap-process-send-string pro pnm "UID FETCH %s BODY.PEEK[]" uid)) + (mew-imap-process-send-string + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %s (X-GM-MSGID X-GM-THRID X-GM-LABELS BODY.PEEK[])" + "UID FETCH %s BODY.PEEK[]") + uid)) ((and (eq directive 'scan) (not get-body)) (mew-imap-set-truncated pnm t) - (mew-imap-process-send-string pro pnm "UID FETCH %s BODY.PEEK[HEADER]" uid)) + (mew-imap-process-send-string + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %s (X-GM-MSGID X-GM-THRID X-GM-LABELS BODY.PEEK[HEADER])" + "UID FETCH %s BODY.PEEK[HEADER]") + uid)) ((or (= lim 0) (< (string-to-number siz) lim)) (mew-imap-set-truncated pnm nil) - (mew-imap-process-send-string pro pnm "UID FETCH %s BODY.PEEK[]" uid)) + (mew-imap-process-send-string + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %s (X-GM-MSGID X-GM-THRID X-GM-LABELS BODY.PEEK[])" + "UID FETCH %s BODY.PEEK[]") + uid)) (t (mew-imap-set-truncated pnm t) (mew-imap-process-send-string - pro pnm "UID FETCH %s BODY.PEEK[HEADER]" uid))))) + pro pnm + (if (mew-imap-get-gm-ext-1 pnm) + "UID FETCH %s (X-GM-MSGID X-GM-THRID X-GM-LABELS BODY.PEEK[HEADER])" + "UID FETCH %s BODY.PEEK[HEADER]") + uid))))) (defun mew-imap-command-post-fetch (pro pnm) (let* ((directive (mew-imap-get-directive pnm)) @@ -680,6 +710,11 @@ (mew-header-insert-xmu uid siz nil)) ((and (eq directive 'get) (mew-folder-imapp folder)) (mew-header-insert-xmu uid siz nil))) + (if (mew-imap-get-gm-ext-1 pnm) + (progn + (mew-header-insert-x-gm-msgid (mew-imap-get-gm-msgid pnm)) + (mew-header-insert-x-gm-thrid (mew-imap-get-gm-thrid pnm)) + (mew-header-insert-x-gm-labels (mew-imap-get-gm-labels pnm)))) (catch 'write-error (condition-case nil (let ((write-region-inhibit-fsync mew-use-async-write)) @@ -1417,6 +1452,12 @@ (looking-at "^\\*[^{]*{\\([0-9]+\\)}")) (setq bytes (string-to-number (mew-match-string 1))) (mew-imap-set-bytes pnm bytes)) + (when (looking-at "^\\* .*X-GM-THRID +\\([0-9]+\\)") + (mew-imap-set-gm-thrid pnm (mew-match-string 1))) + (when (looking-at "^\\* .*X-GM-MSGID +\\([0-9]+\\)") + (mew-imap-set-gm-msgid pnm (mew-match-string 1))) + (when (looking-at "^\\* .*X-GM-LABELS +(\\([^)]+\\)*)") + (mew-imap-set-gm-labels pnm (mew-match-string 1))) (when bytes (goto-char (point-min)) (while (and (looking-at "^\\*") (= (forward-line) 0)) diff --git a/elpa/mew-20161030.1807/mew-imap2.el b/elpa/mew-20180911.123/mew-imap2.el similarity index 100% rename from elpa/mew-20161030.1807/mew-imap2.el rename to elpa/mew-20180911.123/mew-imap2.el diff --git a/elpa/mew-20161030.1807/mew-key.el b/elpa/mew-20180911.123/mew-key.el similarity index 100% rename from elpa/mew-20161030.1807/mew-key.el rename to elpa/mew-20180911.123/mew-key.el diff --git a/elpa/mew-20161030.1807/mew-lang-jp.el b/elpa/mew-20180911.123/mew-lang-jp.el similarity index 100% rename from elpa/mew-20161030.1807/mew-lang-jp.el rename to elpa/mew-20180911.123/mew-lang-jp.el diff --git a/elpa/mew-20161030.1807/mew-lang-kr.el b/elpa/mew-20180911.123/mew-lang-kr.el similarity index 100% rename from elpa/mew-20161030.1807/mew-lang-kr.el rename to elpa/mew-20180911.123/mew-lang-kr.el diff --git a/elpa/mew-20161030.1807/mew-lang-latin.el b/elpa/mew-20180911.123/mew-lang-latin.el similarity index 100% rename from elpa/mew-20161030.1807/mew-lang-latin.el rename to elpa/mew-20180911.123/mew-lang-latin.el diff --git a/elpa/mew-20161030.1807/mew-local.el b/elpa/mew-20180911.123/mew-local.el similarity index 100% rename from elpa/mew-20161030.1807/mew-local.el rename to elpa/mew-20180911.123/mew-local.el diff --git a/elpa/mew-20161030.1807/mew-mark.el b/elpa/mew-20180911.123/mew-mark.el similarity index 100% rename from elpa/mew-20161030.1807/mew-mark.el rename to elpa/mew-20180911.123/mew-mark.el diff --git a/elpa/mew-20161030.1807/mew-message.el b/elpa/mew-20180911.123/mew-message.el similarity index 100% rename from elpa/mew-20161030.1807/mew-message.el rename to elpa/mew-20180911.123/mew-message.el diff --git a/elpa/mew-20161030.1807/mew-mime.el b/elpa/mew-20180911.123/mew-mime.el similarity index 100% rename from elpa/mew-20161030.1807/mew-mime.el rename to elpa/mew-20180911.123/mew-mime.el diff --git a/elpa/mew-20161030.1807/mew-minibuf.el b/elpa/mew-20180911.123/mew-minibuf.el similarity index 100% rename from elpa/mew-20161030.1807/mew-minibuf.el rename to elpa/mew-20180911.123/mew-minibuf.el diff --git a/elpa/mew-20161030.1807/mew-mule.el b/elpa/mew-20180911.123/mew-mule.el similarity index 100% rename from elpa/mew-20161030.1807/mew-mule.el rename to elpa/mew-20180911.123/mew-mule.el diff --git a/elpa/mew-20161030.1807/mew-mule3.el b/elpa/mew-20180911.123/mew-mule3.el similarity index 99% rename from elpa/mew-20161030.1807/mew-mule3.el rename to elpa/mew-20180911.123/mew-mule3.el index 528c5b37..3b0dc8aa 100644 --- a/elpa/mew-20161030.1807/mew-mule3.el +++ b/elpa/mew-20180911.123/mew-mule3.el @@ -155,6 +155,7 @@ ("iso-2022-cn-ext" iso-2022-cn-ext) ("gbk" gbk) ("gb2312" cn-gb-2312) ;; should be before cn-gb + ("gb18030" gb18030) ("cn-gb" cn-gb-2312) ("hz-gb-2312" hz-gb-2312) ("big5" chinese-big5) @@ -275,6 +276,7 @@ (setq buffer-file-coding-system write)) (defmacro mew-plet (&rest body) + (declare (debug (&rest form))) `(let ((coding-system-for-read 'binary) (coding-system-for-write 'binary)) ,@body)) @@ -287,6 +289,7 @@ (put 'mew-piolet 'lisp-indent-function 2) (defmacro mew-flet (&rest body) + (declare (debug (&rest form))) `(let ((coding-system-for-read 'binary) (coding-system-for-write 'binary) (format-alist nil) @@ -305,6 +308,7 @@ (put 'mew-frwlet 'lisp-indent-function 2) (defmacro mew-alet (&rest body) + (declare (debug (&rest form))) `(let ((default-file-name-coding-system nil) (file-name-coding-system nil)) ,@body)) diff --git a/elpa/mew-20161030.1807/mew-net.el b/elpa/mew-20180911.123/mew-net.el similarity index 100% rename from elpa/mew-20161030.1807/mew-net.el rename to elpa/mew-20180911.123/mew-net.el diff --git a/elpa/mew-20161030.1807/mew-nntp.el b/elpa/mew-20180911.123/mew-nntp.el similarity index 100% rename from elpa/mew-20161030.1807/mew-nntp.el rename to elpa/mew-20180911.123/mew-nntp.el diff --git a/elpa/mew-20161030.1807/mew-nntp2.el b/elpa/mew-20180911.123/mew-nntp2.el similarity index 100% rename from elpa/mew-20161030.1807/mew-nntp2.el rename to elpa/mew-20180911.123/mew-nntp2.el diff --git a/elpa/mew-20161030.1807/mew-passwd.el b/elpa/mew-20180911.123/mew-passwd.el similarity index 100% rename from elpa/mew-20161030.1807/mew-passwd.el rename to elpa/mew-20180911.123/mew-passwd.el diff --git a/elpa/mew-20161030.1807/mew-pgp.el b/elpa/mew-20180911.123/mew-pgp.el similarity index 99% rename from elpa/mew-20161030.1807/mew-pgp.el rename to elpa/mew-20180911.123/mew-pgp.el index 45432f62..b80bb13f 100644 --- a/elpa/mew-20161030.1807/mew-pgp.el +++ b/elpa/mew-20180911.123/mew-pgp.el @@ -35,7 +35,7 @@ Set 1 if 5. Set 2 if 6. Set 3 if GNUPG. Set 4 if GNUPG2.") (defvar mew-prog-pgp5k "pgpk") (defvar mew-prog-pgp6 "pgp") ;; "pgp651i", PGP selection (defvar mew-prog-gpg "gpg") ;; PGP selection -(defvar mew-prog-gpg2 "gpg2") ;; PGP selection +(defvar mew-prog-gpg2 "gpg") ;; PGP selection (defvar mew-prog-pgpe `(,mew-prog-pgp2 ,mew-prog-pgp5e ,mew-prog-pgp6 ,mew-prog-gpg ,mew-prog-gpg2)) diff --git a/elpa/mew-20161030.1807/mew-pick.el b/elpa/mew-20180911.123/mew-pick.el similarity index 100% rename from elpa/mew-20161030.1807/mew-pick.el rename to elpa/mew-20180911.123/mew-pick.el diff --git a/elpa/mew-20180911.123/mew-pkg.el b/elpa/mew-20180911.123/mew-pkg.el new file mode 100644 index 00000000..de6fff74 --- /dev/null +++ b/elpa/mew-20180911.123/mew-pkg.el @@ -0,0 +1,7 @@ +(define-package "mew" "20180911.123" "Messaging in the Emacs World" 'nil :authors + '(("Kazu Yamamoto" . "Kazu@Mew.org")) + :maintainer + '("Kazu Yamamoto" . "Kazu@Mew.org")) +;; Local Variables: +;; no-byte-compile: t +;; End: diff --git a/elpa/mew-20161030.1807/mew-pop.el b/elpa/mew-20180911.123/mew-pop.el similarity index 100% rename from elpa/mew-20161030.1807/mew-pop.el rename to elpa/mew-20180911.123/mew-pop.el diff --git a/elpa/mew-20161030.1807/mew-refile.el b/elpa/mew-20180911.123/mew-refile.el similarity index 99% rename from elpa/mew-20161030.1807/mew-refile.el rename to elpa/mew-20180911.123/mew-refile.el index d32d56b7..1feb52c1 100644 --- a/elpa/mew-20161030.1807/mew-refile.el +++ b/elpa/mew-20180911.123/mew-refile.el @@ -9,6 +9,7 @@ (require 'mew) (defmacro mew-summary-refilable (&rest body) + (declare (debug (&rest form))) `(mew-pickable (mew-summary-not-in-draft (mew-summary-local-or-imap diff --git a/elpa/mew-20161030.1807/mew-scan.el b/elpa/mew-20180911.123/mew-scan.el similarity index 98% rename from elpa/mew-20161030.1807/mew-scan.el rename to elpa/mew-20180911.123/mew-scan.el index 17bc985f..daa67ecf 100644 --- a/elpa/mew-20161030.1807/mew-scan.el +++ b/elpa/mew-20180911.123/mew-scan.el @@ -664,6 +664,27 @@ Address is converted by 'mew-summary-form-extract-addr'. See also (mew-header-delete-lines (list mew-x-mew-uidl:))) (mew-header-insert mew-x-mew-uidl: fields 'no-fold)))) +(defun mew-header-insert-x-gm-labels (labels) + (save-excursion + (mew-header-delete-lines (list "X-GM-LABELS:")) + (mew-header-insert "X-GM-LABELS:" labels 'no-fold))) + +(defun mew-header-insert-x-gm-msgid (msgid) + (save-excursion + (mew-header-delete-lines (list "X-GM-MSGID:")) + (mew-header-insert + "X-GM-MSGID:" + (format "%x" (string-to-number msgid)) + 'no-fold))) + +(defun mew-header-insert-x-gm-thrid (thrid) + (save-excursion + (mew-header-delete-lines (list "X-GM-THRID:")) + (mew-header-insert + "X-GM-THRID:" + (format "%x" (string-to-number thrid)) + 'no-fold))) + (defun mew-scan-message-truncatedp () (mew-msg-truncatedp (mew-scan-uid-size (MEW-UID)))) diff --git a/elpa/mew-20161030.1807/mew-search.el b/elpa/mew-20180911.123/mew-search.el similarity index 99% rename from elpa/mew-20161030.1807/mew-search.el rename to elpa/mew-20180911.123/mew-search.el index 63c3aad1..cd2985ca 100644 --- a/elpa/mew-20161030.1807/mew-search.el +++ b/elpa/mew-20180911.123/mew-search.el @@ -642,6 +642,7 @@ with a search method." (defvar mew-id-db-ignore-regex "^\\./casket$|^\\./casket/|/\\.") (defmacro mew-msgid-check (&rest body) + (declare (debug (&rest form))) `(let ((db (mew-expand-file "+" mew-id-db-file))) (cond ((not (file-exists-p db)) diff --git a/elpa/mew-20161030.1807/mew-smime.el b/elpa/mew-20180911.123/mew-smime.el similarity index 100% rename from elpa/mew-20161030.1807/mew-smime.el rename to elpa/mew-20180911.123/mew-smime.el diff --git a/elpa/mew-20161030.1807/mew-smtp.el b/elpa/mew-20180911.123/mew-smtp.el similarity index 100% rename from elpa/mew-20161030.1807/mew-smtp.el rename to elpa/mew-20180911.123/mew-smtp.el diff --git a/elpa/mew-20161030.1807/mew-sort.el b/elpa/mew-20180911.123/mew-sort.el similarity index 100% rename from elpa/mew-20161030.1807/mew-sort.el rename to elpa/mew-20180911.123/mew-sort.el diff --git a/elpa/mew-20161030.1807/mew-ssh.el b/elpa/mew-20180911.123/mew-ssh.el similarity index 100% rename from elpa/mew-20161030.1807/mew-ssh.el rename to elpa/mew-20180911.123/mew-ssh.el diff --git a/elpa/mew-20161030.1807/mew-ssl.el b/elpa/mew-20180911.123/mew-ssl.el similarity index 94% rename from elpa/mew-20161030.1807/mew-ssl.el rename to elpa/mew-20180911.123/mew-ssl.el index a181b530..488f2f76 100644 --- a/elpa/mew-20161030.1807/mew-ssl.el +++ b/elpa/mew-20180911.123/mew-ssl.el @@ -35,6 +35,8 @@ insert no extra text.") (defvar mew-ssl-minor-ver nil) (defvar mew-ssl-libwrap nil) +(defvar mew-ssl-unixlike nil + "Set to t when stunnel supports \"foreground\" option.") (defconst mew-ssl-process-exec-cnt 3) @@ -104,13 +106,16 @@ insert no extra text.") (let ((file (mew-make-temp-name))) (with-temp-buffer (insert "client=yes\n") - (insert "pid=\n") + (if mew-ssl-unixlike + (insert "pid=\n")) (insert (format "verify=%d\n" (mew-ssl-verify-level case))) - (insert "foreground=yes\n") + (if mew-ssl-unixlike + (insert "foreground=yes\n")) (insert "debug=debug\n") (if (and mew-ssl-libwrap (or (>= mew-ssl-ver 5) (>= mew-ssl-minor-ver 45))) (insert "libwrap=no\n")) - (if (or (>= mew-ssl-ver 5) (>= mew-ssl-minor-ver 22)) + (if (and (or (>= mew-ssl-ver 5) (>= mew-ssl-minor-ver 22)) + mew-ssl-unixlike) (insert "syslog=no\n")) (insert "CApath=" (expand-file-name (mew-ssl-cert-directory case)) "\n") (if mew-prog-ssl-arg @@ -118,7 +123,7 @@ insert no extra text.") (insert (format "[%d]\n" localport)) (insert (format "accept=%s:%d\n" mew-ssl-localhost localport)) (insert (format "connect=%s:%d\n" server remoteport)) - (if tls (insert (format "protocol=%s\nsslVersion=TLSv1\n" tls))) + (if tls (insert (format "protocol=%s\n" tls))) (mew-frwlet mew-cs-dummy mew-cs-text-for-write ;; NEVER use call-process-region for privacy reasons (write-region (point-min) (point-max) file nil 'no-msg)) @@ -241,7 +246,7 @@ A local port number can be obtained the process name after ':'. " (mew-ssl-set-string pnm string) (setq string (concat prev-str string)) (cond - ((string-match "Negotiated \\|opened with SSL" string) + ((string-match "Negotiated \\| ciphersuite:\\|opened with SSL" string) (mew-ssl-set-status pnm t)) ((string-match "Failed to initialize" string) (mew-ssl-set-status pnm t)) ;; xxx @@ -267,7 +272,7 @@ A local port number can be obtained the process name after ':'. " (if (not (mew-which-exec mew-prog-ssl)) (setq mew-ssl-ver nil) (with-temp-buffer - (call-process mew-prog-ssl nil t nil "-version") + (call-process mew-prog-ssl nil t nil "-help") (goto-char (point-min)) (re-search-forward "^stunnel " nil t 1) (if (looking-at "\\([45]\\)\\.\\([0-9]+\\)") @@ -276,13 +281,15 @@ A local port number can be obtained the process name after ':'. " (setq mew-ssl-minor-ver (string-to-number (mew-match-string 2)))) (setq mew-ssl-ver 3)) (when (re-search-forward "LIBWRAP" nil t) - (setq mew-ssl-libwrap t))))) + (setq mew-ssl-libwrap t)) + (when (re-search-forward "foreground" nil t) + (setq mew-ssl-unixlike t))))) (provide 'mew-ssl) ;;; Copyright Notice: -;; Copyright (C) 2002-2015 Mew developing team. +;; Copyright (C) 2002-2018 Mew developing team. ;; All rights reserved. ;; Redistribution and use in source and binary forms, with or without diff --git a/elpa/mew-20161030.1807/mew-summary.el b/elpa/mew-20180911.123/mew-summary.el similarity index 96% rename from elpa/mew-20161030.1807/mew-summary.el rename to elpa/mew-20180911.123/mew-summary.el index 4d5aa29a..06b575ec 100644 --- a/elpa/mew-20161030.1807/mew-summary.el +++ b/elpa/mew-20180911.123/mew-summary.el @@ -54,6 +54,7 @@ (defmacro mew-summary-msg-or-part (&rest body) "See if the cursor is on a message or a part." + (declare (debug (&rest form))) `(cond ((eobp) (message "No message")) ((not (or (mew-summary-message-number) (mew-syntax-number))) @@ -62,6 +63,7 @@ (defmacro mew-summary-msg (&rest body) "See if the cursor is on a message." + (declare (debug (&rest form))) `(cond ((eobp) (message "No message")) ((not (mew-summary-message-number)) @@ -70,6 +72,7 @@ (defmacro mew-summary-part (&rest body) "See if the cursor is on a part." + (declare (debug (&rest form))) `(cond ((eobp) (message "No part")) ((not (mew-syntax-number)) @@ -79,6 +82,7 @@ (defmacro mew-summary-multi-msgs (&rest body) "Collect messages marked with '*' and set their corresponding files to FILES." + (declare (debug (&rest form))) `(let* ((FLD-MSGS (mew-summary-mark-collect2 mew-mark-review)) (FLD-MSG-LIST FLD-MSGS) ;; may be used in body FILES) ;; may be used in body @@ -123,6 +127,7 @@ files to FILES." (defmacro mew-summary-only (&rest body) "See if the mode of this buffer is Summary mode. This macro is used to prohibit using a command in Virtual mode." + (declare (debug (&rest form))) `(cond ((not (mew-summary-p)) (message "This command can be used in Summary mode only")) @@ -139,6 +144,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-thread-only (&rest body) "See if this buffer is Thread folder. This macro is used to prohibit using a command in Summary mode." + (declare (debug (&rest form))) `(cond ((not (mew-thread-p)) (message "This command can be used in Thread folder only")) @@ -146,6 +152,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-pickable (&rest body) "See if pick can be used for this folder." + (declare (debug (&rest form))) `(cond ((not (mew-pickable-p)) (message "This command cannot be used in this folder")) @@ -153,6 +160,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-summary-not-in-queue (&rest body) "See if this folder is not +queue." + (declare (debug (&rest form))) `(cond ((not (mew-summary-or-virtual-p)) (message "This command cannot be used in this mode")) @@ -162,6 +170,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-summary-not-in-draft (&rest body) "See if this folder is not +draft." + (declare (debug (&rest form))) `(cond ((not (mew-summary-or-virtual-p)) (message "This command cannot be used in this mode")) @@ -171,6 +180,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-summary-not-in-nntp (&rest body) "See if this folder is not NNTP." + (declare (debug (&rest form))) `(cond ((mew-folder-nntpp (mew-sinfo-get-folder)) (message "This command cannot be used in %s" (mew-summary-folder-name))) @@ -178,6 +188,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-summary-local-or-imap (&rest body) "See if this folder is either local or IMAP." + (declare (debug (&rest form))) `(cond ((not (mew-summary-or-virtual-p)) (message "This command cannot be used in this mode")) @@ -188,6 +199,7 @@ This macro is used to prohibit using a command in Summary mode." (defmacro mew-summary-local-only (&rest body) "See if this folder is local." + (declare (debug (&rest form))) `(cond ((not (mew-summary-or-virtual-p)) (message "This command cannot be used in this mode")) @@ -196,6 +208,7 @@ This macro is used to prohibit using a command in Summary mode." (t ,@body))) (defmacro mew-summary-with-mewl (&rest body) + (declare (debug (&rest form))) `(cond ((not (mew-which-exec mew-prog-mewl)) (message "'%s' not found!" mew-prog-mewl)) diff --git a/elpa/mew-20161030.1807/mew-summary2.el b/elpa/mew-20180911.123/mew-summary2.el similarity index 100% rename from elpa/mew-20161030.1807/mew-summary2.el rename to elpa/mew-20180911.123/mew-summary2.el diff --git a/elpa/mew-20161030.1807/mew-summary3.el b/elpa/mew-20180911.123/mew-summary3.el similarity index 99% rename from elpa/mew-20161030.1807/mew-summary3.el rename to elpa/mew-20180911.123/mew-summary3.el index fdf03780..e9b3a4c1 100644 --- a/elpa/mew-20161030.1807/mew-summary3.el +++ b/elpa/mew-20180911.123/mew-summary3.el @@ -14,6 +14,7 @@ (defmacro mew-summary-prepare-draft (&rest body) "Common procedure to prepare a draft." + (declare (debug (&rest form))) `(progn (unwind-protect (let ((inhibit-quit t)) diff --git a/elpa/mew-20161030.1807/mew-summary4.el b/elpa/mew-20180911.123/mew-summary4.el similarity index 100% rename from elpa/mew-20161030.1807/mew-summary4.el rename to elpa/mew-20180911.123/mew-summary4.el diff --git a/elpa/mew-20161030.1807/mew-syntax.el b/elpa/mew-20180911.123/mew-syntax.el similarity index 100% rename from elpa/mew-20161030.1807/mew-syntax.el rename to elpa/mew-20180911.123/mew-syntax.el diff --git a/elpa/mew-20161030.1807/mew-thread.el b/elpa/mew-20180911.123/mew-thread.el similarity index 100% rename from elpa/mew-20161030.1807/mew-thread.el rename to elpa/mew-20180911.123/mew-thread.el diff --git a/elpa/mew-20161030.1807/mew-unix.el b/elpa/mew-20180911.123/mew-unix.el similarity index 99% rename from elpa/mew-20161030.1807/mew-unix.el rename to elpa/mew-20180911.123/mew-unix.el index 5d1a3302..7c407262 100644 --- a/elpa/mew-20161030.1807/mew-unix.el +++ b/elpa/mew-20180911.123/mew-unix.el @@ -87,7 +87,7 @@ ;;; Office ;;; -(defvar mew-prog-ooffice "ooffice") +(defvar mew-prog-ooffice "soffice") (defvar mew-prog-application/msword "wvHtml") (defvar mew-prog-msword-ext mew-prog-ooffice) diff --git a/elpa/mew-20161030.1807/mew-vars.el b/elpa/mew-20180911.123/mew-vars.el similarity index 100% rename from elpa/mew-20161030.1807/mew-vars.el rename to elpa/mew-20180911.123/mew-vars.el diff --git a/elpa/mew-20161030.1807/mew-vars2.el b/elpa/mew-20180911.123/mew-vars2.el similarity index 99% rename from elpa/mew-20161030.1807/mew-vars2.el rename to elpa/mew-20180911.123/mew-vars2.el index 42c237ea..c7d629ef 100644 --- a/elpa/mew-20161030.1807/mew-vars2.el +++ b/elpa/mew-20180911.123/mew-vars2.el @@ -547,6 +547,9 @@ the next version of Mew.") ("^\\(Message-Id\\|Posted\\|In-Reply-To\\|References\\|Precedence\\):$" nil) ("^DomainKey-Signature:$" nil) ("^DKIM-Signature:$" nil) + ("^ARC-" nil) + ("^Received-SPF:$" nil) + ("^Autocrypt:$" nil) ("^Authentication-Results:$" mew-authentication-results mew-face-header-important diff --git a/elpa/mew-20161030.1807/mew-vars3.el b/elpa/mew-20180911.123/mew-vars3.el similarity index 100% rename from elpa/mew-20161030.1807/mew-vars3.el rename to elpa/mew-20180911.123/mew-vars3.el diff --git a/elpa/mew-20161030.1807/mew-varsx.el b/elpa/mew-20180911.123/mew-varsx.el similarity index 99% rename from elpa/mew-20161030.1807/mew-varsx.el rename to elpa/mew-20180911.123/mew-varsx.el index 49f000c1..a66afd93 100644 --- a/elpa/mew-20161030.1807/mew-varsx.el +++ b/elpa/mew-20180911.123/mew-varsx.el @@ -23,6 +23,7 @@ mew-subj: mew-date: mew-from: mew-to: mew-cc: mew-ct: mew-cte: mew-x-mew-uidl: mew-message-id: mew-in-reply-to: mew-references: mew-x-mew-ref: + mew-x-gm-msgid: mew-x-gm-thrid: mew-x-gm-labels: mew-spam: "Body")) (mew-defvar @@ -30,6 +31,7 @@ '("FLD" "NUM" "SUBJ" "DATE" "FROM" "TO" "CC" "CT" "CTE" "UID" "ID" "IRT" "REF" "XREF" + "GM-MSGID" "GM-THRID" "GM-LABELS" "SPAM" "BODY")) ;; diff --git a/elpa/mew-20161030.1807/mew-virtual.el b/elpa/mew-20180911.123/mew-virtual.el similarity index 100% rename from elpa/mew-20161030.1807/mew-virtual.el rename to elpa/mew-20180911.123/mew-virtual.el diff --git a/elpa/mew-20161030.1807/mew-win32.el b/elpa/mew-20180911.123/mew-win32.el similarity index 100% rename from elpa/mew-20161030.1807/mew-win32.el rename to elpa/mew-20180911.123/mew-win32.el diff --git a/elpa/mew-20161030.1807/mew.el b/elpa/mew-20180911.123/mew.el similarity index 99% rename from elpa/mew-20161030.1807/mew.el rename to elpa/mew-20180911.123/mew.el index 76106694..64c19b01 100644 --- a/elpa/mew-20161030.1807/mew.el +++ b/elpa/mew-20180911.123/mew.el @@ -2,7 +2,7 @@ ;; Author: Kazu Yamamoto ;; Created: Mar 23, 1994 -;; Revised: Aug 4, 2015 +;; Revised: Jun 7, 2018 ;;; Commentary: @@ -18,7 +18,7 @@ ;;; Mew version ;;; -(defconst mew-version-number "6.7" +(defconst mew-version-number "6.8" "Version number for this version of Mew.") (defconst mew-version (format "Mew version %s" mew-version-number) "Version string for this version of Mew.") diff --git a/elpa/mew-20180911.123/mew.info b/elpa/mew-20180911.123/mew.info new file mode 100644 index 00000000..58c3c56e --- /dev/null +++ b/elpa/mew-20180911.123/mew.info @@ -0,0 +1,6336 @@ +Info file: mew.info, -*-Text-*- +produced by ‘texinfo-format-buffer’ +from file ‘mew.texi’ +using ‘texinfmt.el’ version 2.42 of 7 Jul 2006. + +INFO-DIR-SECTION Message User Agent +START-INFO-DIR-ENTRY +* Mew: (mew.info). Messaging in the Emacs World. +END-INFO-DIR-ENTRY + + + + + + +File: mew.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir) + +Mew 6.8 Manual +************** + + Kazu YAMAMOTO + Created 1996/02/18 + Modified 2018/06/07 + +This manual documents Mew version 6.8. In addition to this manual, you +may find useful information about Mew from Mew's official home page +(http://www.Mew.org/). + + +* Menu: + +* Overview:: Read me first +* Viewing:: Viewing messages +* Composing:: Composing messages +* Marks:: Funny marks +* Refile:: Happy refiling +* Virtual:: Virtual folder +* Quit:: Give me a break +* Customize:: Customizing Mew +* Tips:: Advanced usage +* Convention:: E-mail convention +* Implementation:: Implementation Issues +* Avail:: Availability and mailing-list +* Copyright:: Copyright +* Variable Index:: Variable Index +* Key Index:: Key Index + + + + +File: mew.info, Node: Overview, Next: characteristic, Prev: Top, Up: Top + +Read me first +************* + +Mew is a user interface for text messages, multimedia messages (MIME), +news articles and security functionality including PGP, S/MIME, SSH, +and SSL. Also, Mew can work with the recent search services. + +Mew is an acronym for "Messaging in the Emacs World". You should spell +it with the first letter capitalized and pronounce it as it is +(i.e. the meow of cats). When the author started programming it, he +chose a cute word from his English dictionary. Thus, Mew. + +* Menu: + +* characteristic:: Mew's features +* Emacsen:: Supported Emacs versions +* modes:: Modes +* folder convention:: Folder convention +* configuration:: Configuration +* password:: Password +* start:: Starting + + + + +File: mew.info, Node: characteristic, Next: Emacsen, Prev: Overview, Up: Overview + +Mew's features +============== + +The features of Mew 6.8 are as follows: + + - You can easily display a very complicated structured + message. What you should do to view messages is just type `SPC'. + - If you know how to do file operations such as copy, you can + compose a very complicated message without any difficulty. + - You can start to read messages before they are all fully listed. + - Since Mew preserves lists of messages in Summary mode, when you + move messages to a new folder, they will automatically be listed + incrementally. + - Mew neatly suggests default folders for refiling. Those who + receive many messages cannot live without this feature. + - In Draft mode, you can complete field names, e-mail addresses, + receiver's names, domain names, and folder names. + - You can easily search messages with keywords etc. + - Mew automatically decodes messages encrypted with PGP or + S/MIME. It also automatically verifies signed messages. + - You can easily encrypt or sign a message with PGP or S/MIME. + - It takes a bit of time to analyze MIME syntax or to verify a PGP + or S/MIME signature. While the user is reading a message, Mew + processes the next message so that the next message can be + displayed faster. Analyzed messages are cached briefly. + - You can view multiple folders simultaneously. + - Selection/Thread, a mechanism to display the flow of messages, is + supported. You can make Selection from messages matched to a + keyword and make Thread from the Selection. + - When you input a folder name, you can search it with a substring + of the name. + + + + +File: mew.info, Node: Emacsen, Next: modes, Prev: characteristic, Up: Overview + +Supported Emacs versions +======================== + +Please use Emacs 24.3 or later. Mew doesn't support earlier versions +nor XEmacs. + + + + +File: mew.info, Node: modes, Next: folder convention, Prev: Emacsen, Up: Overview + +Modes +===== + +Mew has the following seven modes: + +`Summary mode' + A mode to list and select messages. +`Virtual mode' + A mode to list messages selected with a specific condition from + one or more folders. This is similar to Summary mode. This mode + is categorized to Selection or Thread. +`Message mode' + A mode to display the content of a message. +`Draft mode' + A mode to prepare a message to be sent, answered, and forwarded. +`Header mode' + A mode to edit the header of a message and to send it. +`Edit mode' + A mode to edit a message to generate another new message. +`Addrbook mode' + A mode to register an entry to the address book (Addrbook). + + + + +File: mew.info, Node: folder convention, Next: configuration, Prev: modes, Up: Overview + +Folder convention +================= + +With Mew's terminology, a place where messages are deliver is called +'mailbox'. There are three kinds of mailbox: local, POP server, IMAP +server, and NNTP server. + +A box which contains messages used by Mew is called "folder". The name +of a folder is in the format that "proto" is followed by a string, +where "proto" is one sign letter. For example, the proto of "+inbox" +is "+". + +Mew's folders are categorized to two types: "local folder" and "remote +folder". + +A local folder is a folder which is *original* and is created the +computer on which Mew is running. Also, messages stored in the folder +are *original*. (So, if you remove them, you cannot revive them.) + +The proto of a local folder is "+". We summarize special local folders +as follows: + +`+inbox' + The first local folder to store messages which you fetch from + your local mailbox or your POP server. To refile messages, what + you do is to move the messages from "+inbox" to other folders. +`+draft' + A local folder where messages, which you have not completed yet, + are stored. +`+queue' + A local folder where e-mail messages to be sent are stored. The + messages in "+queue" will be eventually sent by SMTP. +`+postq' + A local folder where NetNews message to be sent are stored. The + messages in "+postq" will be eventually sent by NNTP. + +A remote folder is a COPY whose original is on a server side. A +message in a remote folder is a cache which is copied from the server. + +Here are a list of available proto of remote folders: + +`%' + Folders on an IMAP servers. Example: "%inbox" +`$' + The folder on a POP server. Example: "$inbox" (Since there is + only one folder in a POP server, "$inbox" is the only folder + whose name starts with "$".) +`-' + Newsgroups of NetNews. Example: "-fj.mail.reader.mew" + +If you use several servers, there are multiple sets of remote folders. +You can specify several servers by using "case". For more information +about the "case", see *Note config::. To specify a remote folder +corresponding to a "case", you should write "case:folder". You can +omit "case:" if a case is "default". + +A combination of "case" and proto organized a world to which a message +belongs. A message can move within its world. To make it easy to +search received messages afterward, they should be moved to proper +folders. To know how to refile received messages, see *Note Refile::. + +You cannot move a message in the "$" world because there is only one +folder, "$inbox". You cannot move a message in the "-" world either +since messages in the "-" world are not yours. + +If you want to move a message from one world to another, you should +COPY it. Its destination is restricted to a local folder. This method +is described in *Note retrieving::. + +If you make a list of folders, you can use the completion +functionality for folders. To know how to make a list of folders, +please refer to *Note status-update::. + + + + +File: mew.info, Node: configuration, Next: password, Prev: folder convention, Up: Overview + +Configuration +============= + +To execute Mew, the followings are necessary either in the site +configuration file or in your "~/.emacs". + + (autoload 'mew "mew" nil t) + (autoload 'mew-send "mew" nil t) + + ;; Optional setup (Read Mail menu): + (setq read-mail-command 'mew) + + ;; Optional setup (e.g. C-xm for sending a message): + (autoload 'mew-user-agent-compose "mew" nil t) + (if (boundp 'mail-user-agent) + (setq mail-user-agent 'mew-user-agent)) + (if (fboundp 'define-mail-user-agent) + (define-mail-user-agent + 'mew-user-agent + 'mew-user-agent-compose + 'mew-draft-send-message + 'mew-draft-kill + 'mew-send-hook)) + +If you are using Emacs with the --unibyte option or the EMACS_UNIBYTE +environment variable for Latin-1, put the following into your +"~/.emacs". + + (set-language-environment "Latin-1") + (set-input-method "latin-1-prefix") ;; or "latin-1-postfix" + +If you use the following configuration for Latin-1, please remove it. +This is an obsolete handling of Latin-1 that can cause Mew to function +incorrectly. + + (standard-display-european 1) + +When booting, Mew reads the file "~/.mew.el". All Mew configurations +should be written in this file. + +To configure your e-mail address, the followings are necessary. + + ;; (setq mew-name "your name") ;; (user-full-name) + ;; (setq mew-user "user name of e-mail address") ;; (user-login-name) + (setq mew-mail-domain "domain of e-mail address") + +To send e-mail messages by SMTP, the following is necessary. + + (setq mew-smtp-server "your SMTP server") ;; if not localhost + +If you want to use POP to receive e-mail messages, the followings are +necessary. + + ;; (setq mew-pop-user "your POP account") ;; (user-login-name) + (setq mew-pop-server "your POP server") ;; if not localhost + +If you want to use a local mailbox to receive e-mail messages, the +followings are necessary. + + ;; To use local mailbox "mbox" or "maildir" instead of POP + (setq mew-mailbox-type 'mbox) + (setq mew-mbox-command "incm") + (setq mew-mbox-command-arg "-u -d /path/to/mbox") + ;; If /path/to/mbox is a file, it means "mbox". + ;; If /path/to/mbox is a directory, it means "maildir". + +If you want to use IMAP to receive e-mail messages, the followings are +necessary. + + (setq mew-proto "%") + ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name) + (setq mew-imap-server "your IMAP server") ;; if not localhost + +To read and/or write articles of NetNews, the followings are +necessary. + + ;; (setq mew-nntp-user "your NNTP account") + (setq mew-nntp-server "your NNTP server") + + + + +File: mew.info, Node: password, Next: start, Prev: configuration, Up: Overview + +Password +======== + +When fetching/sending messages or using PGP or S/MIME, you may be +required to input your password. Before you type your password, check +carefully to see if either the following conditions is satisfied: + + - Emacs is running on a local computer + - Emacs is running on a remote computer, but an encryption + mechanism is being used for communication. + +If neither of these conditions are satisfied, do not input a +password. Your password could be accessed without your knowledge. + +If you get sick of inputting your password from time to time, please +use one of two password-cache mechanisms. + + 1. Storing passwords in memory temporarily. Not writing them to a + file. + 2. Storing passwords in memory while Mew is running. When Mew/Emacs + quits, Mew encrypts the passwords and writes them to a file. + +To use Feature 1., configure as follows: + + (setq mew-use-cached-passwd t) + +To use Feature 2., install GnuPG first. GnuPG version 1.x and 2.1.23 +or later are supported for this feature. If you use GnuPG 2.1.23 or +later, put the following to "~/.gnupg/gpg.conf": + + no-auto-key-retrieve + auto-key-locate local + +Then, configure as follows: + + (setq mew-use-master-passwd t) + +If both variables are `t', the feature 2. is used. + +Feature 1.: Any passwords including POP and PGP are cached in +memory. While a password is cached, you can omit to input the +password. The cached password will expire after a certain period (20 +minutes by default). However, its timer is cleared (reset to 20 +minutes) if the password is used internally. + +Feature 2: When Mew boots, Mew asks you to input a master password. +Mew decrypts encrypted passwords in a file and caches them in memory. +For instance, if you have already typed POP password, it is to be +stored in memory. Thus, when the POP password is required, you can +omit to input it. If you use a master password at the first time, you +are asked to input it twice. When Mew boots, you might type a wrong +master password. In this case, if you enabled Feature 1., it is +used. Otherwise, no password-cache mechanisms is used. + +If you want to change the master password, type `C-cC-m' in Summary +mode. + +Cached passwords in memory are not encrypted. So, if you use either +Feature 1. or Feature 2., you should take care so that nobody can +touch your Emacs. If you leave your PC and an Emacs expert happens to +check your configuration, your passwords could be stolen. + + + + +File: mew.info, Node: start, Next: Viewing, Prev: password, Up: Overview + +Starting +======== + +To start Mew, you can choose one of the following: + +`M-x mew' + Execute Mew first unless Mew is running. And retrieve arrived + messages or just visit to the default folder. + + `proto' is determined by `mew-proto' and the "case" (see + *Note config::). + + If `proto' is `+' (i.e. a local folder), a mailbox is determined + according to `mew-mailbox-type' (see *Note retrieving::). + Otherwise (i.e. a remote folder), an appropriate protocol to + retrieve messages is chosen according to `proto'. + + If `mew-auto-get' is `t', arrived messages are asynchronously + fetched and listed up in Summary mode. + + `mew-auto-get' is `nil', just visit to the folder determined by + `proto'. +`C-uM-x mew' + Perform `M-x mew' with `mew-auto-get' reversed. +`M-x mew-send' + Enter Draft mode for message composing. +`C-xm' + Enter Draft mode for message composing if `mail-user-agent' is + configured. + +When Mew is executed on Emacs, two cute cats appear on the cover page. + +For the methods of quitting Mew, please refer to *Note Quit::. + + + + +File: mew.info, Node: Viewing, Next: singlepart, Prev: start, Up: Top + +Viewing messages +**************** + +If you input `M-x mew' (regardless Mew is running or not), Mew +displays a list of message like this: + + * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic + M03/14 Momo-chan The pictures of Noto |Attached are the pictu + 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd + +This is called Summary mode. This section mainly explains how to read +messages in Summary mode. + +As you can see the example above, the format of Summary mode consists +of a mark, data type (a mark by Mew), date, a sender, Subject:, and a +body. + +For the method of terminating Summary mode, please see *Note Quit::. + +* Menu: + +* singlepart:: Reading Basis +* multipart:: Displaying MIME +* analysis:: Controlling MIME analysis +* cipher-viewing:: Visualizing cipher or signature +* retrieving:: Getting messages +* moving:: Moving to another folder +* sum-write:: Write, answer, and forward +* features:: Useful features +* status-update:: Updating status +* invalid:: Invalid messages + + + +File: mew.info, Node: singlepart, Next: multipart, Prev: Viewing, Up: Viewing + +Reading Basis +============= + +To read messages in the order of their arrival, type `SPC' to display +them. That's it. It's easy, isn't it? + +Yet this might not be comprehensive, so the basic commands for page +processing are listed as follows: + +`SPC' + Read through messages. That is, display a message, scroll it, and + move-then-display another message. refer to *Note summary-mode:: + to know which direction the cursor moves. +`C-uSPC' + Redisplay the message from its header. +`DEL' + Back-scroll this message. Unnecessary header fields are hidden + over the window. Type `DEL' to see them when a message is + displayed. +`RET' + Make this message scroll up one line. +`M-RET' +`-' + Make this message scroll down one line. + +`C-n' + Go to the next line. +`C-p' + Go to the previous line. +`n' + Move down then display. Targets include parts, messages marked with + `*', and non-marked messages. +`C-un' + Move down then display. Targets include messages marked with `*', + and non-marked messages. +`p' + Move up then display. Targets include parts, messages marked with + `*', and non-marked messages. +`C-up' + Move up then display. Targets include messages marked with `*', + and non-marked messages. +`j' + Jump to a line according to the line number which you input. +`C-uj' + Jump to a message according to the message number which you + input. + + + +File: mew.info, Node: multipart, Next: analysis, Prev: singlepart, Up: Viewing + +Displaying MIME +=============== + +It's not difficult to read a multipart message. As usual, just type +`SPC'. + +A multipart message is marked with `M' on the left side of date as +follows: + + * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic + M03/14 Momo-chan The pictures of Noto |Attached are the pictu + 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd + +When you type `SPC' on the message marked with `M', its header is +displayed in Message mode. Then its multipart structure is displayed +in Summary mode as follows: + + * 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic + M03/14 Momo-chan The pictures of Noto |Attached are the pictu + B 2 Image/Jpeg picture 1 noto1.jpg + Q 3 Application/Postscript Note map map.ps + 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd + +If the first part is Text/, the first part is not displayed in Summary +mode but the first part is displayed with its header in Message mode. + +Each line of multipart consists of + + - marks (Content-Transfer-Encoding:) + - part number + - data type (Content-Type:) + - description (Content-Description:) + - file name (Content-Disposition:). + +Content-Description can be considered Subject: for each part. This +format is very similar to that of the attachment region in Draft mode. + +If you type `SPC' or `n', the cursor moves onto part 2 and the content +is displayed according to its data type. For instance, Text/Plain is +showed in Message mode and PostScript is visualized with "ghostview". + +Please note that `n' and `p' move lines including multipart. +To display the message below skipping multipart, type `C-un'. +Likewise, to display the message above (not this message), input +`C-up'. + +Mew processes MIME recursively. The following example is a forwarded +multipart message. + + M03/15 Kazu yamamoto Fw: The pictures of Noto |Attached are the pictu + 2 Message/Rfc822 The pictures of Noto + B 2.2 Image/Jpeg picture 1 noto1.jpg + Q 2.3 Application/Postscript Note map map.ps + +Note: We strongly recommend that you not embed any object other than +text as a top level single part to a message directly. Instead, it is +better to make a multipart message whose part 1 is a textual +description of part 2 and part 2 is a non-text object. + +A message which contains a single part other than text is displayed as +multipart. + +Since the syntax of MIME messages can be complex, it sometime takes a +bit of time to analyze the syntax. However, Mew guesses the message to +be read next and analyzes it beforehand while the user is reading the +current message. Analyzed messages are temporarily cached. + +To make it clear where the message ends, Mew displays the string "[End +of message]" in the end of the message. At the end of each part, Mew +displays the string "[Message is continued]". These strings are +customized by `mew-end-of-message-string' and +`mew-end-of-part-string', respectively. + + + +File: mew.info, Node: analysis, Next: cipher-viewing, Prev: multipart, Up: Viewing + +Controlling MIME analysis +========================= + +There are several variables for controlling message analysis. + +`mew-file-max-size' + The size limit of messages to be analyzed. If the size of a + message is less than or equal to this value, it is analyzed and + displayed. Otherwise, the raw message is displayed without + analysis. The default value is 10000 bytes. +`mew-header-max-length' + The length limit of header to be analyzed. If the length of a + header is less than or equal to this value, it is analyzed and + displayed. Otherwise, the message is displayed as fragmentarily + since the analysis is stopped. The default value is 100 lines. +`mew-decode-broken' + Whether Mew be liberal or conservative to invalid messages. If the value + is `t', the setting is liberal. If the value is `nil', the + setting is for conservative. If conservative and invalid portions are + found, they are reported in the X-Mew: field. The default value is + `t'. +`mew-use-text-body' + Whether or not the text part of a body is displayed with its + header. If the value is `t', both the body which is a single part + text and the first text part in a multipart body are displayed + with its header. If the value is `nil', they are displayed as a + single part in a multipart. The default value is `t'. +`mew-use-alternative' + How to treat Multipart/Alternative. Messages containing + Multipart/Alternative are marked with `-'. If the value is + `t', one part is displayed according to the preference defined in + `mew-mime-multipart-alternative-list'. If the value is + `nil', it is displayed as a multipart. The default value is + `t'. +`mew-use-text/html' + How to treat Text/Html. If `nil', HTML is displayed as is + (without parsing). Otherwise, HTML is parsed and displayed. The + default value is `nil'. +`mew-use-text/xml' + How to treat Text/Xml. If `nil', XML is displayed as is (without + parsing). Otherwise, XML is parsed and displayed. The default + value is `t'. + +The basic command relating to the variables above is `.'. The command +acts as follows: + +1) If this command executed on a message, the cache of the message is +removed and the message is analyzed then displayed. + +1a) If the size of the current message exceeds `mew-file-max-size', +MIME analysis is skipped then the beginning of the raw message is +displayed. In this situation, this command analyzes the current +message without the limitation then displays it. + +1b) If the length of a header exceeds `mew-header-max-length', a +broken message is displayed. In this situation, this command analyzes +the current message without the limitation then displays it. + +1c) If the current message is displayed by `:', the multipart +structure is displayed different from the normal display. In this +situation, this command gets the multipart structure back to the +normal display. + +1d) If `mew-use-text/html' is `nil', its HTML body is displayed as +is. In this situation, this command analyzes the HTML body and +displays it. + +2) If this command is called on a part, the part is displayed again. + +2a) If 'mew-use-text/html' is `nil', its HTML part is displayed as +is. In this situation, this command analyzes the HTML part and +displays it. + +In addition to `.', the following commands are prepared: + +`.' + Analyze the message and re-display it. +`C-u.' + Analyze the message with `mew-decode-broken' reversed (see + *Note invalid::). +`:' + The same as `.' with `mew-use-alternative' and + `mew-use-text-body' reversed. +`C-u:' + The same as `C-u.' with `mew-use-alternative' and + `mew-use-text-body' reversed. +`,' + Insert a message or a part into Message mode in raw format. +`C-cTAB' + Open an entire message as a file in read-only mode. +`C-uC-cTAB' + Open an entire message as a file. + + + +File: mew.info, Node: cipher-viewing, Next: retrieving, Prev: analysis, Up: Viewing + +Visualizing cipher or signature +=============================== + +Basic commands such as `SPC' visualize messages signed or encrypted as +well. Let's start with a simple example: + + S03/18 Kanda PC shop A written estimate |Here is a written esti + E03/21 Anonymous Secret message | + +Messages above are marked with `S' and `E', respectively. This means +that the body of the first message is signed and that of the second +message is encrypted. + +PGP/MIME and/or S/MIME also allow to sign and/or encrypt some parts of +a message. In this case, these marks do not appear. The `S' or `E' +mark appears only when the entire body of the message is signed or +encrypted. + +The terms "sign" and "encrypt" used above mean the last procedure +applied the body is "sign" and "encryption", respectively. The above +examples may have been produced with more complex processes. For +instance, in the case of the former message, the body may have been +signed after encrypting the body. It is likely that some part of the +latter message was first signed then the body was encrypted. + +If some parts or the entire body is encrypted, Mew asks you to input +your pass-phrase to get plain text. Please refer to *Note start:: to +know what you should pay attention when inputting pass-phrase. The +pass-phrase is used to decrypt your secret key. The secret key is then +used to decrypt cipher text. + +To visualize a cipher message, you need to input your pass-phrase +every time you encounter cipher text. This is because Mew does not +cache pass-phrases anywhere for security reasons. If you feel this is +inconvenient, you can configure Mew to cache your pass-phrase. Please +refer to *Note password:: for more information. + +Since decrypted messages are cached for a while, you may not be asked +for your pass-phrase at the next time you display the message, even if +you are not using the pass-phrase cache. + +To verify signatures, senders' public keys are used. Hence you are not +asked to type your pass-phrase. + +Since Mew automatically verifies signatures and/or decrypts cipher +text with a pass-phrase, it is likely that users do not notice that +the original message has signatures and/or which parts were encrypted. + +To inform users the results of verification of signatures or which +parts were decrypted, Mew inserts the X-Mew: field in the header as +follows: + + X-Mew: PGP decrypted. + Good PGP sign "kazu@example.org" COMPLETE + +The number enclosed by "<>" indicates which part was protected with +PGP. "body" means the body was protected. This example tells us that +the body was singed by kazu then encrypted for the reader. Mew first +decrypted the message and then verified its signature of the decrypted +message. The fact that the signature is valid indicates that no one +has modified the content of the message since it was signed by the +secret key whose ID is kazu@example.org. The validity of the public +key used to verify the signature is "complete". Thus, the receiver can +be sure that the public key actually belongs to the user indicated by +the ID. That is, this message was verified by a reliable public key +AND its results were correct, so no alternation was found. + +In the following example, the signature of the body (multipart), is +first verified, then part 2 (a message), is decrypted. That is, the +composing process was that part 2 is first encrypted then the entire +body is signed. + + X-Mew: Good PGP sign "kazu@example.org" COMPLETE + X-Mew: <2 message> PGP decrypted. + +Intelligent users may wonder what happens in the case where a devious +person sends a message that contains an invalid X-Mew: field. This is +not a problem. First Mew carefully removes the X-Mew: field, and then +inserts a valid X-Mew: field into the header. + +About PGP/MIME: + +X-Mew: informs the user of various other types of results. For +example, the lack of availability of a public key, decryption +failures, etc. The following example indicates the absence of a public +key whose key ID is 0x1B8BF431. + + X-Mew: No his/her public key. ID = 0x1B8BF431 + +In this case, if you type `C-cC-f', Mew tries fetching this public +key. You can interactively select a public key server. If the X-Mew: +field does not exist, `C-c C-f' takes the From: field as ID. Also, +`C-uC-cC-f' extracts key IDs from fields specified in +`mew-x-pgp-key-list' in addition to the X-Mew: field, and then tries +to fetch them. + +Mew supports PGPv2, PGPv5, and GNUPG. You can select one of these by +typing `C-cC-v' in Summary mode. If you want to use those PGPs, you +should set the command name of PGPv2, PGPv5, and GNUPG to +`mew-prog-pgp2', `mew-prog-pgp5', and `mew-prog-gpg', +respectively. Also, set the default PGP name to `mew-prog-pgp'. Note +that pass-phrases are cached independently for each PGP. + +Old fashioned PGP messages cannot be processed automatically. You can +decrypt and/or verify this kind messages with `C-cC-z'. + + + +File: mew.info, Node: retrieving, Next: moving, Prev: cipher-viewing, Up: Viewing + +Getting messages +================ + +To copy arrived messages to your mailbox to +inbox and list up a list of +the messages, use `i'. The mailbox is determined according to +`mew-mailbox-type'. (When you type `M-x mew' and if +`mew-proto' is `+', messages are also copied according to +`mew-mailbox-type'.) Here are summary of its values. + +`'mbox' + A local mailbox. "incm" is used to copy messages for the local + mailbox by default. To know how to configure it, see *Note + configuration::. +`'pop' + A POP server. To use POP as it is. (This is a default value.) +`'imap' + An IMAP server. This is not recommended. + +To flush a list of messages in a local folder and display them again, +use `s'. + +To retrieve messages or flush-then-retrieve messages again in a remote +folder, type `s'. It is recommended to use `s', not `i', for IMAP and +NetNews. + +If you use `s', it asks you a range. Here are a summary of important +ranges for Mew. + +`update' + From "the last message in the Summary mode + 1" to "the last + message in the corresponding folder". That is, the gap between + the Summary mode and the existing folder +`all' + All messages in the folder. When Summary mode in a local folder + becomes inconsistent, use this range to flush the list. For a + remote folder, this range results in retrieval of all messages + again. +`sync' + Deleting cache messages whose originals were removed in the + server side. Valid for remote folders only. + +The default range both for +draft, +queue, and +postq is `all'. For +other folders, the default is `update'. So, just type `RET' after `s' +to get the up-to-date list of the current folder except +draft, ++queue, and +postq. + +Although they are not especially important in Mew, you can specify the +following ranges: + +`-' + From to . Valid for local folders only. +`-' + From to the last. Valid for local folders only. +`-' + From the first to . Valid for local folders only. +`last:' + Last messages. + +If you execute `s' with `C-u' on a remote folder, you can +toggle "copying a header only" and "copying both a header and a body". +This action can be defined by `mew-pop-header-only', +`mew-imap-header-only', and `mew-nntp-header-only' for POP, +IMAP, and NNTP, respectively. The default values of these are +`nil', that is, "copying both a header and a body". + +Messages that are of large size may be truncated. This kind of message +is marked with `T'. To retrieve the rest of this kind of message, type +`I' on the message. + +Suppose that there is a message marked with `T' in $inbox. If you type +`I' on it, you can retrieve the entire message. + +Here is a summary of the commands concerned with message retrieval: + +`i' + In a local folder, fetch arrived messages, store them to the +inbox + folder and create a list. If `mew-auto-flush-queue' is `t', + send messages in +queue. Please refer to *Note send:: for more + information. In a remote folder, visit to its inbox folder and execute + `s' + `update'. +`C-ui' + Perform `i' with `mew-auto-flush-queue' reversed. +`I' + Retrieve the rest of a truncated(`T') message. + + If you use this command in a local folder, a method to retrieve + the message is determined by the "case" and + `mew-mailbox-type'. If `mew-pop-delete'/`mew-imap-delete' is `t', + delete the message from the mailbox. + + If you use this command in a remote folder, a "case" and protocol + is determined by the folder. The message in the server side is + always retained. +`C-uI' + Perform `I' with `mew-pop-delete' or `mew-imap-delete' reversed. +`s' + List up messages in Summary mode or flush them. +`C-us' + On a remote folder, list up messages in Summary mode by toggling + "copying a header only" and "copying both a header and a body". +`lc' + Copy a cached message in a remote folder to a local folder. + + + +File: mew.info, Node: moving, Next: sum-write, Prev: retrieving, Up: Viewing + +Moving to another folder +======================== + +To go to another folder, type `g'. Mew asks you to input a folder name +as follows: + + Folder name (+inbox): + + +Let's call the right side of ":" 'writable area'. In this example, +proto "+" is displayed in the writable area. Typing an appropriate +string following proto and typing `RET' decides a folder name, then +Mew moves to the folder. + +When you move to a folder and if Mew finds its list of messages old, +Mew automatically displays the differences. + +The string in "()" is a default. If you specifies "+" by simply typing +`RET', Mew considers that the default folder name is specified. + +To make use of completion, type `TAB' or `SPC'. + +Now, lets get back to the state just after typing `g'. + + Folder name (+inbox): + + +If you want to change, for example, "+" to "%", you have to delete "+" +first then type "%" in normal situation. But this is inconvenient. So, +typing "%" just after "+" removes "+" automatically. Like this, typing +another proto just after a proto replaces the previous one without +deletion. + +When you type a remote folder, you may want to specify the "case" +(described in *Note config::). The "case" must be specified before a +folder, separated by ":". Consider moving "%inbox" for a "case" +"home". In this case, you should type "home:%inbox". Yes, this is +inconvenient. So, typing `C-cTAB' in any position does circular +completion for available "cases". Let's look at the following example. + + Folder name (+inbox): %inbox + +Typing `C-cTAB' here results in the following: + + Folder name (+inbox): home:%inbox + +You may want to search a folder by specifying a substring of the +folder. For this purpose, `C-s' and `C-r' are available. The +following is the state of the minibuffer after typing `C-s'. + + Folder name (+inbox): () + +"()" appeared in the writable area indicates you have switched to +search mode. While you are typing here, a matched candidate is shown +in "()". The following is the case where a search key is "mew". + + Folder name (+inbox): (+work/mew-release) mew + +To select the matched candidate, type `RET'. Then the search mode is +finished and the matched candidate is displayed in the writable area. + + Folder name (+inbox): +work/mew-release + +Typing `RET' again means that you decide the folder. + +A list of folders to be searched is decided by a combination of "case" +and proto. When you enter the search mode by typing `C-s' or `C-r', a +pair of "case" and proto is extracted from the writable area, and a +list of folders is selected according to the pair. + + + +File: mew.info, Node: sum-write, Next: features, Prev: moving, Up: Viewing + +Write, answer, and forward +========================== + +Please use the following commands for writing, replying, and +forwarding messages. + +`w' + Write a message. A new draft is prepared in Draft mode. Please refer to + *Note Composing::. +`C-uw' + Write a message. A new draft is prepared in Draft mode. The From: + address of the current message is copied to the To: field in the + draft. +`W' + Send a message by modifying a part of the header of another + message. Please refer to *Note resend::. +`a' + Answer to this message. A new draft is prepared in Draft + mode. Mew automatically inserts the content of the fields To: and + Cc:. Please refer to *Note reply::. +`C-ua' + Answer to this message only to the sender. +`A' + Answer to this message. A new draft is prepared in Draft + mode. Mew automatically inserts the content of the fields To: and + Cc: and cites the body. Please refer to *Note reply::. +`C-uA' + Answer to this message only to the sender with citation. +`f' + Forward this message to a third person. A new draft is prepared in Draft + mode and this message is automatically attached. Please refer to + *Note forward::. +`F' + Forward messages marked with `*' to a third person. A new draft is + prepared in Draft mode and this message is automatically attached. For + more information, refer to *Note target mark::. Please refer to + *Note forward::. + +If an error message returns, please try again with the following +commands. + +`E' + Edit this message again to retry sending. Or edit this RFC822 + part typically included in a MIME-encapsulated error message. + + 1. In +draft, the message is just edited. + 2. In +queue or +postq, the message is moved to +draft and is + edited. + 3. Otherwise, the message is copied to +draft and is edited. + + For +draft, +queue, and +postq, the "case" revives. + + For the other folders, if `mew-case-guess-when-prepared' is `t', + each field of the original header is replaced according to a + guessed "case". For more information, see *Note config::. +`C-uE' + The same as `E'. But, when used for other folders than +draft, + +queue, and +postq, the original header is retained even if + `mew-case-guess-when-prepared' is `t'. + + + +File: mew.info, Node: features, Next: status-update, Prev: sum-write, Up: Viewing + +Useful features +=============== + +Mew provides you with the following useful commands in Summary mode: + +`v' + Toggle "Summary mode only" and "Summary & Message mode". If you + choose "Summary mode only", you can quickly put the `D' mark + since the next message is not displayed. +`_' + Toggle normal lines, wrapped lines and long lines. +`zv' + If `mew-use-header-veil' is non-nil, field lines of To: and Cc: + over `mew-header-veil-count' are covered with invisible + veils. This commands toggles visibility of these lines. + `mew-use-header-veil' and `mew-header-veil-count' are default to + `t' and 4, respectively. +`M-l' + Make the current line the center of the Summary mode. +`C-cC-s' + Incremental search forward in Message mode. +`C-cC-r' + Incremental search backward in Message mode. +`y' + Save this message or this part into the file whose name is + specified by you. +`b' + Save the buffer of Message mode as is into the file whose name is + specified by you. +`C-uy' + Save this message or this part into the file whose name is + specified by you, specifying coding-system for text. +`#' + Print the content of Message mode according to + `mew-print-function'. +`C-u#' + Print the content of Message mode with a specified printer name. +`|' + Send the content of Message buffer to a command via pipe. +`C-u|' + Send the body of Message buffer (excluding its header) to a + command via pipe. +`\' + Executing an external command specifying this message as an + argument. +`B' + De-capsulate embedded messages in MIME format. +`C-uB' + Decompose embedded files in this message. +`C-cC-a' + Register the information on the current message to Addrbook + (*Note addrbook::). +`C-cC-v' + Select PGP version (*Note cipher-viewing::). +`C-cC-z' + Let PGP decrypt and/or verify old fashioned PGP messages (*Note + cipher-viewing::). +`C' + Change the value of the "case". For more information, please refer to + *Note config::. +`=' + Display the folder name of this message and the message + number. If this is a cache message, both the unique id and the + size are also shown. The full path to the message is set to the + cut buffer of your window manager. +`;' + Parse the Received: fields and display them in Message mode. +`Rd' + Delete this folder. +`Rr' + Rename this folder. + + + +File: mew.info, Node: status-update, Next: invalid, Prev: features, Up: Viewing + +Updating status +=============== + +In some cases of configuration modifications, you have to update +status to reflect them. When you think configuration modifications +don't make any effects or some errors occur, use one of the following +commands: + +`Z' + Update information including Addrbook (*Note addrbook::). +`C-uZ' + Update information about folders of the current world. + +Here is a summary of toggle commands. + +`z8' + Toggle 8bit mode (i.e. `mew-use-8bit'). +`zc' + Clean-up caches of analyzed messages. +`zd' + Toggle `mew-debug'. +`zo' + Toggle PGP/MIME or old-fashioned PGP (`mew-use-old-pgp') when + composing with shortcut methods. +`zp' + Toggle decode policy (i.e. `mew-decode-broken'). +`zv' + Toggle whether or not veil is used in Message + mode(`mew-use-header-veil'). +`zw' + Toggle warning level. If `mew-warning-field-level' is 2, set it + to 1. If `mew-warning-field-level' is 1, set it to 2. + + + +File: mew.info, Node: invalid, Next: Composing, Prev: status-update, Up: Viewing + +Invalid messages +================ + +The following message contains Japanese text in its body. The charset +parameter is not specified in the Content-Type: field. So, the body +should be treated as US-ASCII. + + To: piglet + Subject: an invalid message + From: pooh + MIME-Version: 1.0 + Content-Type: Text/Plain + + Japanese comes here. + +The following header is invalid as well. + + From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" + +The string delimited by "=?" and "?=" in the above example was +originally Japanese. Since the spec of mail limits the content of +headers to ASCII characters, if a string whose character set is other +than ASCII, is to be stored in a header, the string must be encoded +with ASCII strings according to the defined rule. But it is certainly +invalid to embed the ASCII strings with `"'. Strings surrounded by `"' +are treated as is. Therefore, the string between "=?" and "?=" in the +example will not be decoded into Japanese. + +Several mailers are careless about the spec and regularly violate +these rules. The right way to do is ask the programmers of such +mailers to make the programs conformant to the spec. However, since +there are so many mailers of this kind around the world, Mew tries to +decode as many different formats as possible. In these cases Mew +displays warnings such as: + + X-Mew: Charset for body is not specified. + To: has encoded-words in quoted text. + +If you want to decode messages strictly, set `mew-decode-broken' to +`nil'. This value can be toggled dynamically by `C-u.' (see +*Note singlepart::). + +The following message is displayed as a mess since the character set +specified with the charset parameter and the actual character set of +its body are different. + + Content-Type: Text/Plain; charset=ISO-2022-JP + + Japanese text written in Shift_JIS + +By using `C-cC-l', the text is re-displayed with charset guessed +according to a specified language, ignoring the character set +specified by the charset parameter. If you type `C-uC-cC-l', you can +re-display the text by specifying a character set explicitly. + + + + +File: mew.info, Node: Composing, Next: header, Prev: invalid, Up: Top + +Composing messages +****************** + +This section explains how to compose a message. + +Methods to enter Draft mode to write a new message are given below. + + 1. Type `M-x mew-send'. + 2. Type `C-xm' if `mail-user-agent' is configured. + 3. Press `w' in Summary mode. + +Then a buffer like the following is prepared. + + To: + Subject: + From: Kazu Yamamoto + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + +We call this "Draft mode". In Draft mode, we call the region above +"----" the header, and the region below "----" the body. + +Also, replying a message (`a' or `A') and/or forwarding messages (`f' +or `F') lead you to Draft mode from Summary mode. + +Drafts are temporarily stored in the +draft folder. You can write +multiple messages simultaneously. + +For the method of deleting a prepared draft, please refer to +*Note Quit::. + +Now let's see how to use Draft mode. + +* Menu: + +* header:: Completions in a header +* cheader:: Circular completions in a header +* addr-comp:: Address Completion +* addrbook:: Address book +* auto-alias:: Learning addresses +* addr-comp1:: Address Completion(1) +* addr-comp2:: Address Completion(2) +* send:: Sending a message +* cite:: Signature and citation +* mime-comp:: Composing multipart +* charset-guess:: Defining charset +* longline:: Handling long lines +* reply:: Replying to a message and deciding recipients +* forward:: Forwarding messages +* resend:: Re-sending messages +* shortcut:: Creating signature or cipher message +* mark-b-comp:: Mark based composer +* pgp-key:: PGP key distribution +* anonymous:: Sending messages with anonymous receivers + + + +File: mew.info, Node: header, Next: cheader, Prev: Composing, Up: Composing + +Completions in a header +======================= + +In the header, completions for each field are assigned to `TAB' as +follows: + + - Field completion + - Address completion (To:, Cc:, etc) (see *Note addr-comp::) + - Folder completion (Fcc:) + + + +If the cursor is at the beginning of a line and the previous line does +not end with ",", you can complete field defined in the +`mew-fields' variable with `TAB'. + + To: kazu@example.org + R`TAB' + +At the point above, if you type `TAB', you get: + + To: kazu@example.org + Reply-To: + + + +At a point, such as Fcc:, you can complete folder name with +`TAB'. For example: + + Fcc: `TAB' + +Here, "+" is completed. + + Fcc: +`TAB' + +One more type of `TAB' shows candidates. Please type in the +appropriate characters then type `TAB'. + + Fcc: +b`TAB' + +If a single candidate can be determined, you get a completion. + + Fcc: +backup + + + +File: mew.info, Node: cheader, Next: addr-comp, Prev: header, Up: Composing + +Circular completions in a header +================================ + +In a header, circular completions are assigned to `C-cTAB'. Circular +completion means that a value of a list is replaced by the next value +of the list. The end of the list is considered continuous to the top +of the list. Circular completions in a header are different for each +field as follows: + + - Circular completion of domain name (To:, Cc:, etc) + - Circular completion of From: (From:) + + + +On a field where addresses are written, use `C-cTAB' for domain +completion. Candidates are selected from `mew-mail-domain-list'. + + To: kazu@`C-cTAB' + +If you try to complete just after "@" as up above, the first domain of +`mew-mail-domain-list' is inserted. + + To: kazu@example.org`C-cTAB' + +After completion, pressing `C-cTAB' one more times inserts the next +domain of `mew-mail-domain-list'. This completion is looped. + + To: kazu@example.jp + +If a single candidate can be determined, it is inserted. + + To: kazu@w`C-cTAB' + +The above example gives: + + To: kazu@example.jp + + + +In Draft mode, the From: field is inserted with the format of +"mew-name ". + + From: Kazu Yamamoto + +On the From: field, `C-cTAB' circularly completes its value from +`mew-from-list'. You can set `mew-from-list' by yourself. Also, +`mew-from-list' can be set automatically. For automatic setup, please +refer to *Note config::. + +Typing `C-cTAB' anywhere on the value replaces the value with the next +value of `mew-from-list'. For example, + + From: Kazu Yamamoto `C-cTAB' + +becomes as follows: + + From: Kazuhiko Yamamoto + + + +File: mew.info, Node: addr-comp, Next: addrbook, Prev: cheader, Up: Composing + +Address Completion +================== + +You can complete addresses on To: or Cc:. This completion command is +bound to `TAB'. + + To: kazu`TAB' + +When you type `TAB' after a part of an address as the example above, +the entire address is completed as follows: + + To: kazu@example.org + +There are three kinds of registered addresses to be used for the +completion. + + 1. The expansion rule in an address book + 2. The personal information in the address book + 3. Learned addresses when sending + +Mew provides two ways to complete addresses. You can select one of +them with `mew-use-full-alias', which is default to `nil'. + +If `mew-use-full-alias' is `nil', the portion before `@', a user name +or a short name, is a target of the completion. When you type `TAB', +the user name is completed. And if the user name is uniquely completed +and you type `TAB' again, it is expanded to its entire address. Let's +call this Address Completion(1). + +An advantage of Address Completion(1) (*Note addr-comp1::) is that you +can use the completion/expansion against the three kinds of addresses +seamlessly. You can also explicitly expand the user name with `TAB' as +described later. A disadvantage is that user names must be unique. So, +if a user name is already registered, other addresses with the same +user name cannot be learned. + +If `mew-use-full-alias' is `t', for learned addresses when sending, +completion target is an entire address. Let's call this Address +Completion(2). + +An advantage of Address Completion(2) (*Note addr-comp1::) is that Mew +can learn addresses whose user names are the same. One of +disadvantages is that only the first address of personal information +can be used (the other addresses are useless). And for the explicit +expansion, you have to type `M-C-e', a different key from +`TAB'. + + + +File: mew.info, Node: addrbook, Next: auto-alias, Prev: addr-comp, Up: Composing + +Address Book +============ + +Mew provides an address book ("~/Mail/Addrbook). The address book has +2 formats. One specifies expansion rules, while the other defines +personal information. + +First, let's look at the format that specifies expansion rules. + + : [, , ,...] + +In this way, you should specify a short name and a full address +separated by `:'. If you want to expand the short name to multiple +addresses, you can delimit them with a comma `,'. (This is exactly +same as addresses delimited by `,' in the To: field, for instance.) A +space SPC is allowed after the comma `,'. For example: + + pooh: winnie-the-pooh@example.net + piglet: piglet@example.org + friends: pooh, piglet + + + +Next, the format to define personal information is shown below: + + [, , ,...] + +In this way, four elements are separated by SPC. is a short +name. and are the person's nickname and full name, +respectively. (For proper usage of the nickname, please refer to +*Note summary-mode:: and/or *Note draft-mode::.) + +The second element is the addresses. If the person has multiple +addresses, delimit them using `,'. SPC is allowed after `,', which +means that it does not function as the delimiter. SPC surrounded by +quotes `"' also has no delimiting function here. For example: + + kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" + +In the personal information format, you can omit any element. When you +want to omit an intermediate element, specify `*'. The following is an +example to define nicknames for addresses. + + * kazu@example.org, kazu@example.net Kazu-kun + +The nickname is used to replace addresses in Summary mode and to +replace the citation prefix (*Note cite::) in Draft mode. + +The comment letters are `;' and `#'. `;' is valid only +when it appears at the beginning of lines, resulting in the disregarding +of the entire line. The comment marker `#' is valid everywhere. The +strings between `#' and the end of the line are ignored. Also, +`\' means a continuous line. + + + +Summary mode includes the feature of directly registering the +information of the current message into Addrbook. To register a +expansion rule, type `C-cC-a'. + + #If you want to register this entry, type 'C-c C-c'. + #If you want to NOT register this entry, type 'C-c C-q'. + Shortname: kazu + Addresses: kazu@example.org + Comments: + +To register personal information, type `C-uC-cC-a'. + + #If you want to register this entry, type C-c C-c. + #If you want to NOT register this entry, type C-c C-q. + Shortname: kazu + Addresses: kazu@example.org + Nickname: + Name: Kazuhiko Yamamoto + Comments: + +Add or modify the information if necessary. To register this +information, type `C-cC-c'. To quit the registration, type +`C-cC-q'. You should also refer to *Note Quit::. + +If you want to use characters of multiple languages, put the following +onto the beginning of Addrbook. + + #-*-coding:ctext;-*- + + + + +File: mew.info, Node: auto-alias, Next: addr-comp1, Prev: addrbook, Up: Composing + +Learning addresses +================== + +When you send a message, addresses on the To: and Cc: field are +automatically registered. Consider the following: + + To: kazu@example.org + +In the case of Address Completion(1) (*Note addr-comp1::): When this +message is sent, a short name "kazu" is automatically registered for +the address "kazu@example.org". If there is already a short name of +"kazu", the next action is decided according to +`mew-addrbook-override-by-newone'. If `nil', the old entry +remains. Otherwise, the new entry overrides the old one. When +expanded, the address book short name has priority over the automatic +short name. Only automatic short names which are not contained in the +address book are valid. + +In the case of Address Completion(1) (*Note addr-comp2::): When this +message is sent, the address "kazu@example.org" is automatically +registered. + +The limit number of automatic short names is 2000 +(`mew-lisp-max-length'). Once the number exceeds 2000, the tail +entries in the alphabetical order are removed. This information is +automatically saved to the file "~/Mail/.mew-alias". + +The automatic registration would register unnecessary short names. If +you want to remove these entry, take the following steps. First, type +`M-a' to open "~/Mail/.mew-alias". Then edit it as you do against a +text file. Lastly, type `C-xC-s' to save it. When saving it, the +modifications are automatically reflected to Mew. + +The formats of Address Completion (1) and (2) are different. When you +change the value of `mew-use-full-alias' to switch one to the other, +type `Z' once in Summary mode. This converts the format properly. + + + +File: mew.info, Node: addr-comp1, Next: addr-comp2, Prev: auto-alias, Up: Composing + +Address Completion(1) +===================== + +As far as Address Completion (2) is concerned, there is an assumption: +user names or short names of expansion rules, personal information and +learned addresses are unique. + +For example, consider the following configuration of expansion rules: + + pooh: winnie-the-pooh@example.net + +When you are in a header in Draft mode, working within an address +field, after typing one or more characters, you can complete a short +name for an address by pressing the `TAB' key. + + To: piglet@example.org, + po`TAB' + +If you press the `TAB' key, "pooh" is completed (unless other +candidates exist). + + To: piglet@example.org, + pooh`TAB' + +One more press of the `TAB' key expands the name to +"winnie-the-pooh@example.net". + + To: piglet@example.org, + winnie-the-pooh@example.net + +A string ending with "@" is explicitly expanded. Please pay attention +to the following case where similar short names are defined. + + pooh: winnie-the-pooh@example.net + pooh-pooh: pooh-pooh@example.org + +It is obvious that "pooh-" is completed to "pooh-pooh". But if you +input "pooh", Mew cannot tell whether it should be expanded or +completed to "pooh-pooh". Thus, if you want to explicitly complete +"pooh" to "winnie-the-pooh@example.net", insert `@' and type +`TAB'. + + To: pooh@`TAB' + +Explicit expansion can be accomplished by `M-C-e' instead of insertion +of `@'. + +The explanation above can be applied to learned addresses when +sending. + +The format of personal information means that each subsequently +generated address will replace the former one. For example: + + kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" + +Let's watch how it will be converted: + + To: kazu`TAB' + +Typing `TAB' after "kazu" generates "kazu@example.org". + + To: kazu@example.org`TAB' + +Typing `TAB' after "kazu@example.org" brings about "kazu@example.net". + + To: kazu@example.net`TAB' + +Then "kazu@example.org" will appear again if you type `TAB' +after "kazu@example.net". In this way, each address is replaced +one by one. + +After deciding an address, you can add its full name. + + To: kazu@example.org`M-TAB' + +Like this, typing `M-TAB' replace the address with the following +format. + + To: Kazuhiko Yamamoto + + + +File: mew.info, Node: addr-comp2, Next: send, Prev: addr-comp1, Up: Composing + +Address Completion(2) +===================== + +As far as Address Completion(2) is concerned, for learned addresses +when sending, the entire addresses are completion targets. For +expansion rules in the address book, short names are completion +targets and unique short names are expanded to corresponding +addresses. For personal information in the address book, short names +are completion targets and unique short names are expanded to their +first addresses. + +When you are in a header in Draft mode, working within an address +field, after typing one or more characters, you can complete a short +name or a learned address by pressing the `TAB' key. + +Suppose that kazu@example.org is already learned. + + To: ka`TAB' + +When you type some characters and press `TAB', its address is +completed: + + To: kazu@example.org + +Also suppose that "kazunori@example.jp" is learned. To expand a user +name to "kazu@example.org", you should input "kazu@". To convert it +to "kazunori@example.jp", you need to input "kazun". + +For expansion rules and personal information, `TAB' completes short +names first. You can expand a unique short name to corresponding +address with `TAB'. + +For example, consider the following configuration of expansion rules: + + pooh: winnie-the-pooh@example.net + +Let's complete "pooh": + + To: po`TAB' + +If you press the `TAB' key, "pooh" is completed (unless other +candidates exist). + + To: pooh`TAB' + +One more press of the `TAB' key expands the name to +"winnie-the-pooh@example.net". + + To: winnie-the-pooh@example.net + +A problem occurs when a short name is not unique. Consider the +following example: + + pooh: winnie-the-pooh@example.net + pooh-pooh: pooh-pooh@example.org + +It is obvious that "pooh-" is completed to "pooh-pooh". But if you +input "pooh", Mew cannot tell whether it should be expanded or +completed to "pooh-pooh". Thus, if you want to explicitly complete +"pooh" to "winnie-the-pooh@example.net", type +`M-C-e'. (There is no way to accomplish this with `TAB'.) + + To: pooh`M-C-e' + +This example is explicitly expanded as follows: + + To: winnie-the-pooh@example.net + + + + +File: mew.info, Node: send, Next: cite, Prev: addr-comp2, Up: Composing + +Sending a message +================= + +When you are ready to send a message after completing composition, +choose one of the following two commands. + +`C-cC-m' + Compose a message, put it into +queue or +postq, and leave it for + later sending. +`C-cC-c' + Compose a message and send it. You receive the prompt: "Really + send this message? (y or n) ". Type `y' to send it. + +Let's look at how a message is modified when sent. Please see the +following example: + + To: pooh + Subject: the next Sunday + From: Piglet + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + Would you like to play with me next Sunday? + + // Piglet + +This message is modified as follows, for example, if it is put into ++queue or +postq by `C-cC-m'. + + Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST) + Message-Id: <20000313.194950.59499544.piglet@example.org> + To: winnie-the-pooh@example.net + Subject: the next Sunday + From: Piglet + X-Mailer: Mew version 6.8 on Emacs 26.1 + Mime-Version: 1.0 + Content-Type: Text/Plain; charset=us-ascii + Content-Transfer-Encoding: 7bit + + Would you like to play with me in the next Sunday? + + // Piglet + +As you can see, Data: and Message-Id: are added. You should note that +both its data type and its character set are guessed correctly and +added. + +When composing a message using `C-cC-m' and `C-cC-c', you can make use +of a feature that identifies errors in a header. + +Suppose you set `mew-ask-subject' to `t'. If Subject: is +empty, Mew asks you its value. If you want to leave it empty, just type +`RET'. The default value of this variable is `nil'. + +Suppose you set `mew-ask-fcc' to `t'. If there is a folder that +doesn't exist, Mew asks you whether or not you want to create it. If +you want to create it, type `y'. Otherwise, type `n'. If you type `n', +sending is aborted and the cursor returns to the draft. The default +value of this variable is `nil'. + +Mew asks you to input your password for sending if the server requires +user authentication. Historically speaking, passwords are not +necessary to send e-mail messages. This is one reason why e-mail +addresses can be faked. In the near future, passwords are always +required for sending messages as are for receiving messages. + +There are two ways to send messages waiting in +queue. Please note +that both of these are commands in Summary mode. + +`i' + If `mew-auto-flush-queue' is `t', the messages being held in + +queue will be sent after the incoming messages have been received. + This method is appropriate for dial-up environments, since one can save + on connection fees and repeated authentication for sending. + `mew-auto-flush-queue' is default to `t'. +`C-cC-c' + Send messages in +queue. Method is appropriate if you like to + preview composed messages first in +queue and then send them. If + `mew-ask-flush-queue' is `t', you are asked, Flush queue? (y or + n) ". `mew-ask-flush-queue' is default to `nil'. + + + +File: mew.info, Node: cite, Next: mime-comp, Prev: send, Up: Composing + +Signature and citation +====================== + +Next is the explanation of the commands for processing the text in the +body of the message. + +The first one is signature. To insert your signature file +("~/.signature") on the cursor point, type `C-cTAB'. You can define +your own signature file to `mew-signature-file'. Setting +`mew-signature-as-lastpart' and `mew-signature-insert-last', you can +customize the action of `C-cTAB'. + +`C-cTAB' + Insert "~/.signature" on the cursor point. + +The next one is citation. If you use `a' or `A' in Summary mode, a +draft for reply is opened up and Emacs is split into three +windows. The top is Summary mode, the middle is Message mode, and the +bottom is Draft mode. + +Here are the commands for citing text from Message mode to Draft mode. + +`C-cC-y' + Copy and paste a part of a message from Message mode WITH + citation prefix and label. + 1. Roughly speaking, it copies the body in Message mode. For + example, if Text/Plain is displayed, the entire Message mode + is copied. If Message/Rfc822 is displayed, the body without + the header is copied. + 2. If you type `C-uC-cC-y', the header is also copied if + exists. + 3. If an Emacs mark exists, the target is the region between + the mark and the cursor. +`C-cC-t' + Copy and paste a part of the message from Message mode WITHOUT + citation prefix and label. + +The default label and prefix is as follows: + + From: SUMIKAWA Munechika + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + > Hi, it's Sumikawa, the guy who's neat from good morning + > to good night. + > + > Talking about the wonderful wine party, I would propose + > Cabernet Sauvignon, Bordeaux, '90. + +In Draft mode, you can cite any text displayed in Message mode. So, +you can cite text from multiple messages easily. Select a message in +Summary mode and display it in Message mode, then cite it in Draft +mode. Please repeat this procedure as you like. Triple windows are +opened for this purpose. + + +When highlighting gets wrong, type `C-cC-l' to re-highlight both the +header and the body + + + +File: mew.info, Node: mime-comp, Next: charset-guess, Prev: cite, Up: Composing + +Composing multipart +=================== + +Now let's see how to create multipart messages. + +When you are writing a message in +draft/1 and type `C-cC-a', the +following lines are inserted at the bottom of the draft. + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +"1/" is a temporary directory to create multipart and provides a +location for "~/Mail/attach/1". The part 1, "CoverPage", refers to the +body. Now the entire draft looks like: + + To: mew-dist + Subject: This is header + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + This is the body. + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +Here we designate three regions as follows: + + * the region above "----" `header' + * the region from "----" to "attachments" `body' + * the region below "attachments" `attachments' + +In Draft mode, the key bindings differ according to the region. + +To `TAB', for instance, the following functions are assigned: + +header + Completions. +body + Insert TAB. +attachments + Do nothing. + +To `c', functions are assigned as follows: + +header + Insert c. +body + Insert c. +attachments + Copy a file. + +The following is a summary of commands in the attachments region. + +`C-p' + Go to the previous file in the current directory. +`C-n' + Go to the next file in the current directory. +`C-f' + Go to the first subdirectory. +`C-b' + Go to the parent directory. +`c' + Copy a file (possibly via networks) on ".". To copy a remote + file, use the "/[user@]hostname:/filepath" syntax. +`l' + Link a file with a symbolic link on ".". If you want to edit the + attached file, you should `c' instead of `l' so that you do not + edit the original file. +`d' + Delete this file or this directory. +`m' + Create a subdirectory (i.e. multipart) on ".". +`f' + Open this file into a buffer. +`F' + Open a new file into a buffer on ".". +`y' + Link the message which is displayed in Message mode on ".". +`e' + Input external-body on ".". +`a' + Sampling voice and insert as audio file on ".". +`p' + Extract the PGP key for the specified user on ".". +`D' + Input a description (Content-Description:). +`T' + Change the data type (Content-Type:). +`t' + Toggle text and binary for the data type. +`I' + Specify input coding-system for a Text/* object. +`C' + Specify output coding-system for a Text/* object. +`P' + Specify a file name (Content-Disposition:) to save this part in the + receiver side. If you type just `RET' without any string, its value + is cleared. Then the file name in the sender side is displayed with + `*'. + +In attachments, data types are guessed by suffix. The currently +supported suffixes are as follows: + + .txt Text/Plain + .html Text/Html + .xml Text/Xml + .rtf Text/Enriched + .css Text/Css + .sgml Text/Sgml + [0-9]+ Message/Rfc822 + .ps Application/Postscript + .pdf Application/Pdf + .doc Application/Msword + .xls Application/Vnd.Ms-Execl + .ppt Application/Vnd.Ms-Powerpoint + .vsd Application/Vnd.Visio + .dat Application/Ms-Tnef + .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll + Application/Octet-Stream + .gif Image/Gif + .tiff Image/Tiff + .jpe?g Image/Jpeg + .png Image/Png + .xwd Image/X-Xwd + .xbm Image/X-Xbm + .xpm Image/X-Xpm + .bmp Image/X-Bmp + .pcx Image/X-Pcx + .tga Image/X-Tga + .au Audio/Basic + .wav Audio/X-Wav + .aif?f Auido/X-Aiff + .midi? Auido/X-Midi + .mpga|.mp[23] Audio/X-Mpeg + .mpe?g Video/Mpeg + .mov Video/Quicktime + .avi Video/X-Msvideo + +Please choose an appropriate suffix for the file name so that Mew can +guess its data type. If there is no matched suffix, the data type +specified by `mew-content-type' is chosen. Its default value is +Text/Plain. + + +For instance, if you copy files with `c', the part becomes as follows: + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + B 2 Image/Gif MagicPoint logo mgp.gif + Q 3 Application/Postscript Presentation Material ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +Each line of a multipart message consists of + + - marks (Content-Transfer-Encoding:) + - part number + - data type (Content-Type:) + - description (Content-Description:) + - file name (Content-Disposition:). + +You can change data types (Content-Type:) by pressing `T' at any +time. If the data type is either text (Text/Plain) or binary +(Application/Octet-Stream), you can toggle between them using `t'. + +Please refer to *Note mark-b-comp:: for explanation on changing the +mark (Content-Transfer-Encoding:). You can also insert descriptions +(Content-Description:) by `D'. This description column is overwritten +when encrypted as described in *Note mark-b-comp::. + +Strictly speaking, the fifth column is the copied file name or the +value of Content-Disposition:, namely the file name to which the +receiver saves the part. If Content-Disposition: exists, Mew displays +it. Otherwise, Mew displays the copied file name with `*' +appended. When you copy a file, the file name is specified as +Content-Disposition:. But this is not true for both Message/* and +Multipart/*. To specify Content-Disposition: for Message/*, use +`P'. + +Files are treated as singlepart while directories are treated as being +multipart. Therefore you can create very complex multipart MIME +messages in the same way as you would create a file system. Very easy, +isn't it? + +The default data type for directories is Multipart/Mixed. Of course, +you can change it by pressing `T'. + +Once you are ready to send a multipart message, type `C-cC-m' or +`C-c C-c' to send it as described the previous subsection. + +Next is the explanation of the creation of a Message/External-body by +pressing `e'. If the access-type is "ftp" or "anon-ftp", you can take +advantage of remote filename completion due to the existence of the +native Emacs mode of ange-ftp. Of course file completion is available +for the access-type of "local-file". + +If you want to abort creating multipart and to get back to singlepart, +type `d' in the top level of the multipart message. + + + +File: mew.info, Node: charset-guess, Next: longline, Prev: mime-comp, Up: Composing + +Defining charset +================ + +Mew has a mechanism for determining the character set of the transfer +form for both singlepart and multipart. + + + +When you type `C-cC-m' or `C-cC-c' to compose a message in Draft mode, +Mew decides the character set of the transfer based on the internal +representation of its body. On Bilingual Emacs, US-ASCII is chosen for +7bit character sets while ISO-8859-1 is selected for 8bit character +sets. On Internationalized Emacs, the character set of the transfer +form is chosen based on rules defined by Mew. + + + +Since the data to be attached as a part of multipart is a file, it is +stored on disk. Therefore, in order to determine its character set for +the transfer form, it is necessary to load the file into an Emacs +buffer converting it into internal representation. After that, Mew +determines the character set of the transfer form for the file by the +same method as singlepart. + +On Bilingual Emacs, Mew reads a file as is. So if the file is 7bit, +US-ASCII is chosen. Otherwise ISO-8859-1 is selected. + +On Internationalized Emacs, Mew reads a file according to the local +convention (i.e. auto conversion). The command to set a local +convention is `C-x RET l'. + +For example, in Japan, ISO-2022-JP, EUC-JP, and Shift_JIS is readily +guessed and stored in buffer as internal representations for +Japanese. Mew chooses ISO-2022-JP as the character set of the transfer +form from the internal representation. That is, even if the character +set of the file is EUC-JP or Shift_JIS, it is automatically converted +into ISO-2022-JP, which is the transfer form for Japanese. This means +that you can attach a file without needing to pay attention to its +character set. + +If you want to specify the coding-system of a file to be attached, type +`I'. Let's call the character set "input character set". Also, if +you want to specify the coding-system of the transfer form, use +`C'. + +Information regarding the character set is displayed in +parentheses. If the character set of the transfer form is specified +explicitly, it is displayed. Otherwise, if the input character set is +specified, it is displayed with "*". Otherwise, "guess" is displayed. + +Let's look at the following example. Since part 1 is a body, it is +stored in an Emacs buffer. Because "guess" is displayed, it is Mew +that determines the character set of the transfer form according to +the rules that Mew defines. + +Since iso-8859-1 is specified as the input character set, Mew loads +the file considering that its character set is iso-8859-1, and then +converts it into internal representation. The character set of the +transfer form is decided according to rules defined by Mew. + +The input character set in part 3 cannot be identified just from this +example. (But a user certainly knows what it is since he actually +specified it.) In any case, a file will be loaded and be converted +into internal representation, then be converted into EUC-JP which is +specified as the character set of the transfer form. + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 Text/Plain(*iso-8859-1) text1 + B 3 Text/Plain(euc-jp) text2 + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +Note that both `C' and `I' are not available on Bilingual Emacs. + + + +File: mew.info, Node: longline, Next: reply, Prev: charset-guess, Up: Composing + +Handling long lines +=================== + +For a long period, when you are writing a message, you should fold +each line around 70 characters by yourself. RFC 3676 extended +Text/Plain and defined "flowed" as a value of the "format" parameter. + +Thanks to this, long lines can be automatically folded on a sender +side while they can be unfolded on a receiver side. From the point of +user view, you can write long lines casually. + +There are two ways to apply the flowed folding. + +1) To apply the flowed folding explicitly, type `C-cC-f'. + +Then, Mew sees if long lines exist in a draft. If long lines whose +length is over `mew-flowed-fold-threshold' are found, Mew applies +the "flowed" folding. This variable defaults to 78. + +`mew-flowed-fold-length' controls the max length of folded lines. Its +initial value is 70. + +Folding method is decided according to character set. If the language +is separated by SPC, the new line characters are inserted after +existing SPCs(delsp=no). Otherwise, pairs of SPC and the new line +character are inserted in appropriate positions(delsp=yes). + +If you type `C-cC-f' again, the folded lines are unfolded. + +2) If `mew-use-format-flowed' is `t', this functionality is +took into account automatically at composing with `C-cC-c' or +`C-cC-m'. Its default value is `nil'. + +3) You can toggle the value of `mew-use-format-flowed' by +`C-cC-pC-f'. + + +Note that folded lines with the "flowed" folding are always unfolded +on viewing regardless of the value of `mew-use-format-flowed'. If you +feel it is hard to see long lines, use `_' in Summary mode. + +If `mew-flowed-auto-wrap' is `t', at visualizing a message, `_' is +automatically executed so as unfolded lines are folded. The default +value of `mew-flowed-auto-wrap' is `t'. + + + +File: mew.info, Node: reply, Next: forward, Prev: longline, Up: Composing + +Replying to a message and deciding recipients +============================================= + +As distinguished from the case of a new message, where the writer +specifies the addresses of the To:, Cc: or Newsgroups: fields, in a +reply message addresses are automatically generated. + +When `a' and `A' is used in Summary mode, a new draft is prepared in +Draft mode. Values of To:, Cc:, and Newsgroups: are prepared according +to three alists. + + 1. If called with `C-u', replying to the sender/poster only. In this + case, `mew-reply-sender-alist' is used. + 2. If this message is sent by ME, you probably intend to reply with + the original header. In this case, `mew-reply-fromme-alist' is + used. + 3. Otherwise, replying to all people listed. In this case, + `mew-reply-all-alist' is used. + +The default value of `mew-reply-sender-alist' is as follows: + + '(("Reply-To:" + ("To:" "Reply-To:" "From:")) + (t + ("To:" "From:"))) + +This is read as follows: + + 1. If Reply-To: exists, copy the values of Reply-To: and From: to + new To:. + 2. Otherwise, copy the value of From: to To:. + +If you would like to reply only to the address on Reply-To: (if any), +set `mew-reply-sender-alist' like this: + + (setq mew-reply-sender-alist + '(("Reply-To:" + ("To:" "Reply-To:")) + (t + ("To:" "From:")))) + +The default value of `mew-reply-fromme-alist' is as follows: + + '((t + ("To:" "To:") + ("Cc:" "Cc:") + ("Newsgroups:" "Newsgroups:")))) + +This is read as follows: + + 1. Copying the value of To: to new To: and copying the value of Cc: + to new Cc: and copying the value of Newsgroups: to new + Newsgroups:. + +The default value of `mew-reply-all-alist' is as follows: + + '((("Followup-To:" "poster") + ("To:" "From:")) + ("Followup-To:" + ("Newsgroups:" "Followup-To:" "Newsgroups:")) + ("Newsgroups:" + ("Newsgroups:" "Newsgroups:")) + ("Reply-To:" + ("To:" "Reply-To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:")) + (t + ("To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:"))) + +This is read as follows: + + 1. If the value of Followup-To: is "poster", copying the value of + From: to new To:. + 2. If Followup-To: exists, copying the values of Followup-To: and + Newsgroups: to new Newsgroups:. + 3. If Newsgroups: exists, copying the value of Newsgroups: to + Newsgroups:. + 4. If Reply-To: exists, copying the values of Reply-To: and From: to + new To:. And copying the values of To:, Cc:, and Apparently-To: + to new Cc:. + 5. Otherwise, copying the value of From: to new To:. And copying the + values of To:, Cc:, and Apparently-To: to new Cc:. + +You may want to set `mew-reply-all-alist' like this: + + (setq mew-reply-all-alist + '((("Followup-To:" "poster") + ("To:" "From:")) + ("Followup-To:" + ("Newsgroups:" "Followup-To:")) + ("Newsgroups:" + ("Newsgroups:" "Newsgroups:")) + ("Reply-To:" + ("To:" "Reply-To:")) + (t + ("To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:")))) + +If there are multiple entries for a certain address, they are +unified. Addresses ending with ":;", which indicates anonymous +recipients, are automatically removed. + +Your addresses are automatically removed. Your addresses are +automatically defined to `mew-mail-address-list' according to, for +example, `mew-config-alist'. If you dislike this value, you can also +explicitly set it like this: + + (setq mew-mail-address-list + '("^pooh@[a-z]*.example.org$" + "^pooh@example.net$" + "^winnie@example.jp$")) + + + +File: mew.info, Node: forward, Next: resend, Prev: reply, Up: Composing + +Forwarding messages +=================== + +To forward messages, type `f' or `F' in Summary mode. Then Draft mode +appears and the messages are already attached in the attachments +region. + +Also, you can prepare the attachments region by yourself, then copy +(`c') the messages or make links (`l') to the messages. If the file +names of the messages are numeric ([0-9]+), they are automatically +considered as messages. `y' is very convenient because it make a link +to the message displayed in Message mode. + +By default, the entire message is forwarded. If you want to remove +some parts of its header, define +`mew-field-delete-for-forwarding'. The following is an example to +remove "Received:" and "Return-Path:" when forwarded. + + (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:")) + + + +File: mew.info, Node: resend, Next: shortcut, Prev: forward, Up: Composing + +Re-sending messages +=================== + +You may occasionally wish to send messages modifying the header of a +message. + +For instance, you may want to send a message with the same body to +multiple receivers independently. Please imagine the case where you +put a created message destined to Pooh in +queue and then you wish to +send an another message to Piglet by copying it and modifying its +header. Let's call this recycle sending. + +Also, you occasionally wish to send a message adding the Resent-To: +field to a target message. This is a kind of forwarding. This is +called header conversion because a message header is modified. The +forwarding described the previous subsection is called encapsulation +because a message is embedded into another new message. + +Header mode exists for this reason, modifying a part of the header, +sending/queuing the created message. You can think this is a kind of +Draft mode which prohibits modifications of its body. + +The following commands are provided in Summary mode to enter Header +mode. + +`W' + Recycle sending. Enter Header mode in order to modify To:, Cc:, + From: of a target message. Typical usage is for messages in + +queue or +postq. +`r' + Re-sending. Enter Header mode in order to add Resent-To:, + Resent-Cc:, Resent-From: of a target message. Re-sending may + confuse receivers, so you should think carefully before using it. + +In Header mode, you can make use of completion and circular completion +like in Draft mode. When you are finished inputting the header, send +the message using one of the following commands. You may be concerned +because the body of the message is not displayed in your new +message. But you need not worry, since the body and a part of the +target message is certainly used. + +`C-cC-m' + Compose a message, put it into +queue or +postq, and let it be + waiting to be sent. +`C-cC-c' + Compose a message and send it. You are asked, "Really send this + message? (y or n) ". Type `y' to send it. + + + +File: mew.info, Node: shortcut, Next: mark-b-comp, Prev: resend, Up: Composing + +Creating signature or cipher message +==================================== + +This section explains the method for signing or encrypting "text only" +messages with PGP or S/MIME. The following commands are explained. + +`C-cC-s' + Sign the entire draft. Input your pass-phrase. +`C-cC-e' + Encrypt the entire draft. +`C-cC-b' + Sign, and then encrypt the entire draft. Input your pass-phrase. +`C-cC-r' + Encrypt, and then sign the entire draft. Input your pass-phrase. + +To encrypt a message, receivers' public keys are used. On the other +hand, your secret key is used to sign a message, and so you need to +input your pass-phrase when applying the signature. Note that if you +are using the pass-phrase cache or the master password mechanism and +there are pass-phrases presently cached, you do not have to type your +pass-phrase (*Note password::). + +These commands create a PGP/MIME message by default. If you want to +use S/MIME, configure as follows: + + (setq mew-draft-privacy-method 'smime) + +You can change this variable with `C-cC-pC-m' in Draft mode. + +We can consider that these four commands above are shortcut methods of +mark based composing described in the next section. + +To sign a message, type `C-cC-s'. When signing, because your secret +key is needed to be decrypted, you may be asked for your pass-phrase +if it is not cached. Created messages are stored in +queue or +postq. + +Your secret key is identified in From: address. If From: does not +exist, your default secret key is selected. When you want to specify a +secret key that is not identified the address of From:, type +`C-uC-cC-s'. + + +To encrypt a message, type `C-cC-e'. A message is encrypted with +public keys identified with the addresses on To: and Cc:. Since this +is encryption only, you are not asked for your pass-phrase. Created +cipher messages are stored in +queue. + +This message is encrypted with your public key in addition to those of +the receivers. Therefore you can decrypt created messages. For +example, you can go to +queue by `g' and preview a created message to +reconfirm this. + +To sign a draft and then encrypt it, type `C-cC-b'. To encrypt a draft +and then sign it, type `C-cC-r'. In both cases, created messages are +stored in +queue. + +It is very likely that you will forget to sign and/or encrypt a draft +even if you intended to do so. To prevent this, Mew provides an +mechanism to automatically sign or encrypt a message when +`C-cC-m' or `C-cC-c' is typed. + +If you want to protect privacy of all drafts, set +`mew-protect-privacy-always' to `t' and set +`mew-protect-privacy-always-type' to one of services. + +If you want to protect the privacy of drafts when replying encrypted +messages, set `mew-protect-privacy-encrypted' to `t' and set +`mew-protect-privacy-encrypted-type' to one of the services. This +configuration is preferred to the configuration for all drafts +described above in the case of replying encrypted messages. + +The following services are available. The strings enclosed in braces are +the symbols for each service. The service applied when typing +`C-cC-m' or `C-cC-c' is displayed in the mode line. + +pgp-signature (PS) + Sign with PGP +pgp-encryption (PE) + Encrypt with PGP +pgp-signature-encryption (PSPE) + Sign then encrypt with PGP +pgp-encryption-signature (PEPS) + Encrypt then sign with PGP +pgp-signature (SS) + Sign with S/MIME +pgp-encryption (sE) + Encrypt with S/MIME +pgp-signature-encryption (SSSE) + Sign then encrypt with S/MIME +pgp-encryption-signature (SESS) + Encrypt then sign with S/MIME + +The following example works for signing all drafts. + + (setq mew-protect-privacy-always t) + (setq mew-protect-privacy-always-type 'pgp-signature) + +The following example is for encrypting drafts with PGP when replying +encrypted messages. + + (setq mew-protect-privacy-encrypted t) + (setq mew-protect-privacy-encrypted-type 'pgp-encryption) + +In Draft mode, `C-cC-pC-a' toggles +`mew-protect-privacy-always' and `C-cC-pC-e' toggles +`mew-protect-privacy-encrypted'. + +You can specify privacy services for the current draft in Draft mode +beforehand so that you do not forget to apply the privacy services +when sending. To set privacy services to the current draft evaluated +when typing `C-cC-m' or `C-cC-c', type `C-cC-pC-d', and then input one +of privacy services listed above. To cancel the current privacy +service, just type `RET' instead of selecting the privacy service. + +When you compose a message by `C-cC-c' or `C-cC-m', and if signing +and/or encryption fails, the cursor gets back to the draft. At this +time, the service that you specified is canceled. If you type `C-cC-c' +or `C-cC-m' in this situation, a plain message is created, so please +be careful. After correcting the cause of the failure, if you want the +same service, type `C-cC-pC-d' to specify your service explicitly or +use `C-cC-s', `C-cC-e', etc. + + +If `mew-use-old-pgp' is set to `t' (the default value is `nil'), +`C-cC-s' and `C-cC-e', etc create old fashioned PGP message instead of +PGP/MIME. If the attachment region exists, an error occurs. + +`mew-protect-privacy-*' described above are effective only to +PGP/MIME, not to old PGP. If you want to create old PGP signature with +`C-cC-m' or `C-cC-c' always, set +`mew-protect-privacy-with-old-pgp-signature' to `t'. + +For PGP/MIME and S/MIME, Mew supports GnuPG 1.x and 2.0, not 2.1. + + + +File: mew.info, Node: mark-b-comp, Next: pgp-key, Prev: shortcut, Up: Composing + +Mark based composer +=================== + +To support PGP/MIME, S/MIME and ZIP, mark based composing is +provided. Remember the previous example. + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + B 2 Image/Gif MagicPoint logo mgp.gif + Q 3 Application/Postscript Presentation Material ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +You can find the `B' mark and the `Q' mark at the beginning of the +line. Mew provides you with a new concept of "encoding". Encoding +includes Base64, Quoted-Printable, Gzip64 (Gzip + Base64), signature, +encryption. + +At present, 8 marks are prepared. + +`" "' + No encoding. But 8bit text would be encoded. +`B' + Base64 +`Q' + Quoted-Printable +`G' + Gzip64 (compressed with gzip then encoded with Base64. This is + experimental. Do not use this if receivers do not use Mew.) +`PS' + Sign with PGP +`PE' + Encrypt with PGP +`SS' + Sign with S/MIME +`SE' + Encrypt with S/MIME + +Additional key binding for marks in attachments is as follows: + +`B' + Put the `B' mark to encode with Base64. +`Q' + Put the `Q' mark to encode with Quoted-Printable. +`G' + Put the `G' mark to encode with Gzip64. This is applicable only + to Text/Plain and Application/Postscript since compression is not + effective with other objects. For example, JPEG is already + compressed. +`S' + Put the `PS' mark to sign with PGP. +`E' + Put the `PE' mark to encrypt with PGP. Input decrypters' + addresses. +`M-s' + Put the `SS' mark to sign with S/MIME. +`M-e' + Put the `SE' mark to encrypt with S/MIME. Input decrypters' + addresses. +`Z' + Encrypt the part with ZIP immediately. After the encryption, the + `B' mark appears. +`U' + Unmark. The original mark appears. + +Consider the following example: The second part will be signed with +PGP then encrypted with PGP for "kazu". Don't be alarmed. Its +description is overwritten but saved. The third part will be encoded +with Gzip64. + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + PSPE 2 Image/Gif kazu@example.org mgp.gif + G 3 Application/Postscript Presentation Material ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +After applying marks, type `C-cC-m' or `C-cC-c' to create messages. + + + +File: mew.info, Node: pgp-key, Next: anonymous, Prev: mark-b-comp, Up: Composing + +PGP key distribution +==================== + +To distribute a PGP public key, please use `p' on attachments in Draft +mode. It asks whose public key you want to distribute. Just type `RET' +if it is yours. If you want to distribute someone else's key, input +his e-mail address with completion. The PGP public key will +distributed as Content-Type: Application/Pgp-Keys. + +If Mew finds that the part is Application/Pgp-keys, it tries to add +the PGP public key onto your PGP public keyring. Remember that Mew is +not responsible for TRUST or VALIDITY. It is YOU who set these +values. Please use the commands described by Mew to set these as +necessary. If you do not know the meaning of TRUST and VALIDITY, you +should learn the web of trust system provided by PGP BEFORE using PGP +to protect your privacy. + + + +File: mew.info, Node: anonymous, Next: Marks, Prev: pgp-key, Up: Composing + +Sending messages with anonymous receivers +========================================= + +You may occasionally wish to send a message to anonymous receivers. + +For instance, please imagine that Pooh is trying to invite multiple +friends to a party. Piglet should reply only to Pooh. However, Piglet +might make a mistake of replying to other people if the addresses of +all the invitees are listed in Cc:. Moreover, Pooh does not want to +disclose the names of those who he invited until the day of the party. + +To handle this, Mew makes use of ":;" for anonymous addresses. Please +look at the following example. + + To: party:piglet@example.org,roo@example.org; + From: Pooh + +Here, there is a colon (":") after the explanatory comment +"party". This is followed by some addresses that are delimited by +"," and terminated by ";". If you write addresses in this format, Mew +sends the message to the addresses with them removed form the +header. In this example, Piglet and Roo will receive the following +message. + + To: party:; + From: Pooh + +The receiver knows that the sender is Pooh, but will not know who else +received the message. Also, the string "party:;" is not address, so +the receiver cannot reply to it. + +You should understand that enumerating many addresses on To: or Cc: is +basically not a good practice anyway. If you often have the occasion +to send messages a set group of people, you should create a +mailing-list. + + + + +File: mew.info, Node: Marks, Next: unread mark, Prev: anonymous, Up: Top + +Funny marks +*********** + +Here is a listing of marks that a user can use for insertion or +deletion in Summary mode. This mark is displayed in the beginning of a +line as follows: (Note that the marks that Mew inserts are displayed +left side of date.) + + D 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic + oM03/14 Momo-chan The pictures of Noto |Attached are the pictu + * 03/15 Neat Sumikawa Re: wine |OK. I vote for Wednesd + +There are six marks at present. + +`U' + The unread mark. +`D' + The delete mark. +`X' + The delete mark. +`o' + The refile mark, that is, to move a message to another folder. +`*' + The target mark. +`$' + The mark to save another mark temporarily. + +Just putting a mark on to a message does NOT process anything at all. +It is typing `x' that processes the marks including `o', `D', `X'. So, +take it easy to put marks but take care to type `x'. + +The marks above are explained in sequence. The marks which Mew inserts +are summarized here as well. + +* Menu: + +* unread mark:: Unread `U' +* delete mark:: Delete `D' and `X' +* refile mark:: Refile `o' +* target mark:: Target `*' +* escape mark:: Escape `$' +* unmark:: Deleting marks +* mark change:: Overwriting marks +* sync:: Mark consistency against an IMAP server +* off-line:: Processing marks off-line for IMAP +* mew-mark:: Marks displayed by Mew + + + +File: mew.info, Node: unread mark, Next: delete mark, Prev: Marks, Up: Marks + +Unread `U' +========== + +With the following configuration, messages are marked with the unread +mark `U' when scanning the messages. + + (setq mew-use-unread-mark t) + +When you read a message with `SPC', `n', or `p' and etc, the `U' mark +disappears. + +These three commands read through messages marked with the `*' mark, +the `U' mark, and non-marked messages. If you type `zSPC', they read +through messages marked with the `*' mark and the `U' mark only. This +is convenient to read through unread messages. Typing `zSPC' again +gets the target messages back. + +When you move onto the current message by putting a mark on the +previous message, the `U' mark is deleted. It's sure that you want to +read the current message if you move onto it by `SPC', `n', and +`p'. However, you might not intend to read the current message when +you move onto it by putting a mark. If this is the case, this spec is +inconvenient for you. If you want to retain the unread mark on the +current message when you move onto it by putting a mark on the +previous message, configure as follows: + + (setq mew-delete-unread-mark-by-mark nil) + +The followings are summary of commands related to the `U' mark. + +`zSPC' + Toggle the target of `SPC', `n', and `p'. Toggling means change + one to the other out of "the `U' mark, the `*' mark, and + non-mark" and "the `U' mark and the `*' mark". +`M-u' + Put the `U' mark to the current message. + + + + +File: mew.info, Node: delete mark, Next: refile mark, Prev: unread mark, Up: Marks + +Delete `D' and `X' +================== + +If you want to delete a message, type `d' in Summary mode to put the +`D' mark on it. Don't be worried about losing the message by +mistake. Since putting the `D' mark has no immediate effect, it does +not result in a serious mistake. By default, typing `x' moves messages +marked with `D' to a trash. + +For local folders, a trash is +trash. For IMAP, it is %trash. + +To really delete messages in the trashes, there are two methods: + + 1. Type `D' in Summary mode. + 2. Put the `D' mark in the trashes then type `x'. + +Exactly speaking, the following rule is applied for local folders. +(`mew-trash-folder' is default to +trash. +`mew-trash-folder-list' is default to `nil'.) + + - If `mew-trash-folder' is `nil', messages marked with + `D' are deleted. + - If `mew-trash-folder-list' is defined, messages marked with `D' + in one of the folders defined in it are deleted. Otherwise, they + are moved to the trash. + - If `mew-trash-folder-list' is `nl', messages marked with `D' in + `mew-trash-folder' are deleted. Otherwise, they are moved to the + trash. (This is default.) + +For IMAP, the same rule is applied according to both +`mew-imap-trash-folder' and `mew-imap-trash-folder-list' + +It is convenient if you can change the `*' mark to the `D' mark since +you can put many the `D' marks at once. To achieve this, use `md'. + +Also, typing `Md' put the `D' mark to all duplicated messages +excluding one for each. + +There is also another mark, `X', which is like the mark `D'. +Messages marked with `X' are deleted when `x' is typed. The +`X' mark can be put by `M-d'. + +`mxM-d' processes messages marked with `X' only. Typing +`mM-d' converts all `*' marks to `X'. + + +The following is a summary regarding with the `D' mark and the +`X' mark. + +`d' + Put the `D' mark. +`M-d' + Put the `X' mark. +`md' + Convert all `*' marks to `D'. +`mM-d' + Convert all `*' marks to `X'. +`x' + Process marked messages. +`mxd' + Process messages marked with `D' only. +`mxM-d' + Delete messages marked with `X' only. +`D' + Delete all messages in a trash. +`C-uD' + Delete all messages in a specified folder. + + + +File: mew.info, Node: refile mark, Next: target mark, Prev: delete mark, Up: Marks + +Refile `o' +========== + +To refile a message, type `o' and input a folder name, then +`o' is put. A folder is guessed neatly, so most time what you +should to is just type `RET'. For more information, refer to +*Note Refile::. + +If you type `o' on a message marked with `o', the refile folder is +shown. When typing `x', messages marked with `o' are actually refiled. + +Consider that you specify multiple folders and refiles actually. If +your file system has hard link, the message is moved to the first +folder, and hard links are created from the other folders. Otherwise, +the message is moved to the first folder, and it is copied to the +other folders. + +If the number of specified folders are 1, and it is the current +folder, refiling means do nothing. If the number is more than two and +the current folder is included, refiling means that the message number +in the current folder remains and hard links are created from the +other folders (or it is copied to the other folders). + +Mew provides `c' which is very similar to `o'. `c' shows the current +folder as a candidate in addition to guessed folders. + +A summary about the `o' mark is here. + +`o' + Put the `o' mark. +`c' + Put the `o' mark. Showing the current folder as a candidate in + addition to guessed folders. +`x' + Refile messages marked with `o'. +`mxo' + Refile messages marked with `o' only. This command does not + process other marks. +`C-umxo' + Refile messages marked with `o', whose destination is the same as + that of the current message. + + + +File: mew.info, Node: target mark, Next: escape mark, Prev: refile mark, Up: Marks + +Target `*' +========== + +Please put the `*' mark onto messages that you want to review +later. `?' also put the `*' mark onto matched messages (for more +information, refer to *Note search::). Use `N' and `P' to walk around +messages marked with `*'. + +Here is a summary for `*' commands. + +`*' + Put the `*' mark. +`N' + Jump to the message marked with `*' below and display it. +`P' + Jump to the message marked with `*' above and display it. +`ma' + Put the `*' mark to all unmarked messages. +`mr' + Put the `*' mark to all matching messages with specified regular + expression. + +The `*' mark is used to handle multiple messages. The following is a +list of commands which handle multiple messages. + +`F' + Prepare a draft to forward multiple messages marked with `*' in + MIME format. +`J' + A large message is occasionally fragmented into multiple messages + whose Content-Type: is Message/Partial. Mew puts the `P' mark to + these messages. Now a user marks these messages with `*' and + executing this commands results in producing the original + message. +`mI' + Retrieve the rest of truncated(`T') messages marked with + `*'. +`C-umI' + Perform `mI'. +`M-b' + De-capsulate messages embedded in the messages marked with `*'. +`M-\' + Executing an external command specifying messages marked with `*' + as arguments. +`M-t' + Apply "uudecode" on messages marked with `*'. + +For `M-t', messages marked with `*' are supposed to be in the right +order. If out of order, sorting with `S' would help. + + + +File: mew.info, Node: escape mark, Next: unmark, Prev: target mark, Up: Marks + +Escape `$' +========== + +Suppose that you want to put the `*' marks to messages matched to a +pattern specified to the `/' command. If there are messages marked +with `*' already, these messages are merged to the results of +`/'. Thus, you would want to escape the current messages marked with +`*'. + +For this sake, the escape mark `$' is provided. A typical usage is as +follows: + + 1. Change the `*' marks to the `$' marks with `m$'. + 2. Put the `*' marks to messages, for instance, with `/' and process + the messages marked with `*'. + 3. Cancel the `*' marks with `U*'. + 4. Get the old `*' marks back with `m*'. + +Here is summary of the commands related to the `$' mark. + +`m$' + Change the `*' marks to the `$' marks. +`m*' + Change the `$' marks to the `*' marks. + + + +File: mew.info, Node: unmark, Next: mark change, Prev: escape mark, Up: Marks + +Deleting marks +============== + +Refiling and deleting is not processed unless you type `x'. So, if you +press `u' to unmark before you type `x', messages do not disappear +accidentally. + +Here is a summary for unmark commands. + +`u' + Cancel the mark on this message. +`U' + Cancel all marks according to what you input. + +The method with the `$' mark, that is, preserve the `*' marks and +operate something then get them back, is friendly to users since it is +visible. But since messages are marked, they would not be the targets +of the operation. + +To solve this problem, a method to recover `*' marks is provided. The +command is bound to `M*'. This method would not be friendly to users +since the `*' marks to recover are invisible. But because the marks +are canceled, these message are surely the target of any operations. + +`M*' + Recover the `*' marks which are canceled by the last `U*'. + + + + +File: mew.info, Node: mark change, Next: sync, Prev: unmark, Up: Marks + +Overwriting marks +================= + +Marks have levels of strength. You can override a mark by another +same-level mark weak mark. Also stronger marks can override weaker +marks. + +The followings shows the marks in the strong order: + +`o', `D', and `X' + After marking a message newly, the next message is shown. After + overriding another mark, the cursor stays on the message. +`*' and `$' + After marking a message, the cursor stays on the message. +`U' + After marking a message, the cursor stays on the message. + +refer to *Note summary-mode:: to know which direction the cursor moves +after putting a strong mark. + +You can exchange marks as follows: + +`m$' + `*' -> `$' :: Preserve the `*' marks temporarily. +`m*' + `$' -> `*' :: Get the `*' marks back. +`ms' + `$' <-> `*' +`mM-u' + `*' -> `U' :: It is useful when you put `U' marks to messages + picked by `?'. +`md' + `*' -> `D' :: It is useful when you put `D' marks to messages + picked by `?'. +`mM-d' + `*' -> `X' :: It is useful when you put `X' marks to messages + picked by `?'. +`mo' + `*' -> `o' :: It is useful when you put `o' marks to messages to + be moved picked by `?'. `*' -> `o' :: It is useful when you put + `o' marks to messages to be copied picked by `?'. +`e' + Exchange the first input mark to the second one. The `o' mark is + not exchangeable. + + + +File: mew.info, Node: sync, Next: off-line, Prev: mark change, Up: Marks + +Mark consistency against an IMAP server +======================================= + +Mew can maintain consistency of the following marks against an IMAP +server: + +`U' + Whether a message is read or not. This IMAP flag is \Seen. This + is usually valid in %inbox only. +`*' + Review mark. This IMAP flag is \Flagged. + +To allow off-line operations, Mew synchronizes marks with an IMAP +server everytime when a user makes an action. Mew does not +automatically synchronize marks repeatedly. The followings are how Mew +synchronizes marks. + + 1. `s' + 'update + - Reflecting modified marks of the existing messages to the server + - For newly arrived messages, reflecting flags of the server + to the messages. + + 2. `x' + - Reflecting modified marks of the existing messages to the server + + 3. `s' + 'sync + - Reflecting modified marks of the existing messages to the server + - Clearing `*',`U', `$', ` ' mark on the existing messages. + - Reflecting flags of the server to the existing messages + - Removing messages which were deleted in the server + + + +File: mew.info, Node: off-line, Next: mew-mark, Prev: sync, Up: Marks + +Processing marks off-line for IMAP +================================== + +An IMAP user may want to cache messages in folder A and go out. Then +he may want to put the `o' and/or `D' marks, and process the marks +off-line. In this story, these jobs should be done in his IMAP server +after connecting the Internet. + +If a message in folder A is moved to folder B with IMAP, the cached +message in folder A usually must be deleted and a corresponding +message in folder B must be retrieved from his IMAP server again. This +is because information embedded in a cached message in folder A is +valid only in folder A. + +Suppose you refile a message in folder A to folder B off-line. It is +very inconvenient for you to retrieve a corresponding message in +folder B from your IMAP server , in order to read it, after refile +jobs are done online. You may want to read the messages refiled to +folder B by just going to the folder B, without retrieval form the +IMAP server. + +Mew implements delayed jobs processing and viewing refiled messages +without retrieval. If you want to process marks off-line, type `lx'. +`lx' carries out the following jobs. + + 1. Deleting messages marked with `o' and/or `D' from folder A. + 2. Queuing these jobs in %queue. + 3. Moving messages marked with `o' to folder B and marking them + invalid. + +'invalid' means that you can read it but you cannot put the `o'/`D' +mark on it. Invalid messages are marked with `#'. When you go to +folder B by typing `g', a list of invalid messages is displayed +automatically. + +If you want to let your IMAP server process jobs in %queue after you +get back online, type `C-cC-c' in %queue. + +Typing `s' in folder B after jobs in %queue are done in your IMAP +server results in deletion of invalid messages and caching valid +messages. + + + +File: mew.info, Node: mew-mark, Next: Refile, Prev: off-line, Up: Marks + +Marks displayed by Mew +====================== + +Here is a summary of marks displayed by Mew. + +`M' + This message is a multipart. Please refer to *Note multipart::. +`-' + This message contains a Multipart/Alternative content. Please refer to + *Note analysis::. +`T' + This message was truncated by Mew. Please refer to *Note + retrieving::. +`S' + This message is signed. Please refer to *Note cipher-viewing::. +`E' + This is a cipher message. Please refer to *Note cipher-viewing::. +`P' + This message is fragmented. Please refer to *Note target mark::. +`#' + This message is invalid. Please refer to *Note off-line::. + + + + +File: mew.info, Node: Refile, Next: by-folder, Prev: mew-mark, Up: Top + +Happy refiling +************** + +When you come to receive hundreds of messages in a day (do not you +believe it?), refiling messages becomes a very tough job. Mew neatly +guesses default folders where the message is supposed to be refiled +when you type `o'. You can see an example below. + + Folder name (+work/mew-dist): + + +If the default value in () is proper, just type `RET'. The messages +will be marked with `o' if its refiling folders are decided. + +You can refile a message to folders of the same world to which the +message belong. As described above, a world is identified by a +combination of "case" and proto. When you input a folder to which the +message is refiled, you must not specify "case" and you must input a +folder whose proto is the same. The reason why you must not specify +"case" is that the "case" is already known. With other commands, you +have to specify the "case", if necessary, when you input folder name +in minibuffer. This command is only the exception. + +Mew also provides `c' which is very similar to `o'. To know the +difference, please refer to *Note refile mark::. + +As you know, the more excellent refiling guess algorithms become, the +less user's job troublesome. Mew provides you with the following +rules. + +* Menu: + +* by-folder:: Guess by mailing-list folders +* by-alist:: Guess by user defined rules +* by-thread:: Guess by thread +* by-from-folder:: Guess by private folders +* by-from:: Guess by From: +* by-newsgroups:: Guess by Newsgroups: +* by-default:: Guess by default rule +* guess-rule:: Controlling rules +* auto-refile:: Auto refile +* copy-msg:: Copying messages across worlds + + + +File: mew.info, Node: by-folder, Next: by-alist, Prev: Refile, Up: Refile + +Guess by mailing-list folders +============================= + +Many users tend to refile messages destined to a mailing-list to a +folder whose name is the same as the mailing-list. Mew provides a +mechanism to guess a mailing-list folder for messages destined to +mailing-lists. + +Suppose that you have a folder named +misc/pooh-lovers. The following +message is probably to be refiled to this folder. + + To: pooh-lovers@example.org + +Likewise, Mew searches a matching folder forward with addresses on To: +and Cc:. There are many people who do not use recursive folders. With +Mew, however, you would not be smart if you do not use it. + +Smart users may wonder that they get a trouble in the following +situation where private addresses are on To: or Cc:. + + To: piglet@example.org + Cc: pooh-lovers@example.org + +Since Pooh is a member of pooh-lovers, he receives this message. But +he has a folder for his friend, Piglet. So, +from/piglet may be +chosen. + +To avoid this, Mew allows you to specify which folders are to be +ignored. The default is +from. So, please take a convention to refile +personal messages under +from. + +When Mew guesses a candidate by the folders, it asks you: + + Folder name (+misc/pooh-lovers): + + +Just type `RET' if the default is exactly what you want. + +If you specify a new folder with `o', the folder is created and added +to the folder list to be used for guess. Convenient, isn't it? + +The function name to provide this feature is +`mew-refile-guess-by-folder'. + +If you don't use capital letters for folder names, configure as +follows to make this function faster: + + (setq mew-use-fast-refile t) + +By default, candidate includes node folders as well as leaf folders. +If you want to not select node folders but leave folders only, +configure as follows: + + (setq mew-use-node-folder nil) + + + +File: mew.info, Node: by-alist, Next: by-thread, Prev: by-folder, Up: Refile + +Guess by user defined rules +=========================== + +There are some cases where the refile guess mechanism by folders does +not work as you wish. For example, for both a message whose To: is +staff@example.jp and another message whose To: is staff@example.net, +the same folder would be selected with guess by folders +(e.g. "+net/staff"). So, Mew allows you to define your own rules +explicitly. (You must use the new format for +`mew-refile-guess-alist'. For more information, see + +Let's look at an example. + + (setq mew-refile-guess-alist + '(("To:" + ("staff@example.jp" "+jp/staff") + ("staff@example.net" "+net/staff")))) + +This means that if To: contains staff@example.jp +jp/staff is selected +and if To: has staff@example.net +net/staff is chosen. + +The format of this rule is as follow: + + rule ::= ' + ::= (( ) ( ) ... []) + +The whole is a list of ( ). A field name is specified for +. The format for is as follows: + + ::= ( |) ( |) ... + + is a field value for . means a folder to be +chosen if matched. You can write recursively instead of +. (*Note config2::.) + +There are two special s: `nil' and `t'. `nil' is used to specify + to be returned when nothing is guessed. `t' can specify + to be returned in addition to guessed values. + + ::= (t ) | (nil ) + +If you know regular expression, a more advanced rule can be defined +like this. + + (setq mew-refile-guess-alist + '(("Newsgroups:" + ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1") + (".*" "+rec/news")) + ("To:" + ("\\(inet\\|wide\\)@wnoc-fuk" "+wide/\\1-wnoc-fuk")) + ("From:" + ("uucp@" "+adm/uucp") + ("ftpsync@" "+adm/ftpsync")) + (nil "+unknown"))) + +The function name to provide this feature is +`mew-refile-guess-by-alist'. + + + +File: mew.info, Node: by-thread, Next: by-from-folder, Prev: by-alist, Up: Refile + +Guess by thread +=============== + +Mew provides a mechanism to guess a folder where the parent message of +a current message was refiled before. + +For example, Pooh, Piglet, and Roo had a chat to go and get honey. So, +Pooh made +project/honey then refiled the message to it. The further +messages, if they are properly replied, they are supposed to be +refiled to +project/honey. + +Information that which folder was chosen for messages is stored to +"~/Mail/.mew-refile-msgid-alist". `mew-lisp-max-length' +controls the amount of this information. The default value is 2000 +messages. If you want limits it to 3000 messages, put the following to +"~/.mew.el". + + (setq mew-lisp-max-length 3000) + +The function name to provide this feature is +`mew-refile-guess-by-message-id'. + + + +File: mew.info, Node: by-from-folder, Next: by-from, Prev: by-thread, Up: Refile + +Guess by private folders +======================== + +In addition to the mechanism to select a mailing-list folder described +in *Note by-folder::, Mew provides a mechanism to choose a private +folder. Since private folders locate under +from, we can say that this +mechanism select a folder from the folders under +from. Let's see the +following example: + + To: pooh@example.net + From: piglet@example.org + +Pooh received a message from Piglet. If Pooh uses this mechanism, ++from/piglet will be chosen according to From:. (Folders under +from +can be recurse. And you can select the entire address for a folder +name instead of the user part.) + +The function to provide this feature is +`mew-refile-guess-by-from-folder'. + +Next, let's consider a care where Pooh replied to Piglet. Since Pooh +Cc:ed the message to himself, the message was also delivered to him. + + To: piglet@example.org + Cc: pooh@example.net + From: pooh@example.net + +How do you feel if you are Pooh? You may want to refile this to ++from/pooh. Also, you may want to move this to +from/piglet. So, it +can be customized. + +If `mew-refile-guess-from-me-is-special' is `t' and if an address in +From: is yourself, `mew-refile-guess-by-from-folder' select a folder +under +from according to To: and/or Cc:. + + + +File: mew.info, Node: by-from, Next: by-newsgroups, Prev: by-from-folder, Up: Refile + +Guess by From: +============== + +Mew also provides a mechanism to guess a folder by the place where a +message that has the same From: field is refiled. + +Suppose that Piglet has two addresses, piglet@example.org and +p-p-p@example.org. Pooh wants to refile messages from Piglet to ++from/piglet no matter what his From: is. This policy can, of course, +be implemented if Pooh specifies rules explicitly as follows: + + (setq mew-refile-guess-alist + '(("From:" + ("piglet@example.org" "+from/piglet") + ("p-p-p@example.org" "+from/piglet")))) + +But such a work may bother you. So, first refile a message whose From: +is piglet@example.org to +from/piglet. At this time, +from/piglet is +created. Next, refile a message whose From: is p-p-p@example.org to ++from/piglet. Here Mews learns that p-p-p@example.org was refiled to ++from/piglet. After this, when messages whose From: is +p-p-p@example.org are refiled, +from/piglet is chosen. + +For another example, you can refile messages from machinery to ++adm/misc without defining an explicit rule. + +Information for relationship between From: and folder is stored to +"~/Mail/.mew-refile-from-alist". `mew-lisp-max-length' +controls the amount of this information as the same as +*Note by-thread::. + +The function name to provide this feature is +`mew-refile-guess-by-from'. + +If the value of `mew-refile-guess-from-me-is-special' is `t', +`mew-refile-guess-by-from' acts as +`mew-refile-guess-by-from-folder' (*Note by-from-folder::). + + + +File: mew.info, Node: by-newsgroups, Next: by-default, Prev: by-from, Up: Refile + +Guess by Newsgroups: +==================== + +For those who read articles of NetNews received by e-mail with Mew, +Mew provides a mechanism to guess a folder by Newsgroups:. The +function name to provide this feature is +`mew-refile-guess-by-newsgroups'. + + + +File: mew.info, Node: by-default, Next: guess-rule, Prev: by-newsgroups, Up: Refile + +Guess by default rule +===================== + +The default rule is to extract a user name from From: and to choose +`+from/user'. But if `mew-refile-guess-strip-domainpart' is +`nil', it extracts the entire address. So, +`+from/user@domain' is chosen. The default value of +`mew-refile-guess-strip-domainpart' is `t'. + +The function name is `mew-refile-guess-by-default'. + + + +File: mew.info, Node: guess-rule, Next: auto-refile, Prev: by-default, Up: Refile + +Controlling rules +================= + +Mew controls guess rules by two variables, +`mew-refile-guess-control' and `mew-refile-ctrl-multi'. If you +want multiple candidates, set `mew-refile-ctrl-multi' +`t'. Otherwise, set it `nil'. + +By default, `mew-refile-guess-control' is declared as follows (since +it is a declaration, `defvar' is used): + + (defvar mew-refile-guess-control + '(mew-refile-guess-by-alist + mew-refile-ctrl-throw + mew-refile-guess-by-newsgroups + mew-refile-guess-by-folder + mew-refile-ctrl-throw + mew-refile-ctrl-auto-boundary + mew-refile-guess-by-thread + mew-refile-ctrl-throw + mew-refile-guess-by-from-folder + mew-refile-ctrl-throw + mew-refile-guess-by-from + mew-refile-ctrl-throw + mew-refile-guess-by-default)) + +Mew executes every function defined in `mew-refile-guess-control' in +order. Each function may guess multiple candidates. + +Let's see the following example of `mew-refile-guess-control' action. + +`mew-refile-guess-by-alist' + guessed +aaa and +bbb. +`mew-refile-guess-by-folder' + guessed +ccc and +ddd. +`mew-refile-guess-by-default' + guessed +eee. + +If you want to provide all candidates, +aaa - +eee, set +`mew-refile-ctrl-multi' `t'. If you want to provide +aaa only, set it +`nil'. + +If you want +aaa - +ddd but do not want left candidates, in other +words, you want +eee only when no candidate is guessed by functions +executed before, set `mew-refile-ctrl-multi' `t' and insert +`mew-refile-ctrl-throw' between `mew-refile-guess-by-folder' and +`mew-refile-guess-by-default'. + +`C-uo' displays the flow of guess rules in Message buffer. + + + +File: mew.info, Node: auto-refile, Next: copy-msg, Prev: guess-rule, Up: Refile + +Auto refile +=========== + +Those who receives many messages everyday is prone to store thousands of +messages in the +inbox (or %inbox) folder. In such a case, they may want +to speak out like this, "Hey messages, get out of the folder to +somewhere". Mew provides a feature to satisfy such laziness. :) +`M-o' is the spell. + +When you execute this function, it marks specific messages with +`o'. The specific messages mean messages which are not marked +with `o' nor `D' if +`mew-refile-auto-refile-skip-any-mark' is `nil'. If +`mew-refile-auto-refile-skip-any-mark' is `t', they mean +non-marked messages (i.e. read). The default value of +`mew-refile-auto-refile-skip-any-mark' is `nil'. + +`C-uM-o' targets messages marked with `*' regardless the value of +`mew-refile-auto-refile-skip-any-mark'. + +Refile rule is the same described in the previous section. Please note +that what this function does is just mark messages with +`o'. Messages are not refiled until you will press `x'. + +Mew's refile mechanism is so smart that it would be harmful for this +function. That is, most users would not understand where messages have +been refiled if Mew made most use of its guess mechanism. :) For this +reason, break is provided to limit usage of guess functions. Recall +the declaration up above. + + (defvar mew-refile-guess-control + '(mew-refile-guess-by-alist + mew-refile-ctrl-throw + mew-refile-guess-by-newsgroups + mew-refile-guess-by-folder + mew-refile-ctrl-throw + mew-refile-ctrl-auto-boundary + mew-refile-guess-by-thread + mew-refile-ctrl-throw + mew-refile-guess-by-from-folder + mew-refile-ctrl-throw + mew-refile-guess-by-from + mew-refile-ctrl-throw + mew-refile-guess-by-default)) + +You can find the `mew-refile-ctrl-auto-boundary' function in +`mew-refile-guess-control'. Only when auto refile is used, Mew +ignores guess functions below this function. If guess functions above +`mew-refile-ctrl-auto-boundary' didn't guess any folder for a +message, the message is not marked with `o'. Insert +`mew-refile-ctrl-auto-boundary' before you ruin. + + + + +File: mew.info, Node: copy-msg, Next: Virtual, Prev: auto-refile, Up: Refile + +Copying messages across worlds +============================== + +"Refile" described above is moving messages in the same world. By +contrast, you may want to move messages from a world to another +world. You can accomplish this by copying messages from a world to +another and deleting the original messages. Here we describe how to +copy messages to another world. + +You may want to copy a message to a local folder. For this, type +`lc'. If you execute `lc' in a remote folder, Mew removes information +related to the remote folder from the cached message and copy it to a +local folder. (You can use `lc' in a local folder, too. In this case, +a message is moved in the same world.) + +To opy a message in a folder to an IMAP folder (the server side), type +`li'. + +To copy messages marked with `*' to a local folder, use `mlc'. To +copy messages marked with `*' to an IMAP folder, use `mli'. + +Here is a summary of commands which copy messages from a world to +another. + +`lc' + Copy a message to a local folder. +`mlc' + Copy messages marked with `*' to a local folder. +`li' + Copy a message to the server side of IMAP. +`mli' + Copy messages marked with `*' to the server side of IMAP. + + + + +File: mew.info, Node: Virtual, Next: selection, Prev: copy-msg, Up: Top + +Virtual folder +************** + +Virtual mode is a virtual folder and it consists of "selection" and +"thread". + +`Selection' + A virtual folder collecting necessary messages from several + folders. Its folder name has "*" on the left side. +`Thread' + A virtual folder to visualize message flow with indentation, + created from a folder or a virtual folder. Its folder name has + "*" on the both sides. + +In Virtual mode, you can use most commands that you can find in +Summary mode. + +If you put a mark on a message in Virtual mode and if corresponding +Summary mode exists, the mark is also put onto the corresponding +message there. But if you put a mark on a message in Summary mode, +the mark is not put any corresponding messages in Virtual mode. + +You cannot process marks in Virtual mode. Even if you type `x' to +process marks in Virtual mode, the cursor moves to corresponding +Summary mode, if exsists, and you are asked to type `x' again. + +You should take note that Virtual folder is really virtual and it does +not exist in file system. If you exit Mew, it then disappears. To +know how to delete Virtual mode, please refer to *Note Quit::. + +* Menu: + +* selection:: Selection +* sorting:: Sorting +* dialog:: Dialog +* search:: Searching +* condition:: How to input search conditions +* dbsearch:: Search Engine +* keyword:: Highlighting a keyword +* thread:: Thread +* thread-op:: Thread operations + + + +File: mew.info, Node: selection, Next: sorting, Prev: Virtual, Up: Virtual + +Selection +========= + +Selection is a virtual folder collecting necessary messages from +several folders. There are five ways to create selection: + +`m/' + Listing messages marked with `*' on a folder. see *Note + sorting::. +`S' + Sorting messages on a folder and display them. (No effect to the + original folder.) see *Note dialog::. +`V' + Listing messages which have relationship with the current message. See + *Note dialog::. +`/' + Listing messaged matched to a search condition on a folder. see + *Note search::. +`k/' + Listing messaged matched to a search condition from all folders. See + *Note search::. + + + + +File: mew.info, Node: sorting, Next: dialog, Prev: selection, Up: Virtual + +Sorting +======= + +To make selection by sorting messages, use `S'. Then you will be asked +to input the field name as follows: + + Sort by? (default date): + +There are some cases where strings stored in the specified field +should not be compared as text. For example, while Subject: can be +considered as text, Date: and X-Mail-Count: should be treated as date +and number, respectively. In this way, we call the distinctions in +methods of string sorting "modes". Default modes for typical field +names are configured in `mew-sort-key-alist'. + +When you want to specify the mode of sorting, the mode is followed by +`:'. For example, to sort with the X-Mail-Count: field as arithmetic +value (not text), input like this: + + x-mail-count:num + +You can complete field names and modes with `TAB'. + +Mew provides four modes for sorting: + +`text' + String with preceding "Re: " and or "Fw: " removed. +`ml' + The same as text but preceding mailing-list-string removed. +`num' + Number. +`date' + Date. + +The default field name, your response to the prompt "Sort by?", can be +specified in `mew-sort-default-key'. The following example changes the +default value from "date" to "x-ml-count". + + (setq mew-sort-default-key "x-ml-count") + +You can also set a default field name for each folder by +`mew-sort-default-key-alist'. For folders not explicitly specified +here, `mew-sort-default-key' is used for their default field name. +The following is an example that specifies "subject" for the +inbox +folder and "x-mail-count" for the +mew-dist folder. + + (setq mew-sort-default-key-alist + '(("+inbox" "subject") + ("+mew-dist" "x-mail-count"))) + +To really sort messages in a local folder, use `M-s'. This command is +not available in remote folders. + + + +File: mew.info, Node: dialog, Next: search, Prev: sorting, Up: Virtual + +Dialog +====== + +Mew can list messages which have relationship with the current +message. Let's call this "dialog". This is different from thread +described later in the following points: + + - Thread can be made from one folder or one virtual + folder. Messages relating to dialog can ubiquitously exists in + several folders. + + - Thread visualizes tree structres with indentation. while dialog + lists up messages in order of time. + +To use the feature of dialog, execute `kI' to create database. New +messages are not automatically registered in to the database, you +should periodically execute `kI'. `kI' updates the database +incrementally by default. This method is fast but garbages are +left. So, sometime you should type `C-ukI' to update the database +fully. + +To make dialog, type `V' on the current message. This command displays +him, his ancestors, and his children only. His brothers and so on are +not shown. If you display the entire of the family, type `V' again on +the first message of the dialog, which is the origin of the family. + + + +File: mew.info, Node: search, Next: condition, Prev: dialog, Up: Virtual + +Searching +========= + +Mew provides the following method to search messages: + +`?' + Put the `*' mark onto messages in this folder, which are matched + to a specified pattern. Either `mewl' or `grep' is called + according to the specified pattern. +`C-u?' + `?' with a region specified. +`/' + Make selection with messages in this folder, which are matched to + a specified pattern. Either `mewl' or `grep' is called according + to the specified pattern. +`C-u/' + `/' with a region specified. + +We can also search messages with a search engine, including Spotlight, +Windows Desktop Search, etc. This feature is supported by the +following commands. + +`k?' + Put the `*' mark onto messages in this folder, which are matched + to a specified pattern. +`k/' + Make selection with messages in all folders, which are matched to + a specified pattern. +`C-uk/' + Make selection with messages in specified folders, which are + matched to a specified pattern. If you want to specify multiple + folders, separate them with ",". You can also use a wildcar "*". + + + +File: mew.info, Node: condition, Next: dbsearch, Prev: search, Up: Virtual + +How to input search conditions +============================== + +If you type `?' or `/', Mew asks you to input search pattern as +follows: + + mewl/grep pick pattern: + +If you specify just a keyword, Mew executes `grep'. On the contrast +if you type an expression, Mew calls `mewl'. + +Here is a list of expression elements. (In the strong order) + +`field=string' + Match if the "field" field contains the "string" string + (case-insensitive). If you specify "head", it means the entire + header. +`field==string' + Match if the "field" field contains the "string" string + (case-sensitive). If you specify "head", it means the entire + header. +`field!=string' + Match if the "field" field does not the "string" string + (case-insensitive). If you specify "head", it means the entire + header. +`field!==string' + Match if the "field" field does not the "string" string + (case-sensitive). If you specify "head", it means the entire + header. +`( )' + Evaluate first. +`! ' + Match if not . +` & ' + Match if AND . You can omit this. +` | ' + Match if OR . + +Some examples are shown below. + +(a) Messages whose From: contains "kazu". + + from=kazu + +(b) Messages whose To: contains "mew" OR Cc: contains "mew". + + to=mew | cc=mew + +(c) Messages whose To: contains "mew" OR Cc: contains "mew" AND From: +contains "kazu". + + (to=mew | cc=mew) & from=kazu + +When you execute `?' or `/' and if you just type `RET' to a pattern, +you can specify a command to be executed. + + Cmd opts pattern: grep -l -e + +When you use an search engine with `k?' or `k/', the pattern +(including just a keyword and an expression) will be converted to the +syntax of the search engine. + +For example, you can write an expression, that From: is "kazu" and +body contains "wine" but does not contain "bordeaux", as follows: + + from=kazu wine ! bordeaux + +If you set `mew-pick-pattern-list' to a list of pattern, you can enjoy +circular completion with `C-cTAB'. In this case, the first member is +displayed as a default value. + + + + +File: mew.info, Node: dbsearch, Next: keyword, Prev: condition, Up: Virtual + +Search Engine +============= + +To operate search engines, the following commands are provided: + +`km' + Make index for the current folder. +`kM' + Make index for all folders. +`kc' + Switch one search engine to another. + +The followings are expiation of each search engines. + +`Hyper Estraier' + Type `kM' periodically. It's OK to execute "mewest" on the + command line instead. If you want to update the index for the + current folder quickly, you can use `km'. Both `k?' and `k/' are + available. When you specify folders with `C-uk/', sub-folders, if + any, are included in the target. +`Spotlight' + Type `kM' just once. `km' is not necessary. Both `k?' and `k/' + are available. +`Windows Desktop Search' + Type `kM' just once. `km' is not necessary. +`Google Desktop' + Type `kM' just once. `km' is not necessary. Only `k/' is + available. + +The default search engine is automatically set to the one found first. +If you explicitly specify it, set `mew-search-method' to one out of +'est, 'spotlight, 'wds, and 'google. The following is an example to +choose Hyper Estraier. + + (setq mew-search-method 'est) + + + +File: mew.info, Node: keyword, Next: thread, Prev: dbsearch, Up: Virtual + +Highlighting a keyword +====================== + +The keyword which you specified on search is shorted in a buffer. You +can display messages with the keyword highlighted. The commands to +enable this functionality are as follows: + +`M-n' + Display a message in the forward direction and find a keyword and + highlight it. In Summary mode, the target is messages marked with + `*'. In Virtual mode, it is all messages. If you repeat this + command, text around the keyword is displayed from one to + another. If no key word is set to the variable, this command + first asks you a keyword. +`C-uM-n' + The same as `M-n' except that you can change the stored keyword + explicitly. +`M-p' + A reverse version of `M-n'. +`C-uM-p' + A reverse version of `C-uM-n'. + + + +File: mew.info, Node: thread, Next: thread-op, Prev: keyword, Up: Virtual + +Thread +====== + +When in the process of exchanging messages, the relationship of the +messages is presented in a tree structure. Visualization of the +structure with indentation is called thread. Here is an example: + + 03/12 Hidenori Ohta This weekend |Let's go to StoneMagic + 03/13 Kazu-kun +Re: This weekend |Since it'll be rainy, + 03/15 Hidenori Ohta | +Re: This weekend |OK. Get together at 12 + 03/14 Oda-chan +Re: This weekend |Sounds lovely. I'd lik + +The thread feature is implemented as virtual folder. For instance, if +you make threads for +inbox, a buffer *+inbox* is prepared. + +To make thread, the following commands exist. + +`tt' + Make threads from Summary mode or selection and move the cursor + to the current message. If corresponding threads already exist, + switch to the Virtual mode. When this command is executed on + threads, switch to the original folder and move the cursor to the + current message. +`C-utt' + Make threads for messages in the region. +`mt' + Make threads for messages marked with `*'. +`tr' + Make threads for messages matched to a regular expression. + + + +File: mew.info, Node: thread-op, Next: Quit, Prev: thread, Up: Virtual + +Thread operations +================= + +Here are the commands used for moving to thread presentation. + +`tp' + Move to the top of the current thread. If the current message is + a top node, move to the top of the next thread. +`tn' + Move to the top of the next thread. +`^' + Move to the parent message of the current message. (Available in + both Summary and Virtual) +`&' + Move to the child message of the current message. (Available in + both Summary and Virtual) +`(' + Search backward by one sibling message of the current message. +`)' + Search forward by one sibling message of the current message. + + +Here are commands to mark messages in a thread. + +`t*' + Put the `*' mark all messages of the current sub-thread. Please + refer to *Note target mark:: for more information. +`t$' + Put the `$' mark all messages of the current sub-thread. Please + refer to *Note escape mark:: for more information. +`td' + Put the `D' mark all messages of the current sub-thread. Please + refer to *Note delete mark:: for more information. +`tM-d' + Put the `X' mark all messages of the current sub-thread. Please + refer to *Note delete mark:: for more information. +`to' + Put the `o' mark all messages of the current sub-thread. Please + refer to *Note refile mark:: for more information. + +A command to unmark all messages of the current sub-thread is `tu'. + + +Here are commands to manipulate a thread: + +`tSPC' + Hide children and leave the parent only. If its children are + hidden, "+" is displayed on the parent. Also, if this command is + executed on a message whose children are hidden, they appear. +`ta' + Toggle appearance of children for all threads. +`tg' + Graft a thread to a message. To specify which thread is grafted, + type `C-SPC' on the root of the thread. Then move onto your + target message, and typing `tg' grafts the thread to the target + message as children. + + +If `mew-use-thread-separator' is `t', threads are +distinguished by a separator defined by `mew-thread-separator' +(its default value is "--"). + + + + +File: mew.info, Node: Quit, Next: Customize, Prev: thread-op, Up: Top + +Give me a break +*************** + +Here are how to quit and suspend Mew and how to erase a mode (buffer). + + + +`q' + Suspend Mew then switch to another buffer. All buffers of Mew + remain, so you can resume with buffer operations. +`Q' + Quit Mew. All buffers of Mew are erased. +`C-cC-q' + Erase the current mode (buffer). + + + +`C-cC-q' + Erase the draft. + + + +`C-cC-q' + Erase the buffer. + + + + +File: mew.info, Node: Customize, Next: summary-mode, Prev: Quit, Up: Top + +Customizing Mew +*************** + +Here are explained how to change default setting of Mew and make Mew +your favorite. Edit "~/.mew.el" to do it! + +* Menu: + +* summary-mode:: Summary mode +* message-mode:: Message mode +* draft-mode:: Draft mode +* charset:: Character set +* highlight:: Highlighting +* hooks:: Hooks +* pop:: POP +* imap:: IMAP +* nntp:: NNTP +* smtp:: SMTP +* config:: Changing receiving/sending behavior +* config2:: The format of configuration +* custom-misc:: Miscellaneous + + + +File: mew.info, Node: summary-mode, Next: message-mode, Prev: Customize, Up: Customize + +Summary mode +============ + +You can specify the format of Summary mode by `mew-summary-form'. The +default value is as follows: + + (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body))) + +Like this, `mew-summary-form' is a list of list, symbol, and string. + + 1. A string is printed as it is. + 2. A list consists of an integer and a symbol. The symbol specifies + a function to be called. The name of the function is produced by + concatenating "mew-summary-form-" and the symbol name. + (e.g. `mew-summary-form-date' for the symbol 'date'). Pre-defined + symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and + 'body. For more details, see the explanation of the functions + called `mew-summary-form-'. The integer specifies the + width of field which will be filled with a return string of the + function. A positive value means padding SPCs on the right if + necessary. A negative value means padding SPCs on the left if + necessary. If a negative value is specified, the corresponding + function must return an ASCII string. 0 means the remaining width + of the line and is treated as a positive value. + 3. A symbol is equivalent to (1 symbol). + 4. '(mark) is appended to `mew-summary-form' when used. + 5. `t' means the position of thread indentation. + +An example is as follows: + + (setq mew-summary-form + '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body))) + +`mew-summary-form-from-me-prefix' is the prefix to be prepend to an +destination address if the message is originated by me. The default is +"To:". + + +`mew-summary-form-extract-rule' is a list to specify what part to +extract from the From: field. Each element must be 'name, 'comment, +'address, 'nickname, or appropriate "regex". The default value is +'(nickname). + +Consider the following examples: + + A: Kazu Yamamoto + B: kazu@example.org (Kazu Yamamoto) + C: Kazuhiko Yamamoto (Kazu) + +Each element returns the following value: + + 1. 'name:: Name part, if any + A. Kazu Yamamoto + B. (No match) + C. Kazuhiko Yamamoto (Kazu) + 2. 'comment:: Comment part, if any + A: (No match) + B: Kazu Yamamoto + C: (Kazu) + 3. 'address:: Address part + A: kazu@example.org + B: kazu@example.org + C: kazu@example.org + 4. 'nickname:: one element of personal information in Addrbook + according to `mew-addrbook-for-summary'. The default value of + `mew-addrbook-for-summary' is `'nickname'. So, From: is converted + a nickname by default. To know what kind of value can be used, + refer to *Note draft-mode::. + 5. (regex):: The substring first matched. + +If a element does not match, the next element is applied. If no +element matches to the From: field, or this value is `nil', the whole +of the From: field is used. + + +If `mew-summary-form-mark-delete' is `t', the `D' mark +automatically is put onto duplicated messages. The default is +`nil'. + + +If `mew-summary-form-mark-spam' is `t', the `D' mark automatically is +put onto SPAM messages. A message is considered a SPAM message if the +MD5 checksum of its body is duplicated in a scan. The default is +`nil'. + +If `mew-summary-form-mark-review' is `t', the `*' mark +automatically is put onto messages destined to me. The default is +`nil'. + + +If you want to use Mew with full Emacs frame, set like this. + + (setq mew-use-full-window t) + + +`SPC' in Summary mode decide the next action to view a message +according to `mew-summary-show-direction'. Likewise, you can specify +the cursor direction after putting a strong mark by +`mew-summary-mark-direction'. You can select one from the following +candidates. + +`up' + Display the message above. +`down' + Display the message below. +`next' + Display the next message in the direction. +`stop' + Do not display the next message. + +The default value for both is `next'. If you read messages from the +bottom, set as follows: + + (setq mew-summary-show-direction 'up) + + + +File: mew.info, Node: message-mode, Next: draft-mode, Prev: summary-mode, Up: Customize + +Message mode +============ + +It is impossible to display a file to the Message buffer if its data +type is not supported by Emacs. Install an external program which +converts the data to text and you can display the file to the Message +buffer. + +Text/Html can be displayed in Message mode, if you add the following +to "~/.mew.el". + + (setq mew-use-text/html t) ; decode HTML for all folders + +With this, Text/Html can be displayed in Message mode as if it were +Text/Plain. Even in this situation, `C-cC-e' described below is a +valid operation. + +By default, Text/Html is displayed using Emacs's built-in HTML +renderer. + +Alternatively, you can display Text/Html using the w3m browser. +First, install "w3m" and "emacs-w3m". +(Please note that multilingualized "w3m", not pure +"w3m", is necessary for "wvHtml", "xlhtml", and "ppthtml" +described below.) When you install both of them, add the following to +"~/.mew.el". + + (condition-case nil + (require 'mew-w3m) + (file-error nil)) + +If you install "wvHtml", "xlhtml", and "ppthtml", you can display text +parts of WORD, Excel, and PowerPoint file in Message, +respectively. Since these commands uses HTML, the configuration of +Text/Html above is required. With this, a WORD file, for example, can +be displayed in Message mode as if it were text. + +You can display the file with an external application itself instead +of displaying it in the Message buffer. For this, type `C-cC-e'. + +You can visualize an image file into the Message buffer. Also, you can +display it with an external application by typing `C-cC-e', of course. + +You can display an HTML file to a browser with `C-cC-e'. A default +browser is used on Windows and Mac. On Unix, "mozilla" is set to a +default browser as follows: + + (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t)) + +If you want to set it to "firefox", for example, configure like this: + + (setq mew-prog-text/html-ext + '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t)) + +You can visualize an Office-family file to each application by typing +`C-cC-e'. On Windows and Mac, an Office-family application is +executed. On Unix, "soffice" is set to the default application as +follows: + + (defvar mew-prog-msword-ext "soffice") + (defvar mew-prog-msexcel-ext "soffice") + (defvar mew-prog-mspowerpoint-ext "soffice") + +If you want to set it to "xdg-open", for instace, do like this: + + (setq mew-prog-msword-ext "xdg-open") + (setq mew-prog-msexcel-ext "xdg-open") + (setq mew-prog-mspowerpoint-ext "xdg-open") + +If you want to not visualize an Office-family file into the Message +buffer, but want to display it with "wvHtml", configure as follows: + + (setq mew-prog-msword '(nil mew-mime-application/msword)) + (setq mew-prog-msexcel '(nil mew-mime-application/msexcel)) + (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint)) + +If you want to specify an application instead of the pre-defined +application, type `C-uC-cC-e'. + +Recently there are many message whose have Multipart/Alternative, +which consists of Text/Plain and Text/Html. By default, Mew selects +Text/Plain. If you prefer to choose +Text/Html, add the following to "~/.mew.el". (Now, it's a +good idea to get back to *Note multipart:: to review how to use +`:'.) + + (setq mew-mime-multipart-alternative-list + '("Text/Html" "Text/Plain" ".*")) + +You can decrypt a ZIP attach file and display it with `zz'. + + + +File: mew.info, Node: draft-mode, Next: charset, Prev: message-mode, Up: Customize + +Draft mode +========== + +Define `mew-cc' to use Cc:. When replying, another Cc: field may be +prepared from the target message. If there are multiple Cc: fields, +they are combined to one field on sending. + +If you want to receive your originating messages for backup without +specifying your address, use Dcc:. Set your address to `mew-dcc'. + +Set header fields that you want to insert every time when you write +messages to `mew-header-alist' as an associate list. The following is +an example. + + (setq mew-header-alist + '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94") + ("X-URL:" "http://www.example.org/~kazu/"))) + +To customize citation label, define field to cite in `mew-cite-fields' +and format in `mew-cite-format'. Define citation prefix to +`mew-cite-prefix'. The default declaration is as follows: + + (defvar mew-cite-fields '("From:" "Subject:" "Date:")) + (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n") + (defvar mew-cite-prefix "> ") + +To add Message-ID: to citation label, take this way. + + (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:")) + (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n") + +To add a user part of an address to the citation prefix, configure as +follows: + + (setq mew-cite-prefix-function (function mew-cite-prefix-username)) + +With this, the citation prefix becomes like this: + + From: SUMIKAWA Munechika + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + sumikawa> Hi, it's Sumikawa, the guy who's neat from good morning + sumikawa> to good night. + sumikawa> + sumikawa> Talking about the wonderful wine party, I would propose + sumikawa> Cabernet Sauvignon, Bordeaux, '90. + +Both an address in the citation label and the citation prefix can be +converted to an element of a personal information in Addrbook. They +can be configured by `mew-addrbook-for-cite-label' and +`mew-addrbook-for-cite-prefix', respectively. The default values are +`nil' and `'username', respectively. You can set out of the following +values. + + +'shortname + Short name +'address + Address +'username + User part of address +'nickname + Nickname +'name + Full name + +Let's consider the following example. + + (setq mew-addrbook-for-cite-label 'nickname) + (setq mew-addrbook-for-cite-prefix 'nickname) + +With the first line, an address in the citation label is replaced with +its nickname. The second line indicates that the cite prefix is +replaced with its nickname. + + From: sumitch + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + sumitch> Hi, it's Sumikawa, the guy who's neat from good morning + sumitch> to good night. + sumitch> + sumitch> Talking about the wonderful wine party, I would propose + sumitch> Cabernet Sauvignon, Bordeaux, '90. + + + +File: mew.info, Node: charset, Next: highlight, Prev: draft-mode, Up: Customize + +Character set +============= + +As described in *Note charset-guess::, Mew automatically chooses an +appropriate charset for the message when composing. + +If characters of multiple languages exist, and if it is necessary to use +an international charset, `mew-charset-m17n' is used. Its default +value is "utf-8" (equivalent to Unicode). If you want to set it to +"iso-2022-jp-2", configure like this: + + (setq mew-charset-m17n "iso-2022-jp-2") + +If you want to check a chosen charset when composing, configure +`mew-ask-charset'. + +`nil' + Not ask. +`A list of charset' + Ask if the charset is not a member of the list. +`t' + Ask if `mew-charset-m17n' is used. + +For instance, if you want to check when charset other than US-ASCII, +ISO-8859-1, and ISO-8859-15, configure like this: + + (setq mew-ask-charset '("us-ascii" "iso-8859-1" "iso-8859-15")) + + +For example, when "utf-8" is chosen for a message with this +configuration, you are asked like this: + + utf-8 is used. OK? (y or n) + +Typing `y' makes the composed message sent (or queued). If you type +`n', you will go back to the original draft. + +In Europe Latin 9 (ISO-8859-15 or Latin 0), which includes the euro +sign, is getting more and more popular instead of Latin 1 +(ISO-8859-1). If characters of both Latin 1 and Lain 9 exist in a +draft, Mew takes the following step to decide a charset. + + 1. If `unify-8859-on-decoding-mode' is used: + 1. Use "iso-8859-1" if no loss. + 2. Otherwise, use "utf-8". + 2. If `unify-8859-on-decoding-mode' is not used: + 1. If both ISO-8859-1 and ISO-8859-15 can be used with no loss, + "ISO-8859-1" is used. + 2. Use "iso-8859-1" if no loss. + 3. Use "iso-8859-15" if no loss. + 4. Otherwise, use "utf-8". + +The default value of `mew-charset-latin' is "iso-8859-15". If you want +to set it to "iso-8859-1", configure like this: + + (setq mew-charset-latin "iso-8859-1") + +If you want to always use UTF-8 for any characters other than +US-ASCII, configure as follows: + + (setq mew-cs-database-for-encoding + `(((ascii) nil "7bit" "7bit") + (nil utf-8 "base64" "B"))) + + + +File: mew.info, Node: highlight, Next: hooks, Prev: charset, Up: Customize + +Highlighting +============ + +If `mew-use-highlight-mark' is `t', marked message are +highlighted. The default is `t'. + +If `mew-use-highlight-header' is `t', the header of a message is +highlighted. The default is `t'. + +If `mew-use-highlight-body' is `t', the body of a message is +highlighted. The default is `t'. The limit to be highlighted can be +set by `mew-highlight-body-max-size'. The default is 10000 bytes. + +If `mew-use-highlight-url' is `t', a spell is cast to URL strings in a +message. So, when you move the cursor onto the URL, it is +highlighted. The default is `t'. + +If `mew-use-cursor-mark' is `t', the mark specified `mew-cursor-mark' +is putted to the beginning of the current line. The default is +`nil'. The default of `mew-cursor-mark' is ">". + +If `mew-use-highlight-cursor-line' is `t', underline is put on the +cursor line in Summary mode. The default is `t'. + +If `mew-use-highlight-mouse-line' is `t' on Emacs which supports mouse +highlight, the mouse line is painted in Summary mode. This is very +convenient to read messages clicking the middle button of the +mouse. The default value is `nil'. + +If `mew-use-highlight-x-face' is `t', X-Face: in a header is iconified +in Message mode. The default value is `t'. To use this feature, +install the "netpbm" package and the "compface" package. + +To modify colors, copy "dot.theme" contained Mew's source file to +an appropriate place, say "~/.mew-theme.el". First, set +`mew-theme-file' to this file name in ".mew.el" as follows: + + (setq mew-theme-file "~/.mew-theme.el") + +Then, change the contents. For instance, you can find the following +configuration. + + (mew-setface-bold header-subject + :tty "red" :light "Firebrick" :dark "OrangeRed") + +The symbol `header-subject' means the value of the "Subject:" field in +a header. :tty is the case where Emacs is executed on a terminal while +:light and :dark indicates the case where the background of Emacs +executed with a window is white and black, respectively. + +If you wish green for a terminal, ForestGreen for the white +background, and LimeGreen for the black background, modify the +configuration as follows: + + (mew-setface-bold header-subject + :tty "green" :light "ForestGreen" :dark "LimeGreen") + +To know what kind of symbols are prepared, see the "dot.mew". + +The method above does not prepare symbols for all field names and +field value. So, `mew-header-color' and `mew-header-color-bold' exist +to change colors easily. If you use the latter, characters become +bold. The former results in normal. The following is a typical usage: + + (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed") + +With this configuration, "Subject:" becomes bold LimeGreen and its +value turns into bold OrangeRed. + +The second method cannot specify the cases of terminal or background. +If you omit the field value color, the field name color is used for +the field value. + + + +File: mew.info, Node: hooks, Next: pop, Prev: highlight, Up: Customize + +Hooks +===== + +Here is a summary of hooks used in Mew. + +`mew-env-hook' + Hook called at initialize time before setting environment. +`mew-init-hook' + Hook called at initialize time. +`mew-status-update-hook' + Hook called at status update(`Z'). +`mew-summary-mode-hook' + Hook called in Summary mode. +`mew-virtual-mode-hook' + Hook called in Virtual mode. +`mew-thread-display-hook' + Hook called after new threads are displayed. +`mew-header-mode-hook' + Hook called in Header mode. +`mew-draft-mode-hook' + Hook called in Draft mode. +`mew-draft-mode-newdraft-hook' + Hook called in Draft mode only when new draft is prepared. +`mew-draft-mode-reedit-hook' + Hook called in Draft mode when a message not in +draft is + re-edited. +`mew-draft-mode-reedit-draft-hook' + Hook called in Draft mode when a message in +draft is re-edited. +`mew-draft-mode-reedit-queue-hook' + Hook called in Draft mode when a message in +queue or +postq is + re-edited. +`mew-draft-mode-edit-again-hook' + Hook called in Draft mode when a message returned with the old + style is edited again. +`mew-message-mode-hook' + Hook called in Message mode. +`mew-message-hook' + Hook called whenever message displayed. +`mew-make-message-hook' + Hook called before making a message in Draft mode. A good example + is as follows: (add-hook 'mew-make-message-hook 'ispell-message) +`mew-send-hook' + Hook called before sending/queuing an e-mail message in Draft + mode. Note that this hook is called before composition of the + message +`mew-post-hook' + Hook called before posting/queuing a NetNews message in Draft + mode. Note that this hook is called before composition of the + message. +`mew-real-send-hook' + Hook called before sending/queuing an e-mail message in Draft + mode. Note that this hook is called after composition of the + message. +`mew-real-post-hook' + Hook called before sending/queuing a NetNews message in Draft + mode. Note that this hook is called after composition of the + message. +`mew-smtp-flush-hook' + Hook called before SMTP runs if messages exist in +queue. +`mew-nntp2-flush-hook' + Hook called before NNTP runs if messages exist in +postq. +`mew-smtp-sentinel-hook' + Hook called when a SMTP process finished. +`mew-nntp-sentinel-hook' + Hook called when a NNTP process to receive messages finished. +`mew-nntp2-sentinel-hook' + Hook called when a NNTP process to post messages finished. +`mew-pop-sentinel-hook' + Hook called when a POP process finished. +`mew-pop-sentinel-non-biff-hook' + Hook called when a non-Biff POP process finished. +`mew-imap-sentinel-hook' + Hook called when a NNTP process to post messages finished. +`mew-imap-sentinel-hook' + Hook called when an IMAP process finished. +`mew-imap-sentinel-non-biff-hook' + Hook called when a non-Biff IMAP process finished. +`mew-scan-sentinel-hook' + Hook called when scan finished. +`mew-summary-ls-no-scan-hook' + Hook called when mew-summary-ls does not scan a folder. +`mew-summary-exec-hook' + Hook called when `x' in Summary mode finished. +`mew-refile-guess-by-from-learn-hook' + Hook called in mew-refile-guess-by-from-learn. +`mew-sort-hook' + Hook called when `M-s' in Summary mode finished. +`mew-pack-hook' + Hook called when `O' in Summary mode finished. +`mew-summary-delete-folder-hook' + Hook called when a folder deleted. +`mew-summary-rename-folder-hook' + Hook called when a folder renamed. +`mew-summary-toggle-disp-msg-hook' + Hook called when `v' in Summary finished. +`mew-syntax-format-hook' + Hook called when mew-syntax-format is called. +`mew-addrbook-mode-hook' + Hook called in Addrbook mode. +`mew-cite-hook' + Hook for an external cite mechanism. If you want to use + super-cite, (setq mew-cite-hook 'sc-cite-original). +`mew-before-cite-hook' + Called in mew-summary-reply-with-citation before citation. +`mew-suspend-hook' + Hook called on suspend. +`mew-quit-hook' + Hook called on quit. + +Here are some example configurations of hook + +Draft mode evaluates `text-mode-hook' and `mew-draft-mode-hook' in +order. If you do not set `auto-fill-mode' to `text-mode-hook', It +would be useful to define `mew-draft-mode-hook' as follows: + + (add-hook 'mew-draft-mode-hook + (lambda () + (auto-fill-mode 1) + (set-fill-column 70))) + +In this example, the number of fill column is also set to 70. + + + +File: mew.info, Node: pop, Next: imap, Prev: hooks, Up: Customize + +POP +=== + +Mew can POP to retrieve messages. This section describes following +variables to control POP. + +`mew-pop-server' + The name of your POP server. +`mew-pop-ssh-server' + The name of SSH server which forwards the POP3 port. +`mew-pop-ssl' + If non-nil, POP connections are made over SSL. +`mew-pop-ssl-port' + The port for POP over SSL. +`mew-pop-user' + The user name on your POP server. The default is your login name. +`mew-pop-auth' + The authentication method for POP3. 'pass means the + authentication with USER/PASS (i.e. plain password). 'apop means + the authentication with APOP. `t' means SASL according to + `mew-pop-auth-list'. The default is 'apop. +`mew-pop-auth-list' + A list of SASL methods in the preferred order. Currently, + "CRAM-MD5" can be used. +`mew-pop-delete' + Whether or not delete messages on a POP server after retrieval by + POP. If `t', delete the messages. If `nil', retain the messages. + If number N, delete the messages N days after the first + access. The default is `t'. +`mew-pop-size' + The limit size of messages to be retrieved by POP. The default is + 55296 byte. 0 means unlimited, so you can get all messages from + the POP server. To know how to retrieve the rest of a truncated + message, please refer to *Note retrieving::. +`mew-pop-body-lines' + *The limit of body lines to get when the size of message exceeds + `mew-pop-size'. The default is 40. +`mew-pop-header-only' + Whether or not the body of a message is retrieved by POP. If + non-nil, only header is retrieved. The default is `nil' + + + +File: mew.info, Node: imap, Next: nntp, Prev: pop, Up: Customize + +IMAP +==== + +Mew can use IMAP to retrieve messages. This section describes +following variables to control IMAP. + +`mew-imap-server' + The name of your IMAP server. +`mew-imap-ssh-server' + The name of SSH server which forwards the IMAP4 port. +`mew-imap-ssl' + If non-nil, IMAP connections are made over SSL. +`mew-imap-ssl-port' + The port for IMAP over SSL. +`mew-imap-user' + The user name on the IMAP server. The default is your login name. +`mew-imap-auth' + The authentication method for IMAP4. `nil' means the authentication with + LOGIN (i.e. plain password). `t' means SASL according to + `mew-imap-auth-list'. The default is `t'. +`mew-imap-auth-list' + A list of SASL methods in the preferred order. Currently, + "CRAM-MD5" and "LOGIN" can be used. +`mew-imap-delete' + Whether or not delete messages on an IMAP server after retrieval + by IMAP. If `t', delete the messages. If `nil', retain the + messages. If number N, delete the messages N days after the first + access. Otherwise they are not deleted. The default is `t'. +`mew-imap-size' + The limit size of messages to be retrieved by IMAP. The default + is 55296 byte. 0 means unlimited, so you can get all messages + from the IMAP server. To know how to retrieve the rest of a + truncated message, please refer to *Note retrieving::. +`mew-imap-header-only' + Whether or not the body of a message is retrieved by IMAP. If + non-nil, only header is retrieved. The default is `nil' + + + +File: mew.info, Node: nntp, Next: smtp, Prev: imap, Up: Customize + +NNTP +==== + +Mew uses NNTP to read/write News articles. This section describes +following variables to control NNTP. + +`mew-nntp-server' + The name of your NNTP server. +`mew-nntp-ssh-server' + The name of SSH server which forwards the NNTP port. +`mew-nntp-ssl' + If non-nil, NNTP connections are made over SSL. +`mew-nntp-ssl-port' + The port for NNTP over SSL. +`mew-nntp-user' + The user name on the NNTP server. If non-nil, authentication is + used. (Note that mew-nntp-auth does not exist.) +`mew-nntp-newsgroup' + The name of default Newsgroup. +`mew-nntp-size' + The limit size of messages to be retrieved by NNTP. The default + is 55296 byte. 0 means unlimited, so you can get all messages + from the NNTP server. +`mew-nntp-header-only' + Whether or not the body of a message is retrieved by NNTP. If + non-nil, only header is retrieved. +`mew-nntp-msgid-user' + A user name for creation of Message-Id:. If `nil', the value of + `mew-user' is used. The default is `nil'. +`mew-nntp-msgid-domain' + A domain name for creation of Message-Id:. If `nil', the value of + `mew-mail-domain' is used. The default is `nil'. + +A value of Message-Id: for NNTP is created by the following rule: + + message-id = *random*.nntp-msgid-user@nntp-msgid-domain + + + +File: mew.info, Node: smtp, Next: config, Prev: nntp, Up: Customize + +SMTP +==== + +Mew uses SMTP to send messages. If an SMTP server requires +authentication, Mew automatically asks you to input your +password. This section describes following variables to control SMTP. + +`mew-smtp-server' + The name of your SMTP server. +`mew-smtp-port' + The port for SMTP. +`mew-smtp-ssh-server' + The name of SSH server which forwards the SMTP port. +`mew-smtp-ssl' + If non-nil, SMTP connections are made over SSL. +`mew-smtp-ssl-port' + The port for SMTP over SSL. +`mew-smtp-user' + The user name on your SMTP server. If not configured, your e-mail + address is automatically set. +`mew-smtp-auth-list' + A list of SMTP AUTH methods in the preferred order. Currently, + "CRAM-MD5", "PLAIN", and "LOGIN" can be used. +`mew-smtp-helo-domain' + An e-mail domain to tell a SMTP server with HELO/EHLO. The + default is "localhost". +`mew-smtp-mail-from' + The default is `nil'. An e-mail address to tell a SMTP server + with MAIL FROM:. If `nil', an address specified by the From: + field is used. +`mew-smtp-msgid-user' + A user name for creation of Message-Id:. If `nil', the value of + `mew-user' is used. The default is `nil'. +`mew-smtp-msgid-domain' + A domain name for creation of Message-Id:. If `nil', the value of + `mew-mail-domain' is used. The default is `nil'. +`mew-use-8bit' + Whether or not send 8bit text without MIME encoding. If `nil', an + appropriate MIME encoding is applied. The default is `nil'. + +A value of Message-Id: for SMTP is created by the following rule: + + message-id = *random*.smtp-msgid-user@smtp-msgid-domain + +If you want to use Message Submission (SMTP for submission whose port +number is 587), configure as follows: + + (setq mew-smtp-port "submission") + +Please refer also to SSL (*Note SSL::) and TLS (*Note TLS::). + +Some SMTP servers are mis-configured. They requests authentication +though errors occur if passwords are received. Mew automatically ask a +user to input user's password and send it to an SMTP server if it +requires authentication. To get along with such SMTP servers above, +configure as follows: + + (setq mew-use-smtp-auth nil) + +`mew-use-smtp-auth' + If non-nil, Mew send user's password if an SMTP server requests + authentication. The default value is `t'. If `nil', Mew does not + send user's password even if the (mis-configured) SMTP server + requests authentication. + + + +File: mew.info, Node: config, Next: config2, Prev: smtp, Up: Customize + +Changing receiving/sending behavior +=================================== + +With `mew-config-alist', you can differ actions of sending/receiving +messages. Let's look at the following example: + + (setq mew-config-alist + '((home + (inbox-folder "+inbox-home") + (pop-server "pop.iij4u.or.jp")) + (ext + (pop-ssh-server "ssh.example.org")) + (default + (proto "%") + (imap-server "imap.example.org") + (pop-server "pop.example.org")))) + +This example defines three "cases": "home", "ext", and "default". For +each case, some pair of key and value are defined. + +We explain the semantics of `mew-config-alist' with this example. +If the "case" is "home", looking up "pop-server" results in +"pop.iij4u.or.jp". If the "case" is "ext", looking up "pop-server" +results in "pop.example.org" since there is no specified key for the +"case" and the "default" is used. If the "case" is "default", +looking up "pop-server" results in "pop.example.org". + +If the "case" is "home", looking up "inbox-folder" results in +"+inbox-home". If the "case" is "ext", looking up "inbox-folder" +results in the value of `mew-inbox-folder' since there is no +specified key for both "ext" and "default". If the "case" is +"default", looking up "inbox-folder" also results in the value of +`mew-inbox-folder'. + +"proto" (`mew-proto') is used to specify a folder which is selected +when you type `M-x mew'. (If you input `M-x mew' when Mew is not +executed, ""proto" for the "default" "case" is used. If you type `M-x +mew' when Mew is running, "proto" is chosen according to the value of +the "case". + +Candidates of the value are "+", "$", "%", and "-". These means +"+inbox", "$inbox", "%inbox", and "-fj.mail.reader.mew" without +any special configuration. + +Each key which can be specified in `mew-config-alist' corresponds to +the variable `mew-"key"'. The following list enumerates such keys. + + name, user, mail-domain, + cc, fcc, dcc, reply-to, organization, header-alist, proto, + smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port, + smtp-user, smtp-auth-list, + smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from, + pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port, + pop-user, pop-auth, pop-auth-list, + pop-size, pop-header-only, pop-delete, pop-body-lines, + pop-proxy-server, pop-proxy-port, + imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port, + imap-user, imap-auth, imap-auth-list, + imap-size, imap-header-only, imap-delete, + imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word, + imap-proxy-server, imap-proxy-port, + nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port, + nntp-user, nntp-size, nntp-header-only, + nntp-msgid-user, nntp-msgid-domain, + ssl-cert-directory, ssl-verify-level, + inbox-folder, queue-folder, postq-folder, + mailbox-type, mbox-command, mbox-command-arg, + signature-file, content-type, refile-guess-alist, + spam-prog, spam-prog-args, ham-prog, ham-prog-args, + use-old-pgp, pgp-signer, smime-signer, privacy-method, + protect-privacy-always, protect-privacy-always-type, + protect-privacy-encrypted, protect-privacy-encrypted-type, + protect-privacy-with-old-pgp-signature, + use-format-flowed + +A value for From: is made of 'name', 'user', and 'mail-domain' +according to the following rule: + + from = name + +Unless you set `mew-from-list' by yourself, `mew-from-list' is +automatically set collecting 'from' for each "case" according to the +rule above. see *Note cheader::. + +Cases configured in `mew-config-alist' can be specified to the +"case". When Mew boots up, both the "case" is "default". + +If you want to change the "case", type `C'. You can use completion by +`TAB' and circular completion by `C-cTAB'. + +If the "case" is not "default", they are displayed in the mode line of +Summary mode. The following is an example where the "case" is "home". + + (Summary home) + + +In Draft mode, if the "case" is not "default", the value is displayed +in mode line. The following is an example that the "case" is "home". + + (Draft home) + +To change the "case" of a draft in Draft mode, use `C-cC-o'. Its +header is dynamically modified according to the value of the +'mail-domain' key and the 'header-alist' key. Note that the "case" is +a local variable of the Draft mode. + +You can automatically set the "case" in Draft mode. + +`mew-case-guess-when-prepared' + If this variable is `t', the "case" is automatically guessed + according `mew-case-guess-alist' when a draft is prepared. The + default is `t'. +`mew-case-guess-when-composed' + If this variable is `t', the "case" is automatically guessed + according `mew-case-guess-alist' when a message is composed. The + default is `nil'. +`mew-case-guess-when-replied' + If this variable is `t', the "case" is automatically guessed + according `mew-case-guess-when-replied-alist' when a draft is + prepared by replying. The default is `t'. + +The syntax of `mew-case-guess-alist' and +`mew-case-guess-when-replied-alist' is the same as +`mew-refile-guess-alist'. For more information, please refer to +*Note by-alist::. + +When typing `C-cC-c' in Draft mode to send a draft, the "case" in +Draft mode is used to determine an SMTP/NNTP server, etc. When typing +`C-cC-c' in Summary mode to flush messages in +queue/+postq, the +"case" in Summary mode is used even if it is different from the +one which was used in Draft mode. `C-uC-cC-c' in Summary mode let +you specify the "case" to flush messages in +queue/postq. + + +The following is a summary of commands concerned with the "case". + +`C' + In Summary mode, set the "case". +`C-cC-o' + In Draft mode, set the "case" of a draft. + + + +File: mew.info, Node: config2, Next: custom-misc, Prev: config, Up: Customize + +The format of configuration +=========================== + +In Mew 6.1, configuration format of "mew.el" is improved. You can use +a new format as well as the old format. + + - In the old format, sometime "." appears. In the new fomat, no "." + appears at all. For instance, you can write ("foo" "bar") instead + of ("foo" . "bar"). + - In the old format, a numeric port is specified as string. An + example is "25". In the new format, you can write it as + integer. An example is 25. The string is still valid. An example + is "smtp". + - In the old format, the cases and the keys of `mew-config-alist' + are written as string. In the new format, you can specify them as + symbol. + +Here is an example of the new format: + + (setq mew-config-alist + '((home + (imap-server "imap.example.org") + (imap-ssl t) + (imap-ssl-port 993) + (smtp-server "smtp.example.org") + (smtp-port "submission")))) + +Compare this with the following old one: + + (setq mew-config-alist + '(("home" + ("imap-server" . "imap.example.org") + ("imap-ssl" . t) + ("imap-ssl-port" . "993") + ("smtp-server" . "smtp.example.org") + ("smtp-port" . "submission")))) + +Again, the old format is still valid. You can also mix the new format +and the old format. + + + +File: mew.info, Node: custom-misc, Next: Tips, Prev: config2, Up: Customize + +Miscellaneous +============= + +In a certain environment, it would be useful to encode a file with SAMBA +encoding when saving an attached file. For this, set +`mew-use-samba-encoding' to `t'. You can set +`mew-cs-samba' to a character set for the file name. The default is +`shift_jis'. + +You can print the current message by typing `#' in Summary mode. A +function for printing can be set to `mew-print-function'. Since its +default value is `ps-print-buffer', a message is converted into a +PostScript file before sent to a printer. You can set your own print +function as follows: + + (setq mew-print-function 'my-print-function) + +You can set fields in a header to be printed to +`mew-field-for-printing'. Its default value is as follows: + + '("Subject:" "From:" "To:" "Cc:" "Date:") + +For instance, if you want to print Subject:, From:, and Date: only, +configure as follows: + + (setq mew-field-for-printing '("Subject:" "From:" "Date:")) + + + + +File: mew.info, Node: Tips, Next: region, Prev: custom-misc, Up: Top + +Advanced usage +************** + +* Menu: + +* region:: Region +* visiting:: Visiting another buffer +* SSH:: Secure SHell +* SSL:: Secure Socket Layer +* TLS:: Transport Layer Security +* spam:: Spam messages +* spam2:: Spam messages (2) +* addr-warn:: Warning addresses +* biff:: Biff +* edit:: Edit mode + + + +File: mew.info, Node: region, Next: visiting, Prev: Tips, Up: Tips + +Region +====== + +In Summary mode, there are commands which work for a region if called +with `C-u'. If a visible region is specified, these commands work for +the region without `C-u'. + +For Emacs, you can use the visible region feature by putting the +following into your "~/.emacs". + + (transient-mark-mode 1) + +Here is a summary of such commands. + + `?', `/', `tt', `x', `lx', `ma', `Md', `S', `mlc', `mli', `*', `$', `d', `u' + +Also you can specify a repeat count before you call `*', `$', `d', and +`u'. For example, typing `3d' puts the `*' mark onto three +messages. You don't have to type `C-u' before the number. + + + +File: mew.info, Node: visiting, Next: SSH, Prev: region, Up: Tips + +Visiting another buffer +======================= + +If you want to move to +queue after making a message and putting it to ++queue with `C-cC-m' in Draft mode, set +`mew-visit-queue-after-sending' to `t'. + +If you want to visit to an appropriate inbox after setting the "case" +with `C' in Summary mode, set +`mew-visit-inbox-after-setting-case' to `t'. + +If you want to move from Summary mode to a draft (Draft mode) whose +name is the smallest number, type `C-cC-o'. + + + +File: mew.info, Node: SSH, Next: SSL, Prev: visiting, Up: Tips + +Secure SHell +============ + +Mew supports SSH version 1 and version 2 and OpenSSH for SSH. You must +execute "ssh" on the command and obtain server's public key before you +use Mew with SSH. That is, you should set up so that you can login the +server with your user password or with the password to decrypt the +secret key of the local machine. Of source, you can omit the password +to decrypt the secret key if you use "ssh-agent". + +After that, you should configure SSH variables relating to each +protocol. For example, if you want to use POP over SSH, set +`mew-pop-ssh-server' to your SSH server name. + +While a connection is protected by SSH, a picture of a lock is shown +in the mode line. + +The implementation of Mew does not allow to use both SSH and SSL/TLS +at the same time. If you need to use SSL/TLS over an SSH tunnel, +please configure SSL/TLS only with Mew and set up an SSH tunnel on a +command line. + + + +File: mew.info, Node: SSL, Next: TLS, Prev: SSH, Up: Tips + +Secure Socket Layer +=================== + +Before you use SSL, you should understand the trust model of +certificate authorities (CA). Currently, Mew supports "stunnel" +version 3, 4 and 5 for SSL. + +Before you use Mew with SSL, you must be sure that an SSL connection +can be established to your SSL server. Since "stunnel" is linked to +the "openssl" library, you should understand "openssl". + +Suppose we use "~/.certs" as a directory where certificates of trusted +CAs are contained. You need to copy PEM-format certificates embedded +in the source of "openssl" to this director. Each name should be +".0". + +Here we call a sample CA certificate "ca.pem". You can calculate + as follows: + + % openssl x509 -hash -noout -in ca.pem + +To copy the certificate, do as follows: + + % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0 + +The certificates in the source of "openssl" do not cover all CAs. If +the certificate of your SSL server is signed by another CA, you must +copy the certificate of the CA to the directory. You may be able to +find appropriate certificate from the following page: + + http://www.columbia.edu/~ariel/good-certs/ns45/ + +There are two important Mew variables to control "stunnel". +`mew-ssl-cert-directory' is the directory where you install +certificates of trusted CAs. It's default value if "~/.certs". Also, +you can set the verification level with `mew-ssl-verify-level'. It's +default to 1. The meanings of the values are as follows: + +0 + No verification. +1 + Verify server's certificate if present. If verification failed, + an SSL/TLS connection is not created. If not present, an SSL/TLS + connection is created. +2 + Verify server's certificate. If verification failed, an SSL/TLS + connection is not created. If not present, an SSL/TLS connection + is not created. +3 + Verify server's certificate which locally installed (not one from + the server). + +Then configure SSL-related variables of each protocol. For example, if +you want to use POP over SSL, set `mew-pop-ssl' to `t'. +Also, if its port is not a standard one, configure +`mew-pop-ssl-port'. + + (setq mew-pop-ssl t) + +To use SSL for SMTP, configure as follows: + + (setq mew-smtp-ssl t) + +While a connection is protected by SSL, a picture of a lock is shown +in the mode line. + + + +File: mew.info, Node: TLS, Next: spam, Prev: SSL, Up: Tips + +Transport Layer Security +======================== + +Mew can use TLS instead of SSL. To enable TLS, Mew relies on +"stunnel", too. So, before using TLS, you should configure +according to the explanations in *Note SSL::. + +Then, set the SSL port to the same one of the protocol to be +protected. For instance, configure as follows for POP: + + ;; mew-pop-port is default to "pop3" (110) + (setq mew-pop-ssl t) + (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995) + +That is, if the SSL port is the same as the port of the protocol to be +protected, TLS is used. Otherwise, SSL is used. + +The following is an example to protect Message Submission with TLS. + + (setq mew-smtp-port "submission") ;; The default is "smtp" (25) + (setq mew-smtp-ssl t) + (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465 + + + +File: mew.info, Node: spam, Next: spam2, Prev: TLS, Up: Tips + +Spam messages +============= + +(1) In the case where a spam filter is running on your POP server or +your IMAP server. + +You can put the `D' mark to spam messages while you are retrieving +messages in +inbox or you are scanning messages in $inbox/%inbox. + +If you use "bogofilter", put the following to your "~/.mew.el". + + (defun mew-spam-bogofilter (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) ?D))) + + (setq mew-inbox-action-alist + '(("X-Bogosity:" mew-spam-bogofilter))) + +If you want to put the `o' mark so as to be refiled to the +spam +folder, instead of putting to th `D' mark, you should program the +function as follows: + + (defun mew-spam-bogofilter (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) "+spam"))) + +If you use "spamassassin", put the following to your "~/.mew.el". + + (setq mew-spam: "X-Spam-Flag:") + (defun mew-spam-assassin (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) ?D))) + + (setq mew-inbox-action-alist + '(("X-Spam-Flag:" mew-spam-assassin))) + +In the case where you want to use bsfilter, see a document in the +bsfilter package. + + +(2) In the case where a spam filter is running in your IMAP server. + +You can delete or move spam messages while you are scanning %inbox. +If you use "bogofilter", put the following to your "~/.mew.el". + + (setq mew-imap-spam-field "X-Bogosity") + (setq mew-imap-spam-word "Yes") + +If `mew-imap-spam-folder' or `mew-imap-trash-folder' is defined, spam +messages are moved to the folder. Otherwise, they are removed. + +(3) In the case where you installed "bogofilter" in your local +machine, you can put the `*' mark to spam messages. First you need to +install the following script, say "bogo": + + #!/bin/sh + + bogofilter -v -T -B $* | grep S + +Type `?' and `RET', then specify "bogo", and spam messages are marked +with `*'. After that, you may want to process them with `md' + `x'. + +(4) In the case where you use POP and a spam filter does not run on +the POP server but you want to mark spam messages when retrieving + +Since bsfilter can be a POP proxy server, you can implement your +policy. See a document in the bsfilter package. + + + +File: mew.info, Node: spam2, Next: addr-warn, Prev: spam, Up: Tips + +Spam messages(2) +================ + +If you want to let your filter learn the current message in Summary as +a spam, type `ls'. Likewise type `lh' to let your filter learn it as a +ham (non-spam). + +To use these commands, you need to configure four variables in +advance. We consider bogofilter as an example and see three cases. + +(2) To let your local filter learn: + + (setq mew-spam-prog "bogofilter") + (setq mew-spam-prog-args '("-s" "-N" "-v")) + (setq mew-ham-prog "bogofilter") + (setq mew-ham-prog-args '("-n" "-S" "-v"))) + +(2) To let your filter on your learn via SSH: + + (setq mew-spam-prog "ssh") + (setq mew-spam-prog-args '("" "bogofilter" "-s" "-N" "-v")) + (setq mew-ham-prog "ssh") + (setq mew-ham-prog-args '("" "bogofilter" "-n" "-S" "-v"))) + +(3) To pass through your with SSH and to let your filter on +your learn via SSH: + + (setq mew-spam-prog "ssh") + (setq mew-spam-prog-args '("-A" "" "ssh" "" "bogofilter" "-s" "-N" "-v")) + (setq mew-ham-prog "ssh") + (setq mew-ham-prog-args '("-A" "" "ssh" "" "bogofilter" "-n" "-S" "-v"))) + +If you use SSH, you need to configure related hosts so that you can +login them without passwords. + + + +File: mew.info, Node: addr-warn, Next: biff, Prev: spam2, Up: Tips + +Warning addresses +================= + +Suppose you are writing a message which must be closed in your +company. You might write an non-employee's address by mistake. If you +tells your company's domains, for instance, to Mew, it turns +non-employee's addresses to red. + +There are four variables to decide which address should trun red. +They are all a list of strings. Mew takes the following rules: + + 1. If an address is specified in `mew-safe-addresses', no warning. + 2. If the address is specified in `mew-warn-addresses', warning. + 3. If its domain is specified in `mew-safe-domains', no warning. + 4. If its domain is specified in `mew-warn-domains', warning. + 5. If either `mew-warn-addresses' or `mew-safe-domains' defined, + warning. + 6. No warning. + +Here is an example that an address whose domain is not "@example.org" +turns red. + + (setq mew-safe-domains '("example.org")) + +If you want "customers@example.org" to turn red even its domain is +"@example.org", add the following line. + + (setq mew-warn-addresses '("customers@example.org")) + + + +File: mew.info, Node: biff, Next: edit, Prev: addr-warn, Up: Tips + +Biff +==== + +The functionality to check new messages is called biff. With the +following configuration Mew sees how many new messages have arrived +every 5 minutes. + + (setq mew-use-biff t) + +If one or more new messages exist, the total number is displayed in +the mode line. + +The server and the protocol, which Mew checks, are decided according +to `mew-proto' and the "case" (`mew-case') on boot time. + +With the following configuration, Mew beeps when the number of new +messages changes from zero to one or more. + + (setq mew-use-biff-bell t) + +To change the interval time of biff, set `mew-biff-interval'. Below +is an example to set it to 10 minutes. + + (setq mew-biff-interval 10) + + + +File: mew.info, Node: edit, Next: Convention, Prev: biff, Up: Tips + +Edit +==== + +Edit mode is a mode to edit a message to generate another new message. +The followings are typical examples: + + - Saving a new message with big attachments removed + - Saving a decrypted message whose original one is encrypted with + PGP/MIME or S/MIME + +To edit a current message in Edit mode, type `M-e'. Then, a new draft +is prepared like Draft mode. In Edit mode, you can edit a message as +if you were in Draft mode. + +To save edited message to a new message, type `C-cC-c' or +`C-cC-m'. They are the exactly same command. To execute one of them, +you are asked a folder to save the new message. + +Please take care that you may confuse this command as retry sending +(*Note sum-write::). Retry seinding is to send a message after editing +while Edit mode is to save a message after modifying. + +The following is summary of commands relating to Edit mode. To enter +Edit mode from Summary mode, use the following command. + +`M-e' + Entering Edit mode with the current message. + +The following is a summary of commands in Edit mode. + +`C-cC-c' + Saving the edited message to a new message. +`C-cC-m' + The same as `C-cC-c' +`Other commands' + The same as the other commands in Edit mode + + + + +File: mew.info, Node: Convention, Next: Implementation, Prev: edit, Up: Top + +E-mail convention +***************** + +When you exchange messages with other people, you should obey minimum +manner. It gives a bad impression to the people if you violate the +manner since such messages are hard to read. We always should try to +write concise yet comprehensive explanations and make an effort to +make receivers well-understood. + +We should take good care of the following items. + +Fill To: and Cc: fields precisely + To: is for target receivers and Cc: is for those who are received + for their information. If his address is not on To:, he might + skip to read the message. We should take care not to deliver to + wrong people by mistaking the addresses. + +The number of addresses To: and Cc: should be small + It is discouraged to specify a lot of mail addresses on To: and + Cc:. You should create a mailing-list instead. Or, if necessary, + you should make the destination anonymous (*Note anonymous::). + +Write a short and clear summary of body in Subject: + There are people who decide to read contents from their + Subject:. So, they might skip messages with improper Subject:. We + should not write a long subject since it is hard to read. + +Cite only necessary sentences + You should not bother to remove unnecessary sentences. With Mew, + citation must be a piece of cake. + +Make your signature simple + A long signature is just self-satisfaction. + +Do not send prank messages + I do not want to warn this kind of stuff. Nonetheless, someone + sends Happy or Unhappy messages to others. You should understand + that people doubt your character. + +Attach data files that the receivers can read + It is text only that you can send without any agreement with the + receivers. If you want to send data files other than text, you + should make an agreement with the receivers. To mailing-list, you + should send text only. + +If you wish to learn manner on the Internet more comprehensively, +please refer to RFC1855. + + + + +File: mew.info, Node: Implementation, Next: Avail, Prev: Convention, Up: Top + +Implementation Issues +********************* + +Why are "mewl" and "mewencode" necessary? + With Mew, you can read throw messages in Summary mode while you + are retrieving messages or listing the messages again. This means + that multiple control flows of program are necessary. To make + multiple control flows by Emacs, the only way is to make a TCP + connection or to execute sub-process (Emacs Lisp does NOT provide + a feature of light weight process). For POP and SMTP, Mew makes a + TCP connection, so they are not a problem. However, to list the + messages in Summary mode again, we have to execute a + command. This is why "mewl" exists. The reason why "mewencode" + exists is just for speed. When I programmed MIME encoding by + Emacs Lisp in several ways, they are too slow to use. So, I + decided to continue to use "mewencode". (If Base64 is implemented + by Emacs, Mew uses the native function.) + +Why does the cursor jump onto the end of line when searching(`C-s', `C-r')? + Thread informations are not displayed in Summary mode. This is + because the "invisible" property is dynamically put onto them + when displayed. Strings with this property is not a target of the + string search. But, thread informations of undisplayed lines do + not have this property, so the string search targets them. Then a + matched line is displayed and the "invisible" property is + put. So, it seems to you that the string search matches the end + of the line. Mew puts the "invisible" property for all lines in + Summary mode in background while there are no user key + inputs. When this word is finished, the `*' mark in the right + side of the mode line in Summary mode disappears. In this + situation, string search works exactly as you expect. + +MS's mailers can handle file names well if I attach files with Mew 4.3 + MS's mailers use "non-standard MS original" encoding to encode + file names. MS mailers should migrate to the standard + encoding. I repeatedly asked MS to do so, but they did not. So, + Mew took the following workaround: Mew basically uses the + standard encoding. In addition, Mew add "MS original parameter" + with file names encoded with "MS original" encoding. + + + + + +File: mew.info, Node: Avail, Next: obtain, Prev: Implementation, Up: Top + +Availability and mailing-list +***************************** + +This chapter describes how to get Mew and related mailing-lists. + +* Menu: + +* obtain:: How to get Mew? +* ml:: Mailing list + + + +File: mew.info, Node: obtain, Next: ml, Prev: Avail, Up: Avail + +How to get Mew? +=============== + +The latest Mew is available from the following repository. + + http://www.Mew.org/Release/ + +If you want to know about Git versions of Mew, please refer to: + + http://www.mew.org/en/git/ + + + +File: mew.info, Node: ml, Next: Copyright, Prev: obtain, Up: Avail + +Mailing list +============ + + +If you want to receive release announcements, ask questions, and/or +discuss features in English, please subscribe yourself to mew-en. + + https://groups.google.com/forum/#!forum/mew-en + + + + +File: mew.info, Node: Copyright, Next: Variable Index, Prev: ml, Up: Top + +Copyright +********* + +Mew conforms the following copyright. + +Copyright (C) 1994-2018 Mew developing team. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of the team nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +If you wish to distribute Mew in CD or something, please let me +know. I do not go mad even if you do not tell me but I'm very glad if +you do so. I never have declined requirements. + +The copyright of this manual belongs to the author. Permission is +granted to copy, modify, redistribute this manual but no warranty. + + + + +File: mew.info, Node: Variable Index, Next: Key Index, Prev: Copyright, Up: Top + +Variable Index +************** + + +* Menu: + +* mail-user-agent: Composing. (line 5) +* mail-user-agent: configuration. (line 5) +* mail-user-agent: start. (line 5) +* mew-addrbook-for-cite-label: draft-mode. (line 5) +* mew-addrbook-for-cite-prefix: draft-mode. (line 5) +* mew-addrbook-mode-hook: hooks. +* mew-addrbook-override-by-newone: auto-alias. (line 5) +* mew-ask-charset: charset. (line 5) +* mew-ask-fcc: send. (line 5) +* mew-ask-subject: send. (line 5) +* mew-auto-flush-queue: retrieving. (line 5) +* mew-auto-get: start. (line 5) +* mew-before-cite-hook: hooks. +* mew-biff-interval: biff. (line 5) +* mew-case-guess-alist: config. (line 5) +* mew-case-guess-when-composed: config. +* mew-case-guess-when-prepared: config. +* mew-case-guess-when-replied-alist: config. (line 5) +* mew-case-guess-when-replied: config. +* mew-cc: draft-mode. (line 5) +* mew-charset-latin: charset. (line 5) +* mew-charset-m17n: charset. (line 5) +* mew-cite-fields: draft-mode. (line 5) +* mew-cite-format: draft-mode. (line 5) +* mew-cite-hook: hooks. +* mew-cite-prefix: draft-mode. (line 5) +* mew-cite-prefix-function: draft-mode. (line 5) +* mew-config-alist: config. (line 5) +* mew-config-alist: config2. (line 5) +* mew-cs-samba: custom-misc. (line 5) +* mew-cursor-mark: highlight. (line 5) +* mew-dcc: draft-mode. (line 5) +* mew-debug: status-update. (line 5) +* mew-decode-broken: analysis. +* mew-decode-broken: status-update. (line 5) +* mew-decode-quoted: invalid. (line 5) +* mew-delete-unread-mark-by-mark: unread mark. (line 5) +* mew-draft-mode-edit-again-hook: hooks. +* mew-draft-mode-hook: hooks. +* mew-draft-mode-newdraft-hook: hooks. +* mew-draft-mode-reedit-draft-hook: hooks. +* mew-draft-mode-reedit-hook: hooks. +* mew-draft-mode-reedit-queue-hook: hooks. +* mew-draft-privacy-method: shortcut. (line 5) +* mew-end-of-message-string: multipart. (line 5) +* mew-end-of-part-string: multipart. (line 5) +* mew-env-hook: hooks. +* mew-field-delete-for-forwarding: forward. (line 5) +* mew-field-for-printing: custom-misc. (line 5) +* mew-fields: header. (line 5) +* mew-file-max-size: analysis. +* mew-flowed-auto-wrap: longline. (line 5) +* mew-flowed-fold-length: longline. (line 5) +* mew-flowed-fold-threshold: longline. (line 5) +* mew-from-list: cheader. (line 5) +* mew-ham-prog-args: spam2. (line 5) +* mew-ham-prog: spam2. (line 5) +* mew-header-alist: draft-mode. (line 5) +* mew-header-max-length: analysis. +* mew-header-mode-hook: hooks. +* mew-header-veil-count: features. (line 5) +* mew-highlight-body-max-size: highlight. (line 5) +* mew-imap-auth: imap. +* mew-imap-auth-list: imap. +* mew-imap-delete: imap. +* mew-imap-delete: retrieving. (line 5) +* mew-imap-header-only: imap. +* mew-imap-header-only: retrieving. (line 5) +* mew-imap-sentinel-hook: hooks. +* mew-imap-sentinel-hook: hooks. +* mew-imap-sentinel-non-biff-hook: hooks. +* mew-imap-server: configuration. (line 5) +* mew-imap-server: imap. +* mew-imap-size: imap. +* mew-imap-spam-field: spam. (line 5) +* mew-imap-spam-folder: spam. (line 5) +* mew-imap-spam-word: spam. (line 5) +* mew-imap-ssh-server: imap. +* mew-imap-ssl: imap. +* mew-imap-ssl-port: imap. +* mew-imap-trash-folder: delete mark. (line 5) +* mew-imap-trash-folder-list: delete mark. (line 5) +* mew-imap-user: imap. +* mew-inbox-action-alist: spam. (line 5) +* mew-init-hook: hooks. +* mew-lisp-max-length: auto-alias. (line 5) +* mew-lisp-max-length: by-from. (line 5) +* mew-lisp-max-length: by-thread. (line 5) +* mew-mail-address-list: reply. (line 5) +* mew-mail-domain-list: cheader. (line 5) +* mew-mailbox-type: config. (line 5) +* mew-mailbox-type: configuration. (line 5) +* mew-mailbox-type: retrieving. (line 5) +* mew-mailbox-type: start. (line 5) +* mew-make-message-hook: hooks. +* mew-mbox-command-arg: configuration. (line 5) +* mew-mbox-command: configuration. (line 5) +* mew-message-hook: hooks. +* mew-message-mode-hook: hooks. +* mew-mime-multipart-alternative-list: message-mode. (line 5) +* mew-name: configuration. (line 5) +* mew-nntp-header-only: nntp. +* mew-nntp-header-only: retrieving. (line 5) +* mew-nntp-msgid-domain: nntp. +* mew-nntp-msgid-user: nntp. +* mew-nntp-newsgroup: nntp. +* mew-nntp-sentinel-hook: hooks. +* mew-nntp-server: configuration. (line 5) +* mew-nntp-server: nntp. +* mew-nntp-size: nntp. +* mew-nntp-ssh-server: nntp. +* mew-nntp-ssl: nntp. +* mew-nntp-ssl-port: nntp. +* mew-nntp-user: nntp. +* mew-nntp2-flush-hook: hooks. +* mew-nntp2-sentinel-hook: hooks. +* mew-pack-hook: hooks. +* mew-pick-pattern-list: condition. (line 5) +* mew-pop-auth-list: pop. +* mew-pop-auth: pop. +* mew-pop-body-lines: pop. +* mew-pop-delete: pop. +* mew-pop-delete: retrieving. (line 5) +* mew-pop-header-only: pop. +* mew-pop-header-only: retrieving. (line 5) +* mew-pop-sentinel-hook: hooks. +* mew-pop-sentinel-non-biff-hook: hooks. +* mew-pop-server: pop. +* mew-pop-size: pop. +* mew-pop-ssh-server: SSH. (line 5) +* mew-pop-ssh-server: pop. +* mew-pop-ssl: SSL. (line 5) +* mew-pop-ssl: pop. +* mew-pop-ssl-port: SSL. (line 5) +* mew-pop-ssl-port: pop. +* mew-pop-user: configuration. (line 5) +* mew-pop-user: pop. +* mew-post-hook: hooks. +* mew-print-function: custom-misc. (line 5) +* mew-print-function: features. (line 5) +* mew-prog-gpg: cipher-viewing. (line 5) +* mew-prog-grep: condition. (line 5) +* mew-prog-grep-opts: condition. (line 5) +* mew-prog-msexcel-ext: message-mode. (line 5) +* mew-prog-msexcel: message-mode. (line 5) +* mew-prog-mspowerpoint-ext: message-mode. (line 5) +* mew-prog-mspowerpoint: message-mode. (line 5) +* mew-prog-msword-ext: message-mode. (line 5) +* mew-prog-msword: message-mode. (line 5) +* mew-prog-pgp: cipher-viewing. (line 5) +* mew-prog-pgp2: cipher-viewing. (line 5) +* mew-prog-pgp5: cipher-viewing. (line 5) +* mew-prog-text/html-ext: message-mode. (line 5) +* mew-protect-privacy-always: shortcut. (line 5) +* mew-protect-privacy-always-type: shortcut. (line 5) +* mew-protect-privacy-encrypted: shortcut. (line 5) +* mew-protect-privacy-encrypted-type: shortcut. (line 5) +* mew-protect-privacy-with-old-pgp-signature: shortcut. (line 5) +* mew-proto: config. (line 5) +* mew-proto: configuration. (line 5) +* mew-proto: start. (line 5) +* mew-quit-hook: hooks. +* mew-real-post-hook: hooks. +* mew-real-send-hook: hooks. +* mew-refile-auto-refile-skip-any-mark: auto-refile. (line 5) +* mew-refile-ctrl-multi: guess-rule. (line 5) +* mew-refile-guess-alist: by-alist. (line 5) +* mew-refile-guess-by-from-learn-hook: hooks. +* mew-refile-guess-control: guess-rule. (line 5) +* mew-refile-guess-from-me-is-special: by-from-folder. (line 5) +* mew-refile-guess-from-me-is-special: by-from. (line 5) +* mew-refile-guess-strip-domainpart: by-default. (line 5) +* mew-reply-all-alist: reply. (line 5) +* mew-reply-fromme-alist: reply. (line 5) +* mew-reply-sender-alist: reply. (line 5) +* mew-safe-addresses: addr-warn. (line 5) +* mew-safe-domains: addr-warn. (line 5) +* mew-scan-sentinel-hook: hooks. +* mew-search-method: dbsearch. (line 5) +* mew-send-hook: hooks. +* mew-signature-as-lastpart: cite. (line 5) +* mew-signature-file: cite. (line 5) +* mew-signature-insert-last: cite. (line 5) +* mew-smtp-auth-list: smtp. +* mew-smtp-flush-hook: hooks. +* mew-smtp-helo-domain: smtp. +* mew-smtp-mail-from: smtp. +* mew-smtp-msgid-domain: smtp. +* mew-smtp-msgid-user: smtp. +* mew-smtp-port: smtp. +* mew-smtp-sentinel-hook: hooks. +* mew-smtp-server: configuration. (line 5) +* mew-smtp-server: smtp. +* mew-smtp-ssh-server: smtp. +* mew-smtp-ssl: SSL. (line 5) +* mew-smtp-ssl-port: smtp. +* mew-smtp-ssl: smtp. +* mew-smtp-user: smtp. +* mew-sort-default-key-alist: sorting. (line 5) +* mew-sort-default-key: sorting. (line 5) +* mew-sort-hook: hooks. +* mew-sort-key-alist: sorting. (line 5) +* mew-spam-prog-args: spam2. (line 5) +* mew-spam-prog: spam2. (line 5) +* mew-spam: spam. (line 5) +* mew-ssl-cert-directory: SSL. (line 5) +* mew-ssl-verify-level: SSL. (line 5) +* mew-status-update-hook: hooks. +* mew-summary-delete-folder-hook: hooks. +* mew-summary-exec-hook: hooks. +* mew-summary-form-extract-rule: summary-mode. (line 5) +* mew-summary-form-from-me-prefix: summary-mode. (line 5) +* mew-summary-form-mark-delete: summary-mode. (line 5) +* mew-summary-form-mark-review: summary-mode. (line 5) +* mew-summary-form-mark-spam: summary-mode. (line 5) +* mew-summary-form: summary-mode. (line 5) +* mew-summary-ls-no-scan-hook: hooks. +* mew-summary-mark-direction: summary-mode. (line 5) +* mew-summary-mode-hook: hooks. +* mew-summary-rename-folder-hook: hooks. +* mew-summary-show-direction: summary-mode. (line 5) +* mew-summary-toggle-disp-msg-hook: hooks. +* mew-suspend-hook: hooks. +* mew-syntax-format-hook: hooks. +* mew-theme-file: highlight. (line 5) +* mew-thread-display-hook: hooks. +* mew-thread-separator: thread. (line 5) +* mew-trash-folder: delete mark. (line 5) +* mew-trash-folder-list: delete mark. (line 5) +* mew-use-8bit: smtp. +* mew-use-8bit: status-update. (line 5) +* mew-use-alternative: analysis. +* mew-use-biff-bell: biff. (line 5) +* mew-use-biff: biff. (line 5) +* mew-use-cached-passwd: password. (line 5) +* mew-use-cursor-mark: highlight. (line 5) +* mew-use-fast-refile: by-folder. (line 5) +* mew-use-format-flowed: longline. (line 5) +* mew-use-full-window: summary-mode. (line 5) +* mew-use-header-veil: features. (line 5) +* mew-use-header-veil: status-update. (line 5) +* mew-use-highlight-body: highlight. (line 5) +* mew-use-highlight-cursor-line: highlight. (line 5) +* mew-use-highlight-header: highlight. (line 5) +* mew-use-highlight-mark: highlight. (line 5) +* mew-use-highlight-mouse-line: highlight. (line 5) +* mew-use-highlight-url: highlight. (line 5) +* mew-use-highlight-x-face: highlight. (line 5) +* mew-use-master-passwd: password. (line 5) +* mew-use-node-folder: by-folder. (line 5) +* mew-use-old-pgp: shortcut. (line 5) +* mew-use-old-pgp: status-update. (line 5) +* mew-use-samba-encoding: custom-misc. (line 5) +* mew-use-smtp-auth: smtp. +* mew-use-text-body: analysis. +* mew-use-text/html: analysis. +* mew-use-text/xml: analysis. +* mew-use-thread-separator: thread. (line 5) +* mew-use-unread-mark: unread mark. (line 5) +* mew-user: configuration. (line 5) +* mew-virtual-mode-hook: hooks. +* mew-visit-inbox-after-setting-case: visiting. (line 5) +* mew-visit-queue-after-sending: visiting. (line 5) +* mew-warn-addresses: addr-warn. (line 5) +* mew-warn-domains: addr-warn. (line 5) +* mew-warning-field-level: status-update. (line 5) +* mew-x-pgp-key-list: cipher-viewing. (line 5) +* read-mail-command: configuration. (line 5) + + + + +File: mew.info, Node: Key Index, Prev: Variable Index, Up: Top + +Key Index +********* + + +* Menu: + +* A (Summary): Composing. (line 5) +* A (Summary): reply. (line 5) +* A (Summary): sum-write. (line 5) +* B (Attach): mark-b-comp. (line 5) +* B (Summary): features. (line 5) +* C (Attach): charset-guess. (line 5) +* C (Attach): mime-comp. (line 5) +* C (Summary): features. (line 5) +* C-b (Attach): mime-comp. (line 5) +* C-cC-a (Draft): mime-comp. (line 5) +* C-cC-a (Summary): addrbook. (line 5) +* C-cC-a (Summary): features. (line 5) +* C-cC-b (Draft): shortcut. (line 5) +* C-cC-c (Addrbook): addrbook. (line 5) +* C-cC-c (Draft): send. (line 5) +* C-cC-c (Edit): edit. (line 5) +* C-cC-c (Header): resend. (line 5) +* C-cC-c (Summary): off-line. (line 5) +* C-cC-c (Summary): send. (line 5) +* C-cC-e (Draft): shortcut. (line 5) +* C-cC-e (Summary): message-mode. (line 5) +* C-cC-f (Draft): longline. (line 5) +* C-cC-f (Summary): cipher-viewing. (line 5) +* C-cC-l (Draft): cite. (line 5) +* C-cC-l (Summary): invalid. (line 5) +* C-cC-m (Draft): send. (line 5) +* C-cC-m (Edit): edit. (line 5) +* C-cC-m (Header): resend. (line 5) +* C-cC-o (Draft): config. (line 5) +* C-cC-o (Summary): visiting. (line 5) +* C-cC-pC-a (Draft): shortcut. (line 5) +* C-cC-pC-e (Draft): shortcut. (line 5) +* C-cC-pC-f (Draft): longline. (line 5) +* C-cC-pC-m (Draft): shortcut. (line 5) +* C-cC-q (Addrbook): Quit. (line 5) +* C-cC-q (Addrbook): addrbook. (line 5) +* C-cC-q (Draft): Quit. (line 5) +* C-cC-q (Header): Quit. (line 5) +* C-cC-q (Summary): Quit. (line 5) +* C-cC-r (Draft): shortcut. (line 5) +* C-cC-r (Summary): features. (line 5) +* C-cC-s (Draft): shortcut. (line 5) +* C-cC-s (Summary): features. (line 5) +* C-cC-t (Draft): cite. (line 5) +* C-cC-v (Summary): cipher-viewing. (line 5) +* C-cC-v (Summary): features. (line 5) +* C-cC-y (Draft): cite. (line 5) +* C-cC-z (Summary): cipher-viewing. (line 5) +* C-cC-z (Summary): features. (line 5) +* C-cTAB (Draft): cheader. (line 5) +* C-cTAB (Draft): cite. (line 5) +* C-cTAB (Summary): analysis. (line 5) +* C-f (Attach): mime-comp. (line 5) +* C-n (Attach): mime-comp. (line 5) +* C-n (Summary): singlepart. (line 5) +* C-p (Attach): mime-comp. (line 5) +* C-p (Summary): singlepart. (line 5) +* C-u: (Summary): analysis. (line 5) +* C-u. (Summary): analysis. (line 5) +* C-u. (Summary): invalid. (line 5) +* C-u/ (Summary): search. (line 5) +* C-u? (Summary): search. (line 5) +* C-uA (Summary): reply. (line 5) +* C-uC-cC-a (Summary): addrbook. (line 5) +* C-uC-cC-e (Summary): message-mode. (line 5) +* C-uC-cC-f (Summary): cipher-viewing. (line 5) +* C-uC-cC-l (Summary): invalid. (line 5) +* C-uD (Summary): delete mark. (line 5) +* C-uD (Summary): features. (line 5) +* C-uM-n (Summary): keyword. (line 5) +* C-uM-o (Summary): auto-refile. (line 5) +* C-uM-p (Summary): keyword. (line 5) +* C-uM-x mew: start. (line 5) +* C-uSPC (Summary): singlepart. (line 5) +* C-uZ (Summary): status-update. (line 5) +* C-ua (Summary): reply. (line 5) +* C-uj (Summary): singlepart. (line 5) +* C-uk/ (Summary): search. (line 5) +* C-ukI (Summary): dialog. (line 5) +* C-umI (Summary): target mark. (line 5) +* C-un (Summary): singlepart. (line 5) +* C-up (Summary): singlepart. (line 5) +* C-us (Summary): retrieving. (line 5) +* C-utt (Summary): thread. (line 5) +* C-uw (Summary): sum-write. (line 5) +* C-x RET l: charset-guess. (line 5) +* C-xm: Composing. (line 5) +* C-xm: start. (line 5) +* D (Attach): mime-comp. (line 5) +* D (Summary): delete mark. (line 5) +* D (Summary): features. (line 5) +* DEL (Summary): singlepart. (line 5) +* E (Attach): mark-b-comp. (line 5) +* E (Summary): sum-write. (line 5) +* F (Attach): mime-comp. (line 5) +* F (Summary): Composing. (line 5) +* F (Summary): forward. (line 5) +* F (Summary): sum-write. (line 5) +* F (Summary): target mark. (line 5) +* G (Attach): mark-b-comp. (line 5) +* I (Attach): charset-guess. (line 5) +* I (Summary): retrieving. (line 5) +* J (Summary): target mark. (line 5) +* M-RET (Summary): singlepart. (line 5) +* M-\ (Summary): target mark. (line 5) +* M* (Summary): unmark. (line 5) +* M-b (Summary): target mark. (line 5) +* M-d (Summary): delete mark. (line 5) +* M-e (Attach): mark-b-comp. (line 5) +* M-e: edit. (line 5) +* M-l (Summary): features. (line 5) +* M-n (Summary): keyword. (line 5) +* M-o (Summary): auto-refile. (line 5) +* M-p (Summary): keyword. (line 5) +* M-s (Attach): mark-b-comp. (line 5) +* M-s (Summary): sorting. (line 5) +* M-t (Summary): target mark. (line 5) +* M-u: unread mark. (line 5) +* M-x mew: Viewing. (line 5) +* M-x mew-send: Composing. (line 5) +* M-x mew-send: start. (line 5) +* M-x mew: start. (line 5) +* Md (Summary): delete mark. (line 5) +* N (Summary): target mark. (line 5) +* P (Attach): mime-comp. (line 5) +* P (Summary): target mark. (line 5) +* Q (Attach): mark-b-comp. (line 5) +* Q (Summary): Quit. (line 5) +* RET (Summary): singlepart. (line 5) +* Rd (Summary): features. (line 5) +* Rr (Summary): features. (line 5) +* S (Attach): mark-b-comp. (line 5) +* S (Summary): sorting. (line 5) +* SPC (Summary): singlepart. (line 5) +* : (Summary): analysis. (line 5) +* , (Summary): analysis. (line 5) +* . (Summary): analysis. (line 5) +* ; (Summary): features. (line 5) +* = (Summary): features. (line 5) +* | (Summary): features. (line 5) +* # (Summary): features. (line 5) +* _ (Summary): features. (line 5) +* _ (Summary): longline. (line 5) +* / (Summary): search. (line 5) +* ? (Summary): search. (line 5) +* - (Summary): singlepart. (line 5) +* * (Summary): target mark. (line 5) +* T (Attach): mime-comp. (line 5) +* TAB (Draft): header. (line 5) +* U (Attach): mark-b-comp. (line 5) +* U (Summary): unmark. (line 5) +* V (Summary): dialog. (line 5) +* ) (Virtual): thread. (line 5) +* ( (Virtual): thread. (line 5) +* & (Virtual): thread. (line 5) +* ^ (Virtual): thread. (line 5) +* W (Summary): resend. (line 5) +* W (Summary): sum-write. (line 5) +* Z (Attach): mark-b-comp. (line 5) +* Z (Summary): auto-alias. (line 5) +* Z (Summary): status-update. (line 5) +* a (Attach): mime-comp. (line 5) +* a (Summary): Composing. (line 5) +* a (Summary): reply. (line 5) +* a (Summary): sum-write. (line 5) +* b (Summary): features. (line 5) +* c (Attach): mime-comp. (line 5) +* d (Attach): mime-comp. (line 5) +* d (Summary): delete mark. (line 5) +* e (Attach): mime-comp. (line 5) +* f (Attach): mime-comp. (line 5) +* f (Summary): Composing. (line 5) +* f (Summary): forward. (line 5) +* f (Summary): sum-write. (line 5) +* g (Summary): moving. (line 5) +* i (Attach): mime-comp. (line 5) +* i (Summary): retrieving. (line 5) +* i (Summary): send. (line 5) +* j (Summary): singlepart. (line 5) +* k/ (Summary): search. (line 5) +* k? (Summary): search. (line 5) +* kI (Summary): dialog. (line 5) +* kM: dbsearch. (line 5) +* kc: dbsearch. (line 5) +* km: dbsearch. (line 5) +* lc (Summary): copy-msg. (line 5) +* lh (Summary): spam2. (line 5) +* li (Summary): copy-msg. (line 5) +* ls (Summary): spam2. (line 5) +* lx: off-line. (line 5) +* m (Attach): mime-comp. (line 5) +* m* (Summary): mark change. (line 5) +* m$ (Summary): mark change. (line 5) +* m*: escape mark. (line 5) +* m$: escape mark. (line 5) +* mI (Summary): target mark. (line 5) +* mM-d (Summary): delete mark. (line 5) +* mM-d (Summary): mark change. (line 5) +* mM-u (Summary): mark change. (line 5) +* ma (Summary): target mark. (line 5) +* mc (Summary): mark change. (line 5) +* md (Summary): delete mark. (line 5) +* md (Summary): mark change. (line 5) +* mlc (Summary): copy-msg. (line 5) +* mli (Summary): copy-msg. (line 5) +* mo (Summary): mark change. (line 5) +* mr (Summary): target mark. (line 5) +* ms (Summary): mark change. (line 5) +* mt (Summary): thread. (line 5) +* mxM-d (Summary): delete mark. (line 5) +* mxd (Summary): delete mark. (line 5) +* n (Summary): singlepart. (line 5) +* o (Summary): refile mark. (line 5) +* p (Attach): mime-comp. (line 5) +* p (Attach): pgp-key. (line 5) +* p (Summary): singlepart. (line 5) +* q (Summary): Quit. (line 5) +* r (Summary): resend. (line 5) +* s (Summary): off-line. (line 5) +* s (Summary): retrieving. (line 5) +* t (Attach): mime-comp. (line 5) +* t (Virtual): thread. (line 5) +* t* (Virtual): thread. (line 5) +* tM-d (Virtual): thread. (line 5) +* tSPC (Virtual): thread. (line 5) +* ta (Virtual): thread. (line 5) +* td (Virtual): thread. (line 5) +* tg (Virtual): thread. (line 5) +* tn (Virtual): thread. (line 5) +* to (Virtual): thread. (line 5) +* tp (Virtual): thread. (line 5) +* tr (Summary): thread. (line 5) +* tt (Summary): thread. (line 5) +* tu (Virtual): thread. (line 5) +* u (Summary): unmark. (line 5) +* v (Summary): features. (line 5) +* w (Summary): Composing. (line 5) +* w (Summary): sum-write. (line 5) +* x (Summary): Marks. (line 5) +* x (Summary): delete mark. (line 5) +* x (Summary): unmark. (line 5) +* y (Attach): mime-comp. (line 5) +* y (Summary): features. (line 5) +* z8 (Summary): status-update. (line 5) +* zSPC: unread mark. (line 5) +* zc (Summary): status-update. (line 5) +* zd (Summary): status-update. (line 5) +* zo (Summary): status-update. (line 5) +* zp (Summary): status-update. (line 5) +* zv (Summary): features. (line 5) +* zv (Summary): status-update. (line 5) +* zw (Summary): status-update. (line 5) +* zz (Summary): message-mode. (line 5) + +Tag table: +Node: Top285 +Node: Overview1499 +Node: characteristic2392 +Node: Emacsen4118 +Node: modes4335 +Node: folder convention5102 +Node: configuration8154 +Node: password10927 +Node: start13450 +Node: Viewing14618 +Node: singlepart15914 +Node: multipart17403 +Node: analysis20633 +Node: cipher-viewing24582 +Node: retrieving29608 +Node: moving33617 +Node: sum-write36265 +Node: features38642 +Node: status-update41122 +Node: invalid42147 +Node: Composing44344 +Node: header46392 +Node: cheader47392 +Node: addr-comp49194 +Node: addrbook51072 +Node: auto-alias54264 +Node: addr-comp155983 +Node: addr-comp258405 +Node: send60622 +Node: cite63713 +Node: mime-comp65959 +Node: charset-guess73306 +Node: longline76993 +Node: reply78821 +Node: forward82639 +Node: resend83512 +Node: shortcut85585 +Node: mark-b-comp91019 +Node: pgp-key93984 +Node: anonymous94865 +Node: Marks96432 +Node: unread mark98076 +Node: delete mark99577 +Node: refile mark101819 +Node: target mark103430 +Node: escape mark105061 +Node: unmark105916 +Node: mark change106895 +Node: sync108339 +Node: off-line109517 +Node: mew-mark111367 +Node: Refile112089 +Node: by-folder113949 +Node: by-alist115846 +Node: by-thread117929 +Node: by-from-folder118783 +Node: by-from120140 +Node: by-newsgroups121719 +Node: by-default122054 +Node: guess-rule122508 +Node: auto-refile124279 +Node: copy-msg126491 +Node: Virtual127758 +Node: selection129418 +Node: sorting130138 +Node: dialog131981 +Node: search133108 +Node: condition134272 +Node: dbsearch136511 +Node: keyword137735 +Node: thread138593 +Node: thread-op139853 +Node: Quit142019 +Node: Customize142568 +Node: summary-mode143383 +Node: message-mode147542 +Node: draft-mode151076 +Node: charset154043 +Node: highlight156249 +Node: hooks159213 +Node: pop163762 +Node: imap165441 +Node: nntp167009 +Node: smtp168370 +Node: config170855 +Node: config2176785 +Node: custom-misc178301 +Node: Tips179322 +Node: region179910 +Node: visiting180600 +Node: SSH181130 +Node: SSL182102 +Node: TLS184475 +Node: spam185374 +Node: spam2187663 +Node: addr-warn188997 +Node: biff190125 +Node: edit190883 +Node: Convention192158 +Node: Implementation194226 +Node: Avail196589 +Node: obtain196896 +Node: ml197188 +Node: Copyright197476 +Node: Variable Index199425 +Node: Key Index214736 + +End tag table diff --git a/elpa/mew-20180911.123/mew.ja.info b/elpa/mew-20180911.123/mew.ja.info new file mode 100644 index 00000000..9b7d7b34 --- /dev/null +++ b/elpa/mew-20180911.123/mew.ja.info @@ -0,0 +1,6173 @@ +Info file: mew.ja.info, -*-Text-*- +produced by ‘texinfo-format-buffer’ +from file ‘mew.texi’ +using ‘texinfmt.el’ version 2.42 of 7 Jul 2006. + +INFO-DIR-SECTION Message User Agent +START-INFO-DIR-ENTRY +* Mew-J: (mew.ja.info). Messaging in the Emacs World. +END-INFO-DIR-ENTRY + + + + + + +File: mew.ja.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir) + +Mew 6.8 マニュアル +****************** + + 山本和彦 + 作成 1996/02/19 + 更新 2018/06/07 + +このマニュアルでは、Mew バージョン 6.8 について解説します。このマニュ +アルの他に、Mew に関する有益な情報は Mew の公式ホームページ +(http://www.Mew.org/)から得られるかもしれません。 + + +* Menu: + +* Overview:: はじめに読んでね +* Viewing:: メッセージを表示する +* Composing:: メッセージを作成する +* Marks:: 愉快なマークたち +* Refile:: 楽々整理整頓 +* Virtual:: 仮想フォルダ +* Quit:: 一休み +* Customize:: カスタマイズ +* Tips:: さらなる一歩 +* Convention:: メッセージの作法 +* Implementation:: 実装について +* Avail:: 入手方法とメーリングリスト +* Copyright:: 著作権について +* Variable Index:: 変数索引 +* Key Index:: キー索引 + + + + +File: mew.ja.info, Node: Overview, Next: characteristic, Prev: Top, Up: Top + +はじめに読んでね +**************** + +Mew とは、テキスト・メールやマルチメディア・メール(MIME)、ニュース、セ +キュリティ機能(PGP、S/MIME、SSH、SSL)を便利に利用するためのユーザイン +ターフェイスです。最新の検索サービスとも連動します。 + +Mew は 「Messaging in the Emacs World」 の略です。先頭の M は大文字で +表記し、「みゅう」と読みます。M で始まるかわいらしい単語を選んだ結果 +Mewになりました。決して漫画の題名や某アイドルの歌、あるいは、関西の会 +社に因んでいるわけではありません。:p + +* Menu: + +* characteristic:: Mew の特長 +* Emacsen:: Emacs のバージョン +* modes:: モード +* folder convention:: フォルダの種類 +* configuration:: 初期設定 +* password:: パスワード +* start:: 起動 + + + + +File: mew.ja.info, Node: characteristic, Next: Emacsen, Prev: Overview, Up: Overview + +Mew の特長 +========== + +Mew バージョン 6.8 の特長を以下に示します。 + + - 複雑な構造を持つメッセージを簡単に表示できます。メッセージを表示 + する作業は、`SPC' を押すだけです。 + - コピー程度のファイルの操作を知っている人ならだれでも簡単に複雑な + メッセージを作成できます。 + - メッセージの一覧表示が終了するまで待たなくても、メッセージを読み + 始められます。 + - Summary モードのメッセージの一覧を保存しているので、フォルダを移 + 動した場合は、更新された部分だけを一覧表示します。 + - メッセージの整頓先を賢く推測します。たくさんメッセージを受け取る + 人は、これがないと生きていけません。 + - Draft モードでは、フィールド名、メールアドレス、氏名、ドメイン名、 + フォルダ名を補完できます。 + - キーワードなどによって、探したいメッセージを簡単に検索できます。 + - PGP や S/MIME で暗号化されたメッセージを自動的に復号化します。ま + た、電子署名を自動的に検証します。 + - MIME の構造を解析したり、PGP や S/MIME の署名を検証したりするのに + は少し時間がかかります。そこで、ユーザがあるメッセージを読んでい + る間に、次のメッセージをあらかじめ処理しておくことで高速性を実現 + しています。解析されたメッセージは、しばらくの間保存されます。 + - PGP や S/MIME を使って、メッセージを簡単に暗号化したり、署名した + りできます。 + - 複数のフォルダを 1 つのフォルダに見せかけられます。 + - メッセージのやり取りの流れを可視化するセレクションやスレッドの機 + 能を備えています。特定のキーワードに合致したメッセージでセレクショ + ンを作り、さらにそのスレッドを作成できます。 + - フォルダ名を入力する場合、フォルダ名の一部をキーとして検索できま + す。 + + + + +File: mew.ja.info, Node: Emacsen, Next: modes, Prev: characteristic, Up: Overview + +Emacs のバージョン +================== + +Emacs 24.3 以降を使って下さい。これらより前のバージョンや XEmacs は、 +サポートしていません。 + + + + +File: mew.ja.info, Node: modes, Next: folder convention, Prev: Emacsen, Up: Overview + +モード +====== + +Mew には次の 7 つのモードがあります。 + +`Summary モード' + メッセージの一覧を表示し選択するモード。 +`Virtual モード' + 単数あるいは複数のフォルダからある条件に合致したメッセージを取り + 出し、仮想的に 1 つのフォルダにしたモード。Summary モードに似てい + る。セレクションやスレッドと呼ばれる。 +`Message モード' + メッセージの内容を表示するモード。 +`Draft モード' + メッセージの送信、返答、転送を準備するためのモード。 +`Header モード' + 既存のメッセージのヘッダのみを編集し送信するためのモード。 +`Edit モード' + 既存のメッセージを編集し、新しいメッセージを作成するためのモード。 +`Addrbook モード' + アドレス帳にエントリを登録するためのモード。 + + + + +File: mew.ja.info, Node: folder convention, Next: configuration, Prev: modes, Up: Overview + +フォルダの種類 +============== + +Mew の用語では、メッセージが届く場所を「メールボックス」と呼びます。メー +ルボックスの種類としては、ローカルのメールボックス、POP サーバ、IMAP +サーバ、および NNTP サーバがあります。 + +また、Mew 自身がメッセージを格納する箱のことを「フォルダ」と呼びます。 +フォルダ名は、一文字の記号からなる修飾子と文字列が連結された形式になっ +ています。たとえば、「+inbox」というフォルダの修飾子は「+」です。 + +Mew のフォルダには、「ローカル・フォルダ」と「リモート・フォルダ」の 2 +種類があります。 + +ローカル・フォルダとは、Mew が動いているコンピュータに「本物」が作られ +るフォルダです。そのフォルダに格納されるメッセージも本物です。(ですか +ら、もしそのフォルダのメッセージを消してしまうと復元できません。) + +ローカル・フォルダの修飾子は "+" です。以下に特殊なローカル・フォルダ +を挙げます。 + +`+inbox' + ローカルのメールボックスや POP サーバに届いたメッセージを、ローカ + ルに移動させて最初に保存するためのローカル・フォルダ。メッセージ + を整理する場合は、"+inbox" から他のローカル・フォルダに移動させる + ことになる。 +`+draft' + 書きかけのメッセージを保存しておくローカル・フォルダ。 +`+queue' + 書き終ってメールの配送に適した書式に変換されたメッセージが溜るロー + カル・フォルダ。"+queue" のメッセージは、いずれ SMTP によって送信 + さる。 +`+postq' + 書き終ってニュースに投稿するのに適した書式に変換されたメッセージ + が溜るローカル・フォルダ。"+postq" のメッセージは、いずれ NNTP に + よって送信される。 + +リモート・フォルダとは、サーバ側にあるフォルダをローカルにコピーしたも +のです。本物のメッセージはあくまでサーバ側にあり、ローカルにはメッセー +ジのコピーがキャッシュされます。 + +利用できるリモート・フォルダの修飾子を以下に示します。 + +`%' + IMAP のフォルダ。例:"%inbox" +`$' + POP サーバのサーバ側のフォルダ。例:"$inbox" (POP サーバのフォル + ダは 1つしかないので、"$" で始まるリモート・フォルダは "$inbox" + のみ。) +`-' + ニュースのニュースグループ。例:"-fj.mail.reader.mew" + +サーバが異なれば、リモート・フォルダの実体も異なります。複数のサーバは、 +ケースという機能を使って指定します。詳しくは、*Note config:: を参照し +て下さい。あるケースに対するリモート・フォルダは、"case:folder" のよう +に、フォルダ名の前にケース名を付けて指定します。ケースが "default" で +ある場合は、"case:" の部分を省略可能です。 + +ケースと修飾子の組は、あるメッセージが属す世界を構成しています。メッセー +ジは、それが属す世界の中を移動できます。受け取ったメッセージは、後で探 +しやすいように、適切なフォルダに移動させて保存します。この整頓の方法に +ついて、*Note Refile:: を参照して下さい。 + +なお、POP サーバには "$inbox" というフォルダしかありませんから、"$" の +世界でメッセージを移動させることはできません。また、ニュースの記事は自 +分のものではありませんから、"-" の世界でもメッセージの移動は不可能です。 + +世界を超えてメッセージを移動させたい場合は、コピーします。ただし、コピー +先はローカル・フォルダに限定されます。この方法は、*Note retrieving:: +で説明されています。 + +フォルダのリストを作成しておくと、フォルダ名に対し補完が利用できて便利 +です。フォルダのリストを作成する方法は、*Note status-update:: を参照し +て下さい。 + + + + +File: mew.ja.info, Node: configuration, Next: password, Prev: folder convention, Up: Overview + +初期設定 +======== + +Mew を起動するには、組織の設定ファイルか自分の "~/.emacs" に以下の設定 +が必要です。 + + (autoload 'mew "mew" nil t) + (autoload 'mew-send "mew" nil t) + + ;; Optional setup (Read Mail menu): + (setq read-mail-command 'mew) + + ;; Optional setup (e.g. C-xm for sending a message): + (autoload 'mew-user-agent-compose "mew" nil t) + (if (boundp 'mail-user-agent) + (setq mail-user-agent 'mew-user-agent)) + (if (fboundp 'define-mail-user-agent) + (define-mail-user-agent + 'mew-user-agent + 'mew-user-agent-compose + 'mew-draft-send-message + 'mew-draft-kill + 'mew-send-hook)) + +Latin-1 のために、Emacs を --unibyte オプション付で起動しているか、環 +境変数 EMACS_UNIBYTE と共に起動している場合、以下の設定を "~/.emacs" +に入れて下さい。 + + (set-language-environment "Latin-1") + (set-input-method "latin-1-prefix") ;; or "latin-1-postfix" + +Latin-1 のために、以下のような設定をしているなら、削って下さい。これは +Latin-1 にカスタマイズするための方法としては推奨されていませんし、この +設定では Mew は正しく動きません。 + + (standard-display-european 1) + +Mew は起動時に、"~/.mew.el" を読み込みます。Mew に関する設定は、このファ +イルに入れるとよいでしょう。 + +メールアドレスを指定するために、以下の設定が必要です。 + + ;; (setq mew-name "your name") ;; (user-full-name) + ;; (setq mew-user "user name of e-mail address") ;; (user-login-name) + (setq mew-mail-domain "domain of e-mail address") + +SMTP を使ってメッセージを送信するためには、以下の設定が必要です。 + + (setq mew-smtp-server "your SMTP server") ;; if not localhost + +POP を使ってメッセージを受信する場合は、以下の設定が必要です。 + + ;; (setq mew-pop-user "your POP account") ;; (user-login-name) + (setq mew-pop-server "your POP server") ;; if not localhost + +メッセージの受信にローカルのメールボックスを利用したい場合は、以下のよ +うな設定が必要です。 + + ;; To use local mailbox "mbox" or "maildir" instead of POP + (setq mew-mailbox-type 'mbox) + (setq mew-mbox-command "incm") + (setq mew-mbox-command-arg "-u -d /path/to/mbox") + ;; If /path/to/mbox is a file, it means "mbox". + ;; If /path/to/mbox is a directory, it means "maildir". + +IMAP を使ってメッセージを受信する場合は、以下の設定が必要です。 + + (setq mew-proto "%") + ;; (setq mew-imap-user "your IMAP account") ;; (user-login-name) + (setq mew-imap-server "your IMAP server") ;; if not localhost + +ニュースを読み書きする場合は、以下の設定が必要です。 + + ;; (setq mew-nntp-user "your NNTP account") + (setq mew-nntp-server "your NNTP server") + + + + +File: mew.ja.info, Node: password, Next: start, Prev: configuration, Up: Overview + +パスワード +========== + +メッセージを送受信したり、PGP や S/MIME を使ったりする場合には、パスワー +ドを訊かれることがあります。パスワードを入力する前に以下の条件のどちら +かが満たされていることを確認しましょう。 + + - Emacs が目の前のコンピュータで動いている + - Emacs が遠隔のコンピュータで動いているが、なんらかの暗号手段を使っ + て通信している。 + +どちらの条件も満たされない場合は、パスワードを入力しないで下さい。入力 +すると盗聴される恐れがあります。 + +パスワードを何回も入力するのが面倒な人は、パスワードを保存する機能を利 +用して下さい。2 つの方法があります。 + + 1. パスワードをメモリに一時的に蓄える。ファイルには書き出さない。 + 2. パスワードをメモリに Mew が起動している間中蓄える。Mew/Emacs の終 + 了時に、パスワードを暗号化しファイルに書き出す。 + +1. の機能を利用するには、以下のように設定します。 + + (setq mew-use-cached-passwd t) + +2. の機能を利用するには、まず GnuPG をインストールします。GnuPG は、バー +ジョン 1.x、2.1.23以降に対応しています。バージョン2.1.23以降を使う場合 +は、"~/.gnupg/gpg.conf" に以下の設定を加えます。 + + no-auto-key-retrieve + auto-key-locate local + +そして、以下のように設定します。 + + (setq mew-use-master-passwd t) + +両方の変数が `t' の場合、2. の機能が利用されます。 + +1. の機能:あらゆるパスワード(POP、PGP など)が一時的にメモリに保存され +ます。パスワードが保存されている間は、パスワードの入力を省略できます。 +保存されているパスワードは一定時間(通常は 20 分)が過ぎると消去されます。 +ただし、保存されているパスワードが内部で利用されると、保存期間が延長さ +れます(20 分に戻ります)。 + +2. の機能:Mew の起動時に、マスターパスワードを訊かれます。Mew はその +マスターパスワードで、暗号化されているパスワードを復号化し、メモリに蓄 +えます。たとえば、以前 POP のパスワードを入力していれば、それがメモリ +に蓄えられていますから、次に POP のパスワードが必要な際、POP のパスワー +ドの入力を省略できます。はじめてマスターパスワードを利用する際は、確認 +のためマスターパスワードを 2 回訊きます。また、たとえば POP のパスワー +ドも1 回だけ入力するように促されます。Mew の起動時に、間違ったマスター +パスワードを入力することもあるでしょう。その場合、1. の機能を有効にし +ているなら、1. の機能が使われます。有効でなければ、パスワードの保存機 +能は利用されません。 + +マスターパスワードを変更するには、Summary モードで `C-cC-m' と入力しま +す。 + +メモリに保存されているパスワードは、暗号化されていません。そこで、 +1. または 2. の方法を使う場合は、他の人に自分が起動した Emacs を触られ +ないように気をつけて下さい。もし席を空け、Emacs をよく知っている他の人 +にEmacs を操作された場合、パスワードを盗み取られる可能性があります。 + + + + +File: mew.ja.info, Node: start, Next: Viewing, Prev: password, Up: Overview + +起動 +==== + +Mew を起動するには、以下の方法があります。 + +`M-x mew' + Mew が起動していなければ、まず Mew を起動する。そして、メッセージ + を取得するか、あるいは単にデフォルトのフォルダへ移動する。 + + まず、「修飾子」は `mew-proto' とケースから決定される。(*Note + config:: を参照) + + 「修飾子」が `+'(ローカル・フォルダ)なら、`mew-mailbox-type' から + メールボックスが決定される。(*Note retrieving:: を参照) その他、 + すなわちリモート・フォルダなら、メッセージを取得するためのプロト + コルが修飾子に応じて決る。 + + `mew-auto-get' が `t' なら、到着したメッセージが非同期に取得され、 + Summary モードへ一覧表示される。 + + `mew-auto-get' が `nil' なら、修飾子によって決定したデフォルトの + フォルダへ単に移動する。 +`C-uM-x mew' + `mew-auto-get' の値を逆だと考えて、`M-x mew' を実行する。 +`C-xm' + `mail-user-agent' が設定されている場合、Draft モードへ移行する。 + +Emacs で Mew を起動すると可愛い 2 匹の子が猫現れます。 + +なお、Mew を終了する方法は、*Note Quit:: を参照して下さい。 + + + + +File: mew.ja.info, Node: Viewing, Next: singlepart, Prev: start, Up: Top + +メッセージを表示する +******************** + +(Mew が起動中でも、起動中ではなくても) `M-x mew' と入力すると、Mew は +メッセージを以下のように一覧表示します。 + + * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック + M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 + 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 + +これを Summary モードといいます。ここでは、主に Summary モードでのメッ +セージの読み方について説明します。 + +上記の例のように Summary モードは、マーク、データ型(Mew が付けるマーク)、 +日付、差出人、Subject:、本文から構成されています。 + +Summary モードを消去する方法については、*Note Quit:: を参照して下さい。 + +* Menu: + +* singlepart:: 読み方の基礎 +* multipart:: MIME を表示する +* analysis:: MIME の解析を制御する +* cipher-viewing:: 暗号メールや電子署名を表示する +* retrieving:: メッセージの取得 +* moving:: フォルダの移動 +* sum-write:: 送信、返答、転送 +* features:: 便利な機能 +* status-update:: 状態の更新 +* invalid:: 規格違反のメッセージ + + + +File: mew.ja.info, Node: singlepart, Next: multipart, Prev: Viewing, Up: Viewing + +読み方の基礎 +============ + +メッセージを上から順に読んでいくのであれば、`SPC' を適宜押すだけです。 +簡単でしょ? + +しかしそれだけではあんまりなので、以下にページを操作する基本的なコマン +ドを示します。 + +`SPC' + メッセージを読み進める。つまり、メッセージを表示し、スクロールさせ、他の + メッセージに移動して表示する。カーソルが移動する方向は、 + *Note summary-mode:: を参照のこと。 +`C-uSPC' + メッセージを先頭から再表示。 +`DEL' + 現在のメッセージを下にスクロールさせる。不必要なヘッダフィールド + は、ウインドウの上に隠れている。よって、`DEL' を入力すると、それ + らが現れる。 +`RET' + 現在のメッセージを 1 行上にスクロールする。 +`M-RET' +`-' + 現在のメッセージを 1 行下にスクロールする。 + +`C-n' + 下の行へ移動。 +`C-p' + 上の行へ移動。 +`n' + 下方向に移動し表示。対象となるのは、パート、`*' マークの付いたメッ + セージ、マークの付いていないメッセージ。 +`C-un' + 下方向に移動し表示。対象となるのは、`*' マークの付いたメッセージ、 + マークの付いていないメッセージ。 +`p' + 上方向に移動し表示。対象となるのは、パート、`*' マークの付いたメッ + セージ、マークの付いていないメッセージ。 +`C-up' + 上方向に移動し表示。対象となるのは、`*' マークの付いたメッセージ、 + マークの付いていないメッセージ。 +`j' + 入力された行番号に従ってその行へ移動。 +`C-uj' + 入力されたメッセージの番号に従ってその行へ移動。 + + + +File: mew.ja.info, Node: multipart, Next: analysis, Prev: singlepart, Up: Viewing + +MIME を表示する +=============== + +マルチパートを読むのは別に大変なことではありません。今まで通り、 +`SPC' を押していけばよいだけです。 + +マルチパートのメッセージは、以下のように日付の左に `M' というマークが +付いています。 + + * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック + M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 + 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 + +`M' マークの付いたメッセージで `SPC' を押すと、ヘッダを Message モード +に表示すると共に、以下のように Summary モードでマルチパートの構造を簡 +素に表示します。 + + * 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック + M03/14 ももちゃん 能登の写真 |この前撮った写真を添付 + B 2 Image/Jpeg 写真1 noto1.jpg + Q 3 Application/Postscript 能登の地図 map.ps + 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 + +もし、パート 1 が Text/ なら、Summary モードにはパート 1 は可視化され +ず、そのかわりパート 1 がヘッダと共に Message モードに表示されます。 + +マルチパートの各行は + + - マーク (Content-Transfer-Encoding:) + - パート番号 + - データ型 (Content-Type:) + - 説明 (Content-Description:) + - ファイル名 (Content-Disposition:) + +から構成されています。Content-Description: はパートに対する Subject: +と考えていいでしょう。この表示は Draft モードの添付領域とほとんど同じ +です。 + +`SPC' や `n' でパート 2 へ進めば、そのパートがデータ型に応じて +表示されます。たとえば、Text/Plain なら Message モードで、PostScript な +ら "ghostview" で表示されます。 + +`n' や `p' は、パート部分まで含んだ行を移動することに注意して下さい。 +パート部分を飛ばして下のメッセージを表示するには `C-un' と入力して下さ +い。また、パート部分を飛ばして 1 つ上のメッセージを表示するには `C-up' +と入力して下さい。 + +Mew は、MIME を再帰的に処理します。以下は転送されたマルチパートのメッ +セージの例です。 + + M03/15 かずくん Fw: 能登の写真 |写真が送られてきたので + 2 Message/Rfc822 能登の写真 + B 2.2 Image/Jpeg 写真1 noto1.jpg + Q 2.3 Application/Postscript 能登の地図 map.ps + +(メモ) テキスト以外のデータを、シングルパートとしてメッセージに格納す +るのは、書式としては間違いではありませんが、お勧めできません。マルチパー +トを作成し、そのパート 1 に説明のテキストを、パート 2 にテキスト以外の +データを入れる作法をお勧めします。 + +テキスト以外のデータが本文に直接格納されているメッセージに対し、Mew は +これをあたかもマルチパートのように表示します。 + +このように MIME の構造は複雑になりうるので、解析するのには時間がかかる +場合があります。しかし、Mew は次に読まれるメッセージを予想し、ユーザが +現在のメッセージを読んでいる間に、次のメッセージをあらかじめ解析してお +くことで高速性を実現しています。解析されたメッセージは、しばらくの間保 +存されます。 + +メッセージの終りの部分がはっきりと分かるように、Mew はメッセージの最後 +に "[End of message]" という文字列を表示します。また、パートの終りでは、 +"[Message is continued]" という文字列を表示します。これらの文字列はそ +れぞれ、`mew-end-of-message-string' と `mew-end-of-part-string'で指定 +できます。 + + + +File: mew.ja.info, Node: analysis, Next: cipher-viewing, Prev: multipart, Up: Viewing + +MIME の解析を制御する +===================== + +メッセージの解析を制御するために、以下の変数が用意されています。 + +`mew-file-max-size' + 解析するメッセージの大きさの上限。メッセージの大きさがこの値以下 + なら、解析し表示する。越えているなら、解析せずに生のまま表示する。 + 初期値は 100000 バイト。 +`mew-header-max-length' + 解析するメッセージのヘッダ長の上限。ヘッダの行数がこの値以下なら、 + メッセージを解析して表示する。越えているなら、解析を途中で止めて + メッセージを壊れた形で表示する。初期値は 100 行。 +`mew-decode-broken' + 規格違反のメッセージを解析する際に、寛容になるか否か。`t' なら寛 + 容に、`nil' なら厳密に解析する。寛容に解析する際に規格違反があっ + た場合は、X-Mew: フィールドに表示する。初期値は `t'。 +`mew-use-text-body' + 本文のテキストをヘッダと同時に表示するか否か。`t' なら、本文がシ + ングルのテキスト、および、本文がマルチパートで最初のパートがテキ + ストの場合、そのテキストをヘッダと同時に表示する。`nil' の場合は、 + マルチパート内のパートのように表示する。初期値は `t'。 +`mew-use-alternative' + Multipart/Alternative の取り扱い。Multipart/Alternative であるメッ + セージには`-' マークが付いている。`t' なら、 + `mew-mime-multipart-alternative-list' の優先順位に従って、1 つの + パートを表示する。`nil' なら、通常のマルチパートとして表示する。 + 初期値は `t'。 +`mew-use-text/html' + Text/Html の取扱い。`nil' の場合は HTML を解析せずに表示。それ以 + 外なら HTML を解析して表示。初期値は `nil'。 +`mew-use-text/xml' + Text/Xml の取扱い。`nil' の場合は XML を解析せずに表示。それ以外 + なら XML を解析して表示。初期値は `nil'。 + +これらの変数に関する基本的なコマンドは、`.' です。このコマンドは、以下 +のように動きます。 + +1) このコマンドがメッセージ上で実行されると、そのメッセージのキャッシュ +が削除され、メッセージが解析されて再表示されます。 + +1a) もし現在のメッセージの大きさが `mew-file-max-size' を越えているな +ら、MIME は解析されず、そのまま表示されています。この場合、このコマン +ドはこの上限に関わらずに現在のメッセージを解析し、再表示します。 + +1b) もし現在のメッセージのヘッダ長が `mew-header-max-length' を越えて +いるなら、メッセージが壊れたように表示されています。この場合、このコマ +ンドはこの上限に関わらずに現在のメッセージを解析し、再表示します。 + +1c) もし現在のメッセージが `:' で表示されているなら、マルチパートの構 +造は、通常とは違うように表示されています。この場合、このコマンドはマル +チパートの構造を通常と同じように再表示します。 + +1d) もし `mew-use-text/html' が `nil' なら、HTML は解析されず、そのま +ま表示されています。この場合、このコマンドは HTML を解析し、再表示しま +す。 + +2) もしこのコマンドがパート上で実行された場合、そのパートが再表示され +ます。 + +2a) もし `mew-use-text/html' が `nil' なら、HTML は解析されず、そのま +ま表示されています。この場合、このコマンドは HTML を解析し、再表示しま +す。 + +`.' 以外にも、以下のような便利なコマンドがあります。 + +`.' + メッセージを解析し、再表示する。 +`C-u.' + `mew-decode-broken' を逆にしてメッセージを解析し直す。 + *Note invalid:: を参照のこと。 +`:' + `mew-use-alternative' と `mew-use-text-body' を反転させた + `.'. +`C-u:' + `mew-use-alternative' と `mew-use-text-body' を反転させた + `C-u.'. +`,' + 現在のメッセージやパートを生の書式で Message モードに表示する。 +`C-cTAB' + メッセージ全体をファイルとして read only で開く。 +`C-uC-cTAB' + メッセージ全体をファイルとして開く。 + + + +File: mew.ja.info, Node: cipher-viewing, Next: retrieving, Prev: analysis, Up: Viewing + +暗号メールや電子署名を表示する +============================== + +今までと同様 `SPC' などを利用することで、Mew では暗号化や電子署名を施 +されたメッセージを簡単に表示できます。まず、簡単な例から紹介しましょう。 + + S03/18 神田パソコン館 見積書 |先日承りましたノートPC + E03/21 匿名希望 秘密のメール | + +上記のメッセージには、それぞれ `S' マークと `E' マークが付いています。 +これはそれぞれ、本文全体が署名されている、および、暗号化されていること +を意味します。 + +PGP/MIME や S/MIME では、一部のパートに電子署名を施したり、暗号化したり +できます。この場合このようなマークは付きません。`S' マークや +`E' マークが付くのは、本文全体が対象になっている場合です。 + +また、単に署名や暗号化といいましたが、これは最終的な処理が署名や暗号化 +であったことを意味しています。やや複雑な話になりますが、もしかすると前 +者は本文全体を暗号化した後、署名したのかもしれませんし、後者は一部のパー +トに署名し、さらに全体を暗号化している可能性もあります。 + +本文全体、あるいは、一部のパートが暗号化されている場合、Mew はパスフレー +ズを訊いてきます。パスフレーズを入力する際の注意事項については、*Note +start:: を参照して下さい。入力されたパスフレーズは、あなたの秘密鍵を復 +号化するのに使われます。そして、復号化された秘密鍵によって、暗号化され +ているメッセージを解くわけです。 + +暗号メッセージを表示するには、暗号化された数だけパスフレーズを入力する +必要があります。これは Mew が安全を期して、通常パスフレーズを保存しな +いからです。もしこれがわずらわしいなら、Mew にパスフレーズを保存させる +ことも可能です。詳しくは、*Note password:: を参照して下さい。 + +パスフレーズを保存しない通常の設定でも、一旦復号化されたメッセージはし +ばらく保存されるので、2 回目の表示にはパスフレーズを訊かれないかもしれ +ません。 + +一方、通信相手の署名を検証するためには相手の公開鍵が利用できればよいの +で、パスフレーズを訊かれることはありません。 + +Mew は自動的に電子署名を検証したり、入力されたパスフレーズを使って暗号 +メッセージを復号化したりして、元のメッセージを表示します。そこで、ユー +ザが署名の存在に気づかないかもしれませんし、どの部分が暗号化されていた +のか分からないかもしれません。 + +そこで、検証の結果やどの部分が暗号化されているかをユーザに通知するため +に、Mew は以下のようにヘッダに X-Mew: フィールドを挿入します。 + + X-Mew: PGP decrypted. + Good PGP sign "kazu@example.org" COMPLETE + +"<>" 内の番号は、どのパートの結果であるかを示しています。"body" は、メッ +セージの本文全体が保護されていることを意味します。この例では、メッセー +ジ全体が kazu によって署名され、受信者のために暗号化されています。Mew +はまずこれを復号化し、そして署名を検証しています。署名は正しいので、 +kazu@example.org という ID の付いた秘密鍵で署名されたときから、内容は +変更されていないと分かります。この署名の検証に使われた公開鍵の「有効性」 +は "complete" です。よって、受信者はこの公開鍵が ID が示すユーザに属し +ていると信頼していることになります。つまり、このメッセージは信頼をおい +ている公開鍵によって検証され結果が正しいので、改竄されていないというこ +とになります。 + +以下の例では、まずマルチパートである本文全体の電子署名が検証され、その +後パート 2 のメッセージ全体が復号化されています。つまり、作成時には、 +まずパート 2 が暗号化され、そして本文全体が署名されたことが分かります。 + + X-Mew: Good PGP sign "kazu@example.org" COMPLETE + X-Mew: <2 message> PGP decrypted. + +するどい人なら、悪い人があらかじめ X-Mew: フィールドを挿入しておき、あ +なたをだますかもしれないと思うかもしれません。でも大丈夫です。Mew は、 +ヘッダにある X-Mew: をあらかじめ削り、本物の X-Mew: フィールドを挿入し +ますから。 + +PGP/MIME について: + +X-Mew: フィールドは他にもさまざまな結果を伝えてくれます。たとえば、署 +名を検証するための公開鍵がないとか、復号化に失敗したなどです。以下の例 +は、鍵 ID が 0x1B8BF431 である公開鍵がないことを示しています。 + + X-Mew: No his/her public key. ID = 0x1B8BF431 + +この場合、`C-cC-f' と入力すると、Mew はこの公開鍵の入手を試みます。そ +の際、公開鍵サーバを選択できます。もし、X-Mew: フィールドがない場合は、 +`C-cC-f' は From: を ID と考えます。また、`C-uC-cC-f' は、X-Mew: フィー +ルドに加えて `mew-x-pgp-key-list' に指定されたフィールドも鍵 ID を切り +出す対象とし、公開鍵の入手を試みます。 + +Mew では PGPv2、PGPv5、GNUPG に対応しています。これらは Summary モード +において、`C-cC-v' で切替え可能です。これら複数の PGP を使いたい人は +`mew-prog-pgp2'、`mew-prog-pgp5'、`mew-prog-gpg' に対し、それぞれ +PGPv2、PGPv5、GNUPG のコマンド名を設定して下さい。また、Mew の起動直後 +に利用する PGP のコマンド名を `mew-prog-pgp' に設定して下さい。なおパ +スフレーズは、それぞれの PGP に対し独立に保存されます。 + +なお昔ながらの PGP メッセージは、自動的に処理できません。このような +PGPメッセージに対しては、`C-cC-z' で復号化や署名の検証ができます。 + + + +File: mew.ja.info, Node: retrieving, Next: moving, Prev: cipher-viewing, Up: Viewing + +メッセージの取得 +================ + +メールボックスへ到着したメッセージを +inbox へコピーし一覧表示するには、 +`i' を使います。コピー元のメールボックスは `mew-mailbox-type' によって +決ります。(`M-x mew' を実行した際に、`mew-proto' が `+' の場合も、 +`mew-mailbox-type' に従ってメッセージがコピーされます。) 以下に取りう +る値を示します。 + +`'mbox' + ローカルのメールボックス。デフォルトでは "incm" という外部コマン + ドを使い、メッセージを取得する。設定方法は、*Note configuration:: + を参照のこと。 +`'pop' + POP サーバ。POP を POP らしく使う方法。(初期値) +`'imap' + IMAP サーバ。IMAP らしくない利用方法なので、推奨されていない。 + +ローカル・フォルダでメッセージの一覧を再表示するには、`s' を使います。 + +リモート・フォルダでメッセージを取得、あるいは再取得する場合にも `s' +を使います。IMAP やニュースでは、`i' は利用せず、`s' を使うのが一般的 +です。 + +`s' を使うと範囲を訊いてきます。Mew で重要な範囲の意味を以下に示します。 + +`update' + 「Summary モードの最後のメッセージの次」から「フォルダ内の最後の + メッセージ」まで。つまり、Summary モードと実際のフォルダ内のメッ + セージの差分。 +`all' + フォルダ内のメッセージすべて。ローカル・フォルダでは、Summary モー + ドの表示がおかしくなったときに、内容を一新するために用いる。リモー + ト・フォルダでは、すべてのメッセージの再取得。 +`sync' + あるリモート・フォルダに対し、サーバ側では消えたメッセージのキャッ + シュを削除する。リモート・フォルダに対してのみ有効。 + ++draft、+queue、+postq では、デフォルトの範囲は `all' となっています。 +それ以外のフォルダでは、デフォルトの範囲が `update' となっています。で +すから、+draft、+queue、+postq 以外では、`s' の後に `RET' を押すだけで、 +現在のフォルダに対し最新の一覧を得られることになります。 + +Mew ではあまり重要ではありませんが、以下の範囲も指定できます。 + +`-' + から まで。ローカル・フォルダに対してのみ有効。 +`-' + から最後まで。ローカル・フォルダに対してのみ有効。 +`-' + 最初から まで。ローカル・フォルダに対してのみ有効。 +`last:' + 最後の 個。 + +リモート・フォルダで `s' を `C-u' 付きで呼び出すと、「ヘッダのみのコ +ピー」と「ヘッダと本文の両方のコピー」を反転できます。これらの動作は、 +POP、IMAP、NNTP に対し、それぞれ `mew-pop-header-only'、 +`mew-imap-header-only'、`mew-nntp-header-only' で定義でき、初期値はす +べて `nil' です。つまり、初期値は「ヘッダと本文の両方のコピー」になっ +ています。 + +サイズが大きなメッセージは、全体ではなく一部が取得されているかもしれま +せん。このようなメッセージには、`T' マークがついています。このメッセー +ジの全体を取得するには、そのメッセージ上で `I' と入力します。 + +たとえば、$inbox に `T' マークのついたメッセージがあるとしましょう。こ +のメッセージの上で `I' を押すと、メッセージの全体が取得できます。 + +メッセージの取得に関するコマンドを以下にまとめます。 + +`i' + ローカル・フォルダでは、+inbox フォルダに移動し、到着したメッセージを取 + 得して一覧を表示する。`mew-auto-flush-queue' が `t' なら、 + +queue にあるメッセージを送信する。詳しくは、*Note send:: を参照のこと。 + リモート・フォルダでは、そのデフォルトのフォルダに移動し、`s' + + `update' を実行する。 +`C-ui' + `mew-auto-flush-queue' の値を逆だと思って、`i' を実行する。 +`I' + `T' マークの付いている一部だけが取得されたメッセージの全体を取得 + する。 + + ローカル・フォルダで実行した場合、ケースと `mew-mailbox-type' に + より取得方法が決る。`mew-pop-delete' または `mew-imap-delete'の値 + が `t' なら、メールボックスのメッセージを削除する。 + + リモート・フォルダで実行した場合、ケースと取得方法はそのフォルダ + から決る。サーバ側のメッセージは常に保存される。 +`C-uI' + `mew-pop-delete' または `mew-imap-delete' を逆転させて `I' を実行 + する。 +`s' + フォルダの一覧を取る。 +`C-us' + リモート・フォルダにおいて、「ヘッダのみのコピー」と「ヘッダと本 + 文の両方のコピー」を反転させて、一覧を取る。 +`lc' + リモート・フォルダのメッセージをローカル・フォルダへコピーする。 + + + +File: mew.ja.info, Node: moving, Next: sum-write, Prev: retrieving, Up: Viewing + +フォルダの移動 +============== + +フォルダの移動には `g' を入力して下さい。以下のようにフォルダ名を訊か +れます。 + + Folder name (+inbox): + + +":" の右側を編集可能領域と呼ぶことにしましょう。この例では、編集可能領 +域に修飾子 "+" が表示されています。修飾子に続けて任意の文字列を入力し、 +`RET' を押せば、フォルダ名が決定されたことになり、そのフォルダへ移動し +ます。 + +フォルダを移動した際に Summary モードの一覧が古いと判断した場合は、自 +動的に差分が追加表示されます。 + +"()" 内がデフォルトのフォルダです。単に `RET' を押し "+" を入力すると、 +デフォルトのフォルダを入力したものとして扱われます。 + +補完を利用するには、`TAB' や `SPC' を押して下さい。 + +さて、話を `g' を押した直後に戻しましょう。 + + Folder name (+inbox): + + +たとえば、"+" を "%" に変更するには、通常なら "+" を削り、"%" を入力す +る必要があります。これでは面倒なので、"+" の後で "%" を入力すると、"+" +が "%" に置き換わるようになっています。このように、修飾子の直後で他の +修飾子を入力すれば、削る作業をせずに置き換え可能です。 + +リモート・フォルダを入力する場合、*Note config:: で説明するケースを指 +定したい場合もあるでしょう。ケースは、フォルダ名の前に ":" で区切って +入力します。たとえば、"home" というケースの "%inbox" に移動したいとし +ましょう。このとき、"home:%inbox" と入力する必要があります。しかしこれ +は面倒なので、任意の場所で `C-cTAB' を押すと利用可能なケースが、フォル +ダ名の前に循環的に補完されます。次の例を考えて下さい。 + + Folder name (+inbox): %inbox + +ここで `C-cTAB' を入力すると、以下のようになります。 + + Folder name (+inbox): home:%inbox + +フォルダ名の一部を指定して、フォルダを検索したいこともあるでしょう。こ +の場合には、前方検索の `C-s' か後方検索の `C-r' が利用できます。以下は、 +`C-s' を押したときのミニバッファの状態です。 + + Folder name (+inbox): () + +編集領域に現れた "()" が、検索モードに移行したことを表わしています。こ +こで文字を入力していくと、マッチした候補が "()" の中に表示されます。以 +下は "mew" で検索したときの例です。 + + Folder name (+inbox): (+work/mew-release) mew + +候補を確定する際には、`RET' を入力して下さい。そうすると検索モードを抜 +けて、編集領域にこの候補が表示されます。 + + Folder name (+inbox): +work/mew-release + +さらに `RET' を押せば、このフォルダが入力されたことになります。 + +検索対象となるフォルダの一覧は、ケースと修飾子の組で決定されます。 +`C-s' や `C-r' で検索モードに移るときに編集領域にある文字列から、ケー +スと修飾子が切り出され、フォルダの一覧が決定される訳です。 + + + +File: mew.ja.info, Node: sum-write, Next: features, Prev: moving, Up: Viewing + +送信、返答、転送 +================ + +メッセージの送信、返答、転送には、以下のコマンドを使います。 + +`w' + メッセージを書く。新しい草稿が Draft モードに用意される。 + *Note Composing:: を参照のこと。 +`C-uw' + メッセージを書く。新しい草稿が Draft モードに用意される。現在のメッ + セージの From: にあるアドレスが、草稿の To: へコピーされる。 +`W' + あるメッセージのヘッダの一部だけを編集しメッセージを送信するため + に Header モードに入る。*Note resend:: を参照のこと。 +`a' + 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や + Cc: が自動的に決定される。*Note reply:: を参照のこと。 +`C-ua' + 現在のメッセージに対し送信者宛に返答する。 +`A' + 現在のメッセージに返答する。Draft モードに草稿が用意され、To: や + Cc: が自動的に決定された後、本文が引用される。*Note reply:: を参 + 照のこと。 +`C-uA' + 現在のメッセージに対し、引用付きで送信者宛に返答する。 +`f' + 現在のメッセージを第 3 者に転送する。Draft モードに草稿が用意され、 + 現在のメッセージが自動的に添付される。*Note forward:: を参照のこ + と。 +`F' + `*' マークの付いたメッセージを第 3 者に転送する。Draft モードに草 + 稿が用意され、`*' マークの付いたメッセージが自動的に添付される。 + 詳しくは *Note target mark:: を参照のこと。*Note forward:: を参照 + のこと。 + +エラーメッセージが返ってきたら、以下のコマンドで修正し再挑戦しましょう。 + +`E' + メッセージの再編集。または、MIME 形式でカプセル化されて戻ってきた + メッセージの再編集。 + + 1. +draft では、メッセージが単に編集される。 + 2. +queue と +postq では、メッセージが +draft に移動されて、編 + 集される。 + 3. それ以外では、メッセージが +draft にコピーされて、編集される。 + + +draft、+queue、+postq では、ケースが復活する。 + + 他のフォルダでは、`mew-case-guess-when-prepared' が `t' なら、 + ヘッダのそれぞれのフィールドがケースに従って置き換えられる。詳しくは + *Note config:: を参照のこと。 +`C-uE' + `E' と同じ。ただし、+draft、+queue、+postq 以外のフォルダで利用さ + れた場合は、`mew-case-guess-when-prepared' が `t' でも、オリジナ + ルのヘッダが保存される。 + + + +File: mew.ja.info, Node: features, Next: status-update, Prev: sum-write, Up: Viewing + +便利な機能 +========== + +Mew では、Summary モードに以下のような便利なコマンドが用意されています。 + +`v' + 「Summary モードのみ」と「Summary & Message モード」の切り替え。 + 「Summary モードのみ」を選んでいる場合は、`d' は次のメッセージを + 表示しないので、連続してすばやく `D' マークを付けられる。 +`zv' + `mew-use-header-veil' が `nil' でないとき、To: と Cc: で + `mew-header-veil-count' を越える行は「ベール」で隠されている。こ + のコマンドは、それらの行の見える/見えないを反転させる。 + `mew-use-header-veil' と `mew-header-veil-count' の初期値は、それ + ぞれ `t' と 4。 +`_' + 通常の行、折り返された行、長い行の順に行の表示を変える。 +`M-l' + 現在の行を Summary モードの中央に移動させる。 +`C-cC-s' + Message モードで順方向段階的検索。 +`C-cC-r' + Message モードで逆方向段階的検索。 +`y' + メッセージ、あるいは、パートを入力したファイル名で保存する。 +`b' + Message モードの内容そのものを入力したファイル名で保存する。 +`C-uy' + 保存するテキストの coding-system を指定して、メッセージ、あるいは、 + パートを入力したファイル名で保存する。 +`#' + `mew-print-function' を利用して Message モードの内容を印刷する。 +`C-u#' + プリンタ名を指定して Message モードの内容を印刷する。 +`|' + Message モードの内容をパイプで指定されたコマンドに出力する。 +`C-u|' + Message モードの本文(ヘッダを除く)をパイプで指定されたコマンドに + 出力する。 +`\' + このメッセージを引数にして、入力された外部コマンドを起動する。 +`B' + 格納されているメッセージを取り出す。 +`C-uB' + 格納されているファイルを取り出す。 +`C-cC-a' + 現在のメッセージの情報をアドレス帳に登録する(*Note addrbook::)。 +`C-cC-v' + PGP のバージョンを切替える(*Note cipher-viewing::)。 +`C-cC-z' + 昔ながらの自動処理できない PGP メッセージを PGP に復号化、検証さ + せる(*Note cipher-viewing::)。 +`C' + ケースを変更する。詳しくは、*Note config:: を参照のこと。 +`=' + フォルダ名とメッセージ番号を表示する。キャッシュ・メッセージの場 + 合は、加えて ID とサイズも表示する。メッセージへのフルパスが、ウ + インドウマネージャのカットバッファに入る。 +`;' + Received: フィールドを解析し、分りやすく Message モードに表示する。 +`Rd' + フォルダを削除する。 +`Rr' + フォルダの名前を変える。 + + + +File: mew.ja.info, Node: status-update, Next: invalid, Prev: features, Up: Viewing + +状態の更新 +========== + +いくつかの設定の変更には、その変更を反映するために、状態を更新しなけれ +ばならない場合があります。変更が反映されなかったり、変更のためにエラー +が生じるようになったりした場合は、以下のコマンドを利用して下さい。 + +`Z' + アドレス帳(*Note addrbook::)などの情報を更新する。 +`C-uZ' + 現在の世界に対するフォルダのリストの情報を更新する。 + +状態を反転させるコマンドを以下にまとめます。 + +`z8' + 8 ビット・モード(`mew-use-8bit')を反転させる。 +`zc' + 解析したメッセージのキャッシュを消去する。 +`zd' + `mew-debug' を反転させる。 +`zo' + PGP を省略方法で作成する場合、PGP/MIME なのか古い PGP の書式なの + か(`mew-use-old-pgp')を反転させる。 +`zp' + 解析、復号化のポリシ(`mew-decode-broken')を反転させる。 +`zv' + Message モードでベールを使うか否か(`mew-use-header-veil')を反転さ + せる。 +`zw' + 警告のレベル(`mew-warning-field-level')が 2 なら 1 へ、1 なら 2 + へ設定する。 + + + +File: mew.ja.info, Node: invalid, Next: Composing, Prev: status-update, Up: Viewing + +規格違反のメッセージ +==================== + +以下のようなメッセージは、Content-Type: で charset が指定されていない +ので、本来 US-ASCII と認識されてしまいます。 + + To: piglet + Subject: 規格違反のメッセージ + From: pooh + MIME-Version: 1.0 + Content-Type: Text/Plain + + 日本語の本文 + +また以下のようなヘッダも規格違反です。 + + From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" + +上の例では "=?" と "?=" で囲まれた部分はもともと日本語でした。メッセー +ジの規格ではヘッダには ASCII のみが格納できると定められています。よっ +て、ASCII 以外の文字コードをヘッダに格納するには、ある規則に従って +ASCII に符号化する必要があります。しかし、この符号化された文字列を 「"」 +で囲むのは間違いです。「"」で囲まれた文字列は、そのままの形で取り扱わ +れます。よって、上の例の "=?" と "?=" で囲まれた部分が日本語に復号化さ +れることは本来ありません。 + +規格に無頓着な一部のメーラではこのような間違いを平気で犯します。正しい +対処方法は、このようなメーラの作者に頼んで、規格を正しく実装するように +変更してもらうことです。しかし、このようなメーラはあまりにも多いので、 +Mew ではできる限り復号化するよう試みます。そして、以下のような警告をヘッ +ダに出します。 + + X-Mew: Charset for body is not specified. + To: has encoded-words in quoted text. + +もし、規格に厳密に復号化したいのなら、`mew-decode-broken' を `nil' に +設定して下さい。この値は `C-u.' を使うと動的に反転できます(*Note +singlepart:: を参照)。 + +次のようなメッセージは、charset で指示されている文字コードと実際の文字 +が異なるため、文字化けを起こします。 + + Content-Type: Text/Plain; charset=ISO-2022-JP + + Shift_JIS で書かれた日本語の本文 + +`C-cC-l' を使えば、charset で指定された文字コードを無視し、指定した言 +語の推測規則に従って文字コードを推測し、再表示させることができます。ま +た、`C-uC-cC-l' で明示的に文字コードを指定し、再表示させることも可能で +す。 + + + + +File: mew.ja.info, Node: Composing, Next: header, Prev: invalid, Up: Top + +メッセージを作成する +******************** + +ここではメッセージの作成方法について説明します。 + +新しいメッセージを書くために、Draft モードに移行するには、次の手段があ +ります。 + + 1. `M-x mew-send' と入力する。 + 2. `mail-user-agent' が設定されている場合、`C-xm' と入力する。 + 3. Summary モードで `w' を押す。 + +すると、以下のようなバッファが用意されます。 + + To: + Subject: + From: Kazu Yamamoto + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + +これを Draft モードといいます。Draft モードにおいて、"----" より上をヘッ +ダ、下を本文と呼びます。 + +またメッセージへの返答(`a' や `A')や転送(`f' や `F')でも Summary モー +ドから Draft モードへ移行します。 + +草稿は、+draft フォルダの下に作成されます。同時に複数の草稿を持つこと +が可能です。 + +一旦用意した草稿を削除する方法については、*Note Quit:: を参照して下さ +い。 + +以下、Draft モードの使い方を説明します。 + +* Menu: + +* header:: ヘッダの補完 +* cheader:: ヘッダの循環的な補完 +* addr-comp:: アドレスの補完 +* addrbook:: アドレス帳 +* auto-alias:: アドレスの自動学習 +* addr-comp1:: アドレスの補完(1) +* addr-comp2:: アドレスの補完(2) +* send:: メッセージの送信 +* cite:: シグニチャと引用 +* mime-comp:: マルチパートの作成 +* charset-guess:: 文字コードの決定 +* longline:: 長い行の取り扱い +* reply:: メッセージへの返答と宛先の決定 +* forward:: メッセージの転送 +* resend:: メッセージの再送 +* shortcut:: 電子署名/暗号メールを作成する +* mark-b-comp:: マークを使った電子署名/暗号メールの作成 +* pgp-key:: PGP の鍵の配布 +* anonymous:: 宛先を匿名にしたメッセージの送信 + + + +File: mew.ja.info, Node: header, Next: cheader, Prev: Composing, Up: Composing + +ヘッダの補完 +============ + +ヘッダでは `TAB' に対し、以下のように各フィールド用の補完機能が割り当 +てられています。 + + - フィールド名の補完 + - アドレスの補完 (To:、Cc: など) (*Note addr-comp:: を参照) + - フォルダ名の補完 (Fcc:) + +<フィールド名の補完> + +行頭の単語中で、しかも、上の行の最後が "," で終る継続行でなければ、 +`TAB' で `mew-fields' に定義されているフィールド名を補完できます。 + + To: kazu@example.org + R`TAB' + +上記の場所で `TAB' を押すと以下のようになります。 + + To: kazu@example.org + Reply-To: + +<フォルダ名の補完> + +Fcc: などのようにフォルダを補完すべきところでは、`TAB' でフォルダを補 +完できます。以下に例を挙げてみます。 + + Fcc: `TAB' + +"+" が補完されます。 + + Fcc: +`TAB' + +`TAB' をもう 1 度押すと候補が表示されるので、候補を見ながら適切な文字 +を入力します。 + + Fcc: +b`TAB' + +候補が一意に定まれば補完されます。 + + Fcc: +backup + + + +File: mew.ja.info, Node: cheader, Next: addr-comp, Prev: header, Up: Composing + +ヘッダの循環的な補完 +==================== + +ヘッダでは、`C-cTAB' に循環的な補完機能が割り当てられています。循環的 +な補完機能とは、あるリストのある値がそのリストの次の値に置き換えられる +ことです。リストの最後は、最初につながっていると考えます。ヘッダ中の循 +環的な補完機能は、以下のようにフィールドごとに異なります。 + + - ドメイン名の循環的な補完 (To:、Cc: など) + - From: の循環的な補完 (From:) + +<ドメイン名の循環的な補完> + +アドレスを書くべきフィールドでは、`C-cTAB' でドメインを補完します。補 +完の候補は `mew-mail-domain-list' から選ばれます。 + + To: kazu@`C-cTAB' + +上記の場所のように候補が一意に定まらない場合は、 +`mew-mail-domain-list' の最初のドメイン名が挿入されます。 + + To: kazu@example.org`C-cTAB' + +補完された後、さらに `C-cTAB' を押すと `mew-mail-domain-list' の次の候 +補に変換します。 + + To: kazu@example.jp + +また、以下の補完が一意に定まれば、その候補を挿入します。 + + To: kazu@w`C-cTAB' + +上記の例は次のようになります。 + + To: kazu@example.jp + + + +草稿には、あらかじめ "mew-name " という形式で、 +From: フィールドが挿入されています。 + + From: Kazu Yamamoto (山本和彦) + +From: フィールド上では、`C-cTAB' は `mew-from-list' の値を循環的に補完 +します。`mew-from-list' は自分で設定してもよいですし、自動的に設定する +ことも可能です。自動設定に関しては、*Note config:: を参照して下さい。 + +値の場所ならどこでも構いませんが、`C-cTAB' と入力すると、この値を +`mew-from-list' の次の値と置き換えます。たとえば、 + + From: Kazu Yamamoto (山本和彦) `C-cTAB' + +は以下のようになります。 + + From: Kazuhiko Yamamoto + + + +File: mew.ja.info, Node: addr-comp, Next: addrbook, Prev: cheader, Up: Composing + +アドレスの補完 +============== + +To: や Cc: では、アドレスを補完できます。補完には `TAB' を用います。 + + To: kazu`TAB' + +上記のように、アドレスの一部で `TAB' を押すと、以下のようにアドレスが +補完される訳です。 + + To: kazu@example.org + +アドレスの補完に利用されるアドレスの種類には、以下の 3 つがあります。 + + 1. アドレス帳の展開規則 + 2. アドレス帳の個人情報 + 3. 送信時に学習されたアドレス + +アドレスの補完には 2 つの方法が提供されています。 +`mew-use-full-alias' によって選択します(初期値は `nil')。 + +`mew-use-full-alias' が `nil' の場合、`@' の前、つまりユーザ名(短縮名) +が補完の対象となります。`TAB' を押すとユーザ名が補完され、補完しきった +ところでさらに `TAB' を押すとアドレスに「展開」されます。これをアドレ +スの補完(1)と呼びましょう。 + +アドレスの補完(1)(*Note addr-comp1::)の利点は、上に書いた 3 種類のアド +レスに対し、補完・展開が矛盾なく実行できることです。後述のように、「強 +制展開」も `TAB' で実行できます。欠点は、ユーザ名の部分が一意でなけれ +ばならないので、あるユーザ名が登録されている場合、同じユーザ名を持つ別 +のアドレスを学習できないことです。 + +`mew-use-full-alias' が `t' の場合、学習されたアドレスに関しては、アド +レスの全体が補完の対象になります。これをアドレスの補完(2)と呼びましょ +う。 + +アドレスの補完(2)(*Note addr-comp2::)の利点は、ユーザ名が一致している +複数のアドレスを学習できることです。欠点は、アドレス帳の個人情報に登録 +されているアドレスの先頭以外は利用できないことです。また、「強制展開」 +は、`M-C-e' という (`TAB' とは別の) キーを押さなければいけないことです。 + + + +File: mew.ja.info, Node: addrbook, Next: auto-alias, Prev: addr-comp, Up: Composing + +アドレス帳 +========== + +Mew ではアドレス帳("~/Mail/Addrbook")が利用できます。アドレス帳には 2 +つの書式が用意されています。一方は「展開規則」を指定する書式、他方は +「個人情報」を記述するための書式です。 + +まず、「展開規則」を記述するための書式を示します。 + + : [, , ,...] + +このように短縮名と展開すべきアドレスを `:' で区切って書きます。複数 +のアドレスに展開する場合は、それらのアドレスを `,' で区切ります。 +(これは、To: などでアドレスが `,' で区切られているのと同じです。) +`,' の後ろに空白を入れても構いません。以下に例を示します。 + + pooh: winnie-the-pooh@example.net + piglet: piglet@example.org + friends: pooh, piglet + + + +次に、「個人情報」を記述するための書式を示します。 + + [, , ,...] + +このように 4 つの要素を空白で区切ります。 が短縮名です。 + と はそれぞれニックネームと正式な氏名であり、日本 +語でも構いません。(ニックネームの使い方は *Note summary-mode:: と +*Note draft-mode:: を参照して下さい。) + +2 番目の要素はアドレスです。複数のアドレスをその人が持っている場合は、 +`,' で区切って書きます。`,' の後に空白を入れても構いません。つまり、こ +の空白は要素の区切りではありません。また、`"' で囲まれた空白も要素の区 +切りにはなりません。以下に例を示します。 + + kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" + +「個人情報」の書式では、各要素を省略できます。中間の要素を省略する場合 +は、`*' と書いて下さい。以下に、アドレスに対してニックネームのみを定義 +する例を示します。 + + * kazu@example.org, kazu@example.net Kazu-kun + +ニックネームは Summary モードでのアドレスの置き換えと、Draft モードで +の引用記号の置き換え(*Note cite::)に利用されます。 + +アドレス帳のコメント文字は `;' と `#' です。`;' は行頭にある場合のみコ +メントとなり、その行が無視されます。`#' は任意の場所でコメントとなり、 +そこから行末までが無視されます。また、`\' は継続行を表わします。 + + + +Summary モードには、現在読んでいるメッセージの情報を Addrbook に登録す +る機能があります。展開規則を登録するには `C-cC-a' と押して下さい。以下 +に例を示します。 + + #If you want to register this entry, type 'C-c C-c'. + #If you want to NOT register this entry, type 'C-c C-q'. + Shortname: kazu + Addresses: kazu@example.org + Comments: + +個人情報を登録するには `C-uC-cC-a' と押して下さい。以下に例を示します。 + + #If you want to register this entry, type C-c C-c. + #If you want to NOT register this entry, type C-c C-q. + Shortname: kazu + Addresses: kazu@example.org + Nickname: + Name: Kazuhiko Yamamoto + Comments: + +必要であれば加筆訂正します。実際に登録するには `C-cC-c'、登録を取り止 +める場合は `C-cC-q' と入力して下さい。*Note Quit:: も参照して下さい。 + +なお、Addrbook に複数の言語の文字を使いたい場合は、以下の設定を +Addrbook の先頭に記述して下さい。 + + #-*-coding:ctext;-*- + + + + +File: mew.ja.info, Node: auto-alias, Next: addr-comp1, Prev: addrbook, Up: Composing + +アドレスの自動学習 +================== + +メッセージを送信した場合、To: と Cc: に書かれているアドレスは、自動的 +に学習されます。以下の例を考えて下さい。 + + To: kazu@example.org + +アドレスの補完(1)(*Note addr-comp1::)の場合:このメッセージを送信する +と、アドレス "kazu@example.org" に対し、短縮名 "kazu" が自動登録されま +す。ただし、すでに "kazu" という短縮名が自動登録されているなら、 +`mew-addrbook-override-by-newone' の値に応じて上書きするかを決定します。 +`nil' なら古い設定を残し、それ以外なら上書きします。展開の際は、アドレ +ス帳の方が優先されます。ですから、アドレス帳に無い短縮名のみが有効にな +ります。 + +アドレスの補完(2)(*Note addr-comp2::)の場合:このメッセージを送信する +と、アドレス "kazu@example.org" が自動登録されます。 + +自動登録されるのは通常 2000 個(`mew-lisp-max-length')のアドレスまでで +す。それを越えて登録するとアルファベット順で最後の方が消えます。これら +の情報は Mew を終了する際に、"~/Mail/.mew-alias" に保存されます。 + +自動登録ですから、不要な短縮名も登録されます。不要な短縮名を削除するに +は、以下のようにするといいでしょう。まず、`M-a' を実行し、 +"~/Mail/.mew-alias" を開きます。次に、テキストファイルを編集する要 +領で、不要な短縮名を削除します。そして、`C-xC-s' で保存して下さい。 +保存と同時に、その内容が Mew に反映されます。 + +アドレスの補完(1)とアドレスの補完(2)では、"~/Mail/.mew-alias" の書式が +異なります。`mew-use-full-alias' の値を変え、方法を切り替えたら、 +Summary モードで一回 `Z' を押して下さい。これで、書式が変換されます。 + + + +File: mew.ja.info, Node: addr-comp1, Next: addr-comp2, Prev: auto-alias, Up: Composing + +アドレスの補完(1) +================= + +アドレスの補完(1)では、アドレス帳の展開規則、アドレス帳の個人情報、お +よび送信時に学習されたアドレスで登録されたアドレスは、ユーザ名(短縮名) +が一意であることが前提となっています。 + +たとえば、以下のように「展開規則」を設定したとします。 + + pooh: winnie-the-pooh@example.net + +Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか +も、1 文字以上の文字列が前にある場所で `TAB' を打つと、アドレスの短縮 +名が補完されます。 + + To: piglet@example.org, + po`TAB' + +このように `TAB' を押すと、(他に候補が無ければ) "pooh" まで補完されま +す。 + + To: piglet@example.org, + pooh`TAB' + +もう一度 `TAB' を押すと "winnie-the-pooh@example.net" に展開されます。 + + To: piglet@example.org, + winnie-the-pooh@example.net + +"@" で終る文字列は強制的に展開します。たとえば、以下のように似たような +短縮名があった場合を考えて下さい。 + + pooh: winnie-the-pooh@example.net + pooh-pooh: pooh-pooh@example.org + +"pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し +かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完 +するのか分りません。"pooh" を "winnie-the-pooh@example.net" に強制的に +展開するには、以下のように `@' を挿入し、`TAB' を押します。 + + To: pooh@`TAB' + +強制展開は、`@' を挿入せず、`M-C-e' を押しても実行できます。 + +上記の説明は、送信時に学習されたアドレスにもあてはまります。 + +「個人情報」の書式では、アドレスが順に置き換えられていきます。以下の例 +を考えて下さい。 + + kazu kazu@example.org, kazu@example.net Kazu-kun "Kazuhiko Yamamoto" + +kazu がどう変化するのか見てみましょう。 + + To: kazu`TAB' + +"kazu" の後で `TAB' を打つと、"kazu@example.org" に置き換わります。 + + To: kazu@example.org`TAB' + +次に "kazu@example.org" の後で `TAB' を打つと、"kazu@example.net" に置 +き換わります。 + + To: kazu@example.net`TAB' + +さらに "kazu@example.net" の後で `TAB' を打つと、"kazu@example.org" に +戻ります。このように `TAB' を押すと、アドレスが循環的に置換されます。 + +アドレスを決定した後は、正式名称が付加できます。 + + To: kazu@example.org`M-TAB' + +このように `M-TAB' を押すと、以下のように正式名称が付加されます。 + + To: Kazuhiko Yamamoto + + + +File: mew.ja.info, Node: addr-comp2, Next: send, Prev: addr-comp1, Up: Composing + +アドレスの補完(2) +================= + +アドレスの補完(2)では、学習されたアドレスに関しては、アドレス全体が補 +完の対象になります。アドレス帳の展開規則は、短縮名が補完の対象になり、 +一意に定まれば展開されます。アドレス帳の個人情報では、短縮名が補完の対 +象になり、一意に定まれば、登録されている先頭のアドレスに展開されます。 + +Draft モードのヘッダ内で、かつ、アドレスを書くべきフィールド上で、しか +も、1 文字以上の文字列が前にある場所で `TAB' を打つと、短縮名あるいは +学習されたアドレスが補完されます。 + +kazu@example.org を学習しているとしましょう。 + + To: ka`TAB' + +曖昧でないところまで入力し、`TAB' を押せば、アドレスが補完されます。 + + To: kazu@example.org + +さらに kazunori@example.jp を学習したとしましょう。kazu@example.org へ +補完するには kazu@ まで、kazunori@example.jp へ補完するには kazun まで +入力する必要があります。 + +展開規則と個人情報は、`TAB' により、まず短縮名が補完されます。短縮名が +一意に定まれば、`TAB' で展開できます。 + +たとえば、以下のように「展開規則」を設定したとします。 + + pooh: winnie-the-pooh@example.net + +短縮名 "pooh" を補完してみましょう。 + + To: po`TAB' + +このように `TAB' を押すと、(他に候補が無ければ) "pooh" まで補完されま +す。 + + To: pooh`TAB' + +もう一度 `TAB' を押すと "winnie-the-pooh@example.net" に展開されます。 + + To: winnie-the-pooh@example.net + +問題は、短縮名が一意に定まらない場合の展開です。以下の展開規則を考えて +下さい。 + + pooh: winnie-the-pooh@example.net + pooh-pooh: pooh-pooh@example.org + +"pooh-" まで入力すれば、"pooh-pooh" まで補完できることは明らかです。し +かし、"pooh" までだと、"pooh" を「展開」するのか、"pooh-pooh" まで補完 +するのか分りません。"pooh" を "winnie-the-pooh@example.net" に強制的に +展開するには、`M-C-e' を利用します。(`TAB' で強制展開する方法はありま +せん。) + + To: pooh`M-C-e' + +この例は、以下のように強制展開されます。 + + To: winnie-the-pooh@example.net + + + + +File: mew.ja.info, Node: send, Next: cite, Prev: addr-comp2, Up: Composing + +メッセージの送信 +================ + +メッセージを書き上げ、いよいよ送信するには、以下の 2 つのコマンドのど +ちらかを選んで下さい。 + +`C-cC-m' + メッセージを作成し +queue または +postq に入れ、送信待ち状態にす + る。 +`C-cC-c' + メッセージを作成し送信する。"Really send this message? (y or n) " + と訊かれる。`y' を押せば、送信される。 + +メッセージが送信される際にどう加工されるか説明します。以下のようなメッ +セージを考えて下さい。 + + To: pooh + Subject: 明日の日曜日 + From: Piglet + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + 明日の日曜日、遊びませんか? + + // ピグレット + +たとえば、`C-cC-m' でこのメッセージを +queue あるいは +postq に入れる +と、メッセージは以下のように加工されています。 + + Date: Mon, 13 Mar 2000 19:49:50 +0900 (JST) + Message-Id: <20000313.194950.59499544.piglet@example.org> + To: winnie-the-pooh@example.net + Subject: =?iso-2022-jp?B?GyRCTEBGfCRORnxNS0Z8GyhC?= + From: Piglet + X-Mailer: Mew version 6.8 on Emacs 26.1 + Mime-Version: 1.0 + Content-Type: Text/Plain; charset=iso-2022-jp + Content-Transfer-Encoding: 7bit + + 明日の日曜日、遊びませんか? + + // ピグレット + +Date: や Message-Id: が付加されたのはお分かりになるでしょう。Subject: +にあった日本語は、配送に安全となるよう ASCII コードに変換されています。 +また、本文のデータ型や文字コードが推測され、正しく付加されていることは +特筆すべきでしょう。 + +`C-cC-m' や `C-cC-c' でメッセージを作成するとき、ヘッダに不備があった +場合に注意を促してくれる機能があります。 + +`mew-ask-subject' を `t' にしておけば、Subject: が空のときに値を尋ねて +くれます。空のままにしたい場合は単純に `RET' を押して下さい。この変数 +の初期値は `nil' です。 + +`mew-ask-fcc' を `t' にしておけば、Fcc: に存在しないフォルダが指定して +ある場合、そのフォルダを作成するか尋ねてくれます。作るなら `y'、作らな +いなら `n' を押して下さい。`n' を押すと、送信が中止され、カーソルは草 +稿に戻ります。この変数の初期値は `nil' です。 + +Mew は、サーバがユーザ認証を要求すると、送信のためのパスワードをユーザ +に訊きます。長い間、メールの送信にはパスワードが必要ありませんでした。 +これが、メールアドレスを詐称できる原因の一つとなっています。これからは、 +メールの送信の際は、受信のときと同じように、パスワードが必要な時代にな +ります。 + ++queue に溜っているメッセージを送信するには、以下の 2 つの方法がありま +す。どちらも Summary モードのコマンドであることに注意しましょう。 + +`i' + `mew-auto-flush-queue' が `t' の場合は、メッセージを受信した後 + に、+queue にあるメッセージを送信する。ダイアルアップ環境において、接続 + 料金を節約する意味でも、送信のための認証という意味でも、これはよい方法。 + `mew-auto-flush-queue' の初期値は `t'。 +`C-cC-c' + +queue にあるメッセージを送信する。+queue に行って、できあがったメッセー + ジを見た後に、このコマンドを使うと便利。`mew-ask-flush-queue' が + `t' なら、"Flush queue? (y or n) " と訊かれる。 + `mew-ask-flush-queue' の初期値は `nil'。 + + + +File: mew.ja.info, Node: cite, Next: mime-comp, Prev: send, Up: Composing + +シグニチャと引用 +================ + +ここでは、本文のテキストを便利に処理するコマンドについて述べます。 + +まずシグニチャについてです。カーソルのある場所に "~/.signature" を挿入 +するコマンドは `C-cTAB' です。シグニチャファイルは、 +`mew-signature-file' で設定できます。`mew-signature-as-lastpart' や +`mew-signature-insert-last' を設定することで、`C-cTAB' の動作をカスタ +マイズできます。 + +`C-cTAB' + カーソルの位置に "~/.signature" を挿入する。 + +次に引用についてです。Summary モードの `a' や `A' を使ってメッセージに +返答するための草稿を用意すると、Emacs が 3 分割されます。上が現在の +Summary モード、中が Message モード、下が Draft モードです。 + +Message モードのテキストを引用するコマンドを以下に示します。 + +`C-cC-y' + Message モードからメッセージの一部をコピーし、引用ラベルと引用記 + 号付で貼り付ける。 + 1. おおまかにいえば、Message モードの本文がコピーされる。たとえ + ば、Text/Plain が表示されていると、Message モード全体がコピー + される。Message/Rfc822 が表示されている場合は、ヘッダを除い + た本文がコピーされる。 + 2. `C-uC-cC-y' では、ヘッダがあればヘッダをコピーする。 + 3. Emacs のマークがあると、そのマークとカーソルの間が対象となる。 +`C-cC-t' + Message モードからメッセージの一部をコピーし、引用ラベルと引用記 + 号なしで貼り付ける。 + +引用ラベルと引用記号の初期値は、以下のようになります。 + + From: SUMIKAWA Munechika + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + > おはようからおやすみまでニートでおなじみの角川です。 + > + > さて、とろけるワイン作戦ですが、定石通り '90 のボルドーの + > カベルネ・ソービニョンを狙いたいと思います。 + +Draft モードでは Message モードに表示されているものならなんでも引用で +きます。つまり、複数のメッセージを簡単に引用できるのです。引用したいメッ +セージを表示させて、本文を引用する手順を、引用したいメッセージの回数だ +け繰り返して下さい。そのための 3 分割です。 + + +本文やヘッダの色付けがおかしくなった場合、`C-cC-l' を実行することで、 +色付けをやり直すことができます。 + + + +File: mew.ja.info, Node: mime-comp, Next: charset-guess, Prev: cite, Up: Composing + +マルチパートの作成 +================== + +さて、ここでマルチパートの作り方を披露しましょう。 + +たとえば、+draft/1 でメッセージを書いているときに、`C-cC-a' と入力する +と、草稿の一番下に + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +という行が挿入されます。"1/" はマルチパートを構築するための一時的なディ +レクトリで、実体は "~/Mail/attach/1" です。パート 1 の CoverPage は本 +文を意味します。ここで Draft モードは次のようになっているでしょう。 + + To: mew-dist + Subject: ここがヘッダ + From: Kazu Yamamoto + X-Mailer: Mew version 6.8 on Emacs 26.1 + ---- + 本文だよ。 + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +3 つの領域を以下のように呼ぶことにします。 + + * "----" より上を 「ヘッダ」 + * "----" から "attachments" までを「本文」 + * "attachments" より下を「添付領域」 + +Draft モードでは、リージョンによってキー割当が違います。 + +たとえば、`TAB' は以下のようになります。 + +ヘッダ + さまざまな補完。 +本文 + TAB の挿入。 +添付領域 + なにもしない。 + +`c' だと以下のようになります。 + +ヘッダ + c を挿入。 +本文 + c を挿入。 +添付領域 + ファイルのコピー。 + +以下、添付領域でのキー割当です。 + +`C-p' + 現在のディレクトリの前のファイルへ移動。 +`C-n' + 現在のディレクトリの後のファイルへ移動。 +`C-f' + 1 番目のサブディレクトリに移動。 +`C-b' + 親ディレクトリに移動。 +`c' + ファイルのコピー。"." 上で有効。ネットワーク経由でも可。リモート + のファイルをコピーする場合は、"/[user@]hostname:/filepath" の形式 + でファイルを指定。 +`l' + ファイルへシンボッリクリンクを張る。"." 上で有効。添付ファイルを + `f' を使って読み込んで編集する場合は、実体を編集してしまわないよ + うに、`l' ではなく `c' でコピーすべき。 +`d' + ファイルとディレクトリの消去。 +`m' + サブディレクトリ(つまりマルチパート)の作成。"." 上で有効。 +`f' + ファイルをバッファに読み込む。 +`F' + 新規ファイルをバッファに読み込む。"." 上で有効。 +`y' + Message モードに表示されているメッセージにリンクを張る。"." 上で + 有効。 +`e' + external-body の入力。"." 上で有効。 +`a' + 音をサンプリングしオーディオファイルとして挿入。"." 上で有効。 +`p' + 入力されたユーザの PGP 公開鍵を取り出す。"." 上で有効。 +`D' + ちょっとした説明(Content-Description:)の入力。 +`T' + データ型(Content-Type:)の変更。 +`t' + データ型に関し、テキストとバイナリを反転させる。 +`I' + Text/* 型の入力 coding-system を指定する。 +`C' + Text/* 型の出力 coding-system を指定する。 +`P' + 受信側でこのパートを保存する際のファイル名(Content-Disposition:) + の変更。ファイル名の入力の際に、単に `RET' を押すと値が消える。そ + して、送信側のファイル名が `*' と共に表示される。 + +添付領域では、ファイルの拡張子によってデータを取り扱います。現在サポー +トしている拡張子は以下の通りです。 + + .txt Text/Plain + .html Text/Html + .xml Text/Xml + .rtf Text/Enriched + .css Text/Css + .sgml Text/Sgml + [0-9]+ Message/Rfc822 + .ps Application/Postscript + .pdf Application/Pdf + .doc Application/Msword + .xls Application/Vnd.Ms-Execl + .ppt Application/Vnd.Ms-Powerpoint + .vsd Application/Vnd.Visio + .dat Application/Ms-Tnef + .tar|.tar.|.gz|.Z|.taz|.tgz|.bz2?|.lzh|.zip|.bin|.pgp|.gpg|.exe|.dll + Application/Octet-Stream + .gif Image/Gif + .tiff Image/Tiff + .jpe?g Image/Jpeg + .png Image/Png + .xwd Image/X-Xwd + .xbm Image/X-Xbm + .xpm Image/X-Xpm + .bmp Image/X-Bmp + .pcx Image/X-Pcx + .tga Image/X-Tga + .au Audio/Basic + .wav Audio/X-Wav + .aif?f Auido/X-Aiff + .midi? Auido/X-Midi + .mpga|.mp[23] Audio/X-Mpeg + .mpe?g Video/Mpeg + .mov Video/Quicktime + .avi Video/X-Msvideo + +コピーするときのファイル名は、適切なデータ型を推測できるよう拡張子に気 +を付ければなんでもよいです。もし、該当する拡張子がない場合、 +`mew-content-type' で指定されるデータ型が選ばれます。初期値は、 +Text/Plain(テキスト)です。 + + +`c' でファイルをコピーすると、たとえば次のようになります。 + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + B 2 Image/Gif MagicPoint のロゴ mgp.gif + Q 3 Application/Postscript 資料 ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +各行は、 + + - マーク (Content-Transfer-Encoding:) + - パート番号 + - データ型 (Content-Type:) + - 説明 (Content-Description:) + - ファイル名 (Content-Disposition:) + +から構成されています。 + +データ型(Content-Type:)は `T' によって変えられます。データ型がテキスト +(Text/Plain)かバイナリ(Application/Octet-Stream)の場合は、`t' によって +一方を他方へ反転できます。 + +マーク(Content-Transfer-Encoding:)を変更する方法は、*Note +mark-b-comp:: を参照して下さい。説明(Content-Description:)は `D' で入 +力できます。この説明のカラムは、*Note mark-b-comp:: で説明する暗号化の +際に上書きされます。 + +第 5 カラムに表示されるのは、実際にはコピーしたファイル名か +Content-Disposition:、つまり、受信者がそのパートを保存する際のファイル +名です。Content-Disposition: の値があれば、それが表示されます。なけれ +ば、コピーしたファイル名に `*' を付加して表示します。ファイルをコ +ピーした際の Content-Disposition: の値は、コピーしたファイル名が指定さ +れています。ただし、Message/* と Multipart/* には Content-Disposition: +は設定されません。Message/* の Content-Disposition: を指定するには、 +`P' を利用して下さい。 + +ファイルはシングルパートに、ディレクトリはマルチパートに対応します。で +すから、ファイル構造を作っていく感覚で複雑なマルチパートを作成できます。 +簡単でしょ? + +ディレクトリに対するデータ型の初期値は、一般的なマルチパート +(Multipart/Mixed)です。これも `T' によって変更できます。 + +お好みのマルチパートが作成できたら、前節で述べたように `C-cC-m' か +`C-cC-c' を利用してメッセージを送信して下さい。 + +パートの実体が外部にある external-body を作成するコマンド `e' について +説明しましょう。access-type に ftp か anon-ftp を入力するときは、 +ange-ftp のおかげでリモートのファイル名が補完できます。access-type が +local-file の場合は、もちろんファイル名を補完できます。 + +もし、マルチパートの作成途中でやっぱりシングルパートに戻したくなったら、 +一番上のマルチパート部分で `d' を押して下さい。 + + + +File: mew.ja.info, Node: charset-guess, Next: longline, Prev: mime-comp, Up: Composing + +文字コードの決定 +================ + +Mew はシングルパートとマルチパートの両方に対し、配送時の文字コードを決 +定する機能を持っています。 + +<シングルパート> + +Draft モードで `C-cC-m' や `C-cC-c' と入力しメッセージを作成すると、 +Mew は本文の内部表現から配送時の文字コードを決定します。バイリンガル +Emacs では、7 ビットの文字コードに対し US-ASCII を選び、8 ビットの文字 +コードに対し ISO-8859-1 を選択します。国際化 Emacs では、内部表現から +Mew が定めた規則に従って、配送時の文字コードを決定します。 + +<マルチパート> + +マルチパートの一部として添付するデータは、ファイルですからディスク上に +存在します。そこで、メッセージの作成の際に、配送時の文字コードを決定す +るためには、まず Emacs のバッファに取り込み、内部表現に直す必要があり +ます。内部表現に直した後は、シングルパートと同様の方法で、配送時の文字 +コードを決定します。 + +バイリンガル Emacs では、Mew はファイルをそのままの形式で読み込みます。 +ですから、7 ビットのファイルには US-ASCII が、8 ビットのファイルには +ISO-8859-1 が選ばれます。 + +国際化 Emacs では、Mew は環境(つまり auto conversion)に従って、文字コー +ドを推測しながらファイルを読み込みます。国際化 Emacs でこの環境を決定 +するコマンドは、`C-x RET l' です。 + +たとえば、日本語の環境では、国際化 Emacs は ISO-2022-JP、EUC-JP、そし +て、Shift_JIS を見事に推測し、日本語用の内部表現に変換してバッファに格 +納します。Mew はこの内部表現から、配送時の文字コードとして ISO-2022-JP +を選択します。つまり、ファイルの文字コードが EUC-JP や Shift-JIS であっ +ても、配送用の ISO-2022-JP に自動的に変換されます。そこでユーザは、添 +付するファイルの文字コードを気にすることなしに、ファイルを添付可能です。 + +もし、ディスク上のファイルの coding-system を明示的に指定したいなら`I' +を使って下さい。これを入力文字コードと呼ぶことにします。また、配送時の +coding-system を明示的に指示したいなら、`C' を利用して下さい。 + +文字コードの情報は、添付領域において、丸括弧の内側に表示されます。もし、 +配送時の文字コードが明示的に指定されていれば、それが表示されます。そう +でなくて、入力文字コードが明示的に指定されていれば、それが "*" と共に +表示されます。そうでなければ、"guess" と表示されます。 + +以下の例の見て下さい。パート 1 は、本文ですからあらかじめバッファ内に +あります。"guess" と表示されていますから、配送時の文字コードを Mew が +定めた規則に従って決定します。 + +パート 2 は、入力文字コードとして iso-8859-1 が指定されていますので、 +ファイルの文字コードを iso-8859-1 であるとして読み込み、内部表現に変換 +します。配送時の文字コードは Mew が定めた規則に従って決定します。 + +パート 3 の入力文字コードは、この例だけからだと明示的に指定されている +か分かりません。(しかし、ユーザ自身はは実際に指定したか分かっているは +ずです。) とにかく、ファイルは内部表現に直され、配送時の文字コードに指 +定されている EUC-JP に変換されます。 + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + 2 Text/Plain(*iso-8859-1) text1 + B 3 Text/Plain(euc-jp) text2 + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +バイリンガル Emacs では `C' と `I' は利用できません。 + + + +File: mew.ja.info, Node: longline, Next: reply, Prev: charset-guess, Up: Composing + +長い行の取り扱い +================ + +長い間、メッセージに書く文章は、自分自身で各行を(英文字で)70文字程度に +折り返すべきだとされてきました。RFC 3676 で Text/Plain が拡張され、 +format パラメータに flowed という値が定義されました。 + +このおかげで、送り側で長い行を目印を付けて折り返し、受け取り側で長い行 +に戻せるようになりました。ユーザの目から見れば、メッセージに長い行を気 +軽に書いてもよくなったということです。 + +Mew で、長い行を flowed で折り返すには 2 つの方法があります。 + +1) 明示的に折り返すには、`C-cC-f'を実行します。 + +このコマンドは、草稿に長い行があるかを調べます。 +`mew-flowed-fold-threshold' を越える行が見つかったら、flowed で折り返 +しを実行します。この変数の値は 78 です。 + +折り返した行が、何文字以内になるかを制御する変数が +`mew-flowed-fold-length'です。初期値は 70 です。 + +折り返す方法は、文字コードによって変わります。分かち書きをする文字コー +ドでは、既存の空白文字の後に改行文字を入れて折り返します(delsp=no)。分 +かち書きをしない文字コードでは、適切な場所に空白文字と改行文字の両方を +挿入して折り返します(delsp=yes)。 + +もう一度 `C-cC-f' を実行すると、折り返された行が元に戻ります。 + +2) `mew-use-format-flowed' が `t' の場合は、`C-cC-c'や`C-cC-m'でメッセー +ジを作成するときに、この機能が働きます。この変数の初期値は `nil' です。 + +3) `C-cC-pC-f' で、`mew-use-format-flowed' の値を反転できます。 + + +なお、メッセージを表示する際は、`mew-use-format-flowed' の値に関係なく +flowed で折り返された行は、元に戻されます。長い行が見にくい場合は、 +Summary モードで `_' を利用しましょう。 + +`mew-flowed-auto-wrap' が `t' の場合、メッセージを表示すると、元に戻さ +れた行に一回 `_' が実行され、折り返された状態で表示されます。 +`mew-flowed-auto-wrap' のデフォルトの値は `t' です。 + + + +File: mew.ja.info, Node: reply, Next: forward, Prev: longline, Up: Composing + +メッセージへの返答と宛先の決定 +============================== + +新規にメッセージを書く場合は、To:、Cc:、および Newsgroups: を自分で書 +くことになります。一方 Summary モードで `a' や `A' を使って、あるメッ +セージに返答しようとすると、To:、Cc:、Newsgroups: は自動的に用意されま +す。 + +Summary モードで `a' や `A' を使うと、新しい草稿が Draft modeに用意さ +れます。To:、Cc:、Newsgroups: の値は、以下の三つの alist に従って用意 +されます。 + + 1. もし `C-u' 付きで呼び出された場合、送信者/投稿者のみに返答する。 + この場合、`mew-reply-sender-alist' が利用される。 + 2. もし対象が自分自身で送ったメッセージなら、そのヘッダを加工せずに + 返答したいのであろう。この場合、`mew-reply-fromme-alist' が利用さ + れる。 + 3. そうでなければ、すべての人に返答する。この場合、 + `mew-reply-all-alist' が利用される。 + +`mew-reply-sender-alist' の初期値は以下の通りです。 + + '(("Reply-To:" + ("To:" "Reply-To:" "From:")) + (t + ("To:" "From:"))) + +これは、次のように解釈します。 + + 1. Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコ + ピーする。 + 2. そうでなければ、From: の値を新しい To: へコピーする。 + +もし、Reply-To: で指定されたアドレスのみに返答したい場合は、 +`mew-reply-sender-alist' を以下のように設定するとよいでしょう。 + + (setq mew-reply-sender-alist + '(("Reply-To:" + ("To:" "Reply-To:")) + (t + ("To:" "From:")))) + +`mew-reply-fromme-alist' の初期値は以下の通りです。 + + '((t + ("To:" "To:") + ("Cc:" "Cc:") + ("Newsgroups:" "Newsgroups:")))) + +これは、次のように解釈します。 + + 1. To: の値を新しい To: へ、Cc: の値を新しい Cc: へ、Newsgroups: の + 値を新しい Newsgroups: へコピーする。 + +`mew-reply-all-alist' の初期値は以下の通りです。 + + '((("Followup-To:" "poster") + ("To:" "From:")) + ("Followup-To:" + ("Newsgroups:" "Followup-To:" "Newsgroups:")) + ("Newsgroups:" + ("Newsgroups:" "Newsgroups:")) + ("Reply-To:" + ("To:" "Reply-To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:")) + (t + ("To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:"))) + +これは、次のように解釈します。 + + 1. Follwup-To: の値が "poster" であれば、From: の値を新しい To: へコ + ピーする。 + 2. Follwup-To: が存在すれば、Follwup-To: と Newsgroups: の値を新しい + Newsgroups: へコピーする。 + 3. Newsgroups: が存在すれば、Newsgroups: の値を新しい Newsgroups: へ + コピーする。 + 4. Reply-To: が存在すれば、Reply-To: と From: の値を新しい To: へコ + ピーする。また、To:、Cc:、Apparently-To: の値を新しい Cc: へコピー + する。 + 5. そうでなければ、From: の値を新しい To: へコピーする。また、To:、 + Cc:、Apparently-To: の値を新しい Cc: へコピーする。 + +`mew-reply-all-alist' を以下のように設定したいと思う人もいるかもしれま +せん。 + + (setq mew-reply-all-alist + '((("Followup-To:" "poster") + ("To:" "From:")) + ("Followup-To:" + ("Newsgroups:" "Followup-To:")) + ("Newsgroups:" + ("Newsgroups:" "Newsgroups:")) + ("Reply-To:" + ("To:" "Reply-To:")) + (t + ("To:" "From:") + ("Cc:" "To:" "Cc:" "Apparently-To:")))) + +あるアドレスが複数ある場合は、自動的に 1 つになります。また、匿名の宛 +先を表す ":;" で終るアドレスも、自動的に消去されます。 + +自分のアドレスは自動的に消去されます。自分のアドレスは、 +`mew-config-alist' などから `mew-mail-address-list' に自動設定されます。 +この値が気に入らないなら、以下のように明示的に設定することも可能です。 + + (setq mew-mail-address-list + '("^pooh@[a-z]*.example.org$" + "^pooh@example.net$" + "^winnie@example.jp$")) + + + +File: mew.ja.info, Node: forward, Next: resend, Prev: reply, Up: Composing + +メッセージの転送 +================ + +メッセージを転送するには、Summary モードで `f' や `F' を利用します。す +ると、Draft モードに移行し、あらかじめメッセージが添付領域に添付された +草稿が準備されます。 + +また Draft モードで添付領域を用意し、メッセージをコピー(`c')したりメッ +セージにリンク(`l')を張ったりしても、メッセージを転送できます。ファイ +ル名が数字([0-9]+)の場合は、自動的にメッセージだと判断されます。また、 +添付領域で `y' を使うと、Message モードに表示しているメッセージにリン +クを張るので便利です。 + +通常は添付したメッセージの全体が転送されます。もし、ヘッダの一部を削りた +い場合は、`mew-field-delete-for-forwarding' を定義して下さい。以下 +に "Received:" と "Return-Path:" を転送時に削るための設定例を示します。 + + (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:")) + + + +File: mew.ja.info, Node: resend, Next: shortcut, Prev: forward, Up: Composing + +メッセージの再送 +================ + +メッセージのヘッダの一部のみを変更して、送信したい場合があります。 + +たとえば、同じ内容のメッセージを、複数の宛先に独立して送りたい場合です。 +pooh 宛のメッセージを作成して、+queue に入れ、すぐさまそのメッセージを +コピーし、宛先だけを piglet に変更したい場合を想像して下さい。これを、 +メッセージの再利用による送信と呼びましょう。 + +また、メッセージに Resent-To: というフィールドを付けて再送したいことも +あります。これは、転送の一種です。こちらはヘッダだけ書き直すので、ヘッ +ダ変換といいます。前節で説明した転送は、メッセージを新規のメッセージに +包み込んで転送するため、カプセル化と呼ばれています。 + +ヘッダの一部だけを編集し、メッセージを送信したり、キューに入れたりする +モードとして、Header モードが用意されています。本文が編集できない +Draft モードだと思えばいいでしょう。 + +Header モードに入るために、Summary モードには以下のコマンドが用意され +ています。 + +`W' + メッセージの再利用による送信。対象となるメッセージの To:、Cc:、 + From: などを書き換えるために、Header モードに移行する。典型的には、 + +queue または +postq に入っているメッセージに対して利用する。 +`r' + メッセージの再送。対象となるメッセージのヘッダに、Resent-To:、 + Resent-Cc:、Resent-From: などを追加するために、Header モードに移 + 行する。再送によるメッセージの転送は、受信者を混乱させることがあ + るので、よく考えてから利用すること。 + +Header モードでは、Draft モードのように、補完や循環的な補完が利用でき +ます。ヘッダの入力が終わったら、以下のどちらかのコマンドを用いて、メッ +セージを送信して下さい。本文が表示されていないので不安かもしれませんが、 +ちゃんと対象となっているメッセージの本文とヘッダの一部が再利用されます。 + +`C-cC-m' + メッセージを作成し +queue または +postq に入れ、送信待ち状態にす + る。 +`C-cC-c' + メッセージを作成し送信する。"Really send this message? (y or n) " + と訊かれる。`y' を押せば送信される。 + + + +File: mew.ja.info, Node: shortcut, Next: mark-b-comp, Prev: resend, Up: Composing + +電子署名/暗号メールを作成する +============================= + +ここでは、テキストである本文を PGP や S/MIME で署名したり暗号化したり +する方法について説明します。紹介するコマンドは以下の通りです。 + +`C-cC-s' + 草稿全体を署名する。パスフレーズを入力すること。 +`C-cC-e' + 草稿全体を暗号化する。 +`C-cC-b' + 草稿全体を署名後暗号化する。パスフレーズを入力すること。 +`C-cC-r' + 草稿全体を暗号化後署名する。パスフレーズを入力すること。 + +メッセージを暗号化するには受信者の公開鍵を使用します。逆に署名するには +自分の秘密鍵を使います。よって、署名するためにはパスフレーズを入力する +必要があります。ただし、パスフレーズの保存機能やマスターパスワードを使っ +ており、パスフレーズが保存されている場合は、パスフレーズを入力する必要 +はありません(*Note password::)。 + +これらのコマンドは、通常 PGP/MIME を作成します。S/MIME を作成したい場 +合は、以下のように設定して下さい。 + + (setq mew-draft-privacy-method 'smime) + +この変数の値は、Draft モードの `C-cC-pC-m' でも変更できます。 + +上記4つのコマンドは、次節で説明するマークを使った作成方法の省略方法に +当たります。 + +メッセージに署名を施すには、`C-cC-s' と入力します。署名の際には、自分 +の秘密鍵を復号化する必要がありますので、パスフレーズがキャッシュされて +いなければ、入力を促されます。署名が施されたメッセージは、+queue また +は+postq に格納されます。 + +自分の秘密鍵は、From: にあるアドレスを元に特定されます。From: がない場 +合は、デフォルトの秘密鍵が選択されます。From: にあるアドレスとは違うア +ドレスで秘密鍵を指定したい場合は、`C-uC-cC-s' と入力して下さい。 + +メッセージを暗号化するには、`C-cC-e' とタイプして下さい。To: や Cc: か +らアドレスを切り出して、その受信者が復号化できるよう暗号化します。暗号 +化するだけのなので、パスフレーズを訊かれることはありません。作成された +メッセージは、+queue に格納されます。 + +このメッセージは、受信者の公開鍵に加えて、自分の公開鍵でも暗号化されて +います。ですから、作成したメッセージを復号化できます。たとえば、`g' で ++queue に移動し、念のため復号化して確認することが可能です。 + +署名後暗号化するには、`C-cC-b' と入力します。暗号化後署名するには、 +`C-cC-r' とタイプします。どちらの場合も作成されたメッセージは、+queue +に蓄えられます。 + +署名を施したり、暗号化したりしてメッセージを送ろうと思っていても、うっ +かり忘れることがあります。これを防ぐために、メッセージを作成するコマン +ド `C-cC-m' や `C-cC-c' を実行すると、自動的に署名や暗号化を施す機能が +あります。 + +作成するすべてのメッセージのプライバシを保護したいなら、 +`mew-protect-privacy-always' を `t' にして、 +`mew-protect-privacy-always-type' に利用したいサービスを設定します。 + +暗号化されたメッセージに対する返答メッセージのプライバシを保護したいな +ら、`mew-protect-privacy-encrypted' を `t' にして、 +`mew-protect-privacy-encrypted-type' に利用したいサービスを設定します。 +この設定は、暗号化されたメッセージへの返答する場合、上記のすべてのメー +ルに対する設定よりも優先されます。 + +以下に利用できるサービスを示します。かっこ内はそれぞれのサービスを表す +シンボルです。`C-cC-m' や `C-cC-c' と入力する際に利用されるサービスは、 +モードラインに表示されます。 + +pgp-signature (PS) + PGP で署名 +pgp-encryption (PE) + PGP で暗号化 +pgp-signature-encryption (PSPE) + PGP で署名後暗号化 +pgp-encryption-signature (PEPS) + PGP で暗号化後署名 +smime-signature (SS) + S/MIME で署名 +smime-encryption (SE) + S/MIME で暗号化 +smime-signature-encryption (SSSE) + S/MIME で署名後暗号化 +smime-encryption-signature (SESS) + S/MIME で暗号化後署名 + +以下の例は、すべてのメッセージに対し署名する設定です。 + + (setq mew-protect-privacy-always t) + (setq mew-protect-privacy-always-type 'pgp-signature) + +以下の例は、暗号化されたメッセージへの返答メッセージに対し、PGP で暗号 +化する設定です。 + + (setq mew-protect-privacy-encrypted t) + (setq mew-protect-privacy-encrypted-type 'pgp-encryption) + +Draft モードでは、`C-cC-pC-a' で `mew-protect-privacy-always'、 +`C-cC-pC-e' で `mew-protect-privacy-encrypted' の値を反転できます。 + +Draft モードにおいて現在書いている草稿に対してのみあらかじめサービスを +指定しておき、送信時にサービスを施すことを忘れないようにできます。現在 +の草稿に対し `C-cC-m' や `C-cC-c' で施されるサービスを指定するには、 +`C-cC-pC-d' に続いて上記のサービスの 1 つを入力して下さい。現在のサー +ビスをキャンセルするには、サービス名の代りに単に `RET' を押して下さい。 + +`C-cC-c' や `C-cC-m' でメッセージを作成する際、署名や暗号化に +失敗したら、草稿に戻ります。このとき指定していたサービスはキャンセルされ +ます。続けて `C-cC-c' や `C-cC-m' でメッセージを作成すると、普 +通のメッセージが作成されるので気をつけて下さい。問題を取り除いた後、同じ +サービスを望むなら、明示的に `C-cC-pC-d' でサービスを指定するか、 +`C-cC-s'、`C-cC-e' などを用いて下さい。 + + +`mew-use-old-pgp' を `t' に設定すれば(初期値は `nil')、`C-cC-s' や +`C-cC-e' は PGP/MIME の代りに、古い PGP の書式に従ってメッセージを生成 +します。添付領域がある場合は、エラーになります。 + +上記で説明した `mew-protect-privacy-*' は、PGP/MIME のみに有効であり、 +古い PGP には機能しません。`C-cC-m' や `C-cC-c' で常に古い PGP の署名 +を施すには、`mew-protect-privacy-with-old-pgp-signature'を `t' にして +下さい。 + +PGP/MIME や S/MIME のために Mew は GnuPG 1.x と 2.0 をサポートしていま +すが、2.1 はサポートしていません。 + + + +File: mew.ja.info, Node: mark-b-comp, Next: pgp-key, Prev: shortcut, Up: Composing + +マークを使った電子署名/暗号メールの作成 +======================================= + +PGP/MIME、S/MIME、および ZIP をサポートするために、マークを使った作成 +方法が提供されています。以前の例を思い出してみましょう。 + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + B 2 Image/Gif MagicPoint のロゴ mgp.gif + Q 3 Application/Postscript 資料 ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +行頭に `B' や `Q' といったマークがあります。このマークは符号化を意味し +ています。Mew では、新しい概念「符号化」を導入しています。符号化には、 +Base64、Quoted-Printable、Gzip64 (Gzip + Base64)、署名、暗号化などがあ +ります。 + +現在次の 8 つのマークがサポートされています。 + +`" "' + 符号化しない。ただし、8 ビットのテキストは符号化されるかもしれな + い。 +`B' + Base64 +`Q' + Quoted-Printable +`G' + Gzip64(gzip 圧縮し Base64 で符号化する。Mew が実験的に採用してい + る。相手が Mew を使っていない場合は、使用すべきではない。) +`PS' + PGP で電子署名。 +`PE' + PGP で暗号化。 +`SS' + S/MIME で電子署名。 +`SE' + S/MIME で暗号化。 + +添付領域でのマークに関係する新しいキー割当は以下の通りです。 + +`B' + Base64 で符号化するため `B' マークを付ける。 +`Q' + Quoted-Printable で符号化するため `Q' マークを付ける。 +`G' + Gzip64 で符号化するため `G' マークを付ける。ただし、Text/Plain と + Application/Postscript でしか実行できない。これ以外の型には圧縮は + 無意味である。なぜなら、jpeg などはあらかじめ圧縮されているから。 +`S' + PGP で署名するため `PS' マークを付ける。 +`E' + PGP で暗号化するため `PE' マークを付ける。受信者のアドレスを入力 + する。 +`M-s' + S/MIME で署名するため `SS' マークを付ける。 +`M-e' + S/MIME で暗号化するため `SE' マークを付ける。受信者のアドレスを入 + 力する。 +`Z' + ZIP で直ちに暗号化する。暗号化された後は、`B'マークが付く。 +`U' + 符号化を元に戻す。元々のマークに戻る。 + +次の例を考えてみましょう。パート 2 は PGP で署名され、"kazu" 用に PGP +で暗号化されます。安心して下さい。説明の部分は上書きされていますが、保 +存されています。パート 3 は Gzip64 で符号化されます。 + + ----------------------------- attachments ----------------------------- + Multipart/Mixed 1/ + 1 Text/Plain(guess) CoverPage* + PSPE 2 Image/Gif kazu@example.org mgp.gif + G 3 Application/Postscript 資料 ohp.ps + 4 . + --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- + +マークを付けた後は、`C-cC-m' や `C-cC-c' を使って、メッセージを作成し +て下さい。 + + + +File: mew.ja.info, Node: pgp-key, Next: anonymous, Prev: mark-b-comp, Up: Composing + +PGP の鍵の配布 +============== + +PGP の公開鍵を配布するには、Draft モードの添付領域で `p' を押して下さ +い。だれの公開鍵を配布するか尋ねられます。自分の公開鍵であれば、単に +`RET' と入力して下さい。他人の公開鍵であれば、補完を利用しながらその人 +のアドレスを入力して下さい。PGP の公開鍵は、Application/Pgp-Keys とい +うデータ型で配送されます。 + +Summary モード、あるいは、Virtual モードでメッセージを読んでいる際に、 +あるパートのデータ型が Application/Pgp-Keys であれば、Mew は PGP の公 +開鍵リングにそれを登録しようとします。Mew は、「信用度」と「有効性」を +全く考慮しないことに注意して下さい。これらの値を設定するのは、あなた自 +身です。設定は Mew が表示する説明に従って下さい。もし、「信用度」と +「有効性」の意味が分からなければ、PGP を使って自分のプライバシを保護し +ようとする前に、PGP が提供する「信用の輪」とは何かを学ぶべきです。 + + + +File: mew.ja.info, Node: anonymous, Next: Marks, Prev: pgp-key, Up: Composing + +宛先を匿名にしたメッセージの送信 +================================ + +宛先を匿名にして、複数の受信者にメッセージを送信したいことがあります。 + +たとえば、pooh がパーティーへのお誘いを複数の友達に送ることを考えて下 +さい。パーティーへ参加するという piglet からの返事は、pooh のみに送る +べきです。しかし、To: にたくさんの友達を列挙していると、piglet は誤っ +て多くの人に返答を送りつけてしまうかもしれません。そもそも、pooh は誰 +を誘ったのか、当日までふせておきたいこともあるでしょう。 + +このような要望を実現するために、Mew では匿名の宛先として、":;" を利用 +します。以下の例を見て下さい。 + + To: party:piglet@example.org,roo@example.org; + From: Pooh + +"party" という説明文字列の後に ":" があります。そして、いくつかアドレ +スが "," で区切られながら列挙され、";" で終端されています。このような +形式でアドレスを書くと、Mew は ":" と ";" のアドレスにメッセージを届け +ますが、ヘッダからは削り取ります。この例では、piglet と roo は以下のよ +うなメッセージを受け取ります。 + + To: party:; + From: Pooh + +受信者はこのヘッダから、送信者は pooh であることは分かりますが、自分以 +外の誰に送られたのかは、想像するほかありません。また、"party:;" という +文字列は、アドレスではありませんから、ここに返答することも不可能です。 + +なお、To: や Cc: にたくさんのアドレスを列挙することは、本質的によいこ +とではありません。特定の人にメッセージを何度も送信する機会があるなら、 +通常メーリングリストを作成します。 + + + + +File: mew.ja.info, Node: Marks, Next: unread mark, Prev: anonymous, Up: Top + +愉快なマークたち +**************** + +ここでは、Summary モードでユーザが付けたり消したりできるマークについて +説明します。このマークは以下のように、行頭に付きます。(Mew が付けるマー +クは日付の左に付くことに注意。) + + D 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック + oM03/14 ももちゃん 能登の写真 |この前撮った写真を添付 + * 03/15 Neat Sumikawa Re: ワイン |じゃぁ、水曜日に例の店 + +現在利用できるマークは以下の 6 つです。 + +`U' + 未読マーク。 +`D' + 消去のマーク。 +`X' + 消去のマーク。 +`o' + 整頓、つまり、フォルダを移動させるマーク。 +`*' + 処理の対象とするマーク。 +`$' + マークを一時的に待避するためのマーク。 + +マークを付けるだけでは、メッセージがなくなったりすることはありません。 +`o'、`D'、`X' といったマークを実際に処理するコマンドは、`x' です。マー +クを付けるのは気軽にできますが、`x' を押すときは慎重にお願いします。 + +以下それぞれについて説明します。また、Mew が表示するマークについてもま +とめます。 + +* Menu: + +* unread mark:: 未読 `U' +* delete mark:: 消去 `D'、`X' +* refile mark:: 整頓 `o' +* target mark:: 対象 `*' +* escape mark:: 待避 `$' +* unmark:: マークの消去 +* mark change:: マークの変換 +* sync:: IMAP サーバとのマークの整合性 +* off-line:: IMAP のためのマークのオフライン処理 +* mew-mark:: Mew が表示するマーク + + + +File: mew.ja.info, Node: unread mark, Next: delete mark, Prev: Marks, Up: Marks + +未読 `U' +======== + +以下のように設定すると、メッセージを一覧表示する際に、未読マーク +`U' がメッセージに付きます。 + + (setq mew-use-unread-mark t) + +`SPC'、`n'、および `p' などでメッセージを読むと +`U' マークは消えます。 + +この三つのコマンドは、通常 `*' マーク、`U' マーク、およびマー +クの付いていないメッセージを読み進みます。`zSPC' を押すと、これら +は `*' マークと `U' マークの付いたメッセージのみを読み進めま +す。これは、未読のメッセージを読み進める場合に便利です。もう一度 +`zSPC' を実行すると、対象とするメッセージが元に戻ります。 + +前のメッセージにマークを付けて、現在のメッセージに移動して来ると、`U' +マークは消えます。`SPC'、`n'、および `p' で移動して来た場合は、このメッ +セージを読むことを意図しているはずですが、マークを付けることで移動した +場合はメッセージを読むことを意図していないかもしれません。その場合、 +`U' マークが消えると少し不便です。マークを付けることで移動した際に、 +`U' マークを消したくないのであれば、以下のように設定するとよいでしょう。 + + (setq mew-delete-unread-mark-by-mark nil) + +以下に `U' マークに関するコマンドをまとめます。 + +`zSPC' + `SPC'、`n'、および `p' が読み進める対象とするメッセージを反転させ + る。反転とは、「`U' マーク、`*' マーク、およびマークなし」と「`U' + マークおよび `*' マーク」に対し、一方を他方へ変えること。 +`M-u' + `U' マークを付ける。 + + + + +File: mew.ja.info, Node: delete mark, Next: refile mark, Prev: unread mark, Up: Marks + +消去 `D'、`X' +============= + +メッセージを消去するには、まず Summary モードで `d' を押して、 +`D' マークを付けます。マークを付けただけでは何も起こらないので、間 +違って `d' を押しても大丈夫です。デフォルトでは、`x' を押すと +`D' マークの付いたメッセージがゴミ箱に移動します。 + +ローカル・フォルダのためのゴミ箱は +trash です。IMAP のためのゴミ箱は、 +%trash です。 + +ゴミ箱の中のメッセージを実際に消去するには、以下の 2 つの方法がありま +す。 + + 1. Summary モードで `D' を実行する。 + 2. ゴミ箱で `D' マークを付けて、`x' を押す。 + +もう少し正確に言うと、ローカル・フォルダでは以下のルールが適用されます。 +(`mew-trash-folder' の初期値は +trash。 +`mew-trash-folder-list' の初期値は `nil'。) + + - `mew-trash-folder' が `nil' なら、`D' マークの付いたメッセージは + 消去される。 + - `mew-trash-folder-list' が定義されていたら、それらのフォルダ + で `D' マークを付けたメッセージは消去される。それ以外のフォルダからは + `mew-trash-folder' へ。 + - `mew-trash-folder-list' が `nil' なら、 `mew-trash-folder' で `D' + マークを付けたメッセージは消去される。それ以外のフォルダからは + `mew-trash-folder' へ。(これが初期値。) + +IMAP に対しては、`mew-imap-trash-folder' と +`mew-imap-trash-folder-list' に従って、同じ規則が適用されます。 + +すべての `*' マークを `D' マークに変換できれば、一度にたくさんの `D' +マークを付けられて便利です。これには、`md' を利用して下さい。 + +また、`Md' を使うと、現在のフォルダ内で同じ Message-Id: を持つメッセー +ジがある場合、1 つを残して他のメッセージに `D' が付きます。 + +`D' マークに似たものに `X' マークがあります。このマークの付けられたメッ +セージは、`x' を押した際に必ず消去されます。`X' マークは、`M-d' で付け +ることができます。 + +`mxM-d' で、`X' マークが付いたメッセージだけを処理できます。 +すべての `*' マークを `X' マークに変換するコマンドは、 +`mM-d' です。 + + +以下に、`D' マークと `X' マークに関するコマンドをまとめます。 + +`d' + `D' マークを付ける。 +`M-d' + `X' マークを付ける。 +`md' + `*' マークを `D' マークへ変換する。 +`mM-d' + `*' マークを `X' マークへ変換する。 +`x' + マークの付いたメッセージを処理する。 +`mxd' + `D' マークの付いたメッセージのみを処理する。 +`mxM-d' + `X' マークの付いたメッセージのみを消去する。 +`D' + ゴミ箱の中のメッセージを全部消去する。 +`C-uD' + 指定されたフォルダのメッセージを全部消去する。 + + + +File: mew.ja.info, Node: refile mark, Next: target mark, Prev: delete mark, Up: Marks + +整頓 `o' +======== + +メッセージを整頓するには `o' を押して、移動先のフォルダを入力し、 +`o' マークを付けます。移動先のフォルダは、賢く推測してくれるので、 +ほどんどの場合はフォルダ名を入力する代わりに `RET' を押すだけです。 +"," で区切って複数のフォルダを入力することもできます。もちろん、 +`TAB' で補完できます。詳しくは *Note Refile:: を参照して下さい。 + +`o' マークの付いたメッセージの上で `o' を押すと、移動先を追加したり変 +更したりできます。また、実際の移動は `x' と入力されたときに実行されま +す。 + +複数のフォルダを指定し、移動させたときのことを考えましょう。ハードリン +クの機能を持つファイルシステムを使っている場合、そのメッセージは最初の +フォルダに移動され、その他のフォルダからはハードリンクが張られます。そ +うでないファイルシステムの場合は、最初のフォルダに移動後、その他のフォ +ルダへ複製されます。 + +指定したフォルダが 1 つで、しかもそれが現在のフォルダである場合、整頓 +してもなにも起こりません。指定したフォルダが複数で、現在のフォルダが含 +まれる場合、現在のフォルダ内での番号を保ったまま、その他のフォルダから +ハードリンクが張られるか、その他のフォルダへ複製されます。 + +`o' に似ていますが、かならず現在のフォルダも候補として提示する +`c' というコマンドも用意されています。 + +以下に、`o' マークに関するコマンドをまとめます。 + +`o' + `o' マークを付ける。 +`c' + `o' マークを付ける。推測したフォルダに加えて、現在のフォルダも候 + 補として提示する。 +`x' + `o' マークの付いたメッセージを移動させる。 +`mxo' + `o' マークの付いたメッセージのみを移動させる。他のマークは処理しない。 +`C-umxo' + `o' マークの付いたメッセージの中で、現在のメッセージと同じ移動先 + を持つもののみを移動させる。 + + + +File: mew.ja.info, Node: target mark, Next: escape mark, Prev: refile mark, Up: Marks + +対象 `*' +======== + +後から読み返したいメッセージには、`*' で `*' マークを付けて下さい。ま +た、選択コマンド `?' を使うと、入力した条件にマッチするメッセージに +`*' マークが付きます(詳しくは、*Note search:: を参照して下さい)。`N' +や `P' で `*' マークの付いたメッセージに移動し表示できます。 + +以下に、`*' に関連するコマンドを示します。 + +`*' + `*' マークを付ける。 +`N' + 下方向の `*' マークの付いたメッセージへ移動し表示。 +`P' + 上方向の `*' マークの付いたメッセージへ移動し表示。 +`ma' + マークの付いていないメッセージすべてに `*' マークを付ける。 +`mr' + 入力した正規表現にマッチしたメッセージに `*' マークを付ける。 + +`*' マークは、複数のメッセージを処理するためにも利用します。以下に複数 +のメッセージを処理するコマンドを示します。 + +`F' + `*' マークの付いたメッセージを MIME 形式で転送するための草稿を準備。 +`J' + 大きなメッセージは Message/Partial として複数に分割されている場合 + がある。これらのメッセージには、Mew によって `P' マークが付けられ + ている。ここで、ユーザがそれらのメッセージに `*' マークを付け、こ + のコマンドを実行すれば、元のメッセージが復元される。 +`mI' + `*' マークの付いている一部だけが取得されたメッセージ群(`T')を取得 + する。 +`C-umI' + `mI' を実行する。 +`M-b' + `*' マークの付いたメッセージに格納されているメッセージを取り出す。 +`M-\' + `*' マークの付いたメッセージを引数として、外部コマンドを起動する。 +`M-t' + `*' マークの付いたメッセージを "uudecode" する。 + +`M-t' では、`*' マークの付いたメッセージがきちんと分割順になっている必 +要があります。順番がくるっているなら、`S' でソートするとよいかもしれま +せん。 + + + +File: mew.ja.info, Node: escape mark, Next: unmark, Prev: target mark, Up: Marks + +待避 `$' +======== + +たとえば `/' などを使いパターンに合致したメッセージに `*' を付けること +を考えて下さい。`*' マークの付いたメッセージがすでにあるなら、これらの +メッセージは `/' の結果と混ざってしまいます。そこで、現在の `*' マーク +を一時的に保存したくなります。 + +この目的のために、待避マーク `$' が提供されています。典型的な使い方は、 +以下のようになります。 + + 1. `m$' で `*' マークを一旦 `$' マークに待避 + 2. `/' などで `*' マークを付け、`*' マークのついたメッセージを処理 + 3. `U*' で `*' マークを消去 + 4. `m*' で `$' マークを `*' マークへ戻す + +`$' マークに関するコマンドを以下にまとめます。 + +`m$' + `*' マークを `$' マークへ変換。 +`m*' + `$' マークを `*' マークへ変換。 + + + +File: mew.ja.info, Node: unmark, Next: mark change, Prev: escape mark, Up: Marks + +マークの消去 +============ + +`o' マークや `D' マークが付いたメッセージは、マーク実行コマンド `x' を +押さない限り処理されません。よって、`x' を押す前に、マークを取り止める +コマンド `u' でマークを消せば、誤ってメッセージを消すことはありません。 + +以下にマークを消去するコマンドをまとめます。 + +`u' + 現在のメッセージのマークを消す。 +`U' + 入力したマークが付いているすべてのメッセージのマークを消す。 + +`$' マークを使って `*' マークを待避し、なんらかの操作をし、元に戻す方 +法は、目に見えるので分りやすいです。しかしながら、`$' マークが付いてい +るメッセージは、マークが付いているので目的の操作の対象外になるかもしれ +ません。 + +このため `U*' で消去した `*' マークを復活させるコマンドがあります。そ +れは、`M*' です。この方法は、復活できるマークは目に見えないので分りに +くいかもしれません。しかしながら、マークが消えているので、そのメッセー +ジは確実に目的の操作の対象になります。 + +`M*' + 一番最後の `U*' で消した `*' マークを復活させる。 + + + + +File: mew.ja.info, Node: mark change, Next: sync, Prev: unmark, Up: Marks + +マークの変換 +============ + +マークには強さのレベルがあります。同じレベルのマークは上書きできます。 +強いマークは弱いマークを上書きできます。 + +マークを強い順に示します。 + +`o'、`D'、`X' + 新たにマークしたときは、次のメッセージを表示。上書きした場合は、 + その行に留まる。 +`*' と `$' + マークを付けた後は、その行に留まる。 +`U' + マークを付けた後は、その行に留まる。 + +強いマークを付けた後にカーソルが動く方向については、*Note +summary-mode:: を参照して下さい。 + +マークは以下のように交換できます。 + +`m$' + `*' -> `$' :: `*' マークを一時的に保存。 +`m*' + `$' -> `*' :: `*' マークを元に戻す。 +`ms' + `$' <-> `*' +`mM-u' + `*' -> `U' :: 選択コマンド `?' で選んだメッセージを未読にするとき + に便利。 +`md' + `*' -> `D' :: 選択コマンド `?' で選んだメッセージを消去するときに + 便利。 +`mM-d' + `*' -> `X' :: 選択コマンド `?' で選んだメッセージを消去するときに + 便利。 +`mo' + `*' -> `o' :: 選択コマンド `?' で選んだメッセージをあるフォルダに + 移動させる場合に便利。 +`mc' + `*' -> `o' :: 選択コマンド `?' で選んだメッセージをあるフォルダに + コピーする場合に便利。 +`e' + 最初に入力したマークを次に入力したマークへ変換する。ただし、`o' + マークは対象外。 + + + +File: mew.ja.info, Node: sync, Next: off-line, Prev: mark change, Up: Marks + +IMAP サーバとのマークの整合性 +============================= + +Mew では、以下のマークに対し、IMAP サーバと整合性を確保できます。 + +`U' + メッセージを読んだか否か。IMAP のフラグは \Seen。通常は %inbox の + みで有効。 +`*' + 注目しているメッセージ。IMAP のフラグは \Flagged。 + +オフラインの操作を許すために、Mew ではユーザが動作を起こすたびに IMAP +サーバとマークの整合性を取ります。定期的に整合性を取ることはしません。 +Mew がマークの整合性を取る方法を以下に示します。 + + 1. `s' + 'update + - 既存のメッセージに対して変更したマークをサーバ側へ反映 + - 新着メッセージに対しては、サーバ側のフラグをマークへ反映 + + 2. `x' + - 既存のメッセージに対して変更したマークをサーバ側へ反映 + + 3. `s' + 'sync + - 既存のメッセージに対して変更したマークをサーバ側へ反映 + - 既存のメッセージの `*',`U', `$', ` ' マークを一旦クリア + - サーバ側のフラグを既存のメッセージにマークとして反映 + - サーバ側で削除されたメッセージを削除 + + + +File: mew.ja.info, Node: off-line, Next: mew-mark, Prev: sync, Up: Marks + +IMAP のためのマークのオフライン処理 +=================================== + +IMAP ユーザは、フォルダ A のメッセージをキャッシュし、出先で `o'マーク +や `D' マークを付け、その場でそれらのマークを処理したくなることがあり +ます。この場合、その後ネットワークに接続したときに、それらの処理が +IMAP サーバに反映されて欲しいと思います。 + +通常 IMAP では、メッセージをフォルダ A からフォルダ B へ移動させた場合、 +フォルダ A にキャッシュされているそのメッセージを削除し、IMAP サーバか +らネットワークを通じ、フォルダ B へそのメッセージをキャッシュし直す必 +要があります。なぜなら、フォルダ A にキャッシュされているメッセージに +付随する IMAP の情報は、フォルダ A 内でのみ有効だからです。 + +出先でフォルダ A のメッセージをフォルダ B へ整理したとしましょう。仮に、 +そのメッセージをフォルダ B で読むためには、ネットワークに接続してその +処理を IMAP サーバに反映し、IMAP サーバから取り直さないといけないとす +ると不便です。欲を言えば、出先でフォルダ B へ整理したメッセージは、 +IMAP サーバから取り直さなくとも、フォルダ B へ移動すれば読めるようになっ +ていて欲しいと思います。 + +Mew では、メッセージ処理を後から IMAP サーバへ反映することと、IMAP サー +バからメッセージを再取得しなくても移動先のフォルダでメッセージを読める +ことの両方を実現しています。ネットワークに接続していない状況で、マーク +を処理するには、`lx' を使用して下さい。`lx' を実行すると、以下の処理が +なされます。 + + 1. `o' マークや `D' マークのついたメッセージがフォルダ A からなくな + る。 + 2. この処理はメッセージ形式で、%queue に溜る。 + 3. `o' マークのついたメッセージは、ローカルでフォルダ B へ移動され、 + 無効なメッセージとして扱われる。 + +無効なメッセージとは、読むことはできるが、`o' マークや `D' マークをつ +けられないものをいいます。無効なメッセージには、`#' マークが付いていま +す。`g' を使って、フォルダ B へ行くと、無効なメッセージの一覧が自動的 +に表示されます。 + +ネットワークに接続した後に、%queue に溜っている処理を IMAP サーバに反 +映させるには、%queue で `C-cC-c' と入力して下さい。 + +IMAP サーバに処理を反映した後に、フォルダ B で `s' を押すと、無効なメッ +セージが削除され、有効なメッセージがキャッシュされます。 + + + +File: mew.ja.info, Node: mew-mark, Next: Refile, Prev: off-line, Up: Marks + +Mew が表示するマーク +==================== + +以下に Mew が表示するマークをまとめます。 + +`M' + マルチパートを表すマーク。*Note multipart:: を参照のこと。 +`-' + Multipart/Alternative を表すマーク。*Note analysis:: を参照のこと。 +`T' + メッセージが切り詰められたことを表すマーク。*Note retrieving:: を + 参照のこと。 +`S' + 署名を表すマーク。*Note cipher-viewing:: を参照のこと。 +`E' + 暗号化を表すマーク。*Note cipher-viewing:: を参照のこと。 +`P' + 分割されていることを示すマーク。*Note target mark:: を参照のこと。 +`#' + メッセージが無効であることを示すマーク。*Note off-line:: を参照の + こと。 + + + + +File: mew.ja.info, Node: Refile, Next: by-folder, Prev: mew-mark, Up: Top + +楽々整理整頓 +************ + +1 日に数百のメッセージを受け取るようになると整理整頓が大変になります +(え、そんなに受け取らないですって? 幸せですね :) 。Mew では、`o' でメッ +セージを整頓する際に、整頓先を推測し初期値として表示してくれます。たと +えば、次のようになります。 + + Folder name (+work/mew-dist): + + +もし、() の中の初期値が自分の希望通りであれば、`RET' を押すだけでよい +のです。整頓先が決定しているメッセージには、`o' マークが付きます。 + +メッセージを移動できるのは、そのメッセージが属している「世界」の中での +みです。前述のように世界はケースと修飾子によって定まります。整頓先のフォ +ルダを指定する場合には、ケースを付けず、同じ修飾子を持つフォルダ名を入 +力する必要があります。ケースを付けない理由は、そのメッセージのケースは +すでに定まっているからです。ミニバッファからフォルダ名を入力する際、ケー +スが "default" でないにも関わらずケースを明示的に入力しないのは、整頓 +先を指定する場合のみです。 + +`o' に似たコマンドに `c' があります。両者の違いは、 +*Note refile mark:: を参照して下さい。 + +この整頓先の推測が賢ければ賢い程ユーザは楽になります。Mew では以下のよ +うな規則が用意されています。 + +* Menu: + +* by-folder:: メーリングリスト用のフォルダから推測 +* by-alist:: 指定した規則から推測 +* by-thread:: 対話関係から推測 +* by-from-folder:: 個人用のフォルダから推測 +* by-from:: From: から推測 +* by-newsgroups:: Newsgroups: から推測 +* by-default:: デフォルトの規則 +* guess-rule:: 規則の制御 +* auto-refile:: 自動で整理整頓 +* copy-msg:: 世界を越えたメッセージのコピー + + + +File: mew.ja.info, Node: by-folder, Next: by-alist, Prev: Refile, Up: Refile + +メーリングリスト用のフォルダから推測 +==================================== + +あるメーリングリスト宛のメッセージを、そのメーリングリスト名のフォルダ +に整理することは多いと思います。Mew ではメーリングリスト宛に届いたメッ +セージに対して、それ用のフォルダを推測する機能があります。 + +たとえば、+misc/pooh-lovers というフォルダがあったとしましょう。次のよ +うなメッセージは、このフォルダに整頓すればよい可能性が高いといえます。 + + To: pooh-lovers@example.org + +このように、To: や Cc: のアドレスが、フォルダ名の一番右側にマッチする +ものがないか探すわけです。フォルダを階層化していない人が多いようですが、 +Mew を使う限り、階層化しない手はありません。 + +さて、鋭い人は次のように個人のアドレスが To: や Cc: にある場合、困るの +ではないかと思うでしょう。 + + To: piglet@example.org + Cc: pooh-lovers@example.org + +たとえば、pooh は pooh-lovers の一員ですから、このメッセージが届きます。 +しかし、piglet と仲がいいので、+from/piglet にマッチしてしまいます。 + +そこで、Mew では無視するフォルダを設定できるようになっています。デフォ +ルトでは、+from 以下を無視します。ですから、個人からのメッセージは ++from 以下に収めて下さい + +候補が決定できたら + + Folder name (+misc/pooh-lovers): + + +と訊いてきます。あっていれば `RET' を、違っていればお望みのフォルダを +入力して下さい。 + +`o' で新しいフォルダを指定すると、そのフォルダが自動的に作成され、次か +らは推測用の候補にも加わります。便利でしょ? + +この機能を提供する関数は `mew-refile-guess-by-folder' です。 + +もし、フォルダ名に大文字を使っていないなら、以下の設定により、この関数 +が高速になります。 + + (setq mew-use-fast-refile t) + +デフォルトでは、末端のフォルダと中間のフォルダが候補の対象となっていま +す。もし、中間のフォルダではなく、末端のフォルダだけを選びたい場合は、 +以下のように設定して下さい。 + + (setq mew-use-node-folder nil) + + + +File: mew.ja.info, Node: by-alist, Next: by-thread, Prev: by-folder, Up: Refile + +指定した規則から推測 +==================== + +フォルダ名から推測する機能だけでは、思うようなフォルダを推測してくれな +い場合があります。たとえば、To: が staff@example.jp であるメッセージと +To: が staff@example.net であるメッセージに対し、フォルダ名からの推測 +では同じフォルダ(たとえば、"+net/staff")が選ばれてしまいます。そこで、 +Mew では、変数 `mew-refile-guess-alist' に明示的に規則を設定できます。 +(`mew-refile-guess-alist' は、必ず新しい書式で書いて下さい。詳しくは +*Note config2:: を参照のこと。) + +1 つ例を挙げてみましょう。 + + (setq mew-refile-guess-alist + '(("To:" + ("staff@example.jp" "+jp/staff") + ("staff@example.net" "+net/staff")))) + +これは、メッセージヘッダ中の To: の横の文字列に staff@example.jp があ +れば +jp/staff へ、staff@example.net があれば +net/staff へ整頓すると +いう意味です。 + +規則は、以下のように書きます。 + + rule ::= ' + ::= (( ) ( ) ... []) + +全体は ( ) のリストです。 はフィールド名を書きます。 + は以下のようになります。 + + ::= ( |) ( |) ... + + は で示したフィールドにくる値です。 は に +マッチした際にどのフォルダに整頓するかを意味しています。 の代 +りに を再帰的に記述することもできます。 + +特殊な として `nil' と `t' があります。`nil' は、何も推測できな +かった場合に返す を指定するために用います。`t' は、推測した値 +に加えて返す を指示するために使います。 + + ::= (t ) | (nil ) + +正規表現を知っている人は、以下のような複雑な規則を設定できます。 + + (setq mew-refile-guess-alist + '(("Newsgroups:" + ("^nifty\\.\\([^ ]+\\)" "+Nifty/\\1") + (".*" "+rec/news")) + ("To:" + ("\\(inet\\|wide\\)@wnoc-fuk" "+wide/\\1-wnoc-fuk")) + ("From:" + ("uucp@" "+adm/uucp") + ("ftpsync@" "+adm/ftpsync")) + (nil "+unknown"))) + +この機能を提供する関数は `mew-refile-guess-by-alist' です。 + + + +File: mew.ja.info, Node: by-thread, Next: by-from-folder, Prev: by-alist, Up: Refile + +対話関係から推測 +================ + +Mew には、整頓しようとしているメッセージの親のメッセージが以前整頓され +たフォルダを選択してくれる機能があります。 + +たとえば、pooh、piglet、roo との間で、蜂蜜を取りに行こうという話題が盛 +り上がったとしましょう。pooh は、+project/honey というフォルダを作って、 +最初のメッセージをそこに整頓したとしましょう。以降、3 人の間のメッセー +ジがきちんとした返答であるかぎり、+project/honey を推測してくれます。 + +あるメッセージをどこに保存したかという情報は、 +"~/Mail/.mew-refile-msgid-alist" に保存されています。この情報を過去 +何通のメッセージに関して保存するかは、`mew-lisp-max-length' で決定 +します。初期値は 2000 通です。3000 通にしたい場合は "~/.mew.el" 中で以 +下のように設定して下さい。 + + (setq mew-lisp-max-length 3000) + +この機能を提供する関数は `mew-refile-guess-by-thread' です。 + + + +File: mew.ja.info, Node: by-from-folder, Next: by-from, Prev: by-thread, Up: Refile + +個人用のフォルダから推測 +======================== + +*Note by-folder:: で説明したメーリングリスト用のフォルダを推測するに加 +えて、個人用のフォルダを推測する機能があります。個人用のフォルダは ++from 以下にありますから、+from 以下のフォルダを選択する機能だともいえ +ます。以下の例を考えてみましょう。 + + To: pooh@example.net + From: piglet@example.org + +piglet から pooh にメッセージが来ました。pooh がこの機能を使うと、 +From: を手がかりに +from/piglet が選択されます。(+from 以下は階層化さ +れていても構いません。また、フォルダ名はユーザ名だけではなくアドレス全 +体でも OK です。) + +この機能を提供する関数は、`mew-refile-guess-by-from-folder' といいます。 + +次に、pooh が piglet に返答した場合を考えましょう。pooh は自分自身に +Cc: していたので、自分にメッセージが戻ってきました。 + + To: piglet@example.org + Cc: pooh@example.net + From: pooh@example.net + +pooh の立場になって考えてみて下さい。このメッセージを +from/pooh に整 +頓するか、あるいは +from/piglet に整頓するのかは、好みが分かれるところ +でしょう。そこで、どちらを選択するのかカスタマイズできるようになってい +ます。 + +`mew-refile-guess-from-me-is-special' が `t' なら、 +`mew-refile-guess-by-from-folder' は、From: が自分のアドレスの場合に、 +To: と Cc: にあるアドレスをもとに、+from 以下のフォルダを選択します。 + + + +File: mew.ja.info, Node: by-from, Next: by-newsgroups, Prev: by-from-folder, Up: Refile + +From: から推測 +============== + +From: に同一のアドレスを持つメッセージが、かつてどこに整頓されたかによっ +て推測する機能があります。 + +たとえば、piglet は piglet@example.org と p-p-p@example.org の 2 つの +アドレスを持っているとしましょう。どちらのアドレスからメッセージが届い +ても、pooh はそれらを +from/piglet に整頓したいと思っています。もちろ +ん、以下のように明示的に規則を書けば実現できます。 + + (setq mew-refile-guess-alist + '(("From:" + ("piglet@example.org" "+from/piglet") + ("p-p-p@example.org" "+from/piglet")))) + +しかし、いちいち規則を書くのは面倒です。そこで、まず From: が +piglet@example.org であるメッセージを +from/piglet に整頓します。これ +でフォルダ +from/piglet が作成されます。次に、From: が +p-p-p@example.org であるメッセージを +from/piglet に整頓したとします。 +ここで Mew は、p-p-p@example.org が +from/piglet に整頓されたことを学 +習します。以後 From: が p-p-p@example.org であるメッセージを整頓しよう +とすると、+from/piglet を選択するようになります。 + +その他、機械からくるメッセージは、いつも +adm/misc に入れることにした +い場合なども、明示的な規則を書かずに済ませられます。 + +From: とフォルダの情報は、"~/Mail/.mew-refile-from-alist" に保存されてい +ます。この情報を過去何通のメッセージに関して保存するかは、 +*Note by-thread:: と同様に `mew-lisp-max-length' で決定します。 + +この機能を提供する関数は `mew-refile-guess-by-from' です。 + +`mew-refile-guess-from-me-is-special' が `t' の場合、 +`mew-refile-guess-by-from' は `mew-refile-guess-by-from-folder'(*Note +by-from-folder::)と同様な動きをします。 + + + +File: mew.ja.info, Node: by-newsgroups, Next: by-default, Prev: by-from, Up: Refile + +Newsgroups: から推測 +==================== + +ニュースをメールとして受信して Mew で読んでいる人のために、Newsgroups: +からフォルダを推測する機能を用意しました。関数名は +`mew-refile-guess-by-newsgroups' です。 + + + +File: mew.ja.info, Node: by-default, Next: guess-rule, Prev: by-newsgroups, Up: Refile + +デフォルトの規則 +================ + +デフォルトの規則は、From: からユーザ名を切り出して、`+from/user' +を選ぶようになっています。ただし、 +`mew-refile-guess-strip-domainpart' が `nil' ならアドレスを切 +り出すので、`+from/user@domain' が選択されます。 +`mew-refile-guess-strip-domainpart' の初期値は `t' です。 + +関数名は、`mew-refile-guess-by-default' です。 + + + +File: mew.ja.info, Node: guess-rule, Next: auto-refile, Prev: by-default, Up: Refile + +規則の制御 +========== + +Mew では、フォルダ推測の規則を 2 つの変数、`mew-refile-guess-control' +と `mew-refile-ctrl-multi' で制御します。`mew-refile-guess-control' は、 +呼び出す関数を順に定義します。候補を複数にしたい場合は +`mew-refile-ctrl-multi' を `t' に、単数にしたい場合は `nil' に設定しま +す。 + +標準では、`mew-refile-guess-control' は以下のように宣言されています(宣 +言なので `defvar' が使われています)。 + + (defvar mew-refile-guess-control + '(mew-refile-guess-by-alist + mew-refile-ctrl-throw + mew-refile-guess-by-newsgroups + mew-refile-guess-by-folder + mew-refile-ctrl-throw + mew-refile-ctrl-auto-boundary + mew-refile-guess-by-thread + mew-refile-ctrl-throw + mew-refile-guess-by-from-folder + mew-refile-ctrl-throw + mew-refile-guess-by-from + mew-refile-ctrl-throw + mew-refile-guess-by-default)) + +Mew は `mew-refile-guess-control' に並べられた関数を順番にすべて実行し +ます。各々の関数が複数の候補を推測することがあります。 + +`mew-refile-guess-control' の動作例として以下を考えてみましょう。 + +`mew-refile-guess-by-alist' + が +aaa、+bbb を推測。 +`mew-refile-guess-by-folder' + が +ccc、+ddd を推測。 +`mew-refile-guess-by-default' + が +eee を推測。 + ++aaa 〜 +eee すべてをユーザに提示して欲しい場合は、 +`mew-refile-ctrl-multi' を `t' に、+aaa だけを提示して欲しい場合は、 +`nil' に設定します。 + +また、+aaa 〜 +ddd は提示して欲しいけれどもそれ以降はいらない、つまり、 ++eee を提示するのは先に実行された関数群が何も推測できなかったときだけ +にしたい場合は、`mew-refile-ctrl-multi' を `t' にして、 +`mew-refile-guess-by-folder' と `mew-refile-guess-by-default' の間に +`mew-refile-ctrl-throw' を入れて下さい。 + +`C-uo' は、この推測の流れを Message バッファに表示します。 + + + +File: mew.ja.info, Node: auto-refile, Next: copy-msg, Prev: guess-rule, Up: Refile + +自動で整理整頓 +============== + +毎日メッセージをたくさんもらう人は、まだ整頓していないメッセージを ++inbox (あるいは %inbox) フォルダに大量に溜めてしまうことがあります。 +そんなときは、「メッセージ達よ、とにかくこのフォルダからどこかに行って +しまえ」と叫びたくなることがあるでしょう。Mew は、そんなわがままな人を +満足させるための自動整理整頓関数を提供しています。:) `M-o' がその呪文 +です。 + +この関数を実行すると、現在のフォルダ内の特定のメッセージに対して、自動的 +に `o' マークを付けてくれます。特定のメッセージとは、 +`mew-refile-auto-refile-skip-any-mark' が `nil' なら、`o' +や `D' マークが付いていないメッセージです。 +`mew-refile-auto-refile-skip-any-mark' が `t' なら、なにもマー +クが付いてない(既読)メッセージです。 +`mew-refile-auto-refile-skip-any-mark' の初期値は `nil' です。 + +`C-uM-o' は、`mew-refile-auto-refile-skip-any-mark' の値とは関係なく +`*' マークの付いたメッセージを対象にします。 + +整頓先の決定には、先に説明した推測関数群が働くようになっています。この +関数は、`o' を付けるだけですので、`x' を押さない限り実際にメッセージが +どこかに行ってしまうことはありません。 + +Mew の整頓先推測はあまりにも賢すぎるので、この機能には仇となってしまい +ます。というのは、Mew が推測機能をフルに使って勝手に整頓してしまうと、 +大抵のユーザはどこにメッセージが整頓されたか分からなくなってしまうから +です。:) そのために、Mew が使う推測関数を制限する機能が提供されていま +す。前に出てきた宣言をもう一度思い出して下さい。 + + (defvar mew-refile-guess-control + '(mew-refile-guess-by-alist + mew-refile-ctrl-throw + mew-refile-guess-by-newsgroups + mew-refile-guess-by-folder + mew-refile-ctrl-throw + mew-refile-ctrl-auto-boundary + mew-refile-guess-by-thread + mew-refile-ctrl-throw + mew-refile-guess-by-from-folder + mew-refile-ctrl-throw + mew-refile-guess-by-from + mew-refile-ctrl-throw + mew-refile-guess-by-default)) + +`mew-refile-guess-control' の中に `mew-refile-ctrl-auto-boundary' とい +う関数があります。これがその仕掛です。自動整理整頓のときに限り、Mew は +この関数より下に記述してある推測を無視します。 +`mew-refile-ctrl-auto-boundary' より上に記述している関数が何も推測でき +なかった場合は、そのメッセージには `o' が付きません。破滅が訪れる前に +`mew-refile-ctrl-auto-boundary' の御札を貼って下さい。 + + + + +File: mew.ja.info, Node: copy-msg, Next: Virtual, Prev: auto-refile, Up: Refile + +世界を越えたメッセージのコピー +============================== + +これまで説明した整頓とは、同じ世界の中でメッセージを移動させることでし +た。これに対し、ある世界から他の世界へメッセージを移動させたいこともあ +るでしょう。これは、ある世界から他の世界へメッセージへコピーし、その後 +元のメッセージを削除することで実現できます。ここでは、ある世界から他の +世界へメッセージへコピーする方法について説明します。 + +あるフォルダのメッセージをローカルフォルダへコピーしたくなることがあり +ます。この場合 `lc' を利用して下さい。`lc' は、リモート・フォルダで実 +行された場合、キャッシュされたメッセージから、そのリモート・フォルダに +特有の情報をヘッダから取り除き、ローカル・フォルダへコピーします。 +(`lc' は、ローカルフォルダでも実行できます。この場合、同じ世界内でのコ +ピーになります。) + +あるフォルダのメッセージを IMAP のフォルダ(サーバ側)へコピーするには、 +`li' を利用します。 + +`*' の付いた複数のメッセージをローカル・フォルダへコピーするには`mlc' +を使います。また、`*' の付いた複数のメッセージを IMAPフォルダへコピー +するには `mli' を利用して下さい。 + +ある世界から他の世界へメッセージへコピーするコマンドを以下にまとめます。 + +`lc' + あるフォルダのメッセージをローカルフォルダへコピーする。 +`mlc' + `*' の付いた複数のメッセージをローカル・フォルダへコピーする。 +`li' + あるフォルダのメッセージを IMAP のフォルダへコピーする。 +`mli' + `*' の付いた複数のメッセージを IMAP フォルダへコピーする。 + + + + +File: mew.ja.info, Node: Virtual, Next: selection, Prev: copy-msg, Up: Top + +仮想フォルダ +************ + +Virtual モードは、必要なメッセージを表示するための仮想的なフォルダであ +り、「セレクション」と「スレッド」の2種類に分類できます。 + +`セレクション' + いろいろなフォルダから必要なメッセージだけを集めた仮想フォルダで + す。フォルダ名の左側に "*" が付きます。 +`スレッド' + フォルダ(Summary)やセレクション(Virtual)を基に、対話関係を行頭揃 + えによって可視化した仮想フォルダです。フォルダ名の両側に "*" が付 + きます。 + +Summary モードで利用できるコマンドの多くが、Virtual モードで利用できま +す。 + +Virtual モードでメッセージにマークを付けると、対応する Summary モード +があれば、そちらのメッセージにもマークが付きます。逆に、Summary モード +であるメッセージにマークを付けても、Virtual モードの対応するメッセージ +にはマークは付きません。 + +Virtual モードからマークを処理することはできません。`x' を押しマークを +処理しようとすると、対応する Summary モードがあれば、そちらに移動し、 +もう一度 `x' を押すよう促されます。 + +仮想フォルダはまさしく仮想であり、ファイルシステムなどには存在しないこ +とに注意して下さい。Emacs を終了すると、仮想フォルダはなくなります。 +Virtual モードを消去する方法については、*Note Quit:: を参照して下さい。 + +* Menu: + +* selection:: セレクション +* sorting:: ソート +* dialog:: 対話 +* search:: 検索 +* condition:: 検索条件の入力方法 +* dbsearch:: 検索エンジン +* keyword:: キーワードの強調 +* thread:: スレッド +* thread-op:: スレッドの操作 + + + +File: mew.ja.info, Node: selection, Next: sorting, Prev: Virtual, Up: Virtual + +セレクション +============ + +セレクションは、いろいろなフォルダから必要なメッセージだけを集めた仮想 +フォルダです。セレクションの作り方には、以下の 5 つがあります。 + +`m/' + あるフォルダで、"*" マークが付いているメッセージのみを表示する。 +`S' + あるフォルダで、メッセージをソートして表示する。(元のフォルダには、 + 何の影響もない。) *Note sorting:: を参照のこと。 +`V' + 現在のメッセージと対話関係にあるメッセージを表示する。*Note + dialog:: を参照のこと。 +`/' + あるフォルダから、検索条件に合致するメッセージを表示する。*Note + search:: を参照のこと。 +`k/' + すべてのフォルダから、検索条件に合致するメッセージを表示する。 + *Note dbsearch:: を参照のこと。 + + + + +File: mew.ja.info, Node: sorting, Next: dialog, Prev: selection, Up: Virtual + +ソート +====== + +メッセージをソートしセレクションを作成するには `S' を使います。このと +き次のようにどのフィールドでソートするか訊いてくるので、ソートしたい +フィールド名を入力して下さい。 + + Sort by? (default date): + +指定したフィールドに書かれている文字列は単純に文字列比較でソートするべ +きではありません。たとえば、Subject: はテキストと考えてよいのですが、 +Date: は日付、X-Mail-Count: は数字と考えてソートすべきです。このように +文字列をどう取り扱うかをモードといいます。ソートによく指定されるフィー +ルド名に対するモードは `mew-sort-key-alist' で設定されています。 + +ソートのモードを明示的に指定、変更したい場合には `:' で区切って指定し +ます。たとえば X-Mail-Count: フィールドの内容を(テキストとしてではなく) +数値とみなしてソートしたい場合には、次のように入力します。 + + x-mail-count:num + +フィールド名やモードは `TAB' で補完できます。 + +モードには、以下の 4 つがあります。 + +`text' + 先頭の "Re: " や "Fw: " を取り除いた文字列。 +`ml' + text と同じであるが、さらにメーリングリスト特有の文字列も取り除く。 +`num' + 数値。 +`date' + 日付。 + +"Sort by?" と訊かれる際のフィールド名の初期値は、 +`mew-sort-default-key' で設定できます。以下は、初期値である"date" +を "x-ml-count" に変更する例です。 + + (setq mew-sort-default-key "x-ml-count") + +`mew-sort-default-key-alist' で、フォルダごとにフィールド名の初期 +値を設定することもできます。ここで指定しなかったフォルダでは、フィール +ド名の初期値として `mew-sort-default-key' の値が使われます。以下は、 ++inbox フォルダでの初期値を "subject" に、+mew-dist フォルダでの初期値 +を "x-mail-count" に変更する例です。 + + (setq mew-sort-default-key-alist + '(("+inbox" "subject") + ("+mew-dist" "x-mail-count"))) + +なお、ローカル・フォルダでメッセージを本当にソートするためには`M-s' を +使って下さい。このコマンドは、リモート・フォルダでは利用できません。 + + + +File: mew.ja.info, Node: dialog, Next: search, Prev: sorting, Up: Virtual + +対話 +==== + +Mew では、あるメッセージに関係するメッセージをさまざまなフォルダから集 +めて仮想フォルダに一覧表示できます。これを「対話」と呼びましょう。後ほ +ど説明するスレッド(*Note thread::)とは、以下の点で異なります。 + + + - スレッドは、1つのフォルダ/仮想フォルダに対してのみ作成できる。対 + 話は、関連するメッセージが複数のフォルダに散らばっていてもよい。 + + - スレッドは、行頭揃えによって木構造を可視化する。対話は、日付順に + 一覧表示する。 + +対話の機能を使うには、まず `kI' を実行し、データベースを作る必要が +あります。新しく届くメッセージはデータベースに入らないので、`kI' +は定期的に実行して下さい。`kI' は、データベースを差分更新します。 +この方式は早いのですが、ゴミが残ることは避けられないので、ときどき +`C-ukI' を実行し、データベースを一から作り直して下さい。 + +対話を作成するには、注目しているメッセージの上で `V' を押します。 +このコマンドは、自分の子孫と、自分の先祖、そして自分だけを表示します。 +自分の兄弟などは表示しません。一族全体を表示したいなら、一旦作った仮想 +フォルダの一番上にあるメッセージ、すなわち一族の祖の上で、もう一度 +`V' を実行して下さい。 + + + +File: mew.ja.info, Node: search, Next: condition, Prev: dialog, Up: Virtual + +検索 +==== + +Mew では、以下のようなメッセージの検索機能を提供しています。 + +`?' + 現在のフォルダで、条件に合致したメッセージに `*' マークを付ける。 + 入力された条件によって、`mewl' か `grep' のどちらかが呼ばれる。 +`C-u?' + リージョンを指定した `?'。 +`/' + 現在のフォルダで、条件に合致したメッセージからセレクションを作る。 + 入力された条件によって、`mewl' か `grep' のどちらかが呼ばれる。 +`C-u/' + リージョンを指定した `/'。 + +また、Spotlight や Windows Desktop Search などの検索エンジンを利用した +検索も可能です。これには、以下のコマンドがあります。 + +`k?' + 現在のフォルダで、条件に合致したメッセージに `*' マークを付ける。 +`k/' + 全フォルダに対し、条件に合致したメッセージからセレクションを作る。 +`C-uk/' + 指定されたフォルダに対し、条件に合致したメッセージからセレクショ + ンを作る。フォルダを複数指定するには "," で区切る。ワイルドカード + として、"*"を利用できる。 + + + +File: mew.ja.info, Node: condition, Next: dbsearch, Prev: search, Up: Virtual + +検索条件の入力方法 +================== + +`?' や `/' を実行すると、Mew はユーザに対し以下のように検索のパターン +を訊きます。 + + mewl/grep pick pattern: + +単純に「文字列」を 1 つ入力すると、Mew は `grep' を呼び出します。また、 +「条件式」を入力すると、`mewl' を呼び出します。 + +条件式の書式を以下に示します。(結合力の強い順に並んでいます。) + +`field=string' + フィールド field に文字列 string が含まれているときマッチ(大文字 + 小文字を区別しない)。field に "head" を指定した場合は、ヘッダ全体 + を意味する。 +`field==string' + フィールド field に文字列 string が含まれているときマッチ(大文字 + 小文字を区別する)。field に "head" を指定した場合は、ヘッダ全体を + 意味する。 +`field!=string' + フィールド field に文字列 string が含まれていないときマッチ(大文 + 字小文字を区別しない)。field に "head" を指定した場合は、ヘッダ全 + 体を意味する。 +`field!==string' + フィールド field に文字列 string が含まれていないときマッチ(大文 + 字小文字を区別する)。field に "head" を指定した場合は、ヘッダ全体 + を意味する。 +`( )' + の内容を先に評価。 +`! ' + でないときマッチ。 +` & ' + かつ のときマッチ。省略可能。 +` | ' + または のときマッチ。 + +以下に例を示します。 + +(a) From: に kazu が含まれるメッセージ + + from=kazu + +(b) To: が mew、または、Cc: が mew であるメッセージ + + to=mew | cc=mew + +(c) To: が mew、または、Cc: が mew で、かつ、from が kazu であるメッセー +ジ + + (to=mew | cc=mew) & from=kazu + +`?' や `/' で、パターンに入力の際に単純に `RET' を押すと、以下のように +利用するコマンドまで入力できるようになります。 + + Cmd opts pattern: grep -l -e + +`k?' や `k/' で検索エンジンを利用する場合は、上記のパターン(文字列や条 +件式)が自動的に検索エンジンの書式に変換されます。 + +たとえば、kazu から来たメールで、「wine」を含み、かつ「bordeaux」を含 +まないという条件式は以下のように書きます。 + + from=kazu wine ! bordeaux + +なお、`mew-pick-pattern-list' にパターンのリストを定義しておくと、 +`C-cTAB' で各要素を循環的に補完できます。この場合、リストの先頭がデフォ +ルトとして表示されます。 + +日本語の全文検索をしたい場合は、("grep" の代わりに) "mg" をインストー +ルし、以下のように設定して下さい。 + + (setq mew-prog-grep "mg") + (setq mew-prog-grep-opts '("-j" "jis" "-l" "-e" "-x" "&mime")) + + + +File: mew.ja.info, Node: dbsearch, Next: keyword, Prev: condition, Up: Virtual + +検索エンジン +============ + +検索エンジンを操作するために以下のコマンドが用意されています。 + +`km' + そのフォルダのインデックスを作る。 +`kM' + 全体のフォルダのインデックスを作る。あるいは、作るために初期化す + る。 +`kc' + 検索エンジンを切り替える。 + +以下に、それぞれの検索エンジンの説明を示します。 + +`Hyper Estraier' + 定期的に `kM' を実行する必要があります。コマンドラインで、 + "mewest" を実行しても構いません。あるフォルダのインデックスを急い + で更新したいなら `km' でもよいでしょう。`k?' と`k/' の両方が利用 + できます。`C-uk/'でフォルダを指定すると、サブディレクトリも検索に + なります。 +`Spotlight' + 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 + `k?' と `k/' の両方が利用できます。 +`Windows Desktop Search' + 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 +`Google Desktop' + 一度だけ `kM' を実行する必要があります。`km' は必要ありません。 + `k/' のみが利用できます。 + +検索エンジンの初期値は、最初に見つかった利用できるものに自動的に設定さ +れます。明示的に指定したい場合は、 +`mew-search-method'に'est、'spotlight、'wds, 'google のどれかを指定し +て下さい。以下は、Hyper Estraier に設定する例です。 + + (setq mew-search-method 'est) + + + +File: mew.ja.info, Node: keyword, Next: thread, Prev: dbsearch, Up: Virtual + +キーワードの強調 +================ + +検索に使ったキーワードは、バッファに保存されています。メッセージを表示 +し、さらにキーワードをハイライトすることができます。この機能を提供する +コマンドは以下の通りです。 + +`M-n' + 下方向のメッセージへ移動しキーワードをハイライトして表示。Summary + モードでは `*' マークのついたメッセージが、Virtual モードではすべ + てのメッセージが対象となる。このコマンドを繰り返し利用すると、キー + ワードの付近が次々と表示されていく。キーワードが設定されていない + なら、ユーザにキーワードを訊く。 +`C-uM-n' + キーワードを明示的に設定できること以外は、`M-n' に同じ。 +`M-p' + `M-n' を逆方向にしたコマンド。 +`C-uM-p' + `C-uM-n' を逆方向にしたコマンド。 + + + +File: mew.ja.info, Node: thread, Next: thread-op, Prev: keyword, Up: Virtual + +スレッド +======== + +メッセージをやりとりしていると、対話の流れは木構造になります。これを行 +頭揃えにより可視化したものをスレッドと呼びます。以下にスレッドの例を示 +します。 + + 03/12 Hidenori Ohta 今週末 |日曜にストーンマジック + 03/13 かずくん ┣Re: 今週末 |雨なので、中にしますか + 03/15 Hidenori Ohta ┃┗Re: 今週末 |それでは、12:00 に集合 + 03/14 おだちゃん ┗Re: 今週末 |いいねぇ。次はあれを落 + +スレッドは仮想フォルダとして実現されています。たとえば、+inbox に対し +スレッドを作ると、*+inbox* というバッファが用意されます。 + +スレッドを作るために、以下のコマンドが用意されています。 + +`tt' + Summary モード、あるは、セレクションからスレッドを作る。そして、 + カーソルを現在のメッセージに移動する。もし、対応するスレッドがす + でに存在しているなら、スレッドに表示を切り替える。スレッドで使用 + された際は、元のフォルダへ移り、カーソルを現在のメッセージへ移動 + する。 +`C-utt' + リージョンに対し、スレッドを作る。 +`mt' + `*' マークの付いているメッセージに対し、スレッドを作る。 +`tr' + 正規表現に合致したメッセージに対し、スレッドを作る。 + + + +File: mew.ja.info, Node: thread-op, Next: Quit, Prev: thread, Up: Virtual + +スレッドの操作 +============== + +スレッドに特化した移動コマンドを以下に示します。 + +`tp' + 現在のスレッドの頭に移動する。もし、あるスレッドの頭にカーソルが + ある場合は、前のスレッドの頭に移動する。 +`tn' + 次のスレッドの頭に移動する。 +`^' + 親のメッセージに移動する。(スレッドでなくても利用可能) +`&' + 長男のメッセージに移動する。(スレッドでなくても利用可能) +`(' + 兄のメッセージに移動する。 +`)' + 弟のメッセージに移動する。 + + +スレッドにマークを付けるコマンドを以下に示します。 + +`t*' + 現在のメッセージを頭とする部分木に属するメッセージすべてに `*' マー + クを付ける。詳しくは *Note target mark:: を参照のこと。 +`t$' + 現在のメッセージを頭とする部分木に属するメッセージすべてに `$' マー + クを付ける。詳しくは *Note escape mark:: を参照のこと。 +`td' + 現在のメッセージを頭とする部分木に属するメッセージすべてに `D' マー + クを付ける。詳しくは *Note delete mark:: を参照のこと。 +`tM-d' + 現在のメッセージを頭とする部分木に属するメッセージすべてに `X' マー + クを付ける。詳しくは *Note delete mark:: を参照のこと。 +`to' + 現在のメッセージを頭とする部分木に属するメッセージすべてに `o' マー + クを付ける。詳しくは *Note refile mark:: を参照のこと。 + +スレッドからマークを消すコマンドは、`tu' です。 + + +以下に、スレッドを加工するコマンドを示します。 + +`tSPC' + 子供以下を隠して親だけにする。子供以下が隠れている親メッセージに + は、"+" が付く。また、子供以下が隠れている親メッセージでこのコマ + ンドを実行すると、子供以下が現れる。 +`ta' + すべてのスレッドに対し、子供の表示を反転させる。 +`tg' + あるスレッドをあるメッセージに接ぎ木する。接ぎ木するスレッドは、 + `C-SPC' で指定する。目的のスレッドの一番上のメッセージで、`C-SPC' + を押すと、そのスレッドが選択されたことになる。そして目的のメッセー + ジへ移動し、`tg' を押すと、スレッドがこのメッセージの子供として接 + ぎ木される。 + + +なお、`mew-use-thread-separator' を `t' にすると、スレッド間に境界文字 +列として `mew-thread-separator' (初期値は "--") が挿入されます。 + + + + +File: mew.ja.info, Node: Quit, Next: Customize, Prev: thread-op, Up: Top + +一休み +****** + +Mew を終了させたり、一時中断させたり、そのモード(正確にはバッファ)を消 +去する方法を以下に示します。 + + + +`q' + Mew を一時中断し、他のバッファに切り替える。Mew 用のバッファはす + べて残っているので、バッファ操作で選べば再開できる。 +`Q' + Mew を終了。Mew が使ったすべてのバッファを消去する。 +`C-cC-q' + そのモード(正確にはバッファ)を消去する。 + + + +`C-cC-q' + その草稿を消去する。 + + + +`C-cC-q' + そのバッファを消去する。 + + + + +File: mew.ja.info, Node: Customize, Next: summary-mode, Prev: Quit, Up: Top + +カスタマイズ +************ + +ここでは、Mew のデフォルトの動作を変更し、自分好みの Mew にする方法を +説明します。主に "~/.mew.el" で設定して下さい。 + +* Menu: + +* summary-mode:: Summary mode +* message-mode:: Message mode +* draft-mode:: Draft mode +* charset:: 文字コード +* highlight:: 色付け +* hooks:: フック +* pop:: POP +* imap:: IMAP +* nntp:: NNTP +* smtp:: SMTP +* config:: 送受信の動作変化 +* config2:: 設定の書式 +* custom-misc:: その他 + + + +File: mew.ja.info, Node: summary-mode, Next: message-mode, Prev: Customize, Up: Customize + +Summary mode +============ + +Summary モードの書式は、`mew-summary-form' で指定できます。以下に初期 +値を示します。 + + (setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body))) + +このように、`mew-summary-form' は、リスト、シンボル、文字列のリストで +す。 + + 1. 文字列はそのまま出力される + 2. リストは、整数とシンボルから構成される。シンボルは、呼び出す関数 + を意味する。関数名は、"mew-summary-form-" とシンボル名を連結する + ことで作られる。(例: 'date というシンボルは、 + `mew-summary-form-date' という関数名になる) あらかじめ定義されて + いるシンボルに + は、'type、'time、'date、'year、'size、'from、'subj、'body がある。 + 詳細は、`mew-summary-form-' という名を持つ関数の説明を参 + 照のこと。整数は、関数が返す文字列が埋めるフィールドの幅を指定す + る。正の数は、左詰めを意味する。負の数は、右詰めを意味する。もし、 + 負の数を指定する場合、対応する関数は ASCII 文字列を返す必要がある。 + 0 は、行の残りを意味し、左詰めとなる。 + 3. `t' 以外のシンボルは、(1 シンボル) に等しい。 + 4. `mew-summary-form' は、利用される際に先頭に (mark) が付け加えられる。 + 5. `t' は、スレッドの際に段付けする位置を意味する。 + +例を以下に示します。 + + (setq mew-summary-form + '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body))) + +`mew-summary-form-from-me-prefix' は、自分から送信されたメッセージの宛 +先の先頭に加えられる文字列です。初期値は "To:" です。 + +`mew-summary-form-extract-rule' は、From: フィールドからどの部分を切り +出すか指定するためのリストです。要素 +は、'name、'comment、'address、'nickname、あるいは正規表現である必要が +あります。初期値は '(nickname) です。 + + +次の例を考えて下さい。 + + A: Kazu Yamamoto + B: kazu@example.org (Kazu Yamamoto) + C: Kazuhiko Yamamoto (Kazu) + +それぞの要素は、以下のような意味を持ちます。 + + 1. 'name:: 名前の部分 + A. Kazu Yamamoto + B. (No match) + C. Kazuhiko Yamamoto (Kazu) + 2. 'comment:: コメントの部分 + A: (No match) + B: Kazu Yamamoto + C: (Kazu) + 3. 'address:: アドレスの部分 + A: kazu@example.org + B: kazu@example.org + C: kazu@example.org + 4. 'nickname:: `mew-addrbook-for-summary' の値に応じたアドレス帳の個 + 人情報のある要素。`mew-addrbook-for-summary' の初期値は + `'nickname' なので、通常はニックネームに変換される。何が指定でき + るかは、*Note draft-mode:: を参照のこと。 + 5. (regex):: 最初に合致した文字列 + +ある要素が合致しない場合、次の要素が評価されます。どの要素も From: フィー +ルドに合致しない場合か、この値が `nil' の場合、From: フィールド全体が +利用されます。 + + +`mew-summary-form-mark-delete' が `t' の場合、重複しているメッセージに +自動的に `D' マークが付きます。初期値は `nil' です。 + + +`mew-summary-form-mark-spam' が `t' の場合、本文の一部に対する MD5 チェッ +クサムが一致しているメッセージに自動的に `D' マークが付きます。初期値 +は `nil' です。 + +`mew-summary-form-mark-review' が `t' の場合、自分宛てのメッセージに自 +動的に `*' マークが付きます。初期値は `nil' です。 + + +いつも Emacs のフレーム全体で Mew を使いたい人は、以下の設定をして下さ +い。 + + (setq mew-use-full-window t) + + +Summary モードの `SPC' は、`mew-summary-show-direction' によって、次の +メッセージの表示の仕方が変わります。また同様に、強いマークを付けた後カー +ソルが動く方向は `mew-summary-mark-direction' により指定できます。以下 +の値を設定できます。 + +`up' + 上のメッセージを表示する。 +`down' + 下のメッセージを表示する。 +`next' + 読み進めている方向の次のメッセージを表示する。 +`stop' + 次は表示しない。 + +両方とも初期値は `next' です。いつもメッセージを下から読む人は、以下の +ようにすればよいでしょう。 + + (setq mew-summary-show-direction 'up) + + + +File: mew.ja.info, Node: message-mode, Next: draft-mode, Prev: summary-mode, Up: Customize + +Message mode +============ + +Emacs がサポートしてないデータ型のファイルは、Message バッファに直接表 +示できません。そのデータをテキストに整形する外部コマンドをインストール +すれば、Message バッファに表示可能になります。 + +"w3m" と "emacs-w3m" をインストールすると、Text/Html を Message バッ +ファに表示できるようになります。(以下で説明する "wvHtml"、"xlhtml"、 +"ppthtml" は、単なる "w3m" ではなく、国際化された "w3m-m17n" が必要で +す。) 両者をインストールしたら、"~/.mew.el" に以下の設定を加えて下さい。 + + (setq mew-use-text/html t) ; decode HTML for all folders + +これで、あたかも Text/Plain であるかのように、Text/Html を Message バッ +ファに表示できるようになります。この際も、以下で説明する `C-cC-e'の操 +作は有効です。 + + (condition-case nil + (require 'mew-w3m) + (file-error nil)) + +"wvHtml"、"xlhtml"、"ppthtml" というコマンドをインストールすれば、それ +ぞれ WORD、Excel、PowerPoint ファイルのテキスト部分を、Message バッファ +に表示可能です。これらのコマンドは、HTML を利用するので、上記の +Text/Html の設定を完了させて下さい。これで、たとえば WORD ファイルをあ +たかもテキストのように、Message バッファに表示可能になります。 + +外部のプログラムの整形結果を Message バッファに表示する代わりに、外部の +プログラム自身にそのデータを表示させることもできます。これには +`C-cC-e' を使います。 + +Message バッファに画像を表示することもできます。また `C-cC-e' を使い、 +外部のプログラムに表示させることも可能です。 + +HTML は `C-cC-e' を使って外部のブラウザに表示できます。Windows やMac +ではデフォルトのブラウザが利用されます。Unix では、以下のように +"mozilla" が初期値となっています。 + + (defvar mew-prog-text/html-ext '("mozilla" ("-remote" "openFile(%s)") t)) + +たとえば、これを "firefox" に変更するには以下のようにします。 + + (setq mew-prog-text/html-ext + '("firefox" ("-a" "firefox" "-remote" "openFile(%s)") t)) + +Office 関連のファイルも、`C-cC-e' を使えば、それぞれのアプリケーション +で表示可能です。Windows や Mac では、文字通り Office のアプリケーショ +ンが起動されます。Unix では、以下のように "soffice" が初期値となってい +ます。 + + (defvar mew-prog-msword-ext "soffice") + (defvar mew-prog-msexcel-ext "soffice") + (defvar mew-prog-mspowerpoint-ext "soffice") + +これを "xdg-open" に変更するには以下のようにします。 + + (setq mew-prog-msword-ext "xdg-open") + (setq mew-prog-msexcel-ext "xdg-open") + (setq mew-prog-mspowerpoint-ext "xdg-open") + +また Office 関連のアプリケーションに対し、`SPC' などでは内容を表示せず、 +`C-cC-e' では "wvHtml" などを使って Message バッファに表示するには、以 +下のように設定します。 + + (setq mew-prog-msword '(nil mew-mime-application/msword)) + (setq mew-prog-msexcel '(nil mew-mime-application/msexcel)) + (setq mew-prog-mspowerpoint '(nil mew-mime-application/mspowerpoint)) + +あらかじめ定められているコマンドではなく、任意の外部コマンドを呼び出し +たい場合は、`C-uC-cC-e' と入力して下さい。 + +最近、Multipart/Alternative の中に Text/Plain と Text/Html の両方が入っ +ており、どちらかを選ぶようになっているメッセージを多く見掛けます。Mew +は、標準では Text/Plain の方を優先して表示します。"emacs-w3m" をインス +トールすれば、Text/Html の方を優先したくなるかもしれません。その場合、 +以下の設定を "~/.mew.el" に加えて下さい。(ここで *Note multipart:: を +読み、`:' の使い方も思い出しておきましょう。) + + (setq mew-mime-multipart-alternative-list + '("Text/Html" "Text/Plain" ".*")) + +ZIP で暗号化された添付ファイルは、`zz' で復号化し表示できます。 + + + +File: mew.ja.info, Node: draft-mode, Next: charset, Prev: message-mode, Up: Customize + +Draft mode +========== + +自分へ Cc: したい人は `mew-cc' を設定して下さい。返答の際には、対象の +メッセージから、別途 Cc: が用意される場合があります。複数の Cc: がある +場合、送信時に 1 つにまとめられます。 + +バックアップのため、自分が送るメッセージを受け取りたいと考え、しかもヘッ +ダに自分のアドレスを残したくないなら、Dcc: を使って下さい。 +`mew-dcc' に自分のアドレスを設定しましょう。 + +いつも入れて欲しいヘッダは、`mew-header-alist' に連想リスト形式で定義 +して下さい。以下に例を示します。 + + (setq mew-header-alist + '(("X-fingerprint:" "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94") + ("X-URL:" "http://www.example.org/~kazu/"))) + +引用ラベルは、引用するフィールドを `mew-cite-fields'、ラベルの書式 +を `mew-cite-format' に定義します。引用記号は +`mew-cite-prefix' に指定します。初期値は、以下のようになっています。 + + (defvar mew-cite-fields '("From:" "Subject:" "Date:")) + (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n") + (defvar mew-cite-prefix "> ") + +引用ラベルに Message-ID: を加えるには以下のようにします。 + + (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:")) + (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n") + +引用記号にアドレスのユーザ部分が付くようにするには以下のようにします。 + + (setq mew-cite-prefix-function (function mew-cite-prefix-username)) + +これで引用記号は以下のようになります。 + + From: SUMIKAWA Munechika + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + sumikawa> おはようからおやすみまでニートでおなじみの角川です。 + sumikawa> + sumikawa> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの + sumikawa> カベルネ・ソービニョンを狙いたいと思います。 + +引用ラベルの From: の部分と、引用記号は、アドレス帳の個人情報の要素に変 +換できます。それぞれ、`mew-addrbook-for-cite-label'、 +`mew-addrbook-for-cite-prefix' で指定できます。初期値はそれぞれ +`nil' と `'username' です。以下のような値が設定できます。 + +'shortname + 短縮名 +'address + アドレス +'username + アドレスのユーザ部分 +'nickname + ニックネーム +'name + 正式な氏名 + +例として以下のような設定を考えてみましょう。 + + (setq mew-addrbook-for-cite-label 'nickname) + (setq mew-addrbook-for-cite-prefix 'nickname) + +最初の設定でラベルの中のアドレスがニックネームに変わります。また、次の +設定で引用記号もニックネームに置き換わります。 + + From: すみっち + Subject: Wine + Date: Wed, 23 Jul 1997 11:40:50 +0900 + + すみっち> おはようからおやすみまでニートでおなじみの角川です。 + すみっち> + すみっち> さて、とろけるワイン作戦ですが、定石通り '89 のボルドーの + すみっち> カベルネ・ソービニョンを狙いたいと思います。 + + + +File: mew.ja.info, Node: charset, Next: highlight, Prev: draft-mode, Up: Customize + +文字コード +========== + +*Note charset-guess:: で説明したように、Mew ではメッセージを作成する際 +に適切な文字コードを自動的に選択します。 + +もし複数の言語の文字が混在しており、国際化された文字コードを選択する必 +要がある場合は、`mew-charset-m17n' の値を利用します。初期値は、"utf-8" +(Unicode と理解してよい)です。"iso-2022-jp-2" にしたい人は、以下のよう +に設定するとよいでしょう。 + + (setq mew-charset-m17n "iso-2022-jp-2") + +メッセージを作成した際に、推測された文字コードを確認したい場合は、 +`mew-ask-charset' を設定して下さい。 + +`nil' + どのような文字コードが利用されても確認なし +`文字コードのリスト' + このリストに存在しない文字コードが利用された場合に確認 +`t' + `mew-charset-m17n' が利用された場合に確認 + +たとえば、US-ASCII と ISO-2022-JP 以外の文字コードが選ばれた場合確認し +たいのであれば、以下のように設定して下さい。 + + (setq mew-ask-charset '("us-ascii" "iso-2022-jp")) + +こう設定しているとき、たとえば "utf-8" が選択されると、以下のように訊 +かれます。 + + utf-8 is used. OK? (y or n) + +`y' を押すと、メッセージが送信されます(あるいは、キューに溜ります)。 +`n' を押すと、草稿が元の状態に戻ります。 + +ヨーロッパでは、Latin 1 (ISO-8859-1) の代りに、ユーロ記号を含む Latin +9 (ISO-8859-15、通称 Latin 0) が使われ始めています。草稿に、Latin 1 の +文字と Latin 9 の文字が混在していると、以下の手順によって、文字コード +が決定されます。 + + 1. `unify-8859-on-decoding-mode' を利用している場合: + 1. ISO-8859-1 に収まるなら "iso-8859-1" を利用 + 2. そうでないなら "utf-8" を利用 + 2. `unify-8859-on-decoding-mode' を利用していない場合: + 1. ISO-8859-1 と ISO-8859-15 のどちらにも収まる場合、"ISO-8859-1" + 2. ISO-8859-1 に収まるなら "iso-8859-1" を利用 + 3. ISO-8859-15 に収まるなら "iso-8859-15" を利用 + 4. そうでないなら、"utf-8" を利用 + +`mew-charset-latin' の初期値は、"iso-8859-15" です。"iso-8859-1" にし +たい場合は、以下のように設定します。 + + (setq mew-charset-latin "iso-8859-1") + +もし、US-ASCII 以外の文字に対し、必ず UTF-8 を使いたいなら、以下のよう +に設定して下さい。 + + (setq mew-cs-database-for-encoding + `(((ascii) nil "7bit" "7bit") + (nil utf-8 "base64" "B"))) + + + +File: mew.ja.info, Node: highlight, Next: hooks, Prev: charset, Up: Customize + +色付け +====== + +`mew-use-highlight-mark' が `t' の場合、マークの付いたメッセージに色が +付きます。初期値は `t' です。 + +`mew-use-highlight-header' が `t' の場合、メッセージのヘッダに色が付き +ます。初期値は `t' です。 + +`mew-use-highlight-body' が `t' の場合、メッセージの本文に色が付きます。 +初期値は `t' です。色を付ける上限は、`mew-highlight-body-max-size' で +指定できます。初期値は 10000 バイトです。 + +`mew-use-highlight-url' が `t' の場合、メッセージ中の URL に仕 +掛けが施されて、マウスを持っていくと光るようになります。初期値は +`t' です。 + +`mew-use-cursor-mark' が `t' の場合、Summary モードにおいて、現在表示 +しているメッセージの行頭に、`mew-cursor-mark' で指定された目印が付きま +す。初期値は `nil' です。`mew-cursor-mark' の初期値は ">" です。 + +`mew-use-highlight-cursor-line' が `t' の場合、Summary モードでカーソ +ルのある行に下線が引かれます。初期値は `t' です。 + +`mew-use-highlight-mouse-line' が `t' の場合、Emacs がマウスの色付けを +サポートしていれば、Summary モードでマウスのある行に色がつきます。真中 +のボタンをクリックしながら、マウスだけでメッセージを読む際にはとても便 +利です。初期値は `nil' になっています。 + +`mew-use-highlight-x-face' が `t' で、ヘッダ中の X-Face: が +Message モードでアイコン化されます。初期値は `t' です。この機能を +利用するには、"netpbm" と "compface" パッケージをインストールして下 +さい。 + +色を変更するには、Mew のソースと一緒に配布されている "dot.theme" を +適当な名前でコピーし内容を変更します。ここでは、そのファイル名を +"~/.mew-theme.el" としましょう。まず、この名前を ".mew.el" で +`mew-theme-file' に指定して下さい。 + + (setq mew-theme-file "~/.mew-theme.el") + +次に中身を変更します。たとえば、以下のような設定が見つかります。 + + (mew-setface-bold header-subject + :tty "red" :light "Firebrick" :dark "OrangeRed") + +シンボル `header-subject' は、ヘッダの "Subject:" の値を意味していま +す。:tty は Emacs をカラーの端末で起動した場合、:light と :dark は、そ +れぞれ Emacs をウインドウで起動したときの背景が白と黒の場合を意味して +います。 + +端末では green 、背景が白なら ForestGreen、背景が黒なら LimeGreen と設 +定するには、以下のようにします。 + + (mew-setface-bold header-subject + :tty "green" :light "ForestGreen" :dark "LimeGreen") + +シンボルに何があるのかは、"dot.mew" を見て下さい。 + +上記の方法では、ヘッダのすべてのフィールド名やフィールド値に対してシン +ボルが定義されている訳ではありません。そこで、どんなフィールドの色でも +簡単に変更できるように、`mew-header-color' と`mew-header-color-bold' +という関数が用意されています。後者を使うと太字に、前者を使うと普通の文 +字になります。たとえば、以下のように使います。 + + (mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed") + +この設定では、"Subject:" が LimeGreen の太字に、その値が OrangeRed の +太字になります。 + +この方法では、端末や背景の色を考慮した設定はできません。また、フィール +ド値の色を省略すると、フィールド名と同じ色が使用されます。 + + + +File: mew.ja.info, Node: hooks, Next: pop, Prev: highlight, Up: Customize + +フック +====== + +Mew で用意されているフックをまとめます。 + +`mew-env-hook' + Mew の起動時の環境が設定される前に評価される。 +`mew-init-hook' + Mew の起動時に評価される。 +`mew-status-update-hook' + 状態の更新(`Z')のときに評価される。 +`mew-summary-mode-hook' + Summary モードに入るときに評価される。 +`mew-virtual-mode-hook' + Virtual モードに入るときに評価される。 +`mew-thread-display-hook' + スレッドが表示された後に評価される。 +`mew-header-mode-hook' + Header モードに入るときに評価される。 +`mew-draft-mode-hook' + Draft モードに入るときに評価される。 +`mew-draft-mode-newdraft-hook' + 新しい草稿が用意された際に、Draft モードにおいて評価される。 +`mew-draft-mode-reedit-hook' + +draft でないフォルダにある古い草稿を再編集した際に、Draft モード + において評価される。 +`mew-draft-mode-reedit-draft-hook' + +draft でないフォルダにある草稿を再編集した際に、Draft モードにお + いて評価される。 +`mew-draft-mode-reedit-queue-hook' + +queue または +postq フォルダにあるメッセージを再編集した際に、 + Draft モードにおいて評価される。 +`mew-draft-mode-edit-again-hook' + 古い形式で戻ってきたメッセージを再編集した際に、Draft モードにお + いて評価される。 +`mew-message-mode-hook' + Message モードに入るときに評価される。 +`mew-message-hook' + メッセージが Message モードで表示される度に評価される。 +`mew-make-message-hook' + Draft モードで MIME メッセージを作る前、つまり `C-cC-m' の際の最 + 初に評価される。例:(add-hook 'mew-make-message-hook + 'ispell-message) +`mew-send-hook' + メッセージを SMTP で送信/キューイングする前に評価される。メッセー + ジの最終形が作られる前に評価されることに注意。 +`mew-post-hook' + メッセージを NNTP で投稿/キューイングする前に評価される。メッセー + ジの最終形が作られる前に評価されることに注意。 +`mew-real-send-hook' + メッセージを SMTP で送信/キューイングする前に評価される。メッセー + ジの最終形が作られた後に評価されることに注意。 +`mew-real-post-hook' + メッセージを NNTP で送信/キューイングする前に評価される。メッセー + ジの最終形が作られた後に評価されることに注意。 +`mew-smtp-flush-hook' + +queue フォルダにメッセージがある場合に、SMTP が起動される前に評 + 価される。 +`mew-nntp2-flush-hook' + +postq フォルダにメッセージがある場合に、NNTP が起動される前に評 + 価される。 +`mew-smtp-sentinel-hook' + SMTP が終了する際に評価される。 +`mew-nntp-sentinel-hook' + 受信用の NNTP が終了する際に評価される。 +`mew-nntp2-sentinel-hook' + 送信用の NNTP が終了する際に評価される。 +`mew-pop-sentinel-hook' + POP が終了する際に評価される。 +`mew-pop-sentinel-non-biff-hook' + Biff ではない POP が終了する際に評価される。 +`mew-imap-sentinel-hook' + IMAP が終了する際に評価される。 +`mew-imap-sentinel-non-biff-hook' + Biff ではない IMAP が終了する際に評価される。 +`mew-scan-sentinel-hook' + Summary モードの `s' が終了する際に評価される。 +`mew-summary-ls-no-scan-hook' + Summary モードの `s' がフォルダの一覧を取らなかった場合に評価され + る。 +`mew-summary-exec-hook' + Summary モードの `x' の実行が終了する際に評価される。 +`mew-refile-guess-by-from-learn-hook' + mew-refile-guess-by-from-learn が実行される際に評価される。 +`mew-sort-hook' + Summary モードの `M-s' の実行が終了する際に評価される。 +`mew-pack-hook' + Summary モードの `O' の実行が終了する際に評価される。 +`mew-summary-delete-folder-hook' + フォルダが削除されるときに評価される。 +`mew-summary-rename-folder-hook' + フォルダ名が変更されるときに評価される。 +`mew-summary-toggle-disp-msg-hook' + Summary モードの `v' の実行が終了する際に評価される。 +`mew-syntax-format-hook' + マルチパートの書式を作成する関数 `mew-syntax-format' が呼ばれた際 + に評価される。 +`mew-addrbook-mode-hook' + アドレス帳の登録モードに入るときに評価される。 +`mew-cite-hook' + Draft モードで引用する際に呼ばれる。通常 supercite を設定するため + に使う。 +`mew-before-cite-hook' + Draft モードでメッセージを引用する直前に呼ばれる。 +`mew-suspend-hook' + Mew を一時中断した際に評価される。 +`mew-quit-hook' + Mew の終了時に評価される。 + +以下にフックの設定例を示します。 + +Draft モードでは、フックを `text-mode-hook'、`mew-draft-mode-hook' の +順で評価します。`text-mode-hook' で `auto-fill-mode' を設定していない +人は、 `mew-draft-mode-hook' を以下のように設定するのがよいかもしれま +せん。 + + (add-hook 'mew-draft-mode-hook + (lambda () + (auto-fill-mode 1) + (set-fill-column 70))) + +この例では、折り返しのカラム数を70に設定しています。 + + + +File: mew.ja.info, Node: pop, Next: imap, Prev: hooks, Up: Customize + +POP +=== + +Mew では、メッセージを受信する際に POP を利用できます。ここでは、POP +を制御するための以下の変数についてまとめます。 + +`mew-pop-server' + POP サーバの名前。 +`mew-pop-ssh-server' + POP を SSH 経由で取得する場合の SSH サーバの名前。 +`mew-pop-ssl' + POP over SSL を使うか否か。 +`mew-pop-ssl-port' + POP over SSL のポート番号。 +`mew-pop-user' + POP のアカウント名。初期値はログイン名。 +`mew-pop-auth' + POP の認証方式。`'pass' は USER/PASS (生パスワード)、`'apop' は + APOP、`t' は `mew-pop-auth-list' に従った SASL を意味する。初期値 + は `'apop'。 +`mew-pop-auth-list' + SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、 + "CRAM-MD5" が利用可能。 +`mew-pop-delete' + POP サーバからメッセージを取得後、POP サーバにあるメッセージを削 + 除するか否か。`t' なら削除。`nil' なら削除しない。数値 N なら、最 + 初のアクセスから N 日後に削除する。初期値は `t'。 +`mew-pop-size' + POP サーバから取得するメッセージの大きさの上限。初期値は 55296 バ + イト。0 に設定すると、上限なしの意味になり、すべてのメッセージを + 取得する。上限に引っ掛かったメッセージの全体を取得する方法につい + ては、*Note retrieving:: を参照のこと。 +`mew-pop-body-lines' + 大きさの上限にひっかかったメッセージの本文を何行取得するかという + 値。初期値は 40。 +`mew-pop-header-only' + POP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 + `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 + + + +File: mew.ja.info, Node: imap, Next: nntp, Prev: pop, Up: Customize + +IMAP +==== + +Mew では、メッセージを受信する際に IMAP を利用できます。ここでは、IMAP +を制御するための以下の変数についてまとめます。 + +`mew-imap-server' + IMAP サーバの名前。 +`mew-imap-ssh-server' + IMAP を SSH 経由で取得する場合の SSH サーバの名前。 +`mew-imap-ssl' + IMAP over SSL を使うか否か。 +`mew-imap-ssl-port' + IMAP over SSL のポート番号。 +`mew-imap-user' + IMAP のアカウント名。初期値はログイン名。 +`mew-imap-auth' + IMAP の認証方式。`nil' は LOGIN (生パスワード)、`t' は + `mew-imap-auth-list' に基づいた SASL を意味する。初期値は `t'。 +`mew-imap-auth-list' + SASL で利用する認証方式のリスト。優先順位の高い順に並べる。現在、 + "CRAM-MD5" と "LOGIN" が利用可能。 +`mew-imap-delete' + IMAP サーバからメッセージを取得後、IMAP サーバにあるメッセージを + 削除するか否か。`t' なら削除。`nil' なら削除しない。数値 N なら、 + 最初のアクセスから N 日後に削除する。初期値は `t'。 +`mew-imap-size' + IMAP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。 + 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限 + に引っ掛かったメッセージの全体を取得する方法については、 + *Note retrieving:: を参照のこと。 +`mew-imap-header-only' + IMAP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 + `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 + + + +File: mew.ja.info, Node: nntp, Next: smtp, Prev: imap, Up: Customize + +NNTP +==== + +Mew では、ニュースを読み書きする際に NNTP を利用します。ここでは、NNTP +を制御するための以下の変数についてまとめます。 + +`mew-nntp-server' + NNTP サーバの名前。 +`mew-nntp-ssh-server' + NNTP を SSH 経由で取得する場合の SSH サーバの名前。 +`mew-nntp-ssl' + NNTP over SSL を使うか否か。 +`mew-nntp-ssl-port' + NNTP over SSL のポート番号。 +`mew-nntp-user' + NNTP のアカウント名。もし `nil' でなければ、認証の手続きが実行さ + れる。(mew-nntp-auth という変数はないことに注意。) +`mew-nntp-newsgroup' + ニュースグループ名の初期値。 +`mew-nntp-size' + NNTP サーバから取得するメッセージの大きさの上限。初期値は 55296 バイト。 + 0 に設定すると、上限なしの意味になり、すべてのメッセージを取得する。上限 + に引っ掛かったメッセージの全体を取得する方法については、 + *Note retrieving:: を参照のこと。 +`mew-nntp-header-only' + NNTP でメッセージを取得する際に、ヘッダのみにするか、本文も取得するか。 + `nil' でなければ、ヘッダのみを取得。初期値は `nil'。 +`mew-nntp-msgid-user' + Message-Id: を作成するためのユーザ名。`nil' であれば `mew-user' + の値が利用される。初期値は `nil'。Message-Id: の書式は以下を参照。 +`mew-nntp-msgid-domain' + Message-Id: を作成するためのドメイン名。`nil' であれば + `mew-mail-domain' の値が利用される。初期値は `nil'。Message-Id: + の書式は以下を参照。 + +なお、NNTP 用の Message-Id: の値は以下のように作成されます。 + + message-id = *random*.nntp-msgid-user@nntp-msgid-domain + + + +File: mew.ja.info, Node: smtp, Next: config, Prev: nntp, Up: Customize + +SMTP +==== + +Mew では、メッセージを送信する際に SMTP を利用します。SMTP サーバが認 +証を要求した場合、Mew は自動的にユーザにバスワードの入力を求めます。こ +こでは、SMTP を制御するための以下の変数についてまとめます。 + +`mew-smtp-server' + SMTP サーバの名前。 +`mew-smtp-port' + SMTP ポート番号。 +`mew-smtp-ssh-server' + SSH 経由でメッセージを送る際の SSH サーバの名前。 +`mew-smtp-ssl' + SMTP over SSL を使うか否か。 +`mew-smtp-ssl-port' + SMTP over SSL のポート番号。 +`mew-smtp-user' + SMTP AUTH で利用されるアカウント名。設定されない場合は、自動的に + メールアドレスに設定される。 +`mew-smtp-auth-list' + SMTP AUTH で利用する認証方式のリスト。優先順位の高い順に並べる。 + 初期値は、'("CRAM-MD5" "PLAIN" "LOGIN")。 +`mew-smtp-helo-domain' + SMTP HELO コマンドで使われるサーバ名。初期値は "localhost"。 +`mew-smtp-mail-from' + SMTP MAIL FROM コマンドで指定されるアドレス。`nil' の場合は、 + From: フィールドのアドレスが指定される。初期値は `nil'。 +`mew-smtp-msgid-user' + Message-Id: を作成するためのユーザ名。`nil' であれば `mew-user' + の値が利用される。初期値は `nil'。Message-Id: の書式は以下を参照。 +`mew-smtp-msgid-domain' + Message-Id: を作成するためのドメイン名。`nil' であれば + `mew-mail-domain' の値が利用される。初期値は `nil'。Message-Id: + の書式は以下を参照。 +`mew-use-8bit' + 8 ビットテキストを符号化せずにそのまま送るか否か。`nil' の場合は、 + 適切な MIME 符号化が施される。初期値は `nil'。 + +なお、SMTP 用の Message-Id: の値は以下のように作成されます。 + + message-id = *random*.smtp-msgid-user@smtp-msgid-domain + +Message Submission (ポート番号が 587 である送信用の SMTP)を使いたい場 +合は、以下のように設定して下さい。 + + (setq mew-smtp-port "submission") + +SSL (*Note SSL::)や TLS (*Note TLS::) の章も参考にして下さい。 + +SMTP サーバの中には、認証なし、つまりパスワードを送られるとエラーと見 +なす設定であるにも関わらず、認証を要求してくるものがあります。Mew は、 +SMTP サーバが認証を要求すると、ユーザにパスワードを尋ねて、入力された +パスワードをサーバへ送ります。上記のようなおかしな SMTP サーバに対処す +るには、以下のように設定し、認証を要求されてもパスワードを送らなくすれ +ばよいでしょう。 + + (setq mew-use-smtp-auth nil) + +`mew-use-smtp-auth' + SMTP サーバが認証を要求したとき、パスワードを送るかどうか。デフォルトは + `t'。`nil' にすると、SMTP サーバが認証を要求しても無視する。 + + + +File: mew.ja.info, Node: config, Next: config2, Prev: smtp, Up: Customize + +送受信の動作変化 +================ + +`mew-config-alist' を使うと、メッセージの送受信に関する動作に変化をつ +けられます。以下の設定例を使って説明します。 + + (setq mew-config-alist + '((home + (inbox-folder "+inbox-home") + (pop-server "pop.iij4u.or.jp")) + (ext + (pop-ssh-server "ssh.example.org")) + (default + (proto "%") + (imap-server "imap.example.org") + (pop-server "pop.example.org")))) + +この例では、"home"、"ext"、"default" という 3 つのケースを定めています。 +それぞれのケースに対して、いくつかのキーと値の対が設定されています。 + +この例を使って、`mew-config-alist' の意味を説明します。ケースを +"home" にして "pop-server" を索くと、"pop.iij4u.or.jp" が得られます。ケー +スを "ext" にして "pop-server" を索くと、"ext" には該当するキーがな +いので、"default" を見て、"pop.example.org" が得られます。ケースを +"default" にして "pop-server" を索くと、"pop.example.org" が得られます。 + +ケースを "home" にして "inbox-folder" を索くと、"+inbox-home" が得られ +ます。ケースを "ext" にして "inbox-folder" を索くと、"ext" には該当す +るキーがなく、さらに "default" にもないので、`mew-inbox-folder' という +変数の値が得られます。ケースを "default" にして "inbox-folder" を索い +た場合も、`mew-inbox-folder' の値が得られます。 + +"proto" (`mew-proto')は、`M-x mew' と入力された際に、どのフォルダに移 +動するか指定するために使います。(Mew を起動するために`M-x mew' と入力 +する場合、"default" ケースの "proto" が利用されます。Mew が起動してい +る際に、`M-x mew' と入力するとケースに従って、"proto" が選ばれます。) + +値の候補は、"+"、"$"、"%"、"-" です。これらは標準では、"+inbox"、 +"$inbox"、"%inbox"、"-fj.mail.reader.mew" を意味します。 + +`mew-config-alist' で設定できるキーは、`mew-"キー"' という変数に対応し +ています。以下に設定できる項目を列挙します。 + + name, user, mail-domain, + cc, fcc, dcc, reply-to, organization, header-alist, proto, + smtp-server, smtp-port, smtp-ssh-server, smtp-ssl, smtp-ssl-port, + smtp-user, smtp-auth-list, + smtp-msgid-user, smtp-msgid-domain, smtp-helo-domain, smtp-mail-from, + pop-server, pop-port, pop-ssh-server, pop-ssl, pop-ssl-port, + pop-user, pop-auth, pop-auth-list, + pop-size, pop-header-only, pop-delete, pop-body-lines, + pop-proxy-server, pop-proxy-port, + imap-server, imap-port, imap-ssh-server, imap-ssl, imap-ssl-port, + imap-user, imap-auth, imap-auth-list, + imap-size, imap-header-only, imap-delete, + imap-trash-folder, imap-queue-folder, imap-spam-field, imap-spam-word, + imap-proxy-server, imap-proxy-port, + nntp-server, nntp-port, nntp-ssh-server, nntp-ssl, nntp-ssl-port, + nntp-user, nntp-size, nntp-header-only, + nntp-msgid-user, nntp-msgid-domain, + ssl-cert-directory, ssl-verify-level, + inbox-folder, queue-folder, postq-folder, + mailbox-type, mbox-command, mbox-command-arg, + signature-file, content-type, refile-guess-alist, + spam-prog, spam-prog-args, ham-prog, ham-prog-args, + use-old-pgp, pgp-signer, smime-signer, privacy-method, + protect-privacy-always, protect-privacy-always-type, + protect-privacy-encrypted, protect-privacy-encrypted-type, + protect-privacy-with-old-pgp-signature, + use-format-flowed + +name、user、mail-domain は以下の規則にしたがって、From: の値になります。 + + from = name + +自分で `mew-from-list' を設定していない場合は、上記のルールに従い各 +ケースの from を集めて、`mew-from-list' が自動的に設定されます。 +*Note cheader:: を参照のこと。 + +`mew-config-alist' に設定したケース名をケースに指定できます。Mewの起動 +時のケースは、"default" になっています。 + +Summary モードにおいて、ケースを変更するには `C' を利用します。ケース +には、`TAB' で補完、`C-cTAB' で循環的な補完が効きます。 + +ケースが "default" 以外の値をとった場合は、Summary モードのモードライ +ンに表示されます。以下はケースが "home" となっている場合の例です。 + + (Summary home) + + +Draft モードでは、ケースが "default" でない場合、モードラインにその値 +が表示されます。以下は、ケースが "home" である場合の例です。 + + (Draft home) + +Draft モードにおいて、その草稿のケースを変更するには、`C-cC-o' を用い +ます。mail-domain キーや header-alist キーに対応する値に応じて、ヘッダ +が動的に変更されます。なお、このケースは、その Draft モードに固有にな +ります。 + +Draft モードでは、ケースを自動的に設定することもできます。 + +`mew-case-guess-when-prepared' + この変数が `t' の場合、草稿が用意されたときに、 + `mew-case-guess-alist' に従ってケースが設定される。初期値は + `t'。 +`mew-case-guess-when-composed' + この変数が `t' の場合、メッセージが作成されたときに、 + `mew-case-guess-alist' に従ってケースが設定される。初期値は + `nil' +`mew-case-guess-when-replied' + この変数が `t' の場合、返答によって草稿が用意されたときに、 + `mew-case-guess-when-replied-alist' に従ってケースが設定される。 + 初期値は `t'。 + +`mew-case-guess-alist' と `mew-case-guess-when-replied-alist' +の書式は、`mew-refile-guess-alist' と同じです。詳しくは、 +*Note by-alist:: を参照して下さい。 + +Draft モードで草稿を送信するために `C-cC-c' を使うと、Draft モードのケー +スが SMTP/NNTP サーバなどを決定するために利用されます。Summary モード +で +queue/+postq のメッセージを送り出すために `C-cC-c' を利用すると、 +Summary モードのケースが利用されます。たとえ、そのケースが Draftモード +で指定されていたケースと違ってもです。Summary モードで`C-uC-cC-c' を使 +うと、+queue/+postq のメッセージを送り出すためのケースが指定できます。 + + +以下にケースに関するコマンドをまとめます。 + +`C' + Summary モードにおいて、ケースを設定する。 +`C-cC-o' + Draft モードにおいて、その草稿のケースを設定する。 + + + +File: mew.ja.info, Node: config2, Next: custom-misc, Prev: config, Up: Customize + +設定の書式 +========== + +Mew 6.1 から ".mew.el" の設定方法が改善されました。古い書式も有効です +が、より簡単な新しい書式も利用できます。 + + - 古い書式ではリストの中に "." が現れる場合がありました。新しい書式 + では、"." はまったく使われません。たとえば、("foo" . "bar") と書 + いていたところは、("foo" "bar") と書けます。 + - 古い書式では、ポート番号は文字列で書いていました。たとえば、"25" + です。新しい書式では、数値で書いてもよくなりました。たとえば、25 + です。文字列も有効です。たとえば、"smtp" です。 + - 古い書式では、`mew-config-alist' のケースやキーを文字列で書いてい + ました。新しい書式では、シンボルで書けます。 + +以下に mew-config-alist を新しい書式で書いた例を示します。 + + (setq mew-config-alist + '((home + (imap-server "imap.example.org") + (imap-ssl t) + (imap-ssl-port 993) + (smtp-server "smtp.example.org") + (smtp-port "submission")))) + +以下の古い書式と見比べて下さい。 + + (setq mew-config-alist + '(("home" + ("imap-server" . "imap.example.org") + ("imap-ssl" . t) + ("imap-ssl-port" . "993") + ("smtp-server" . "smtp.example.org") + ("smtp-port" . "submission")))) + +繰り返しますが、Mew 6.1 では古い書式も有効です。古い書式と新しい書式を +混ぜて書いても構いません。 + + + +File: mew.ja.info, Node: custom-misc, Next: Tips, Prev: config2, Up: Customize + +その他 +====== + +環境によっては、添付ファイルをセーブする際に、ファイル名を SAMBA 形式に +すると便利なことがあります。この場合、`mew-use-samba-encoding' を +`t' にして下さい。ファイル名として、どの文字コードを利用するかは、 +`mew-cs-samba' で指定できます。初期値は `shift_jis' です。 + +Summary モードで `#' と押すと、現在のメッセージを印刷できます。印刷に +利用する関数は `mew-print-function' で定義します。初期値は、 +`ps-print-buffer' ですから、PostScript に変換されて印刷されます。自分 +の作成した関数を利用するには、以下のように設定します。 + + (setq mew-print-function 'my-print-function) + +ヘッダ中のどのフィールドを印刷するかは、`mew-field-for-printing'で指定 +できます。初期値は、以下のようになっています。 + + '("Subject:" "From:" "To:" "Cc:" "Date:") + +たとえば、Subject:、From:、Date: のみを印刷するには、以下のように設定 +しましょう。 + + (setq mew-field-for-printing '("Subject:" "From:" "Date:")) + + + + +File: mew.ja.info, Node: Tips, Next: region, Prev: custom-misc, Up: Top + +さらなる一歩 +************ + +* Menu: + +* region:: リージョン +* visiting:: 移動 +* SSH:: Secure SHell +* SSL:: Secure Socket Layer +* TLS:: Transport Layer Security +* spam:: スパム +* spam2:: スパム(2) +* addr-warn:: アドレスの警告 +* biff:: Biff +* edit:: Edit モード + + + +File: mew.ja.info, Node: region, Next: visiting, Prev: Tips, Up: Tips + +リージョン +========== + +Summary モードには、`C-u' 付きで呼び出すと、リージョンに作用するコマン +ドがあります。これらのコマンドは、ビジブルなリージョンが指定されている +場合は、`C-u' なしでもそのリージョンに作用します。 + +Emacs では、以下の設定を "~/.emacs" に入れると、ビジブルなリージョンが +利用できるようになります。 + + (transient-mark-mode 1) + +以下に、該当するコマンドを列挙しておきます。 + + `?', `/', `tt', `x', `lx', `ma', `Md', `S', `mlc', `mli', `*', `$', `d', `u' + +`*', `$', `d', `u' は、直前に数字を入力することで、繰り返しの回数を指 +定することもできます。たとえば、`3*' は 3 つのメールに `*' マークを付 +けます。数字の前に `C-u' は不要です。 + + + +File: mew.ja.info, Node: visiting, Next: SSH, Prev: region, Up: Tips + +移動 +==== + +Draft モードにおいて、`C-cC-m' でメッセージを作成し送信キューに入 +れた後、+queue に移動したい場合は、 +`mew-visit-queue-after-sending' を `t' に設定して下さい。 + +Summary モードにおいて、`C' でケースを設定した後に、各 inbox に移動し +たい場合は、`mew-visit-inbox-after-setting-case' を `t'に設定しましょ +う。 + +Summary モードから、一番数字の小さい草稿(Draft モード)に移動するには、 +`C-cC-o' が利用できます。 + + + +File: mew.ja.info, Node: SSH, Next: SSL, Prev: visiting, Up: Tips + +Secure SHell +============ + +Mew は SSH として、SSH バージョン 1、2 および OpenSSH をサポートしてい +ます。Mew から SSH を利用する前に、必ずコマンド・ラインで "ssh" を実行 +し、SSH サーバの公開鍵を取得ã—て下さい。すなわち、ユーザのパスワードか、 +ローカルのマシンの秘密鍵を復号化するためのパスワードを入力すれば、サー +バにログインできる状態にして下さい。なお、"ssh-agent" を利用すれば、秘 +密鍵を復号化するためのパスワードの入力を省略できます。 + +後は、各プロトコルの SSH に関する変数を設定して下さい。たとえば、POP +over SSH を利用する場合は、`mew-pop-ssh-server' に SSH サーバの名前を +設定しましょう。 + +SSH で通信が保護されている場合、モードラインに錠前の絵が表示されます。 + +Mew の実装では、SSH と SSL/TLS を同時には使えません。SSH トンネルの中 +でSSL/TLS を使う必要がある場合、Mew では SSL/TLS だけを設定し、SSH ト +ンネルはコマンドラインから張るようにして下さい。 + + + +File: mew.ja.info, Node: SSL, Next: TLS, Prev: SSH, Up: Tips + +Secure Socket Layer +=================== + +SSL を使うには、認証局方式の信用モデルを理解している必要があります。現 +在、Mew は SSL のために "stunnel" バージョン 3、4、5 をサポートしてい +ます。 + +Mew で利用する前に、SSL サーバに対して "stunnel" で SSL のコネクション +が張れるか確かめて下さい。"stunnel" は、"openssl" のライブラリをリンク +しているので、"openssl" の知識が必要です。 + +信用する証明書を保存しておくディレクトリを "~/.certs" だとしましょう。 +ここに "openssl" の "certs" ディレクトリに付いてくる PEM 形式の証明書 +を"<ハッシュ>.0" という名前でコピーします。 + +ここでは、PEM 形式の証明書のファイル名を "ca.pem" だとしましょう。「< +ハッシュ>」は以下のように計算できます。 + + % openssl x509 -hash -noout -in ca.pem + +"~/.certs/" へコピーするには、以下のようにします。 + + % cp ca.pem ~/.certs/`openssl x509 -hash -noout -in ca.pem`.0 + +"openssl" に付いてくる証明書は、世の中で使われている CA すべてを網羅で +きていません。あなたが利用するサーバの証明書が、他の CA から発行された +場合、その CA の証明書を同様にコピーしておく必要があります。以下のペー +ジに CA の証明書がたくさん置いてあります。 + + http://www.columbia.edu/~ariel/good-certs/ns45/ + +Mew で "stunnel" を制御する重要な変数は 2 つです。 +`mew-ssl-cert-directory' は、信用する CA の証明書を置いておくディレク +トリであり、初期値は "~/.certs" です。また、`mew-ssl-verify-level' で、 +証明書を検証するレベルを指定できます。レベルの初期値は 1 です。この意 +味は、以下の通りです。 + +0 + 検証しない +1 + サーバの証明書があれば検証する。検証結果が失敗なら、SSL/TSL コネ + クションは作られない。証明書がなければ、SSL/TLS コネクションを作 + 成する。 +2 + サーバの証明書を検証する。検証結果が失敗なら、SSL/TSL コネクショ + ンは作られない。証明書がなければ、SSL/TLS コネクションを作成しな + い。 +3 + サーバが送ってきたものではなく、ローカルにインストールされている + 証明書で検証する。 + +後は各プロトコルの SSL に関する変数を設定して下しさい。たとえば、POP +over SSL を利用するには、`mew-pop-ssl' を `t' にします。また、ポート番 +号が標準と異なる場合には、`mew-pop-ssl-port' を設定して下さい。 + + (setq mew-pop-ssl t) + +SMTP で SSL を利用する場合は、以下のようにします。 + + (setq mew-smtp-ssl t) + +SSL で通信が保護されている場合、モードラインに錠前の絵が表示されます。 + + + +File: mew.ja.info, Node: TLS, Next: spam, Prev: SSL, Up: Tips + +Transport Layer Security +======================== + +Mew では SSL の代りに TLS を利用することもできます。TLS の実現は、SSL +と同様 "stunnel" に頼っています。ですので、TLS を利用する際には、 +*Note SSL:: の説明に従って設定して下さい。 + +次に、SSL のポート番号を守りたいプロトコルと同じポート番号に設定します。 +たとえば、POP では以下のようにします。 + + ;; mew-pop-port is default to "pop3" (110) + (setq mew-pop-ssl t) + (setq mew-pop-ssl-port mew-pop-port) ;; The default is "pop3s" (995) + +すなわち、SSL のポート番号と保護したいプロトコルのポートが同じであれば +TLS、異なれば SSL が利用されます。 + +以下は、Message Submission を TLS で守るための設定例です。 + + (setq mew-smtp-port "submission") ;; The default is "smtp" (25) + (setq mew-smtp-ssl t) + (setq mew-smtp-ssl-port mew-smtp-port) ;; The default is 465 + + + +File: mew.ja.info, Node: spam, Next: spam2, Prev: TLS, Up: Tips + +スパム +====== + +(1) スパムのフィルタが POP サーバや IMAP サーバ側で動いている場合: + +POP で +inbox にメッセージを取得したり、$inbox や %inbox でメッセージ +の一覧を取ったりする場合に、スパムに自動的に `D' マークを付けることが +できます。 + +Bogofilter を利用している場合は、以下の設定を "~/.mew.el" に入れて下さ +い。 + + (defun mew-spam-bogofilter (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) ?D))) + + (setq mew-inbox-action-alist + '(("X-Bogosity:" mew-spam-bogofilter))) + +`D' マークを付ける代わりに、+spam フォルダへリファイルするように `o' +マークを付けるようにするには、関数を以下のように記述します。 + + (defun mew-spam-bogofilter (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) "+spam"))) + +Spamassassin の場合は、以下の設定を "~/.mew.el" に入れて下さい。 + + (setq mew-spam: "X-Spam-Flag:") + (defun mew-spam-assassin (val) + (let ((case-fold-search t)) + (if (string-match "yes" val) ?D))) + + (setq mew-inbox-action-alist + '(("X-Spam-Flag:" mew-spam-assassin))) + +bsfilter を使う場合は、bsfilter に含まれているマニュアルを参照して下さ +い。 + + +(2) スパムのフィルタが IMAP サーバ側で動いている場合: + +%inbox でメッセージの一覧を取る際に、IMAP サーバの中でスパムを消去、ま +たは、他のフォルダへ移動させることができます。Bogofilter を利用してい +る場合は、以下のような設定を "~/.mew.el" に加えて下さい。 + + (setq mew-imap-spam-field "X-Bogosity") + (setq mew-imap-spam-word "Yes") + +`mew-imap-spam-folder' あるいは `mew-imap-trash-folder' が定義されてい +れば、そのフォルダへスパムが移動します。そうでなければ、スパムは消去さ +れます。 + +(3) ローカルで bogofilter を動かして、一括して `*' マークを付ける方法 +もあります。まず、以下のスクリプトをインストールして下さい。 + + #!/bin/sh + + bogofilter -v -T -B $* | grep S + +このスクリプト名を "bogo" だとしましょう。Summary モードで `?' を実行 +し、`RET' を入力し、コマンド名に "bogo" を指定すれば、スパムに`*' マー +クが付きます。あとは、`md' + `x' などで処理するといいでしょう。 + +(4) POP サーバを利用しており、サーバ側ではスパムのフィルタを動かせない +が、メッセージの取得時にマークを付けたい場合: + +bsfilter は、POP の代理サーバとなる機能があるので、これを実現できます。 +詳しくは bsfilter に含まれているマニュアルを参照して下さい。 + + + +File: mew.ja.info, Node: spam2, Next: addr-warn, Prev: spam, Up: Tips + +スパム(2) +========= + +Summary モードで読んでいる現在のメッセージを、フィルターにスパムとして +学習させるには `ls' を使います。同様に、ハム(スパムでないメッセージ)と +して学習させるには `lh' を利用して下さい。 + +両者のコマンドを使用するためには、4 つの変数を設定しておく必要がありま +す。ここでは bogofilter を例題にとり、3 つの場合について説明します。 + +(1) ローカルのフィルターに学習させる場合: + + (setq mew-spam-prog "bogofilter") + (setq mew-spam-prog-args '("-s" "-N" "-v")) + (setq mew-ham-prog "bogofilter") + (setq mew-ham-prog-args '("-n" "-S" "-v"))) + +(2) サーバ()側のフィルターに SSH 経由で学習させる場合: + + (setq mew-spam-prog "ssh") + (setq mew-spam-prog-args '("" "bogofilter" "-s" "-N" "-v")) + (setq mew-ham-prog "ssh") + (setq mew-ham-prog-args '("" "bogofilter" "-n" "-S" "-v"))) + +(3) ファイアウォール()の先のサーバ()のフィルターに多 +段の SSH 経由で学習させる場合: + + (setq mew-spam-prog "ssh") + (setq mew-spam-prog-args '("-A" "" "ssh" "" "bogofilter" "-s" "-N" "-v")) + (setq mew-ham-prog "ssh") + (setq mew-ham-prog-args '("-A" "" "ssh" "" "bogofilter" "-n" "-S" "-v"))) + +なお SSH を利用する場合、関連するホストには、パスワードなしでログイン +できるように設定しておく必要があります。 + + + +File: mew.ja.info, Node: addr-warn, Next: biff, Prev: spam2, Up: Tips + +アドレスの警告 +============== + +社内で閉じるべきメッセージの宛先に、うっかり社外の人のアドレスを書いて +しまうことがあります。Mew では、たとえば社内のドメイン名を列挙しておく +と、社外のアドレスを赤色にして警告してくれます。 + +どのアドレスを警告するのかを決定する変数は 4 つあり、すべて文字列のリ +ストになります。Mew は以下のルールに従って、警告するアドレスを決めます。 + + 1. アドレスが `mew-safe-addresses' で指定されていれば警告しない。 + 2. アドレスが `mew-warn-addresses' で指定されていれば警告する。 + 3. ドメインが `mew-safe-domains' で指定されていれば警告しない。 + 4. ドメインが `mew-warn-domains' で指定されていれば警告する。 + 5. `mew-warn-addresses' か `mew-safe-domains' が定義されていれば警告 + する。 + 6. 警告しない。 + +以下に "@example.org" 以外のドメインを持つアドレスを警告する例を示しま +す。 + + (setq mew-safe-domains '("example.org")) + +ドメインは "@example.org" ですが、"customers@example.org" は警告したい +場合は、さらに以下のように設定します。 + + (setq mew-warn-addresses '("customers@example.org")) + + + +File: mew.ja.info, Node: biff, Next: edit, Prev: addr-warn, Up: Tips + +Biff +==== + +メッセージが到着したか定期的に調べる機能を biff といいます。Mew では、 +以下の設定をすると、5 分ごとに新規メッセージが何個あるか調べるようにな +ります。 + + (setq mew-use-biff t) + +新規メッセージがあれば、その数がモードラインに表示されます。 + +Biff の対象となるサーバとプロトコルは、Mew の起動時に `mew-proto'とケー +ス(`mew-case')から決定されます。 + +以下の設定をすると、新規メッセージがない状態からある状態に変った際に、 +ビープ音が鳴ります。 + + (setq mew-use-biff-bell t) + +メッセージの到着を調べる間隔を変えるには、`mew-biff-interval' を設定し +て下さい。以下は、10 分にする例です。 + + (setq mew-biff-interval 10) + + + +File: mew.ja.info, Node: edit, Next: Convention, Prev: biff, Up: Tips + +Edit モード +=========== + +Edit モードは、既存のメッセージを編集し、新しいメッセージを作成するた +めのモードです。用途の典型例を以下に示します。 + + - 大きな添付ファイルを削除して保存する + - PGP/MIME や S/MIME で暗号化されたメッセージを復号化した状態で保存 + する + +現在のメッセージを Edit モードで編集するには、`M-e'を押します。すると、 +Draft モードに似た形で草稿が用意されます。Edit モードでは、Draftモード +と同様の操作で、メッセージを編集できます。 + +編集したメッセージを新しいメッセージとして保存するには、`C-cC-c'か +`C-cC-m'を使います。両者は、まったく同じコマンドです。これらのコマンド +を実行すると、どのフォルダに保存するかを訊いてきます。 + +なお、この機能は再編集(*Note sum-write::)と混同しやすいので注意して下 +さい。再編集は編集後に送信するのに対し、Edit モードでは編集の後に保存 +します。 + +以下に Edit モードのまとめを示します。Summary モードから Edit モードに +入るには以下のコマンドを使います。 + +`M-e' + 現在のメッセージを元に Edit モードに入る。 + +Edit モードでのコマンドをまとめます。 + +`C-cC-c' + 編集したメッセージを新しいメッセージに保存。 +`C-cC-m' + `C-cC-c'に同じ。 +`その他' + Draft モードと同じ。 + + + + +File: mew.ja.info, Node: Convention, Next: Implementation, Prev: edit, Up: Top + +メッセージの作法 +**************** + +メッセージをやりとりする際には、最低限のマナーがあります。マナーを守っ +ていないメッセージは読みにくいため、大変損します。簡潔かつ適切な文章を +書き、なるべく相手に理解してもらえるよう努力しましょう。 + +メッセージを書く際に気を付けるべき項目を以下に示します。 + +To: と Cc: を正しく書く + To: が目的の人で、Cc: は参考までに送り付ける人です。自分のアドレ + スが Cc: の場合は、読み飛ばす人がいますから注意して下さい。また、 + 不必要なアドレスを To: や Cc: に書いて、相手に迷惑をかけてしまう + ことがないようにしましょう。 + +To: と Cc: に書くアドレスの数は少なくする + アドレスをたくさん To: や Cc: に書くのはよくないことです。面倒で + もメーリングリストを作りましょう。あるいは、必要に応じて宛先を匿 + 名にしましょう(*Note anonymous::)。 + +Subject: には本文の内容を的確に短く書く + Subject: を見て読むか決める人がいますから、不適切な Subject: だと + 読んでもらえないかもしれません。長い Subject: は読みにくいので止 + めましょう。 + +必要な部分だけを引用する + 面倒でも不要な部分は削りましょう。Mew を使っていれば、引用は楽勝 + のはずです。 + +シグニチャは簡素にする + 長いシグニチャは単なる自己満足です。 + +いたずらメッセージを送らない + こんなことは注意したくありませんが、それでも不幸のメッセージなど + を送ってくる人がいます。人格を疑われることを理解すべきです。 + +相手の読めるデータのみを添付する + なんの合意もなしに送ってよいデータはテキストのみです。それ以外の + データを送る場合は、あらかじめ相手に送ってよいか確認をとりましょ + う。メーリングリストには、テキストのみを投稿するのが無難でしょう。 + +また、インターネットのマナーは RFC1855 を読むといいでしょう。 + + + + +File: mew.ja.info, Node: Implementation, Next: Avail, Prev: Convention, Up: Top + +実装について +************ + +"mewl" と "mewencode" が必要なのはなぜ? + Mew では、Summary mode でメッセージを取得している間や、一覧を再表 + 示している間に、メッセージを読み進めることができます。これは、プ + ログラムの制御の流れが複数必要であることを意味しています。Emacs + で制御の流れを複数にするには、サブプロセスを作るか、TCP コネクショ + ンを張るしか方法がありません(Emacs Lisp には light weight process + がありません)。POP や SMTP には、TCP コネクションを使うので問題あ + りません。しかし、Summary mode の一覧を再表示するためには、何かコ + マンドを起動しないといけません。これが、"mewl" が存在する理由です。 + "mewencode" が存在する理由は、単に速度のためです。MIME の符号化を + Emacs Lisp で実装したところ、使い物にならないぐらい遅かったので、 + "mewencode" を使い続けています。(ただし、Base64 が Emacs で実装さ + れていれば、そちらを使います。) + +文字列検索(`C-s'、`C-r')すると、行末にカーソルが飛ぶのはなぜ? + Summary mode において、スレッド情報は表示されません。これは、 + Summary mode で表示されている行に関しては、表示する瞬間にスレッド + 情報に非表示の属性を付けるからです。非表示の属性がついている部分 + は文字列検索の対象にはなりません。しかし、Summary mode に表示され + ていない行のスレッド情報は、非表示の属性がついていないため、検索 + の対象となります。そして、合致した行が表示される際に非表示の属性 + がついて、あたかも行末に合致したかのような錯覚を受けます。Summary + mode 全体の行のスレッド情報には、キーの入力がない時間に非表示の属 + 性が付きます。全体に非表示の属性が付くと、Summary mode のモードラ + インの右端にある `*' マークが消えます。この状態では、文字列検索が + 直感通りに働きます。 + +Mew 4.3 でファイルを添付すると MS のメールリーダでファイル名が認識できるようになりました + MS のメールリーダは、ファイル名を符号化する際に、標準化されてない + 独自の方法を使います。MS のメールリーダが、標準化されている符号化 + 方式に移行すればいいのですが、何度お願いしても無理でした。そこで、 + Mew では以下のような方法で、この問題を解決しました。すなわち、Mew + は基本的には標準化されている方法で、ファイル名を符号化します。そ + れに加えて、MS のメールリーダが参照する標準化されてないパラメータ + に対して、ファイル名を MS 独自の方法で符号化し、付加します。 + + + + + +File: mew.ja.info, Node: Avail, Next: obtain, Prev: Implementation, Up: Top + +入手方法とメーリングリスト +************************** + +ここでは、Mew の入手方法とメーリングリストについて触れます。 + +* Menu: + +* obtain:: Mew の入手方法 +* ml:: メーリングリスト + + + +File: mew.ja.info, Node: obtain, Next: ml, Prev: Avail, Up: Avail + +Mew の入手方法 +============== + +Mew の最新バージョンは以下から入手できます。 + + http://www.Mew.org/Release/ + +Mew の Git 版について知りたければ、以下を参照して下さい。 + + http://www.mew.org/ja/git/ + + + +File: mew.ja.info, Node: ml, Next: Copyright, Prev: obtain, Up: Avail + +メーリングリスト +================ + +Mew に関するメーリングリストについては、以下を参照して下さい。 + + https://groups.google.com/forum/#!forum/mew-ja + + + + + +File: mew.ja.info, Node: Copyright, Next: Variable Index, Prev: ml, Up: Top + +著作権について +************** + +Mew は以下の著作権に従います。 + +Copyright (C) 1994-2018 Mew developing team. +All rights reserved. + +変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、 +以下の条件を満たしていれば、これを許可する。 + + 1. ソース・コードの再配布は、上記の著作権表示、この条件項目、および、 + 以下の免責事項を保存しなければならない。 + 2. バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、 + 以下の免責事項を、その配布に付随する説明書、あるいはその他の資料 + のいずれかに明記しなければならない。 + 3. 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品 + の推奨や販売促進のために、このチーム名と貢献者達の名前を利用して + はならない。 + +このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証 +は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら +だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい +たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に +おいて、このチームと貢献者達は、(代替製品やサービスの調達; 利用権、デー +タ、あるいは利益の損失; あるいは営業の中断を含む、またこれらだけに限ら +ず)直接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じ +てしまった損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わ +らず厳密な責任はなく、また(過失あるいはその他を含む)不法行為に対しても +責任はない。 + +CD ROM に入れて配布したいという方は、できるだけ教えて下さい。教えてく +れなくても怒りませんが、教えて頂けるとありがたいです。配布を断ったこと +はありません。 + +このマニュアルの著作権は、著者に属します。複製、改変、再配布は自由です +が、無保証です。また、このマニュアルから発生した被害に対し、著者は一切 +責任を負いません。 + + + + +File: mew.ja.info, Node: Variable Index, Next: Key Index, Prev: Copyright, Up: Top + +変数索引 +******** + + +* Menu: + +* mail-user-agent: Composing. (line 5) +* mail-user-agent: configuration. (line 5) +* mail-user-agent: start. (line 5) +* mew-addrbook-for-cite-label: draft-mode. (line 5) +* mew-addrbook-for-cite-prefix: draft-mode. (line 5) +* mew-addrbook-mode-hook: hooks. +* mew-addrbook-override-by-newone: auto-alias. (line 5) +* mew-ask-charset: charset. (line 5) +* mew-ask-fcc: send. (line 5) +* mew-ask-subject: send. (line 5) +* mew-auto-flush-queue: retrieving. (line 5) +* mew-auto-get: start. (line 5) +* mew-before-cite-hook: hooks. +* mew-biff-interval: biff. (line 5) +* mew-case-guess-alist: config. (line 5) +* mew-case-guess-when-composed: config. +* mew-case-guess-when-prepared: config. +* mew-case-guess-when-replied-alist: config. (line 5) +* mew-case-guess-when-replied: config. +* mew-cc: draft-mode. (line 5) +* mew-charset-latin: charset. (line 5) +* mew-charset-m17n: charset. (line 5) +* mew-cite-fields: draft-mode. (line 5) +* mew-cite-format: draft-mode. (line 5) +* mew-cite-hook: hooks. +* mew-cite-prefix: draft-mode. (line 5) +* mew-cite-prefix-function: draft-mode. (line 5) +* mew-config-alist: config. (line 5) +* mew-config-alist: config2. (line 5) +* mew-cs-samba: custom-misc. (line 5) +* mew-cursor-mark: highlight. (line 5) +* mew-dcc: draft-mode. (line 5) +* mew-debug: status-update. (line 5) +* mew-decode-broken: analysis. +* mew-decode-broken: status-update. (line 5) +* mew-decode-quoted: invalid. (line 5) +* mew-delete-unread-mark-by-mark: unread mark. (line 5) +* mew-draft-mode-edit-again-hook: hooks. +* mew-draft-mode-hook: hooks. +* mew-draft-mode-newdraft-hook: hooks. +* mew-draft-mode-reedit-draft-hook: hooks. +* mew-draft-mode-reedit-hook: hooks. +* mew-draft-mode-reedit-queue-hook: hooks. +* mew-draft-privacy-method: shortcut. (line 5) +* mew-end-of-message-string: multipart. (line 5) +* mew-end-of-part-string: multipart. (line 5) +* mew-env-hook: hooks. +* mew-field-delete-for-forwarding: forward. (line 5) +* mew-field-for-printing: custom-misc. (line 5) +* mew-fields: header. (line 5) +* mew-file-max-size: analysis. +* mew-flowed-auto-wrap: longline. (line 5) +* mew-flowed-fold-length: longline. (line 5) +* mew-flowed-fold-threshold: longline. (line 5) +* mew-from-list: cheader. (line 5) +* mew-ham-prog-args: spam2. (line 5) +* mew-ham-prog: spam2. (line 5) +* mew-header-alist: draft-mode. (line 5) +* mew-header-max-length: analysis. +* mew-header-mode-hook: hooks. +* mew-header-veil-count: features. (line 5) +* mew-highlight-body-max-size: highlight. (line 5) +* mew-imap-auth: imap. +* mew-imap-auth-list: imap. +* mew-imap-delete: imap. +* mew-imap-delete: retrieving. (line 5) +* mew-imap-header-only: imap. +* mew-imap-header-only: retrieving. (line 5) +* mew-imap-sentinel-hook: hooks. +* mew-imap-sentinel-non-biff-hook: hooks. +* mew-imap-server: configuration. (line 5) +* mew-imap-server: imap. +* mew-imap-size: imap. +* mew-imap-spam-field: spam. (line 5) +* mew-imap-spam-folder: spam. (line 5) +* mew-imap-spam-word: spam. (line 5) +* mew-imap-ssh-server: imap. +* mew-imap-ssl: imap. +* mew-imap-ssl-port: imap. +* mew-imap-trash-folder: delete mark. (line 5) +* mew-imap-trash-folder-list: delete mark. (line 5) +* mew-imap-user: imap. +* mew-inbox-action-alist: spam. (line 5) +* mew-init-hook: hooks. +* mew-lisp-max-length: auto-alias. (line 5) +* mew-lisp-max-length: by-from. (line 5) +* mew-lisp-max-length: by-thread. (line 5) +* mew-mail-address-list: reply. (line 5) +* mew-mail-domain-list: cheader. (line 5) +* mew-mailbox-type: config. (line 5) +* mew-mailbox-type: configuration. (line 5) +* mew-mailbox-type: retrieving. (line 5) +* mew-mailbox-type: start. (line 5) +* mew-make-message-hook: hooks. +* mew-mbox-command-arg: configuration. (line 5) +* mew-mbox-command: configuration. (line 5) +* mew-message-hook: hooks. +* mew-message-mode-hook: hooks. +* mew-mime-multipart-alternative-list: message-mode. (line 5) +* mew-name: configuration. (line 5) +* mew-nntp-header-only: nntp. +* mew-nntp-header-only: retrieving. (line 5) +* mew-nntp-msgid-domain: nntp. +* mew-nntp-msgid-user: nntp. +* mew-nntp-newsgroup: nntp. +* mew-nntp-sentinel-hook: hooks. +* mew-nntp-server: configuration. (line 5) +* mew-nntp-server: nntp. +* mew-nntp-size: nntp. +* mew-nntp-ssh-server: nntp. +* mew-nntp-ssl: nntp. +* mew-nntp-ssl-port: nntp. +* mew-nntp-user: nntp. +* mew-nntp2-flush-hook: hooks. +* mew-nntp2-sentinel-hook: hooks. +* mew-pack-hook: hooks. +* mew-pick-pattern-list: condition. (line 5) +* mew-pop-auth-list: pop. +* mew-pop-auth: pop. +* mew-pop-body-lines: pop. +* mew-pop-delete: pop. +* mew-pop-delete: retrieving. (line 5) +* mew-pop-header-only: pop. +* mew-pop-header-only: retrieving. (line 5) +* mew-pop-sentinel-hook: hooks. +* mew-pop-sentinel-non-biff-hook: hooks. +* mew-pop-server: pop. +* mew-pop-size: pop. +* mew-pop-ssh-server: SSH. (line 5) +* mew-pop-ssh-server: pop. +* mew-pop-ssl: SSL. (line 5) +* mew-pop-ssl: pop. +* mew-pop-ssl-port: SSL. (line 5) +* mew-pop-ssl-port: pop. +* mew-pop-user: configuration. (line 5) +* mew-pop-user: pop. +* mew-post-hook: hooks. +* mew-print-function: custom-misc. (line 5) +* mew-print-function: features. (line 5) +* mew-prog-gpg: cipher-viewing. (line 5) +* mew-prog-grep: condition. (line 5) +* mew-prog-grep-opts: condition. (line 5) +* mew-prog-msexcel-ext: message-mode. (line 5) +* mew-prog-msexcel: message-mode. (line 5) +* mew-prog-mspowerpoint-ext: message-mode. (line 5) +* mew-prog-mspowerpoint: message-mode. (line 5) +* mew-prog-msword-ext: message-mode. (line 5) +* mew-prog-msword: message-mode. (line 5) +* mew-prog-pgp: cipher-viewing. (line 5) +* mew-prog-pgp2: cipher-viewing. (line 5) +* mew-prog-pgp5: cipher-viewing. (line 5) +* mew-prog-text/html-ext: message-mode. (line 5) +* mew-protect-privacy-always: shortcut. (line 5) +* mew-protect-privacy-always-type: shortcut. (line 5) +* mew-protect-privacy-encrypted: shortcut. (line 5) +* mew-protect-privacy-encrypted-type: shortcut. (line 5) +* mew-protect-privacy-with-old-pgp-signature: shortcut. (line 5) +* mew-proto: config. (line 5) +* mew-proto: configuration. (line 5) +* mew-proto: start. (line 5) +* mew-quit-hook: hooks. +* mew-real-post-hook: hooks. +* mew-real-send-hook: hooks. +* mew-refile-auto-refile-skip-any-mark: auto-refile. (line 5) +* mew-refile-ctrl-multi: guess-rule. (line 5) +* mew-refile-guess-alist: by-alist. (line 5) +* mew-refile-guess-by-from-learn-hook: hooks. +* mew-refile-guess-control: guess-rule. (line 5) +* mew-refile-guess-from-me-is-special: by-from-folder. (line 5) +* mew-refile-guess-from-me-is-special: by-from. (line 5) +* mew-refile-guess-strip-domainpart: by-default. (line 5) +* mew-reply-all-alist: reply. (line 5) +* mew-reply-fromme-alist: reply. (line 5) +* mew-reply-sender-alist: reply. (line 5) +* mew-safe-addresses: addr-warn. (line 5) +* mew-safe-domains: addr-warn. (line 5) +* mew-scan-sentinel-hook: hooks. +* mew-search-method: dbsearch. (line 5) +* mew-send-hook: hooks. +* mew-signature-as-lastpart: cite. (line 5) +* mew-signature-file: cite. (line 5) +* mew-signature-insert-last: cite. (line 5) +* mew-smtp-auth-list: smtp. +* mew-smtp-flush-hook: hooks. +* mew-smtp-helo-domain: smtp. +* mew-smtp-mail-from: smtp. +* mew-smtp-msgid-domain: smtp. +* mew-smtp-msgid-user: smtp. +* mew-smtp-port: smtp. +* mew-smtp-sentinel-hook: hooks. +* mew-smtp-server: configuration. (line 5) +* mew-smtp-server: smtp. +* mew-smtp-ssh-server: smtp. +* mew-smtp-ssl: SSL. (line 5) +* mew-smtp-ssl-port: smtp. +* mew-smtp-ssl: smtp. +* mew-smtp-user: smtp. +* mew-sort-default-key-alist: sorting. (line 5) +* mew-sort-default-key: sorting. (line 5) +* mew-sort-hook: hooks. +* mew-sort-key-alist: sorting. (line 5) +* mew-spam-prog-args: spam2. (line 5) +* mew-spam-prog: spam2. (line 5) +* mew-spam: spam. (line 5) +* mew-ssl-cert-directory: SSL. (line 5) +* mew-ssl-verify-level: SSL. (line 5) +* mew-status-update-hook: hooks. +* mew-summary-delete-folder-hook: hooks. +* mew-summary-exec-hook: hooks. +* mew-summary-form-extract-rule: summary-mode. (line 5) +* mew-summary-form-from-me-prefix: summary-mode. (line 5) +* mew-summary-form-mark-delete: summary-mode. (line 5) +* mew-summary-form-mark-review: summary-mode. (line 5) +* mew-summary-form-mark-spam: summary-mode. (line 5) +* mew-summary-form: summary-mode. (line 5) +* mew-summary-ls-no-scan-hook: hooks. +* mew-summary-mark-direction: summary-mode. (line 5) +* mew-summary-mode-hook: hooks. +* mew-summary-rename-folder-hook: hooks. +* mew-summary-show-direction: summary-mode. (line 5) +* mew-summary-toggle-disp-msg-hook: hooks. +* mew-suspend-hook: hooks. +* mew-syntax-format-hook: hooks. +* mew-theme-file: highlight. (line 5) +* mew-thread-display-hook: hooks. +* mew-thread-separator: thread. (line 5) +* mew-trash-folder: delete mark. (line 5) +* mew-trash-folder-list: delete mark. (line 5) +* mew-use-8bit: smtp. +* mew-use-8bit: status-update. (line 5) +* mew-use-alternative: analysis. +* mew-use-biff-bell: biff. (line 5) +* mew-use-biff: biff. (line 5) +* mew-use-cached-passwd: password. (line 5) +* mew-use-cursor-mark: highlight. (line 5) +* mew-use-fast-refile: by-folder. (line 5) +* mew-use-format-flowed: longline. (line 5) +* mew-use-full-window: summary-mode. (line 5) +* mew-use-header-veil: features. (line 5) +* mew-use-header-veil: status-update. (line 5) +* mew-use-highlight-body: highlight. (line 5) +* mew-use-highlight-cursor-line: highlight. (line 5) +* mew-use-highlight-header: highlight. (line 5) +* mew-use-highlight-mark: highlight. (line 5) +* mew-use-highlight-mouse-line: highlight. (line 5) +* mew-use-highlight-url: highlight. (line 5) +* mew-use-highlight-x-face: highlight. (line 5) +* mew-use-master-passwd: password. (line 5) +* mew-use-node-folder: by-folder. (line 5) +* mew-use-old-pgp: shortcut. (line 5) +* mew-use-old-pgp: status-update. (line 5) +* mew-use-samba-encoding: custom-misc. (line 5) +* mew-use-smtp-auth: smtp. +* mew-use-text-body: analysis. +* mew-use-text/html: analysis. +* mew-use-text/xml: analysis. +* mew-use-thread-separator: thread. (line 5) +* mew-use-unread-mark: unread mark. (line 5) +* mew-user: configuration. (line 5) +* mew-virtual-mode-hook: hooks. +* mew-visit-inbox-after-setting-case: visiting. (line 5) +* mew-visit-queue-after-sending: visiting. (line 5) +* mew-warn-addresses: addr-warn. (line 5) +* mew-warn-domains: addr-warn. (line 5) +* mew-warning-field-level: status-update. (line 5) +* mew-x-pgp-key-list: cipher-viewing. (line 5) +* read-mail-command: configuration. (line 5) + + + + +File: mew.ja.info, Node: Key Index, Prev: Variable Index, Up: Top + +キー索引 +******** + + +* Menu: + +* A (Summary): Composing. (line 5) +* A (Summary): reply. (line 5) +* A (Summary): sum-write. (line 5) +* B (Attach): mark-b-comp. (line 5) +* B (Summary): features. (line 5) +* C (Attach): charset-guess. (line 5) +* C (Attach): mime-comp. (line 5) +* C (Summary): features. (line 5) +* C-b (Attach): mime-comp. (line 5) +* C-cC-a (Draft): mime-comp. (line 5) +* C-cC-a (Summary): addrbook. (line 5) +* C-cC-a (Summary): features. (line 5) +* C-cC-b (Draft): shortcut. (line 5) +* C-cC-c (Addrbook): addrbook. (line 5) +* C-cC-c (Draft): send. (line 5) +* C-cC-c (Edit): edit. (line 5) +* C-cC-c (Header): resend. (line 5) +* C-cC-c (Summary): off-line. (line 5) +* C-cC-c (Summary): send. (line 5) +* C-cC-e (Draft): shortcut. (line 5) +* C-cC-e (Summary): message-mode. (line 5) +* C-cC-f (Draft): longline. (line 5) +* C-cC-f (Summary): cipher-viewing. (line 5) +* C-cC-l (Draft): cite. (line 5) +* C-cC-l (Summary): invalid. (line 5) +* C-cC-m (Draft): send. (line 5) +* C-cC-m (Edit): edit. (line 5) +* C-cC-m (Header): resend. (line 5) +* C-cC-o (Draft): config. (line 5) +* C-cC-o (Summary): visiting. (line 5) +* C-cC-pC-a (Draft): shortcut. (line 5) +* C-cC-pC-e (Draft): shortcut. (line 5) +* C-cC-pC-f (Draft): longline. (line 5) +* C-cC-pC-m (Draft): shortcut. (line 5) +* C-cC-q (Addrbook): Quit. (line 5) +* C-cC-q (Addrbook): addrbook. (line 5) +* C-cC-q (Draft): Quit. (line 5) +* C-cC-q (Header): Quit. (line 5) +* C-cC-q (Summary): Quit. (line 5) +* C-cC-r (Draft): shortcut. (line 5) +* C-cC-r (Summary): features. (line 5) +* C-cC-s (Draft): shortcut. (line 5) +* C-cC-s (Summary): features. (line 5) +* C-cC-t (Draft): cite. (line 5) +* C-cC-v (Summary): cipher-viewing. (line 5) +* C-cC-v (Summary): features. (line 5) +* C-cC-y (Draft): cite. (line 5) +* C-cC-z (Summary): cipher-viewing. (line 5) +* C-cC-z (Summary): features. (line 5) +* C-cTAB (Draft): cheader. (line 5) +* C-cTAB (Draft): cite. (line 5) +* C-cTAB (Summary): analysis. (line 5) +* C-f (Attach): mime-comp. (line 5) +* C-n (Attach): mime-comp. (line 5) +* C-n (Summary): singlepart. (line 5) +* C-p (Attach): mime-comp. (line 5) +* C-p (Summary): singlepart. (line 5) +* C-u: (Summary): analysis. (line 5) +* C-u. (Summary): analysis. (line 5) +* C-u. (Summary): invalid. (line 5) +* C-u/ (Summary): search. (line 5) +* C-u? (Summary): search. (line 5) +* C-uA (Summary): reply. (line 5) +* C-uC-cC-a (Summary): addrbook. (line 5) +* C-uC-cC-e (Summary): message-mode. (line 5) +* C-uC-cC-f (Summary): cipher-viewing. (line 5) +* C-uC-cC-l (Summary): invalid. (line 5) +* C-uD (Summary): delete mark. (line 5) +* C-uD (Summary): features. (line 5) +* C-uM-n (Summary): keyword. (line 5) +* C-uM-o (Summary): auto-refile. (line 5) +* C-uM-p (Summary): keyword. (line 5) +* C-uM-x mew: start. (line 5) +* C-uSPC (Summary): singlepart. (line 5) +* C-uZ (Summary): status-update. (line 5) +* C-ua (Summary): reply. (line 5) +* C-uj (Summary): singlepart. (line 5) +* C-uk/ (Summary): search. (line 5) +* C-ukI (Summary): dialog. (line 5) +* C-umI (Summary): target mark. (line 5) +* C-un (Summary): singlepart. (line 5) +* C-up (Summary): singlepart. (line 5) +* C-us (Summary): retrieving. (line 5) +* C-utt (Summary): thread. (line 5) +* C-uw (Summary): sum-write. (line 5) +* C-x RET l: charset-guess. (line 5) +* C-xm: Composing. (line 5) +* C-xm: start. (line 5) +* D (Attach): mime-comp. (line 5) +* D (Summary): delete mark. (line 5) +* D (Summary): features. (line 5) +* DEL (Summary): singlepart. (line 5) +* E (Attach): mark-b-comp. (line 5) +* E (Summary): sum-write. (line 5) +* F (Attach): mime-comp. (line 5) +* F (Summary): Composing. (line 5) +* F (Summary): forward. (line 5) +* F (Summary): sum-write. (line 5) +* F (Summary): target mark. (line 5) +* G (Attach): mark-b-comp. (line 5) +* I (Attach): charset-guess. (line 5) +* I (Summary): retrieving. (line 5) +* J (Summary): target mark. (line 5) +* M-RET (Summary): singlepart. (line 5) +* M-\ (Summary): target mark. (line 5) +* M* (Summary): unmark. (line 5) +* M-b (Summary): target mark. (line 5) +* M-d (Summary): delete mark. (line 5) +* M-e (Attach): mark-b-comp. (line 5) +* M-e: edit. (line 5) +* M-l (Summary): features. (line 5) +* M-n (Summary): keyword. (line 5) +* M-o (Summary): auto-refile. (line 5) +* M-p (Summary): keyword. (line 5) +* M-s (Attach): mark-b-comp. (line 5) +* M-s (Summary): sorting. (line 5) +* M-t (Summary): target mark. (line 5) +* M-u: unread mark. (line 5) +* M-x mew: Viewing. (line 5) +* M-x mew-send: Composing. (line 5) +* M-x mew-send: start. (line 5) +* M-x mew: start. (line 5) +* Md (Summary): delete mark. (line 5) +* N (Summary): target mark. (line 5) +* P (Attach): mime-comp. (line 5) +* P (Summary): target mark. (line 5) +* Q (Attach): mark-b-comp. (line 5) +* Q (Summary): Quit. (line 5) +* RET (Summary): singlepart. (line 5) +* Rd (Summary): features. (line 5) +* Rr (Summary): features. (line 5) +* S (Attach): mark-b-comp. (line 5) +* S (Summary): sorting. (line 5) +* SPC (Summary): singlepart. (line 5) +* : (Summary): analysis. (line 5) +* , (Summary): analysis. (line 5) +* . (Summary): analysis. (line 5) +* ; (Summary): features. (line 5) +* = (Summary): features. (line 5) +* | (Summary): features. (line 5) +* # (Summary): features. (line 5) +* _ (Summary): features. (line 5) +* _ (Summary): longline. (line 5) +* / (Summary): search. (line 5) +* ? (Summary): search. (line 5) +* - (Summary): singlepart. (line 5) +* * (Summary): target mark. (line 5) +* T (Attach): mime-comp. (line 5) +* TAB (Draft): header. (line 5) +* U (Attach): mark-b-comp. (line 5) +* U (Summary): unmark. (line 5) +* V (Summary): dialog. (line 5) +* ) (Virtual): thread. (line 5) +* ( (Virtual): thread. (line 5) +* & (Virtual): thread. (line 5) +* ^ (Virtual): thread. (line 5) +* W (Summary): resend. (line 5) +* W (Summary): sum-write. (line 5) +* Z (Attach): mark-b-comp. (line 5) +* Z (Summary): auto-alias. (line 5) +* Z (Summary): status-update. (line 5) +* a (Attach): mime-comp. (line 5) +* a (Summary): Composing. (line 5) +* a (Summary): reply. (line 5) +* a (Summary): sum-write. (line 5) +* b (Summary): features. (line 5) +* c (Attach): mime-comp. (line 5) +* d (Attach): mime-comp. (line 5) +* d (Summary): delete mark. (line 5) +* e (Attach): mime-comp. (line 5) +* f (Attach): mime-comp. (line 5) +* f (Summary): Composing. (line 5) +* f (Summary): forward. (line 5) +* f (Summary): sum-write. (line 5) +* g (Summary): moving. (line 5) +* i (Attach): mime-comp. (line 5) +* i (Summary): retrieving. (line 5) +* i (Summary): send. (line 5) +* j (Summary): singlepart. (line 5) +* k/ (Summary): search. (line 5) +* k? (Summary): search. (line 5) +* kI (Summary): dialog. (line 5) +* kM: dbsearch. (line 5) +* kc: dbsearch. (line 5) +* km: dbsearch. (line 5) +* lc (Summary): copy-msg. (line 5) +* lh (Summary): spam2. (line 5) +* li (Summary): copy-msg. (line 5) +* ls (Summary): spam2. (line 5) +* lx: off-line. (line 5) +* m (Attach): mime-comp. (line 5) +* m* (Summary): mark change. (line 5) +* m$ (Summary): mark change. (line 5) +* m*: escape mark. (line 5) +* m$: escape mark. (line 5) +* mI (Summary): target mark. (line 5) +* mM-d (Summary): delete mark. (line 5) +* mM-d (Summary): mark change. (line 5) +* mM-u (Summary): mark change. (line 5) +* ma (Summary): target mark. (line 5) +* mc (Summary): mark change. (line 5) +* md (Summary): delete mark. (line 5) +* md (Summary): mark change. (line 5) +* mlc (Summary): copy-msg. (line 5) +* mli (Summary): copy-msg. (line 5) +* mo (Summary): mark change. (line 5) +* mr (Summary): target mark. (line 5) +* ms (Summary): mark change. (line 5) +* mt (Summary): thread. (line 5) +* mxM-d (Summary): delete mark. (line 5) +* mxd (Summary): delete mark. (line 5) +* n (Summary): singlepart. (line 5) +* o (Summary): refile mark. (line 5) +* p (Attach): mime-comp. (line 5) +* p (Attach): pgp-key. (line 5) +* p (Summary): singlepart. (line 5) +* q (Summary): Quit. (line 5) +* r (Summary): resend. (line 5) +* s (Summary): off-line. (line 5) +* s (Summary): retrieving. (line 5) +* t (Attach): mime-comp. (line 5) +* t (Virtual): thread. (line 5) +* t* (Virtual): thread. (line 5) +* tM-d (Virtual): thread. (line 5) +* tSPC (Virtual): thread. (line 5) +* ta (Virtual): thread. (line 5) +* td (Virtual): thread. (line 5) +* tg (Virtual): thread. (line 5) +* tn (Virtual): thread. (line 5) +* to (Virtual): thread. (line 5) +* tp (Virtual): thread. (line 5) +* tr (Summary): thread. (line 5) +* tt (Summary): thread. (line 5) +* tu (Virtual): thread. (line 5) +* u (Summary): unmark. (line 5) +* v (Summary): features. (line 5) +* w (Summary): Composing. (line 5) +* w (Summary): sum-write. (line 5) +* x (Summary): Marks. (line 5) +* x (Summary): delete mark. (line 5) +* x (Summary): unmark. (line 5) +* y (Attach): mime-comp. (line 5) +* y (Summary): features. (line 5) +* z8 (Summary): status-update. (line 5) +* zSPC: unread mark. (line 5) +* zc (Summary): status-update. (line 5) +* zd (Summary): status-update. (line 5) +* zo (Summary): status-update. (line 5) +* zp (Summary): status-update. (line 5) +* zv (Summary): features. (line 5) +* zv (Summary): status-update. (line 5) +* zw (Summary): status-update. (line 5) +* zz (Summary): message-mode. (line 5) + +Tag table: +Node: Top288 +Node: Overview1325 +Node: characteristic1968 +Node: Emacsen2980 +Node: modes3158 +Node: folder convention3668 +Node: configuration5541 +Node: password7870 +Node: start9449 +Node: Viewing10214 +Node: singlepart11193 +Node: multipart12097 +Node: analysis14362 +Node: cipher-viewing16623 +Node: retrieving19502 +Node: moving22065 +Node: sum-write23630 +Node: features25094 +Node: status-update26668 +Node: invalid27369 +Node: Composing28665 +Node: header30173 +Node: cheader30847 +Node: addr-comp32052 +Node: addrbook33047 +Node: auto-alias35186 +Node: addr-comp136196 +Node: addr-comp237889 +Node: send39250 +Node: cite41360 +Node: mime-comp42761 +Node: charset-guess48340 +Node: longline50560 +Node: reply51696 +Node: forward54701 +Node: resend55293 +Node: shortcut56474 +Node: mark-b-comp59886 +Node: pgp-key62300 +Node: anonymous62875 +Node: Marks63850 +Node: unread mark64993 +Node: delete mark65865 +Node: refile mark67450 +Node: target mark68443 +Node: escape mark69504 +Node: unmark70019 +Node: mark change70636 +Node: sync71501 +Node: off-line72194 +Node: mew-mark73461 +Node: Refile73989 +Node: by-folder75137 +Node: by-alist76318 +Node: by-thread77972 +Node: by-from-folder78588 +Node: by-from79541 +Node: by-newsgroups80752 +Node: by-default80987 +Node: guess-rule81344 +Node: auto-refile82872 +Node: copy-msg84573 +Node: Virtual85442 +Node: selection86560 +Node: sorting87066 +Node: dialog88344 +Node: search89010 +Node: condition89647 +Node: dbsearch91385 +Node: keyword92267 +Node: thread92766 +Node: thread-op93571 +Node: Quit94887 +Node: Customize95310 +Node: summary-mode95998 +Node: message-mode98787 +Node: draft-mode101380 +Node: charset103475 +Node: highlight105101 +Node: hooks107141 +Node: pop110547 +Node: imap111629 +Node: nntp112640 +Node: smtp113759 +Node: config115496 +Node: config2120010 +Node: custom-misc121166 +Node: Tips121883 +Node: region122410 +Node: visiting122919 +Node: SSH123281 +Node: SSL123878 +Node: TLS125429 +Node: spam126140 +Node: spam2127891 +Node: addr-warn129010 +Node: biff129783 +Node: edit130265 +Node: Convention131025 +Node: Implementation132065 +Node: Avail133524 +Node: obtain133773 +Node: ml133997 +Node: Copyright134188 +Node: Variable Index135196 +Node: Key Index150455 + +End tag table -- 2.47.3