(wl-plugged-redrawing-switch, wl-plugged-toggle): Use `(string-to-char " ")' instead of `? ', `?\ '.
* wl-action.el (wl-summary-print-argument): Ditto.
* wl-address.el (wl-complete-field-body): Ditto.
* wl-demo.el (wl-demo-insert-image): Ditto.
* wl-summary.el (wl-summary-edit-addresses-subr): Ditto.
* wl-util.el (wl-ask-folder, wl-set-string-width)
(wl-y-or-n-p-with-scroll): Ditto.
2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl.el (wl-plugged-server-indent, wl-plugged-drawing)
+ (wl-plugged-redrawing-switch, wl-plugged-toggle): Use
+ `(string-to-char " ")' instead of `? ', `?\ '.
+ * wl-action.el (wl-summary-print-argument): Ditto.
+ * wl-address.el (wl-complete-field-body): Ditto.
+ * wl-demo.el (wl-demo-insert-image): Ditto.
+ * wl-summary.el (wl-summary-edit-addresses-subr): Ditto.
+ * wl-util.el (wl-ask-folder, wl-set-string-width)
+ (wl-y-or-n-p-with-scroll): Ditto.
+
* wl-addrmgr.el(wl-addrmgr-mark-write): Use `string-to-char'
instead of `? '. Use `point-at-bol' and `point-at-eol'. Remove
verbose point move.
(put-text-property rs re 'invisible t))
(when (and width
(> (setq padding (- width len c)) 0))
- (setq data (concat (make-string padding ?\ ) data)))
+ (setq data (concat (make-string padding (string-to-char " "))
+ data)))
(setq rs (1- re))))
(put-text-property rs re 'wl-summary-action-argument t)
(goto-char re)
((and epand-char
(> len 0)
(or (char-equal (aref pattern (1- len)) epand-char)
- (char-equal (aref pattern (1- len)) ?\ ))
+ (char-equal (aref pattern (1- len)) (string-to-char " ")))
(assoc (substring pattern 0 (1- len)) cl))
(wl-complete-insert
start end
file image-type)))))
(when (eq 'xbm image-type)
(set-glyph-face image 'wl-highlight-logo-face))
- (insert-char ?\ (max 0 (/ (+ (* (- width (glyph-width image))
- (window-width)) width)
- (* 2 width))))
+ (insert-char (string-to-char " ")
+ (max 0 (/ (+ (* (- width (glyph-width image))
+ (window-width)) width)
+ (* 2 width))))
(set-extent-end-glyph (make-extent (point) (point)) image)
(insert "\n")
(/ (+ (* 2 (glyph-height image) (window-height)) height)
the-email)
(while (not (or (eq (setq char (read-char)) ?\r)
(eq char ?\n)
- (eq char ? )
+ (eq char (string-to-char " "))
(eq char ?e)
(eq char ?c)
(eq char ?d)))
((or (eq char ?e)
(eq char ?\n)
(eq char ?\r)
- (eq char ? ))
+ (eq char (string-to-char " ")))
;; Change Addresses
(wl-address-add-or-change
the-email
(string-to-char (format "%s" (this-command-keys))))))
(message "%s" mes-string)
(setq key (car (setq keve (wl-read-event-char))))
- (if (or (equal key ?\ )
+ (if (or (equal key (string-to-char " "))
(and cmd
(equal key cmd)))
(progn
(abs width))))
(let ((paddings (make-string
(max 0 (- (abs width) (string-width string)))
- (or padding ?\ ))))
+ (or padding (string-to-char " ")))))
(if (< width 0)
(concat paddings string)
(concat string paddings)))))
(if (= (current-column) (abs width))
string
(let ((paddings (make-string (- (abs width) (current-column))
- (or padding ?\ ))))
+ (or padding (string-to-char " ")))))
(if (< width 0)
(concat paddings string)
(concat string paddings))))))))
(cdr (wl-read-event-char prompt)))
((?y ?Y)
(throw 'done t))
- (?\
+ ((string-to-char " ")
(if scroll-by-SPC
(ignore-errors (scroll-up))
(throw 'done t)))
wl-plugged-plug-off)))
(defun wl-plugged-server-indent ()
- (make-string wl-plugged-server-indent ? ))
+ (make-string wl-plugged-server-indent (string-to-char " ")))
(defun wl-plugged-set-variables ()
(setq wl-plugged-sending-queue-alist
;; port plug
(setq line
(format "%s[%s]%s"
- (make-string wl-plugged-port-indent ? )
+ (make-string wl-plugged-port-indent (string-to-char " "))
(wl-plugged-string plugged time)
(cond
((stringp port)
(defun wl-plugged-redrawing-switch (indent switch &optional time)
(beginning-of-line)
(when (re-search-forward
- (format "^%s\\[\\([^]]+\\)\\]" (make-string indent ? )))
+ (format "^%s\\[\\([^]]+\\)\\]"
+ (make-string indent (string-to-char " "))))
(goto-char (match-beginning 1))
(delete-region (match-beginning 1) (match-end 1))
(insert (wl-plugged-string switch time))
(let (variable switch name)
(goto-char cur-point)
(when (and (not (bobp))
- (not (eq (char-before) ? )))
+ (not (eq (char-before) (string-to-char " "))))
(if (re-search-backward " [^ ]+" nil t)
(forward-char 1)
(re-search-backward "^[^ ]+" nil t)))