X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=NEWS;h=20be678a7d8fc1eefabb66e3220cb4a5507c08ce;hb=2d97a4ee63054c8df371a116dcd7aa40280040d5;hp=b8afad27364a17847b53f393ab05423e370149c0;hpb=48e58685138f174eeaa2e653b155ba923c3e6b7a;p=elisp%2Fsemi.git diff --git a/NEWS b/NEWS index b8afad2..20be678 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,230 @@ SEMI NEWS --- history of major-changes. Copyright (C) 1998 Free Software Foundation, Inc. + +* Changes in SEMI 1.6 + +** Abolish tm-compatible external method support + + Abolish tm-compatible external method support. Please use mailcap +method instead of it. + + +** Abolish `mime-edit-signing-type' and `mime-edit-encrypting-type' + + C-c C-m C-s encloses as "pgp-signed" which means PGP/MIME signature. + + C-c C-m C-e encloses as "pgp-encrypted" which means PGP/MIME +encryption. + + +** New interface to display message + +- Function `mime-view-buffer' +- Function `mime-view-display-message' + + +** Change interface of internal playback method + + Interface of internal playback method was changed to + + (entity situation) + +It is as same as interface of body-presentation-method. + + +** Change interface of `mime-view-entity-button-visible-p' + +** Change interface of `mime-view-insert-entity-button' + + +** `mime-preview-original-major-mode' + + Abolish variable `mime-preview-original-major-mode'. + + Please use function `mime-preview-original-major-mode' instead of +it. + + +** mime-preview-over-to-{previous|next}-method-alist + + `mime-preview-over-to-{previous|next}-method-alist' were renamed +from `mime-view-over-to-{previous|next}-method-alist'. + + +* Changes in SEMI 1.5 + +** mime-w3 + + Add inline text/html preview feature using w3. If +`mime-setup-enable-inline-html' is not nil, semi-setup.el sets up it. + + +** `pgp-elkins' -> `pgp-mime' + + Rename `pgp-elkins' -> `pgp-mime'. Variable +`mime-edit-signing-type' and `mime-edit-encrypting-type' does not +allow `pgp-elkins'. + + +** type-subtype-score + + Now MIME-View chooses one entity to display body in +multipart/alternative. In this mechanism, +`mime-view-type-subtype-score-alist' is used to specify priority of +each entity. + + Variable `mime-view-type-subtype-score-alist' is alist of +TYPE-SUBTYPE vs. SCORE. TYPE-SUBTYPE is cons pair (TYPE . SUBTYPE), +symbol TYPE or t. TYPE and SUBTYPE are symbol. `t' means default. +SCORE is integer. Larger number is larger priority. + + +** text presentation + + Change text presentation mechanism. In anything older than SEMI +1.4, text presentation mechanism is based on filter model. However it +has design problem about conversion between byte representation and +text presentation. So SEMI was changed to use +body-presentation-method to display text entity. In this purpose, old +text decoding features were abolished and introduces news features +(cf. next section). + + +** mime-raw-representation-type and mime-raw-representation-type-alist + + Abolish `mime-text-decoder' and `mime-text-decoder-alist' because of +text presentation mechanism change (cf. previous section). Instead of +it, SEMI introduces variable about representation-type of +mime-raw-buffer. If it is `binary', mime-raw-buffer is as same as +network representation. If it is `cooked', mime-raw-buffer is +code-converted. + + `mime-raw-representation-type-alist' is an alist of major-mode +vs. representation-type. Each element looks like + + (SYMBOL . REPRESENTATION-TYPE). + +SYMBOL is major-mode or t. t means default. + + `mime-raw-representation-type' is a buffer local variable of +mime-raw-buffer. If it is non-nil, it overrides +`mime-raw-representation-type-alist'. + + In addition, `mime-raw-buffer-coding-system-alist' was abolished. +Because representation-type has enough information. + + +* Changes in SEMI 1.4 + +** mailcap + + mailcap was supported to set up 'mime-acting-condition. + + tm-external-method scripts written by born shell were abolished. + + +** mime-add-condition + + New function to set up 'mime-preview-condition and/or +'mime-acting-condition. + + +** signature setting in semi-setup.el + + Abolish MUA depended signature setting. + + Setting for mail-mode were moved to mail-mime-setup.el. + + +* Changes in SEMI 1.3 + +** mime-acting-condition + + Format of variable 'mime-acting-condition was changed from `atype' +to `condition tree'. Its format is as same as +'mime-preview-condition. + + If there are two or more conditions are found when matching, menu +pops up to select method to run. Selected situation will be added to +example database. (cf. mime-acting-situation-examples-file) + +** New variables + +*** mime-view-find-every-acting-situation + + Find every available acting-situation if non-nil. + +*** mime-acting-situation-examples-file + + File name of example about acting-situation demonstrated by + user. + + +* Changes in SEMI 1.2 + +** User setting + +*** hooks + + 'mime-view-plain-text-preview-hook was renamed to +'mime-preview-text/plain-hook. + +*** Variable + + Variable 'mime-view-childrens-header-showing-Content-Type-list was +abolished. Please use 'mime-preview-condition instead. + +*** API about visible-predicates were abolished + + Following functions were abolished: + + mime-view-header-visible-p (entity message-info) + + mime-view-body-visible-p (entity message-info) + + mime-view-entity-separator-visible-p (entity message-info) + +Please use 'mime-preview-condition instead. + + Function 'mime-view-entity-button-visible-p is not abolished, but it +is obsoleted. + +*** mime-preview-condition + + Following are added as pre-defined keys: + + 'childrens-situation default preview-situation for children + 'message-button to specify to display message-button + nil: default (invisible) + 'visible: visible + 'invisible: invisible + 'entity-button to specify to display entity-button + nil: default (visible) + 'visible: visible + 'invisible: invisible + 'header to specify to display header + nil: default (invisible) + 'visible: visible + 'invisible: invisible + +** API + +*** Interface for body-filter + + 'mime-view-filter-for-* was renamed to 'mime-preview-filter-for-*. + + +*** mime-text-decode-body + + Function 'mime-decode-text-body was renamed to +'mime-text-decode-body and changed interface. New interface is +following: + + mime-text-decode-body (SITUATION) + +SITUATION is preview-situation. Content-Transfer-Encoding and +MIME-charset are specified in field of it. + * Changes in SEMI 1.1 @@ -7,15 +232,16 @@ Copyright (C) 1998 Free Software Foundation, Inc. *** Setting variable about visible body - `mime-view-visible-media-type-list' was abolished. Please use -`mime-view-body-visible-condition' instead. + 'mime-view-visible-media-type-list and +'mime-view-content-filter-alist were abolished. Please use +'mime-preview-condition instead. - Notice that `mime-view-body-visible-condition' is not list of -media-type/subtype string. It uses new data-structure `ctree' -(condition-tree; it is introduced to replace `atype'). Function -`ctree-set-calist-strictly' and `ctree-set-calist-with-default' may be -useful to modify it (`calist' (condition-alist) is as same as -`atype'). + Notice that 'mime-preview-condition is not list of +media-type/subtype string nor association-list. It uses new +data-structure `ctree' (condition-tree; it is introduced to replace +`atype'). Function 'ctree-set-calist-strictly and +'ctree-set-calist-with-default may be useful to modify it (`calist' +(condition-alist) is as same as `atype'). *** API about visible-predicates @@ -36,16 +262,63 @@ New interfaces are following: *** entity representation - Structure `mime-entity-info' was renamed to `mime-entity'. So -various functions were renamed too. + Structure 'mime-entity-info was renamed to 'mime-entity. So various +functions were renamed too. -*** Interface for generators or filters for entity elements +*** Interface for entity-button generators - Interface of generators or filters for entity elements were changed. -New interfaces are following: + Interface of entity-button generators was changed. New interfaces +is following: + + mime-view-insert-entity-button (entity message-info subject) + + +*** mime-preview-condition and preview-situation + + Conditions about preview generation are unified to +'mime-preview-condition. Namely other variables, such as +'mime-view-visible-media-type-list, 'mime-view-content-filter-alist, +'mime-view-image-converter-alist were abolished. + + Preview-situation is generated from entity information, running +environment and 'mime-preview-condition. These elements are checked +to match with each other. (it is similar to acting-situation) + + Format of preview-situation is association-list. Following key is +pre-defined: + + 'type media-type + 'subtype media-subtype + 'encoding content-transfer-encoding + 'major-mode major-mode of MUA + attribute of Content-Type field. + 'body-presentation-method body-presentation-method + +If 'body-presentation-method is 'with-filter, 'body-filter is used to +specify body-filter function. If 'body-presentation-method is +function, it is called to generate presentation of entity body. + +Body-filter function 'mime-view-filter-for-image refers 'image-format. + +Setting for message/partial button is specified by +'mime-preview-condition instead of hard-coding. + + +*** Interface for body-filter + + Interface of body-filter was changed. New interfaces is following: + + (situation) + +Current pre-defined filters are following: + + mime-view-filter-for-text/plain (situation) + mime-view-filter-for-text/richtext (situation) + mime-view-filter-for-text/enriched (situation) + mime-view-filter-for-image (situation) ; if available - mime-view-insert-entity-button (entity message-info subj) +'mime-view-filter-for-application/postscript was abolished. *** Format of mime-acting-condition (acting-situation)