bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16225: eww: machinery to set character encoding


From: Ivan Shmakov
Subject: bug#16225: eww: machinery to set character encoding
Date: Sun, 23 Nov 2014 18:24:53 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Kenjiro Nakayama <nakayamakenjiro@gmail.com> writes:

 > @@ -1307,6 +1314,16 @@ Differences in #targets are ignored."
 >      (setq count (1+ count)))
 >        (expand-file-name file directory)))

 > +(defun eww-set-character-encoding (encode)
 > +  "Set character encoding."
 > +  (interactive "sSet Character Encoding (default utf-8): ")

        Could this please be changed to use read-coding-system, just
        like the rest of Emacs (say, universal-coding-system-argument)?

        TIA.

 > +  (cond ((zerop (length encode))
 > +    (eww-reload 'utf-8))
 > +       (t
 > +    (if (not (coding-system-p (intern encode)))
 > +        (user-error "Invalid encodeing type.")
 > +      (eww-reload (intern encode))))))
 > +
 >  ;;; Bookmarks code

 >  (defvar eww-bookmarks nil)

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A





reply via email to

[Prev in Thread] Current Thread [Next in Thread]