~ubuntu-branches/ubuntu/jaunty/flim/jaunty

« back to all changes in this revision

Viewing changes to mel.el

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2008-03-28 22:10:59 UTC
  • mfrom: (2.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080328221059-z2i8w100n00lnhnu
Tags: 1:1.14.9-2
* debian/emacsen-startup: Set base64-internal-decoding-limit and
  base64-internal-encoding-limit to 0 for emacs-unicode, suggested by
  Clemens Fruhwirth, [wl-en:02341] on 2008-03-28.
* debian/control:
  - Move `Homepage:' from Description to the header.
  - Set Standards-Version to 3.7.3.
  - Build-Depends: debhelper (>= 6).
* debian/compat: 5 -> 6.
* debian/copyright: Updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
               (binary-insert-encoded-file filename)
177
177
               (buffer-string))))
178
178
    (or (bolp) (insert ?\n)))
 
179
  (mel-define-method mime-write-decoded-region (start end filename
 
180
                                                      (nil "base64"))
 
181
    "Decode the region from START to END and write out to FILENAME."
 
182
    (interactive "*r\nFWrite decoded region to file: ")
 
183
    (let ((str (buffer-substring start end)))
 
184
      (with-temp-buffer
 
185
        (insert str)
 
186
        (base64-decode-region (point-min) (point-max))
 
187
        (write-region-as-binary (point-min) (point-max) filename))))
179
188
    
180
189
  ;; (mel-define-method-function (encoded-text-encode-string string (nil "B"))
181
190
  ;;                             'base64-encode-string)