2002-02-25 TSUCHIYA Masatoshi * w3m-proc.el (w3m-process-filter): Use `ignore-errors' instead of `condition-case'. (w3m-process-y-or-n-p): Regist answers only when they have non-nil values. 2002-02-24 TSUCHIYA Masatoshi * w3m-perldoc.el: New file. * w3m.el (top): Add autoload for `w3m-perldoc.el'. (w3m-tmp-urluser-alist): Abolished. (w3m-read-file-name): Call `w3m-url-strip-query'. (w3m-download): Ditto. (w3m-w3m-get-header): Accept URLs which includes authentication information like scheme://user:pass@netloc/. Set `w3m-current-url' before `w3m-process-start' is called. (w3m-w3m-dump-head-source): Ditto. (w3m-retrieve): Call `w3m-url-strip-fragment'. (w3m-retrieve-and-render): Modified to accept URLs which includes authentication information. Do not set `w3m-current-url'. (w3m-goto-url): Modified to accept URLs which includes authentication information and to pass them through to sub-routines. (w3m): Small modified to accept URLs which includes authentication information. * w3m-util.el (w3m-url-authinfo-regexp): New internal constant. (w3m-url-authinfo): New function. (w3m-url-strip-authinfo): Ditto. (w3m-url-strip-fragment): Ditto. (w3m-url-strip-query): Ditto. * w3m-proc.el (top): No bind `w3m-tmp-urluser-alist'. (w3m-process-authinfo-alist): Renamed from `w3m-process-user-alist'. (w3m-process-accept-list): Abolished. (w3m-process-accept-alist): New internal variable. (w3m-process-user-counter): Abolished. (w3m-process-start-process): In order to set `w3m-process-user' and `w3m-process-passwd' call `w3m-url-authinfo', instead of refering `w3m-tmp-urluser-alist'. (w3m-process-stop): Reset `w3m-process-authinfo-alist' and `w3m-process-accept-alist'. (w3m-process-sentinel): Regist an authentication information only when `w3m-process-realm' is set. (w3m-process-filter): Call `w3m-process-y-or-n-p' instead of `w3m-process-accept-get' and `w3m-process-accept-set'. When a user name and a password of a proxy server are reasked, their old values are discarded. Reconstruct the part checking user names and passwords. (w3m-process-get-server-root): Its regular expression are small modified. Call `w3m-url-strip-authinfo'. (w3m-process-get-user): Removed. (w3m-process-get-passwd): Ditto. (w3m-process-set-user): Ditto. (w3m-process-accept-get): Ditto. (w3m-process-accept-set): Ditto. (w3m-process-set-authinfo): New function. (w3m-process-read-user): Ditto. (w3m-process-read-passwd): Ditto. (w3m-process-y-or-n-p): Ditto. 2002-02-23 OHASHI Akira * shimbun/sb-debian.el (shimbun-debian-fetch-headers-max): New variable. (shimbun-debian-get-headers): New macro for handling date. (shimbun-get-headers): Use it and handle multi pages. (Implemented by YAMASHITA Junji ) 2002-02-19 OHASHI Akira * shimbun/sb-pcweb-column.el: New file. 2002-02-14 Hideyuki SHIRAI * w3m.el (w3m-modeline-ssl-image-status-on) (w3m-modeline-ssl-status-off): New constants. (w3m-current-ssl): New buffer local variable. (w3m-clear-local-variables, w3m-copy-local-variables): Handling `w3m-current-ssl'. (w3m-w3m-attributes): When detect `W3m-ssl-certificate:' header, set `w3m-current-ssl'. Skip reading of folded lines of each header. (w3m-buffer-setup): Display SSL indicator at mode-line. (w3m-about-header): Display SSL information when exist `W3m-ssl-certificate:' header. 2002-02-14 TSUCHIYA Masatoshi * shimbun/sb-mhonarc.el (shimbun-mhonarc-optional-headers): Add `x-mail-count'. 2002-02-13 Katsumi Yamaoka * w3m.el (w3m-read-file-name): Strip the query part from a default file name. (w3m-download): Ditto. (w3m-url-components-regexp): Move forward. * mime-w3m.el: Always require `font' under XEmacs. * shimbun/sb-debian.el (shimbun-debian-groups): Add debian-med, debian-newmaint-discuss, debian-qa-packages, debian-ssh, debian-user-de and debian-user-german. 2002-02-12 Katsumi Yamaoka * w3m.el (w3m-async-exec): Default to nil under MacOS X. 2002-02-12 Hideyuki SHIRAI * w3m-e21.el (w3m-setup-favicon): Fix handling of `w3m-about-xxxx-favicon'. 2002-02-10 NAKAJIMA Mikio * shimbun/sb-ruby.el (shimbun-make-contents): Bug fixed. 2002-02-10 Takaaki MORIYAMA * shimbun/sb-ruby.el (shimbun-get-headers): Fixed the regexp. 2002-02-10 OHASHI Akira * shimbun/sb-debian.el (shimbun-debian-groups): Add `debian-med'. 2002-02-10 TSUCHIYA Masatoshi * shimbun/sb-mhonarc.el (shimbun-make-contents): Fix the last change. 2002-02-09 TSUCHIYA Masatoshi * shimbun/sb-mhonarc.el (shimbun-mhonarc-optional-headers): New internal variable. (shimbun-make-contents): Optional headers which are registerd in the variable are inserted to an article. 2002-02-08 Yuuichi Teranishi * w3m.el (w3m-icon-data): New buffer local variable. (w3m-clear-local-variables): Add `w3m-icon-data'. (w3m-copy-local-variables): Ditto. (w3m-fontify-anchors): Setup `w3m-icon-data'. (w3m-check-link-tags): Parse `type' of link attribute; Set `w3m-icon-data' if `icon' rel attribute exist. (w3m-goto-url): Added local variable real-data. * w3m-e21.el (w3m-favicon-cache-favicon): Added compatibility code. (w3m-setup-favicon): Use w3m-icon-data if it exists; Changed first argument for `w3m-retrieve-favicon'. (w3m-buffer-favicon): Use car of `w3m-current-favicon-data' as image data and cdr as image type. (w3m-retrieve-favicon): Changed first argument to cons cell of image data and its type. 2002-02-08 Katsumi Yamaoka * w3m.el (w3m-save-list): Allow the 4th arg `escape-ctl-chars'. (w3m-arrived-shutdown): Call it with the 4th arg. * w3m-antenna.el (w3m-antenna-shutdown): Call `w3m-save-list' with the 4th arg. 2002-02-08 Yuuichi Teranishi * w3m.el (w3m-pixels-per-line): Renamed from w3m-pixel-per-line; Fixed custom type. (w3m-pixels-per-character): Likewise. (w3m-rendering-half-dump): Follow the changes above. 2002-02-08 TSUCHIYA Masatoshi * w3m.el (w3m-type): Considerd as an internal variable. (w3m-options): Removed. (w3m-compile-options): New internal variable. (toplevel): Set `w3m-compile-options' instead of `w3m-options'. (w3m-treat-image-size): Refer `w3m-compile-options' instead of `w3m-options'. (w3m-rendering-half-dump): Ditto. (w3m-local-file-type): When a remote URL is passed, refer its non-directory part to decide its content type. (w3m-touch-file): Bind `default-directory' locally. 2002-02-08 Yuuichi Teranishi * w3m.el (w3m-pixel-per-line): New user option. (w3m-rendering-half-dump): Use `w3m-pixel-per-line' as the -ppl argument of the w3m command. (w3m-pixel-per-character): New user option. (w3m-rendering-half-dump): Use `w3m-pixel-per-character' as the -ppc argument of the w3m command. 2002-02-07 Yuuichi Teranishi * w3m-e21.el (w3m-favicon-size): Set default value to nil. (w3m-buffer-favicon): If w3m-favicon-size is nil, detect frame char height and use it. * w3m.el (w3m-command): Set default value to nil. (w3m-type): Ditto. (w3m-options): New user option. (toplevel): Set w3m-command, w3m-type and w3m-options. (w3m-treat-image-size): New user option. (w3m-rendering-half-dump): Set rendering options -o display_image=on/off, -ppc, -ppl according to the value of `w3m-treat-image-size'. 2002-02-07 Katsumi Yamaoka * w3m-util.el (w3m-display-message): New macro. * w3m.el (w3m-make-help-echo): Clear the echo area when Emacs 21 is running; use the modern styles of backquote. (w3m-make-balloon-help): Use the modern styles of backquote. (w3m-toggle-inline-image): Use `w3m-display-message' instead of `message' to say a trivial message. (w3m-view-this-url): Ditto. (w3m-submit-form): Ditto. (w3m-view-image): Ditto. (w3m-save-image): Ditto. (w3m-download-this-url): Ditto. (w3m-print-current-url): Ditto. (w3m-print-this-url): Ditto. (w3m-edit-this-url): Ditto. (w3m-quit): Ditto. (w3m-goto-ftp-url): Ditto. (w3m-select-buffer): Ditto. (w3m-select-buffer-show-this-line): Ditto. (w3m-select-buffer-show-this-line-and-switch): Ditto. 2002-02-07 TSUCHIYA Masatoshi * w3m.el (w3m-after-cursor-move-hook): New option. (w3m-check-current-position): New function. (w3m-print-this-url-after-command): Removed. (w3m-buffer-setup): Set `w3m-check-current-position' to `post-command-hook', instead of `w3m-print-this-url-after-command'. (w3m-add-local-hook): Check version of Emacsen dynamically. * w3m-e21.el (w3m-add-local-hook): New function. 2002-02-07 Yuuichi Teranishi * w3m.el (w3m-fontify-images): Changed regexp to more generic one to search img_alt tag. (w3m-toggle-inline-images-internal): Fixed image redisplay flickers. 2002-02-06 Katsumi Yamaoka * w3m.el (w3m-halfdump-command-common-arguments): Replace `frame-width' with `window-width'. (w3m-about-db-history): Ditto. 2002-02-05 Hideyuki SHIRAI * w3m-proc.el (w3m-process-accept-list): New internal variable. (w3m-process-filter): Watch `accept? (y/n)' for certification. (w3m-process-accept-get, w3m-process-accept-set): New functions. 2002-02-05 Katsumi Yamaoka * w3m-xmas.el (w3m-make-ccl-coding-system): Alias to `ignore' if no-MULE (the feature `mule' is not provided). (coding-system-category): Ditto. (define-ccl-program): Define it as an empty macro if no-MULE. * w3m.el (TopLevel): Don't require `ccl' if no-MULE. (w3m-accept-japanese-characters): Default to nil if no-MULE. (w3m-coding-system): Default to `iso-8859-1' if no-MULE. (w3m-output-coding-system): Ditto. (w3m-file-coding-system): Ditto. (w3m-toolbar): Don't express some Japaneses chars directly. * w3mhack.el (w3mhack-examine-modules): Don't byte-compile w3m-ucs.el, shimbun modules, mime-w3m.el, octet.el and w3m-weather.el if no-MULE. 2002-02-05 TSUCHIYA Masatoshi * w3m.el (w3m-meta-content-type-charset-regexp) (w3m-meta-charset-content-type-regexp) (w3m-meta-refresh-content-regexp) (w3m-meta-content-refresh-regexp): Remove redundant double quote. * w3m.el (w3m-content-prepare-functions): New internal contsant. (w3m-prepare-content): Refer it. (w3m-prepare-text-content): New function. (w3m-prepare-image-content): Ditto. 2002-02-05 Hideyuki SHIRAI * w3m.el (w3m-meta-charset-content-type-regexp) (w3m-meta-content-refresh-regexp): Allow broken quotation mark. 2002-02-05 TSUCHIYA Masatoshi * w3m.el (w3m-touch-file): Robust checking. 2002-02-05 Hideyuki SHIRAI * w3m-util.el (w3m-which-command): If called with `not string', return nil. 2002-02-05 TSUCHIYA Masatoshi * w3m.el (w3m-touch-file-avaiable-p): New internal variable. (w3m-touch-file): Check the validity of `touch' command. 2002-02-05 ARISAWA Akihiro * w3m.el (w3m-touch-file): Call touch command with "-t time" instead of "-d time". 2002-02-05 TSUCHIYA Masatoshi * w3m.el (w3m-touch-command): New option. (w3m-touch-file): New function. (w3m-download): Call it. (w3m-toggle-inline-images-internal): Fix inconsistency of text properties when images are not downloaded. (w3m-toggle-inline-image): Simplified. (w3m-toggle-inline-images): Ditto. 2002-02-04 Katsumi Yamaoka * w3m-util.el (w3m-prin1): New function. * w3m.el (w3m-save-list): Use it instead of `prin1'. * w3mhack.el, w3m.el, w3m-xmas.el, w3m-om.el: Say emacs-w3m not Emacs-W3M. 2002-02-04 Katsumi Yamaoka * mime-w3m.el (mime-w3m-mode-dont-bind-keys): New variable. (mime-w3m-setup): Don't bind keys listed in the above. * w3m.el (w3m-key-binding): Switch key bindings also in w3m-mode buffers when customizing; don't manipulate keymaps when Emacs is running in the batch mode. 2002-02-01 Yuuichi Teranishi * octet.el (octet-suffix-type-alist): Added lzh, tar, pdf. (octet-type-filter-alist): Ditto. (octet-content-type-alist): Added application/x-msexcel, text/html, application/x-tar, application/pdf. (octet-magic-type-alist): Fixed magic for html. (octet-tar-mode): New function. (octet-guess-type-from-name): Downcase suffix. (octet-mime-setup): Add action for application/vnd.ms-powerpoint. 2002-02-01 Katsumi Yamaoka * mime-w3m.el (mime-w3m-safe-url-regexp): New user option. (mime-w3m-preview-text/html): Use it. * w3m.el (w3m-key-binding): Don't eval a part of the `set:' form when compiling nnshimbun.el in the Gnus source tree. 2002-02-01 Yuuichi Teranishi * octet.el (octet-buffer): Fixed problem when 'Quit'. (mime-preview-octet-hook): New hook. (mime-preview-octet): Run it. (w3m-about-octet-attachments): Fixed problem when there's no octet-attachment which corresponds to the src url. (mime-view-octet): Set content-type argument for `octet-buffer'. (mime-preview-octet): Ditto. 2002-02-01 Katsumi Yamaoka * mime-w3m.el (mime-w3m-preview-text/html): Bind `w3m-force-redisplay' with nil. 2002-02-01 Yuuichi Teranishi * octet.el (octet-buffer): Set default of `completing-read'. 2002-02-01 Katsumi Yamaoka * w3m.el (w3m-key-binding): Switch `w3m-mode-map', `mime-w3m-mode-map' and `mm-w3m-mode-map' when customizing. 2002-01-31 Katsumi Yamaoka * mime-w3m.el (mime-w3m-mode-command-alist): New variable. (mime-w3m-setup): Use it; invalidate widget button in `mime-w3m-mode-map'. (mime-w3m-keymap-property): Removed. (mime-w3m-preview-text/html): Add `text-rendered-by-mime-w3m' text property to the rendered area. (kill-new): Strip keymap properties from a killed string only if it has `text-rendered-by-mime-w3m' property. 2002-01-31 Hideyuki SHIRAI * w3m.el (w3m-url-at-point): Remove all text-properties from url. * w3m-search.el (w3m-search): Remove all text-properties from default search value. 2002-01-31 TSUCHIYA Masatoshi * w3m-search.el (w3m-search-word-at-point): New option. (w3m-search): Refer `w3m-search-word-at-point'. 2002-01-31 ARISAWA Akihiro * shimbun/sb-hns.el (shimbun-hns-expiration-days): New variable. * shimbun/sb-tcup.el (shimbun-headers): Check whether the header is already retrieved. 2002-01-31 Yuuichi Teranishi * octet.el (octet-content-type-alist): Added text/html. (octet-magic-type-alist): Likewise. (octet-type-filter-alist): Likewise; Added `guess'; Changed result type of gzip as `guess'. (octet-find-file-hook): New hook. (octet-find-file): Run it. (octet-filter-guess): New function. (octet-buffer): Fix. 2002-01-30 Yuuichi Teranishi * octet.el (toplevel): Require 'static. (octet-html-render-function): Changed default value to `octet-w3m-region.' (octet-type-filter-alist): Changed filter function to `octet-filter-call2-extra'. (octet-attachments): New buffer-local variable. (w3m-about-octet-attachments): New function. (octet-w3m-region): Ditto. (octet-filter-call2-extra): New function. (octet-find-file): Do nothing when buffer is read-only. * w3m.el (w3m-about-retrieve): Decode buffer only if the content-type is text. * octet.el (octet-guess-type-from-name): Return nil if guess failed. (octet-buffer): Ask octet type if guess failed. (octet-content-type-alist): New variable. (octet-guess-type-from-content-type): New function. (octet-buffer): Added optional argument `content-type'. (octet-buffer): Ignore `quit'. (octet-suffix-type-alist): Added images. (octet-content-type-alist): Ditto. (octet-type-filter-alist): Ditto. (octet-magic-type-alist): Renamed from mime-magic-type-alist. (octet-decode-image): New function. (octet-guess-type-from-magic): New function. (octet-buffer): Use it. (octet-insert-buffer): New function. (mime-preview-octet): Use it. 2002-01-29 Yuuichi Teranishi * octet.el (octet-type-filter-alist): Changed default value for xlhtml and ppthtml. (octet-filter-call2): Fixed problem when return value of call-process is not numeric. (octet-filter-call1): Ditto. (octet-find-file): Use unwind-protect. (octet-filter-call2): Fixed docstring. (octet-filter-call1): Ditto. (octet-buffer): Fixed argument for `interactive'. 2002-01-29 TSUCHIYA Masatoshi * w3m.el (w3m-encoding-type-alist): New option. (w3m-local-file-type): New function. (w3m-local-content-type): New implementation. (w3m-local-attributes): Call `w3m-local-file-type' instead of `w3m-local-content-type'. (w3m-download): `url' is lexically binded. Call `message' to display error messages. * w3mhack.el (w3mhack-examine-modules): Fix to avoid that octet.el is byte-compiled repeatedly. 2002-01-29 Yuuichi Teranishi * w3mhack.el (w3mhack-examine-modules): Add octet.el to the module list if FLIM is installed. * octet.el: New file. 2002-01-29 ARISAWA Akihiro * shimbun/sb-meadow.el (shimbun-headers): Fixed problem when yearly index is one page. 2002-01-25 Yuuichi Teranishi * w3m.el (w3m-highlight-current-anchor): Don't search for the anchor points which are out of sight. 2002-01-25 NAKAJIMA Mikio * shimbun/sb-vinelinux.el (shimbun-make-contents): Modify regexp slightly. 2002-01-25 Hideyuki SHIRAI * w3m.el (w3m-tmp-urluser-alist): New variable. (w3m-goto-url): If URL include user and passwd, set `w3m-tmp-urluser-alist' for process handling. Remove passwd from URL. (w3m): Remove passwd from URL when insert it in buffer. * w3m-util.el (w3m-get-user-passwd-from-url) (w3m-remove-passwd-from-url): New functions. * w3m-proc.el (top): Define `w3m-tmp-urluser-alist' to avoid byte-compile warning. (w3m-process-start-process): If URL include user or passwd, set them to default values. (w3m-process-filter): Use default values of `w3m-process-user' and `w3m-process-passwd'. (w3m-process-get-server-root): Remove `about://.../' from server root. * w3m-search.el (w3m-search): Insert default string in minibuffer. 2002-01-25 Yuuichi Teranishi * w3m.el (w3m-about-history): Don't add to history if url is nil. (w3m-print-this-url-after-command): Call `w3m-highlight-current-anchor'. (w3m-delete-all-overlays): New macro. (w3m-highlight-current-anchor): New function. (w3m-current-anchor-face): New face. (w3m-arrived-anchor-face): Removed underline property. (w3m-anchor-face): Ditto. 2002-01-24 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun): New customize group and all customize variable use this. 2002-01-18 OHASHI Akira * w3m.el (w3m-header-line-map): Inherit `w3m-mode-map'. 2002-01-15 TSUCHIYA Masatoshi * w3m-e21.el (w3m-setup-favicon): Reversed the condition that decide whether favicons are used. 2002-01-15 Hideyuki SHIRAI * w3m-e21.el (w3m-setup-favicon): If url is `ftp://', not retrieve a favicon data. * w3m.el (w3m-current-directory): New function. (w3m-goto-url): Use `w3m-current-directory' when set `default-directory'. 2002-01-12 TSUCHIYA Masatoshi * w3m.el (w3m-use-ange-ftp): New option. (w3m-w3m-attributes): Handle ftp scheme URLs. (w3m-download): Refer `w3m-use-ange-ftp'. (w3m-goto-url): Ditto. 2002-01-11 Hideyuki SHIRAI * w3m.el (w3m-read-file-name): Remove an optional argument `initial'. Call `read-file-name' without `default' option. 2002-01-11 ARISAWA Akihiro * w3m.el (w3m-url-encode-string): Fixed for Mule2. * w3m-util.el (w3m-truncate-string): New function. * w3m-form.el (w3m-form-replace): Use `w3m-truncate-string' instead of `truncate-string'. 2002-01-11 TSUCHIYA Masatoshi * w3m.el (w3m-region): Process tag. 2002-01-09 Hideyuki SHIRAI * w3m.el (w3m-local-content-type): Fix handling of the remote url. (w3m-file-directory-p): New function. (w3m-goto-ftp-url): Use `w3m-file-directory-p' instead of `file-directory-p'. 2002-01-08 TSUCHIYA Masatoshi * Release emacs-w3m-1.2.4 from emacs-w3m-1_2 branch. 2002-01-08 ARISAWA Akihiro * w3m.el (w3m-arrived-setup-hook): New hook. (w3m-arrived-shutdown-hook): Ditto. (w3m-arrived-setup): Run `w3m-arrived-setup-hook'. (w3m-arrived-shutdown): Run `w3m-arrived-shutdown-hook'. (w3m-quit): Don't remove `w3m-arrived-shutdown' from `kill-emacs-hook'. * w3m-e21.el (w3m-favicon-cache-expire-wait): New user option. (w3m-favicon-cache-p): New macro. (w3m-favicon-cache-favicon): Ditto. (w3m-favicon-cache-retrived): Ditto. (w3m-retrieve-favicon): Don't use old cache data. (w3m-favicon-cache-data): Renamed from `w3m-favicon-data-cache'. (w3m-favicon-save-cache-file): Follow above change. (w3m-favicon-load-cache-file): Ditto. (w3m-arrived-setup-hook): Regist `w3m-favicon-load-cachee-faile'. (w3m-arrived-shutdown-hook): Regist `w3m-favicon-save-cache-file'. 2002-01-08 TSUCHIYA Masatoshi * w3m.el (w3m-goto-url): Use a URL-like string under the cursor as the initial value of the target URL when interactively called. (w3m-view-this-url): When a URL-like string is found under the cursor, view it. (w3m-view-this-url-1): New internal function. 2002-01-08 Hideyuki SHIRAI * w3m.el (w3m-display-hook): Change default variable to `nil'. (top): Use `add-hook' when `w3m-history-highlight-current-url', `w3m-move-point-for-localcgi' and `w3m-select-buffer-update' set to `w3m-display-hook'. (w3m-local-dirlist-cgi): When use `dirlist.cgi', decode filename tag. * shimbun/mew-shimbun.el (mew-shimbun-lock-format1) (mew-shimbun-lock-format2): Modify default variables. 2002-01-07 TSUCHIYA Masatoshi * w3m.el (w3m-url-to-file-name): When the pointed file is not found, decode the specified URL and recheck it. 2002-01-07 Shiro Takeda * w3m.el (w3m-bold-face, w3m-underline-face): New faces. (w3m-fontify-bold): Use `w3m-bold-face' instead of `bold'. (w3m-fontify-underline): Use `w3m-underline-face' instead of `underline'. 2002-01-07 Hideyuki SHIRAI * w3m.el (w3m-w32-browser-with-fiber): Fix handling of the local url. * w3m-util.el (w3m-url-local-p): Fix its regexp for Windows. 2002-01-07 TSUCHIYA Masatoshi * w3m.el (w3m-about-header): Protect against null title. (w3m-arrived-setup): Ignore database of arrived URLs in too old style. 2002-01-05 TSUCHIYA Masatoshi * w3m.el (w3m-url-encode-string): Add a period to the set of characters which are not encoded. From Fabrice Bauzac 2001-12-31 TSUCHIYA Masatoshi * w3m.el (w3m-add-local-hook): New function. (w3m-current-position): New buffer local variable. (w3m-store-current-position): New hook function. (w3m-print-this-url-after-command): New hook funtcion. (w3m-buffer-setup): Regist these hook functions. (w3m-header-line-location-title-face): Integrated with the defition in w3m-e21.el (w3m-header-line-location-content-face): Ditto. (w3m-header-line-map): Ditto. (w3m-header-line-insert): Renamed from `w3m-insert-header-line'. * w3m-e21.el (w3m-header-line-location-title-face): Integrated to the defition in w3m.el. (w3m-header-line-location-content-face): Ditto. (w3m-header-line-map): Ditto. (w3m-setup-header-line): Clean up. (w3m-insert-header-line): Removed. 2001-12-30 Hideyuki SHIRAI * w3m.el (w3m-url-to-file-name): Fix its regexp. 2001-12-30 TSUCHIYA Masatoshi * w3m.el (w3m-print-this-url): Display a message when it is called interactively. 2001-12-29 OHASHI Akira * w3m.el (w3m-print-this-url): Don't print any messages when there is no url or form under point. 2001-12-29 TSUCHIYA Masatoshi * w3m.el (w3m-url-local-directory-alist): Renamed from `w3m-edit-url-directory-alist'. (w3m-url-to-file-name): Return nil, when the specified URL points no local file. (w3m-url-completion): Modified its regexp. Fix completion of dot files. (w3m-edit-url): Simplified. (w3m-goto-url): Removed the redundant local variable. Set `default-directory' to the local directory to which the current URL is related by `w3m-url-local-directory-alist'. (w3m-about-history): Installed the ad-hoc workaround. * w3m-util.el (w3m-url-dtree-p): Modified its regexp. 2001-12-26 Hideyuki SHIRAI * w3m.el (w3m-decode-get-refresh): Not run Refresh timer if the URI is matched `about://', . (w3m-goto-url): Modify the timing to call `w3m-cancel-refresh-timer'. 2001-12-26 Katsumi Yamaoka * w3m-util.el: Autoload "timer" for the function `cancel-timer' when Mule 2 is running. 2001-12-26 Hideyuki SHIRAI * w3m.el (w3m-refresh-at-time): Run `w3m-goto-url-with-timer' immediately, if the delay of refresh is zero. * w3m-xmas.el (w3m-refresh-at-time): Removed. 2001-12-25 Hideyuki SHIRAI * w3m.el (w3m-use-refresh): New user option. (w3m-refresh-timer, w3m-current-refresh): New buffer-local variables. (w3m-clear-local-variables, w3m-copy-local-variables): Handle `w3m-current-refresh'. (w3m-meta-refresh-content-regexp) (w3m-meta-content-refresh-regexp): New constant. (w3m-decode-buffer): Call `w3m-decode-get-refresh' first. (w3m-decode-get-refresh): New function. (w3m-view-previous-page): Bind `w3m-use-refresh' to nil. (w3m-quit, w3m-close-window): Call `w3m-cancel-refresh-timer' at any buffers. (w3m-goto-url): Call `w3m-cancel-refresh-timer' first. Call `w3m-refresh-at-time' at last; start REFRESH timer. (w3m-goto-url-with-timer): New function. (w3m-refresh-at-time): New function for FSF Emacs. * w3m-xmas.el (w3m-refresh-at-time): New function for XEmacs. * w3m-util.el (w3m-cancel-refresh-timer): New function. (w3m-current-refresh, w3m-refresh-timer, w3m-use-refresh): Avoid byte-compiled warnings. * w3m-proc.el (w3m-process-stop): Call `w3m-cancel-refresh-timer'. 2001-12-24 ARISAWA Akihiro * w3m.el (w3m-dump-head-source-command-arguments) [w3mmee]: Support `w3m-accept-languages'. 2001-12-21 TSUCHIYA Masatoshi * Release emacs-w3m-1.2.3 from emacs-w3m-1_2 branch. 2001-12-21 TSUCHIYA Masatoshi * w3m.el (w3m-type): Changed condition to decide type. (w3m-decoder-alist): Call `file-name-nondirectory' before `w3m-command' is refered. (w3m-dirlist-cgi-program): Ditto. 2001-12-21 ARISAWA Akihiro * w3m.el (w3m-type): Changed condition to decide type. (w3m-decoder-alist): Use `w3m-command' for inflate command path. (w3m-dirlist-cgi-program): Use `w3m-command'. (w3m-dump-head-source-command-arguments) [w3mmee]: Don't add "-o accept_language=xxx". 2001-11-16 OKAZAKI Tetsurou * w3m.el (w3m-type): Use "w3m-m17n" if exists. 2001-12-21 Katsumi Yamaoka * w3m.el (w3m-goto-mailto-url): Use the property `composefunc' to get the function to compose a mail from `mail-user-agent'. 2001-12-20 Katsumi Yamaoka * w3m.el (w3m-load-list): Removed a bogus code for XEmacs; don't bind the value of `file-coding-system-for-read' if the optional arg is nil and `w3m-file-coding-system-for-read' is nil. 2001-12-20 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-lock-format1) (mew-shimbun-lock-format2): New variable. (mew-shimbun-element-body): Add argument. Display process of SHIMBUN status at mode-line. (mew-shimbun-mode-display): New inline function. (mew-shimbun-retrieve, mew-shimbun-retrieve-all) (mew-shimbun-re-retrieve-all): Call `mew-shimbun-element-body' with more arguments. (mew-shimbun-retrieve-article, mew-shimbun-re-retrieve-article): Display mode-line process. 2001-12-19 Katsumi Yamaoka * w3mhack.el (w3m-use-favicon): Don't bind it. * w3m-e21.el (w3m-use-favicon): Set it to nil anyway when Emacs is running in the batch mode. (w3m-imagick-convert-buffer): Reverted. 2001-12-19 Katsumi Yamaoka * w3m-e21.el (w3m-imagick-convert-buffer): Don't growl errors when Emacs is running in the batch mode. 2001-12-18 NAKAJIMA Mikio * shimbun/sb-tcup.el (shimbun-tcup-group-alist): Add skk bbs. 2001-12-18 ARISAWA Akihiro * w3m-e21.el (w3m-favicon-use-cache-file): New user option. (w3m-favicon-cache-file): Ditto. (w3m-favicon-data-cache): New variable. (w3m-retrieve-favicon): Use `w3m-favicon-data-cache' or store it. (w3m-favicon-save-cache-file): New function. (w3m-favicon-load-cache-file): Ditto. 2001-12-17 Katsumi Yamaoka * w3m-e21.el (w3m-e21-toolbar-configurations): Replace `auto-resize-tool-bar' to `auto-resize-tool-bars'. 2001-12-17 OHASHI Akira * README.shimbun.ja: Add information for sb-debian-jp.el and sb-debian.el. * shimbun/sb-debian-jp.el: New file. * shimbun/sb-debian.el: Ditto. * shimbun/sb-debian-jp.el (shimbun-debian-jp-x-face-alist): New variable. * shimbun/sb-debian.el (shimbun-debian-x-face-alist): Ditto. 2001-12-17 Taiki SUGAWARA TSUCHIYA Masatoshi * w3m-form.el (w3m-form-parse-forms): Change the separater string for option tag. 2001-12-12 Taiki SUGAWARA * w3m-form.el (w3m-form-parse-forms): If not find selected, first element is made into default. 2001-12-14 YAMASHITA Junji * shimbun/sb-ibm-dev.el (shimbun-make-contents): Condition to delete sidebar strictly more. 2001-12-12 YAMASHITA Junji * shimbun/sb-ibm-dev.el (shimbun-get-headers): Follow change of IBM developerWorks library page. 2001-12-14 Katsumi Yamaoka * shimbun/sb-ibm-dev.el: Don't use the 4th arg for `re-search-*'; replace `re-search-*' with `search-*' if regexp is not used. 2001-12-14 Hideyuki SHIRAI * w3m-dtree.el (w3m-about-dtree): Ignore arguments on and after 4th. 2001-12-14 Katsumi Yamaoka Suggested by NAKAJIMA Mikio . * w3m-e21.el (w3m-use-favicon): Default to t, but it will be altered to nil automatically if ImageMagick does not support a favicon; never use ImageMagick if it has been set to nil. * w3mhack.el (w3m-use-favicon): Bind it to nil to inhibit the use of ImageMagick. 2001-12-13 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-scan-replace): Rename from `mew-shimbun-scan'. (mew-shimbun-scan): Restructure function. (mew-shimbun-retrieve, mew-shimbun-retrieve-all) (mew-shimbun-re-retrieve, mew-shimbun-re-retrieve-all) (mew-shimbun-re-retrieve-article, mew-shimbun-unseen-check): Use `mew-shimbun-scan' instead of `mew-scan'. 2001-12-12 Kazuyoshi Koreeda * w3m-weather.el (w3m-weather-insert-seikatu-sisu): New function. (w3m-weather-get-seikatu-sisu): Ditto. 2001-12-10 ARISAWA Akihiro * w3m-form.el (w3m-form-parse-forms): Use `w3m-decode-entities-string' to value in the textarea and option menu. 2001-12-11 Mito * w3m.el (w3m-scroll-left): Modify doc-string. (w3m-scroll-right): Ditto. 2001-12-09 HARAGUCHI Shuugou * shimbun/sb-mainichi.el (shimbun-get-headers): Exclude "./" from url. 2001-12-07 Katsumi Yamaoka * w3m-e21.el (w3m-imagick-convert-usable-p): New function. (w3m-use-favicon): Use it. 2001-12-06 ARISAWA Akihiro , TSUCHIYA Masatoshi * w3m-e21.el (top): Installed the check of the validity of ImageMagick. 2001-12-06 TSUCHIYA Masatoshi * Release emacs-w3m-1.2.2 from emacs-w3m-1_2 branch. 2001-12-06 TSUCHIYA Masatoshi * w3m.el (w3m-type): Follow the new official release of w3m. (w3m-attributes): Follow the change of error symbols which are defined in w3m-proc.el. (w3m-retrieve): Ditto. (w3m-about-header): Likewise. Ignore optional arguments safely. (w3m-message): Display message only when original w3m buffer is displayed. (w3m-about-retrieve): Asynchronized. (w3m-retrieve-and-render): Follow the change of `w3m-message'. (w3m-prepare-content): Install the measure against narrowed buffers. * w3m-proc.el (w3m-process-start-process): Accept the 2nd optional argument to reset the sentinel funtcion for the generated asynchronous process. (w3m-process-failure): Removed. (w3m-process-timeout): Simplified its error condition. (w3m-process-with-wait-handler): No sentinel function is registered and the sentinel function is called from this macro itself. * w3m-weather.el (w3m-weather-filter-functions): Add `w3m-weather-expand-anchors'. (w3m-about-weather): Asynchronized. (w3m-weather-remove-headers): Follow changes of original content. (w3m-weather-remove-footers): Ditto. (w3m-weather-expand-anchors): New filter function. 2001-12-06 Katsumi Yamaoka * w3m.el (w3m-emacs-w3m-icon): Made it interlaced and endlessly animated. 2001-12-06 ARISAWA Akihiro * w3m.el (w3m-decode-buffer): When content-charset is unknown, detect coding-system automatically. 2001-12-04 ARISAWA Akihiro * w3m-e21.el (w3m-buffer-favicon): Reset `w3m-current-favicon-data' to nil when conversion was failure. 2001-12-04 Katsumi Yamaoka * w3m-e21.el (w3m-imagick-convert-buffer): Say errors and return nil if the process returns a non-zero status (possibly a string). 2001-12-03 Hideyuki SHIRAI * w3m-xmas.el (w3m-create-image): Bind some arguments lexically for w3m-fix-gif(). 2001-12-04 Yuuichi Teranishi * w3m-e21.el (w3m-setup-favicon): Fix for "about://" url. (w3m-buffer-favicon): Renamed local variable. (w3m-tab-line): Call `w3m-buffer-favicon' only when w3m-use-favicon is non-nil. 2001-12-03 Hideyuki SHIRAI * w3m.el (w3m-modeline-process-status-on): Modify default value. (w3m-buffer-setup): Simplified `mode-line-buffer-identification'. 2001-11-29 Yuuichi Teranishi * w3m-e21.el (w3m-imagick-convert-program): New user option. (w3m-favicon-size): Ditto. (w3m-use-favicon): Ditto. (w3m-favicon-name): New constant. (w3m-current-favicon-data): New buffer local variable. (w3m-current-favicon-image): Ditto. (w3m-display-hook): Added 'w3m-setup-favicon. (w3m-imagick-convert-buffer): New function. (w3m-imagick-convert-data): Ditto. (w3m-setup-favicon): Ditto. (w3m-buffer-favicon): Ditto. (w3m-retrieve-favicon): Ditto. (w3m-tab-line): Display favicon on tab. 2001-11-28 Yuuichi Teranishi * w3m-xmas.el (w3m-insert-image): Rewrite. (if displayed images exist on the right side, keep them and display again) (w3m-remove-image): Call `delete-extent' to destroy extents. 2001-11-27 Yoichi NAKAYAMA * TIPS: New file. 2001-11-27 Katsumi Yamaoka * shimbun/sb-nikkei.el (shimbun-get-headers): Make directory separator not duplicated. 2001-11-27 Hideyuki SHIRAI * w3m.el (w3m-download-this-url): Fix a problem of broken URL. 2001-11-24 NAKAJIMA Mikio * shimbun/sb-fml.el (shimbun-get-headers): Call `shimbun-decode-entities' and `shimbun-remove-markup' for SUBJECT. 2001-11-22 TSUCHIYA Masatoshi * w3m.el (top, w3m-about): Change the URL of w3m's official page. 2001-11-21 Hideyuki SHIRAI * w3m.el (w3m-max-anchor-sequence): New buffer local variable. (w3m-copy-local-variables, w3m-clear-local-variables): Handle `w3m-max-anchor-sequence'. (w3m-fontify-anchors): Reset `w3m-max-anchor-sequence' to zero. Use the text-property `w3m-anchor-sequence' insted of `w3m-cursor-anchor'. (w3m-goto-next-anchor, w3m-next-anchor, w3m-goto-previous-anchor) (w3m-previous-anchor): Rewrite use the text-property `w3m-anchor-sequence'. (w3m-next-form, w3m-goto-next-image, w3m-next-image) (w3m-previous-image): Fix mistake as modified last time. * w3m-util.el (w3m-anchor-sequence): New macro. (w3m-cursor-anchor) Remove macro. * w3m-form.el (w3m-form-fontify): Use the text-property `w3m-anchor-sequence' insted of `w3m-cursor-anchor'. 2001-11-21 TSUCHIYA Masatoshi * w3m.el (w3m-download-this-url): Wrap the form which is evaluated in asynchronous context with `w3m-process-with-null-handler', to fix the bug reported by Hideyuki SHIRAI . * w3m-xmas.el (w3m-create-image): Modified to avoid calling `w3m-process-with-wait-handler'. 2001-11-20 TSUCHIYA Masatoshi * w3m-proc.el (w3m-process-push): Set the buffer-local variable `w3m-process-object' in the appropriate buffer. (w3m-process-sentinel): Removed redundant call of `with-current-buffer'. * Makefile.in (default): Reintroduce of checking time stamps of w3m-util.elc and w3m-proc.elc. * w3m-proc.el (w3m-process-temp-file): Abolished. * w3m.el (w3m-content-charset, w3m-content-encoding, w3m-content-length, w3m-content-type, w3m-last-modified, w3m-real-url): Fixed asynchrounization. (w3m-download): Changed the argument spec and the body to accept an asynchrounous context. (w3m-external-view): Follow change of `w3m-download'. (w3m-external-view-file): Changed the argument spec and the body; `w3m-process-temp-file' is not refered. (w3m-download-this-url): Follow change of `w3m-download'. (w3m-scroll-left, w3m-scroll-right): Use `call-interactively' to avoid a strange behavior of Emacs21. This change is suggested by Hironori FUJII . * w3m-proc.el (w3m-process-failure): New error symbol. (w3m-process-timeout): Change its error condition. (w3m-process-with-wait-handler): Install adhoc workaround. * w3m.el (w3m-attributes, w3m-retrieve, w3m-about-header): Follow change of `w3m-process-with-wait-handler'. 2001-11-19 Yuuichi Teranishi * sb-airs.el, sb-asahi-html.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el, sb-digiko.el, sb-ding.el, sb-f1express.el, sb-f1fan.el, sb-fml.el, sb-glimpse.el, sb-gnome.el, sb-gyve.el, sb-h14m.el, sb-hns.el, sb-ibm-dev.el, sb-impress.el, sb-isize-sports.el, sb-javaconf.el, sb-kantei.el, sb-linuxce-jp.el, sb-lump.el, sb-m17n.el, sb-mainichi.el, sb-makanai.el, sb-meadow.el, sb-mew.el, sb-mhonarc.el, sb-muchy.el, sb-namazu.el, sb-netbsd.el, sb-nikkansports.el, sb-nikkei.el, sb-ruby.el, sb-slashdot-jp.el, sb-sponichi.el, sb-tcup.el, sb-text.el, sb-toshiba.el, sb-vinelinux.el, sb-w3m-dev.el, sb-wired.el, sb-xemacs.el, sb-yahoo.el, sb-yomiuri-html.el, sb-zdnet.el, shimbun.el: Added and fixed copyright notice. 2001-11-19 Hideyuki SHIRAI * w3m.el (w3m-modeline-process-status-on): New constant. (w3m-modeline-status-off): Rename from `w3m-modeline-image-status-off'. (w3m-buffer-setup): Show the string of `w3m-modeline-process-status-on' when process running. (w3m-download): Add 4th argument `extview' for w3m-external-view(). If `extview' is gived, apply `extview' on process-sentinel like (apply (car extview) (cdr extview)). (w3m-external-view): When execute `w3m-download', call with `extview' argument. (w3m-external-view-file): New function. 2001-11-19 Hideyuki SHIRAI * w3m.el (w3m-print-this-url): View current image info. (w3m-goto-next-image, w3m-next-image, w3m-goto-previous-image) (w3m-previous-image): New functions. (w3m-lynx-like-map, w3m-info-like-map): Bind "}" as the key to call `w3m-next-image'. Bind "{" as the key to call `w3m-previous-image'. (w3m-mode): Modify dos-string. 2001-11-19 Masatake YAMATO * w3m.el (w3m-goto-next-form, w3m-next-form) (w3m-goto-previous-form, w3m-previous-form): New functions. (w3m-lynx-like-map, w3m-info-like-map): Bind "]" as the key to call `w3m-next-form'. Bind "[" as the key to call `w3m-previous-form'. 2001-11-19 NAKAJIMA Mikio * shimbun/sb-ibm-dev.el: Add copyright notice. * shimbun/sb-muchy.el: Ditto. * shimbun/sb-ruby.el: Ditto. * shimbun/sb-vinelinux.el: Ditto. * shimbun/sb-w3m-dev.el: Ditto. 2001-11-19 Kazuhiko * w3m-xmas.el (w3m-create-image): Fix a problem in handling XBM on XEmacs. 2001-11-18 TSUCHIYA Masatoshi * w3m.el (w3m-attributes): Establish the error handler for `w3m-process-timeout' when the argument `handler' is equal to nil. (w3m-retrieve): Ditto. (w3m-about-header): Establish the error handler for `w3m-process-timeout' before `w3m-w3m-get-header' is called. (w3m-select-buffer-close-window): Check whether the menu's window exists. * w3m-proc.el: Changes to avoid endless loop. (w3m-process-start-process): Changed the spec of its return value. (w3m-process-timeout): New error symbol. (w3m-process-with-wait-handler): Bind `inhibit-quit' to nil, in order to accept user's quit; Signal `w3m-process-timeout' when time out is detected. (w3m-process-do): Accept null variable. (w3m-process-do-with-temp-buffer): Ditto. * Makefile.in (default): Cancel the last change. 2001-11-16 TSUCHIYA Masatoshi * Makefile.in (default): When files which define macros and inline functions such as w3m-util.el and w3m-proc.el are newer than their byte-compiled files, run clean target before compile. * w3m.el (w3m-about-db-history-today): Removed. (w3m-about-db-history): Call `w3m-time-lapse-seconds' to classify entries. * w3m-proc.el: Changes to avoid endless loop. (w3m-process-inhibit-quit): New internal variable. (w3m-process-timeout): New variable. (w3m-process-with-wait-handler): Strict check when asynchrounous processes finish; Refer `w3m-process-timeout' to check idle time. (w3m-process-sentinel): Bind `inhibit-quit' according to `w3m-process-sentinel'. * w3m-e21.el: Changes to display tabs which are retieving contents in the other face. (top): Define `w3m-current-process' to avoid byte-compile warning. (w3m-tab-unselected-retrieving-face): New face. (w3m-tab-selected-retrieving-face): Ditto. (w3m-tab-line): Refer `w3m-current-process' in order to select the face of the tab which is retriving some pages. * w3m-util.el (w3m-time-lapse-seconds): New inline function. * w3m-antenna.el (top): Add autoload of `w3m-filter' to avoid byte-compile warning. 2001-11-16 Hideyuki SHIRAI * w3m.el (w3m-select-buffer): If nomsg eq 'update, don't save selected-window; so called `w3m-select-buffer-update' any window to differ original window executed process, is broken `w3m-select-buffer-window'. (w3m-select-buffer-update): Call `w3m-select-buffer' with 'update. 2001-11-16 TSUCHIYA Masatoshi * mime-w3m.el (mime-w3m-keymap-property): New macro. (mime-w3m-preview-text/html, kill-new): Use the above macro instead of `w3m-static-if'. 2001-11-16 Hideyuki SHIRAI * w3m.el (w3m-select-buffer-window-ratio): New user option. (w3m-select-buffer-window-size): Remove user option. (w3m-select-buffer-window-size): New function. (w3m-select-buffer-toggle-style): Ditto. (w3m-select-buffer): Use `w3m-select-buffer-window-size' when calculate window size. When call with prefix argument, toggle `w3m-select-buffer-horizontal-window'. (w3m-select-buffer-show-this-line): Use `w3m-select-buffer-window-size' when calculate window size. If exist w3m-buffer another window under control, use it. (w3m-select-buffer-mode-map): Modify the key binding 'C-cC-s' for toggle `w3m-select-buffer-horizontal-window'. (w3m-select-buffer-update): Call `w3m-select-buffer' with two arguments. (w3m-select-buffer-mode): Modify doc-string. * w3m-tabmenu.el (w3m-switch-buffer): Change the rule of detecting default buffer. (w3m-tab-menubar-make-items): Ditto. 2001-11-16 TSUCHIYA Masatoshi * mime-w3m.el: Changes to make installation of this module be easy; Comments updated; Initialize code is moved to `mime-w3m-setup'; Changed requirement of other modules. (mime-w3m-display-inline-images): Changed the default value. (mime-w3m-insinuate, mime-w3m-setup): New function. (mime-w3m-preview-text/html): Call `mime-w3m-setup'. 2001-11-15 Katsumi Yamaoka * w3m-search.el: Require `cl' when compiling. 2001-11-15 TSUCHIYA Masatoshi * w3m.el: Changes to avoid that multi async processes are started in the same buffer. (w3m-current-process): New internal variable to protect parallel retriving. (w3m-attributes, w3m-base-url, w3m-content-charset, w3m-content-encoding, w3m-content-length, w3m-content-type, w3m-last-modified, w3m-real-url): Asynchronized. (w3m-toggle-inline-images-internal): Set `w3m-current-buffer' to this buffer locally, in order to classify the generated async process to the appropriate buffer. (w3m-toggle-inline-images): Stop processes which are retrieving images of this buffer. (w3m-retrieve-and-render): Remove redundant `let'. (w3m-view-this-url): Refontify anchor. (w3m-lynx-like-map, w3m-info-like-map): Bind `C-cC-g' as the key to call `w3m-process-stop'. (w3m-goto-url): Check `w3m-current-process' to avoid reenterant and set it to the value of `w3m-retrieve-and-render'; Before the retrieving process of the next page is started, select this buffer in the current window and stop processes which are retrieving images of this buffer. (w3m): Not select this buffer in the current window. * w3m-proc.el (top): Define `w3m-current-process' to avoid byte-compile warning. (w3m-process-queue-registrable-p): Abolished. (w3m-process-new): Its argument spec is changed; Changed the strucuture of `w3m-process' object. (w3m-process-command): New macro. (w3m-process-arguments): Follow the structural change of `w3m-process' object. (w3m-process-push): Likewise; Follow change of `w3m-process-new'; No check for `w3m-process-queue-registrable-p'. (w3m-process-kill-process): Check process status before stopping them. (w3m-process-start-process): Follow the structural change of `w3m-process' object. (w3m-process-stop): Ditto; Start queued processes. (w3m-process-with-null-handler): No check for `w3m-process-queue-registrable-p'. * w3m-util.el (w3m-kill-buffer): Fix code to kill this buffer. 2001-11-15 Hideyuki SHIRAI * w3m.el (w3m-select-buffer): Fix window height calculation when w3m-select-buffer-horizontal-window is nil. (w3m-select-buffer-mode-map): Add the key bind of `w3m-select-buffer-show-this-line-and-down'. Modify the key bind of `w3m-select-buffer-show-this-line'. (w3m-select-buffer-show-this-line): Fix window height calculation when w3m-select-buffer-horizontal-window is nil. If already displayed w3m-buffer and call interactively, call `w3m-scroll-up-or-next-url'. (w3m-select-buffer-show-this-line-and-down): New function. 2001-11-15 TSUCHIYA Masatoshi * Merge experimental-async branch to main trunk. * w3m-util.el: Rename from w3m-macro.el; Require `poe' and `poem' module for XEmacs and Mule; Import some functions from w3m.el and w3m-proc.el. * w3m.el: Require `w3m-util' instead of `w3m-macro'; Export `w3m-kill-all-buffer' to w3m-util.el. (w3m-work-binary-buffer-name): Removed. (w3m-rendering-half-dump): Accept an optional argument for w3mmee and w3m-m17n. (w3m-rendering-buffer-1): Accept two optional arguments for w3mmee and w3m-m17n. (w3m-rendering-unibyte-buffer): Generate a new working buffer for w3mmee and w3m-m17n, in order to avoid racing. (w3m-rendering-multibyte-buffer): Ditto. * w3m-proc.el: Require `w3m-util' instead of `w3m-macro'; Export `w3m-buffer-title', `w3m-buffer-name-lessp' and `w3m-list-buffers' to w3m-util.el. * mime-w3m.el, w3m-antenna.el, w3m-bookmark.el, w3m-e21.el, w3m-form.el, w3m-tabmenu.el, w3m-xmas.el: Require `w3m-util' instead of `w3m-macro'. * w3mhack.el (w3mhack-examine-modules): Handle w3m-util.el instead of w3m-macro.el. 2001-11-14 TSUCHIYA Masatoshi * w3m.el (top): Colon keywords definition are moved to `w3m-macro.el'. (w3m-process-connection-type): Imported from `w3m-proc.el'. (w3m-next-buffer, w3m-previous-buffer): Simplified. (w3m-delete-buffer): Call `w3m-quit' when the number of w3m-mode buffers is equal to 1. (w3m-quit): Kill all w3m-mode buffers. (w3m-close-window): Call `w3m-select-buffer-close-window'. (w3m-select-buffer-generate-contents): Simplified. (w3m-select-buffer-close-window): New function. * w3m-tabmenu.el (w3m-tab-menubar-make-items): Use `w3m-buffer-title' and `w3m-list-buffers'. * w3m-proc.el (top): Require `poe' module in XEmacs; Require `w3m-om' in Mule; Define `w3m-current-title' to avoid byte-compile warning. (w3m-process-connection-type): Exported to `w3m.el'. (w3m-buffer-title, w3m-buffer-name-lessp, w3m-list-buffers): New functions. * w3m-macro.el (top): Colon keywords definition are imported from `w3m.el'. (w3m-pullout-buffer-number): Removed. * w3m-e21.el (w3m-tab-line): Use `w3m-buffer-title' and `w3m-list-buffers'. * w3m.el (w3m-attributes): Wrap `w3m-w3m-attributes' with `w3m-process-with-wait-handler'. (w3m-w3m-attributes): Changed the argument spec. Now, this function can be used only in asynchronous context. (w3m-rendering-unibyte-buffer): Changed the argument spec, and the first argument `url' is refered instead of `w3m-current-url'. This change is made to avoid using `w3m-process-with-wait-handler' in asynchronous context. (w3m-prepare-content): Follow the change of `w3m-rendering-unibyte-buffer'. 2001-11-14 Hideyuki SHIRAI * w3m.el (w3m-next-buffer): Use `w3m-pullout-buffer-number' when sort buffer-name. (w3m-previous-buffer): Ditto. (w3m-select-buffer): Change the turn to call of functions. (w3m-select-buffer-generate-contents): Use `w3m-pullout-buffer-number' when sort buffer-name. Use text-property instead of point when move to point. (w3m-select-buffer-recheck): Fix read-only error. (w3m-select-buffer-copy-buffer): Rewrite. * w3m-tabmenu.el (w3m-tab-menubar-make-items): Use `w3m-pullout-buffer-number' instead of `w3m-tab-menubar-pull-bufnum'. (w3m-tab-menubar-pull-bufnum): Remove. * w3m-macro.el (w3m-pullout-buffer-number): New defsubst. * w3m-e21.el (w3m-tab-line): Use `w3m-pullout-buffer-number' when sort buffer-name. 2001-11-14 Katsumi Yamaoka * w3m.el (w3m-parse-attributes): Moved it again to w3m-macro.el. * w3m-macro.el: The opposite of above. 2001-11-14 Katsumi Yamaoka * w3m.el: Moved back some macros and inline functions from w3m-macro.el. * w3m-macro.el (w3m-parse-attributes, w3m-real-url, w3m-last-modified, w3m-content-type, w3m-content-length, w3m-content-encoding, w3m-content-charset, w3m-base-url, w3m-attributes): Moved back to w3m.el. 2001-11-14 TSUCHIYA Masatoshi * w3m.el (w3m-w3m-retrieve) Call `w3m-w3m-attributes' instead of `w3m-attributes'. * w3m-proc.el (w3m-process-with-wait-handler): Reimplemented. 2001-11-14 Katsumi Yamaoka * w3m.el: Moved some macros and inline functions to w3m-macro.el. * w3m-macro.el (w3m-time-newer-p, w3m-url-local-p, w3m-url-dtree-p, w3m-parse-attributes, w3m-real-url, w3m-last-modified,w3m-content-type, w3m-content-length, w3m-content-encoding, w3m-content-charset, w3m-base-url, w3m-attributes, w3m-cursor-anchor, w3m-submit, w3m-image, w3m-anchor, w3m-action, w3m-get-text-property-around): Moved from w3m.el. (w3m-condition-case): Use old-fashioned backquotes. * w3m.el, w3m-xmas.el, w3m-tabmenu.el, w3m-form.el, w3m-e21.el, w3m-bookmark.el, w3m-antenna.el, mime-w3m.el: Require `w3m-macro'. 2001-11-14 TSUCHIYA Masatoshi * w3m.el (w3m-w3m-get-header, w3m-w3m-attributes): Asynchronized. (w3m-w3m-retrieve): Argument spec is changed. (w3m-w3m-dump-head-source): Follow change of `w3m-w3m-attributes'. (w3m-copy-buffer): Removed redundant code. (w3m-about-header): Follow change of `w3m-w3m-get-header'. * w3m-proc.el (w3m-process-do): The generated asynchronous process in the post handler is started at the end of `w3m-process-sentinel'. (w3m-process-do-with-temp-buffer): Ditto. (w3m-process-sentinel): Fixed. * w3m.el (w3m-download): Use `progn' instead of `inline', in order to make debugging be easy. (w3m-retrieve-and-render): Ditto. * w3m-proc.el: Changed the order of asynchronous form evaluation and starting asynchronous processes. (w3m-process-queue): Renamed from `w3m-processes'. (w3m-process-queue-registrable-p): New internal variable. (w3m-process-with-coding-system): New macro. (w3m-process-with-environment): Redefine with new backquote style. (w3m-process-push): Refer `w3m-process-queue-registrable-p' to add the handler to processes registered in `w3m-process-queue' safely. (w3m-process-start-process): New internal function. (w3m-process-start-queued-processes): Renamed from `w3m-process-start-internal'; Call `w3m-process-start-process'; Follow renaming of variables. (w3m-process-stop, w3m-process-shutdown): Follow renaming of variables. (w3m-process-with-null-handler): Start asynchronous processes at the end of this macro. (w3m-process-do, w3m-process-do-with-temp-buffer): Reimplemented. (w3m-process-start): Reimplemented. Asynchronous processes are not started in this function. (w3m-process-start-after): New internal function. (w3m-process-sentinel): Follow renaming of variables and functions. 2001-11-13 Katsumi Yamaoka * w3m-macro.el (w3m-condition-case): New macro. 2001-11-13 TSUCHIYA Masatoshi * Makefile.in: Fix the macro rule to generate *.elc files. * w3m.el (w3m-display-hook): Add `w3m-select-buffer-update'. (w3m-select-buffer-name): Move the definition position to avoid byte-compile warning. (w3m-goto-url): Removed the code to update the select buffer. (w3m-select-buffer-update): New function. * w3m-proc.el (w3m-process-with-wait-handler): Adhoc workaround. (w3m-process-start): Fix. 2001-11-13 Hideyuki SHIRAI * w3m.el (w3m-lynx-like-map): Bind `C-cC-a' as the key to call `w3m-switch-buffer'. (w3m-info-like-map): Ditto. Bind `\C-c\C-@' and `C-c\C- ' as the key to call `w3m-history-store-position'. Bind `C-cC-b' as the key to call `w3m-history-restore-position'. (w3m-mode): Modify doc-string. (w3m-select-buffer-show-this-line-and-switch): New function. (w3m-select-buffer-name): New internal constant. (w3m-select-buffer-mode-map): Bind `w' and `h' as the key to call `w3m-select-buffer-show-this-line-and-switch'. (w3m-select-buffer-mode): Modify doc-string. (w3m-select-buffer): Use `w3m-select-buffer-name'. If alive select-buffer, use it. Add optional argument `nomsg'. (w3m-select-buffer-generate-contents): If w3m-current-title is `', use w3m-current-url. (w3m-select-buffer-show-this-line): Return selected buffer. (w3m-select-buffer-quit): Always pop up the w3m window when quit. (w3m-select-buffer-show-this-line-and-quit): Rewrite. (w3m-goto-url): If alive w3m-select-buffer, update it. (w3m-copy-buffer): If w3m-pop-up-windows is nil, use switch-to-buffer. Block to change w3m-select-buffer to w3m buffer, if w3m-pop-up-windows is t. (top): Add autoload of `w3m-setup-tab' and `w3m-switch-buffer'. (w3m-setup-menu): Call `w3m-setup-tab-menu' when w3m-use-tab-menubar is t. (w3m-mode): Remove to call `w3m-setup-tab-menu'. * w3m-e21.el (TOP): Remove `(require 'w3m-tabmenu)'. * w3m-e20.el (TOP): Ditto. * w3m-om.el (TOP): Ditto. * w3m-xmas.el (w3m-setup-tab-menu, w3m-tab-menubar-pull-bufnum) (w3m-tab-menubar-make-items, w3m-select-buffer): Remove. (w3m-setup-menu): Call `w3m-setup-tab-menu' when w3m-use-tab-menubar is t. * w3mhack.el (w3mhack-examine-modules): Revival byte-compile `w3m-tabmenu.el' when XEmacs. * w3m-tabmenu.el (ALL): Full rewrite to use `easymenu'. 2001-11-13 TSUCHIYA Masatoshi * w3m.el (w3m-select-buffer-horizontal-window): New user option. (w3m-select-buffer-window-size): Ditto. (w3m-lynx-like-map): Bind `C-cC-b' as the key to call `w3m-switch-buffer. (w3m-info-like-map): Ditto. (w3m-select-buffer-window): New internal variable. (w3m-select-buffer-message): New internal constant. (w3m-select-buffer): New implementation. (w3m-select-buffer-generate-contents): New function. (w3m-select-buffer-mode-map): New keymap. (w3m-select-buffer-mode): New function. (w3m-select-buffer-recheck): New command. (w3m-select-buffer-current-buffer): New macro. (w3m-select-buffer-show-this-line): New command. (w3m-select-buffer-next-line): Ditto. (w3m-select-buffer-previous-line): Ditto. (w3m-select-buffer-copy-buffer): Ditto. (w3m-select-buffer-delete-buffer): Ditto. (w3m-select-buffer-quit): Ditto. (w3m-select-buffer-show-this-line-and-quit): Ditto. * w3m-xmas.el (w3m-switch-buffer): Renamed from `w3m-select-buffer'. * w3m-tabmenu.el (w3m-switch-buffer): Renamed from `w3m-select-buffer'. 2001-11-12 Hideyuki SHIRAI * w3m-e20.el (w3m-display-inline-images-p): Renamed from `w3m-display-inline-image-p'. * w3m-om.el (w3m-display-inline-images-p): Ditto. 2001-11-12 Yuuichi Teranishi * mew-w3m.el (mew-mime-text/html-w3m): Bind `w3m-display-inline-images' instead of `w3m-current-image-status'. * mime-w3m.el (mime-w3m-display-inline-images): Renamed from `mime-w3m-display-inline-image'. (mime-w3m-preview-text/html): Follow the change above; Bind `w3m-display-inline-images' instead of `w3m-current-image-status'. * w3m-xmas.el (w3m-display-inline-images-p): Renamed from `w3m-display-inline-image-p'; Refer `w3m-display-inline-images' instead of `w3m-current-image-status'. * w3m-e21.el (w3m-display-inline-images-p): Renamed from `w3m-display-inline-image-p'; Refer `w3m-display-inline-images' instead of `w3m-current-image-status'. * w3m.el (w3m-display-inline-image): Abolish. (w3m-current-image-status): Ditto. (w3m-display-inline-images): New buffer local variable. (w3m-default-display-inline-images): New user option. (w3m-toggle-inline-images-permanently): Ditto. (w3m-toggle-inline-image): Added docstring. (w3m-toggle-inline-images): Ditto; Refer `w3m-display-inline-images' instead of `w3m-current-image-status'. (w3m-view-url-with-external-browser): Ditto. (w3m-goto-url): Ditto. (w3m-toggle-inline-images): Change the value of `w3m-display-inline-images' even when displaying images is not completed. (w3m-copy-buffer): Set `w3m-display-inline-images' according to `w3m-toggle-inline-images-permanently'. (w3m-mode): Set value of `w3m-display-inline-images' according to `w3m-default-display-inline-images'. (w3m-goto-url): Set `w3m-display-inline-images' according to `w3m-toggle-inline-images-permanently'; Use `w3m-display-inline-images-p' instead of `w3m-display-inline-image-p'. (w3m-redisplay-with-charset): Use `w3m-display-inline-images' instead of `w3m-display-inline-image'. (w3m-region): Use `w3m-display-inline-images-p' instead of `w3m-display-inline-image-p'. 2001-11-12 Hideyuki SHIRAI * w3m.el (Top): Abolished autoload of `w3m-setup-tab'. (w3m-use-tab-menubar): Revival. (w3m-lynx-like-map): Bind `C-cC-s' as the key to call `w3m-select-buffer'. (w3m-info-like-map): Ditto. (w3m-mode): Update the doc-string for the commands `w3m-next-buffer', `w3m-previous-buffer', `w3m-delete-buffer' and `w3m-select-buffer'. Use `w3m-use-tab-menubar' and `w3m-setup-tab-menu()'. * w3m-e21.el (Top): Require `w3m-tabmenu'. * w3m-e20.el (Top): Ditto. * w3m-om.el (Top): Ditto. * w3m-tabmenu.el: Rename from `w3m-tab.el'. (w3m-setup-tab-menu): Rename from `w3m-setup-tab'. (w3m-tab-menubar-make-items): Add new option `nomenu' for w3m-select-buffer(). (w3m-select-buffer): New function. * w3m-xmas.el (w3m-setup-tab-menu): Use `defun' insted of `ignore' to avoid byte-compile warnings. (w3m-tab-menubar-pull-bufnum, w3m-tab-menubar-make-items) (w3m-select-buffer): Copy from w3m-tabmenu.el * w3mhack.el (w3mhack-examine-modules): Don't byte-compile `w3m-tabmenu.el' when XEmacs. 2001-11-12 TSUCHIYA Masatoshi * Release emacs-w3m-1.2.1 from emacs-w3m-1_2 branch. 2001-11-12 TSUCHIYA Masatoshi * w3m.el (w3m-expand-url): Remove the last segment of the base URL before concatination the specified URL which has only a query part and the base URL. 2001-11-08 Takenobu Sugiyama * shimbun/sb-nikkansports.el (shimbun-get-headers): Add new separated string for nikkansports.mlb. (shimbun-nikkansports-end-of-header-regexp): New variable (added by yamaoka 2001-11-12). 2001-11-12 TSUCHIYA Masatoshi * w3m-proc.el (w3m-process-new): Argument spec is changed. (w3m-process-process): New macro. (w3m-process-handlers): Follow the change of `w3m-process-new'. (w3m-process-kill-process): New inline function. (w3m-process-start-internal): Strict checking. (w3m-process-stop): Fixed. (w3m-process-with-wait-handler): Simplified. (w3m-process-do): Strict checking of redundant evaluation. (w3m-process-do-with-temp-buffer): Ditto. (w3m-process-start): Not bind `w3m-process-exit-status' as a local variable. (w3m-process-sentinel): Ensure that this function will be never called repeatedly; Strict checking. 2001-11-12 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-db-length): Rename from `mew-shimbun-groups-db-length'. (mew-shimbun-unseen-check): New function. (mew-shimbun-unseen-remove-all): Rename from `mew-shimbun-remove-unseen-all'. (mew-shimbun-unseen-remove): Rename from `mew-shimbun-remove-unseen'. (mew-shimbun-unseen-remove-advice): Rename from `mew-shimbun-remove-unseen-advice'. (mew-shimbun-unseen-remove-one): Rename from `mew-shimbun-unseen-remove-one'. (mew-shimbun-retrieve-article, mew-shimbun-re-retrieve-article): Handling modeline. (mew-shimbun-retrieve, mew-shimbun-retrieve-all) (mew-shimbun-re-retrieve, mew-shimbun-re-retrieve-all): Execute Scan of summary when finish to retrieve articles. * w3m-e21.el (top): Abolished a ignore() of `w3m-use-tab'. 2001-11-12 TSUCHIYA Masatoshi * w3m.el (w3m-w3m-dump-head-source): Fix the problem which occurs when no content is retrieved. 2001-11-11 TSUCHIYA Masatoshi * shimbun/shimbun.el (shimbun-retrieve-url, shimbun-retrieve-url-buffer): Follow the change of `w3m-retrieve'. * w3mhack.el (w3mhack-examine-modules): Handle `w3m-proc.el'. * w3m.el: Modified to retrieve contents asynchronously. (top): Require `w3m-proc.el' instead of `w3m-macro.el'. (w3m-command-environment): Old name is `w3m-process-environment'. (w3m-display-hook): Changed the default value. (w3m-current-buffer): New internal variable. (w3m-arrived-user-alist): Renamed to `w3m-process-user-alist' and exported to `w3m-proc.el'. (w3m-process-connection-type, w3m-process-user, w3m-process-passwd, w3m-process-user-counter, w3m-process-realm, w3m-process-temp-file, w3m-process-exit-status): Exported to `w3m-proc.el'. (w3m-toggle-inline-images-internal): Follow change of `w3m-create-image'. (w3m-exec-process): Removed. (w3m-exec-get-user): Renamed to `w3m-process-get-user' and exported to `w3m-proc.el'. (w3m-exec-get-passwd): Renamed to `w3m-process-get-passwd' and exported to `w3m-proc.el'. (w3m-exec-set-user): Renamed to `w3m-process-set-user' and exported to `w3m-proc.el'. (w3m-get-server-root): Renamed to `w3m-process-get-server-root' and exported to `w3m-proc.el'. (w3m-proxy-user): Renamed to `w3m-process-proxy-user' and exported to `w3m-proc.el'. (w3m-proxy-passwd): Renamed to `w3m-process-proxy-passwd' and exported to `w3m-proc.el'. (w3m-exec-filter): Renamed to `w3m-process-filter' and exported to `w3m-proc.el'; Slightly modified to protect illegal type of `w3m-current-url'. (w3m-decode-encoded-contents, w3m-x-moe-decode-buffer, w3m-local-dirlist-cgi, w3m-rendering-half-dump): Use `w3m-process-with-environment' to adjust the environment variables. (w3m-local-retrieve, w3m-cid-retrieve): Insert the retrieved content to this current buffer. (w3m-w3m-get-header): Call `w3m-process-start' instead of `w3m-exec-process'. (w3m-w3m-dump-head-source, w3m-w3m-retrieve, w3m-about-retrieve, w3m-retrieve, w3m-download): Reconstructed to support asynchronous operation. (w3m-exec): Removed. (w3m-retrieve-and-render, w3m-prepare-content): New function. (w3m-quit): Call `w3m-process-shutdown'. (w3m-buffer-setup): New inline function. (w3m-goto-url): Accept the 6th optional argument, and modified for asynchronous processing. (w3m-goto-url-localcgi-movepoint): Removed. (w3m-move-point-for-localcgi): New function. (w3m): Removed redundant quote from the definition of `focusing-function'; Display the browsing buffer. (w3m-region): Set `w3m-current-buffer' to this current buffer. (w3m-about, w3m-about-header): Insert the generated content to this current buffer. (w3m-about-history, w3m-about-db-history): To access buffer-local variables, refer the value of `w3m-current-buffer'. * w3m-xmas.el (top): Require `w3m-proc.el' instead of `w3m-macro.el'. (w3m-create-image): Accept the 4th optional argument, and modified for asynchronous processing. * w3m-weather.el (w3m-about-weather): Insert the generated content to this current buffer. * w3m-proc.el: New file. * w3m-namazu.el (w3m-about-namazu): Insert the generated content to this current buffer. * w3m-macro.el (w3m-with-work-buffer): Removed. (w3m-kill-buffer): New inline function. * w3m-filter.el (w3m-filter): Filtering the content in this current buffer. * w3m-e21.el (top): Require `w3m-proc.el' instead of `w3m-macro.el'. (w3m-create-image): Accept the 4th optional argument, and modified for asynchronous processing. * w3m-antenna.el (w3m-about-antenna): Insert the generated content to this current buffer. * mime-w3m.el (mime-w3m-cid-retrieve): Insert the retrieved content to this current buffer. * mew-w3m.el (mew-w3m-cid-retrieve): Insert the retrieved content to this current buffer. 2001-11-10 TSUCHIYA Masatoshi * w3m.el (w3m-use-tab-menubar): Abolished. (w3m-pop-up-windows): Changed the expression to decide its default value. (w3m-setup-menu): Removed the code to set the menubar item of TAB. (w3m-fontify-images): Accept an image-type input tag. (w3m-fontify): To accept an image-type input tag, changed the order of calling fontify functions. (top): Add autoload of `w3m-setup-tab'. (w3m-mode): Call `w3m-setup-tab'. (w3m-tab-menubar-open-buffer): Moved to `w3m-tab.el'. (w3m-tab-menubar-update): Ditto. (w3m-tab-menubar-pull-bufnum): Ditto. (w3m-tab-menubar-make-items): Ditto. * w3m-tab.el: New file. * w3m-e21.el (top): Define `w3m-use-tab' to avoid byte-compile warning. (w3m-use-tab): Moved to `w3m.el'. (w3m-setup-tab): Define as a dummy function. * w3m-xmas.el (w3m-setup-tab): Define as a dummy function. * w3m-form.el: Changes of the structure of the `w3m-form' object. (w3m-form-put-property): New inline function. (w3m-form-get-property): New macro. (w3m-form-put): Use `w3m-form-put-property'. (w3m-form-get): Use `w3m-form-get-property'. (w3m-form-make-form-data): Follow change of structure of the `w3m-form' object. (w3m-form-parse-forms): Accept an image-type input tag. (w3m-form-resume): Ditto. (w3m-form-fontify): Ditto. 2001-11-09 Katsumi Yamaoka * shimbun/sb-asahi.el (shimbun-get-headers): Look for the new news in the list page of a group if a group is a member of `shimbun-asahi-groups-should-use-list-page'. (shimbun-asahi-get-headers-in-the-top-page): New function. (shimbun-asahi-get-headers-in-the-list-page): New function. (shimbun-index-url): Use the list page of a group if a group is a member of `shimbun-asahi-groups-should-use-list-page'. (shimbun-asahi-groups-should-use-list-page): New variable. 2001-11-09 Hideyuki SHIRAI * w3m.el (w3m-use-tab-menubar): New user variable. (w3m-setup-menu): Handling tab-menubar. (w3m-tab-menubar-open-buffer, w3m-tab-menubar-update, w3m-tab-menubar-make-items): New functions. (w3m-tab-menubar-pull-bufnum): New macro. (top-level): Add define-key-after() to avoid byte-compile warnings, if XEmacs. 2001-11-08 Masayuki Ataka * w3m.el (w3m-start-url, w3m-contents-url): New buffer-local vars. (w3m-clear-local-variables): Also clear `w3m-start-url' and `w3m-contents-url'. (w3m-copy-local-variables): Also copy `w3m-start-url' and `w3m-contents-url'. (w3m-fontify-anchors, w3m-check-link-tags): Add support the tags "previous", "start" and "contents". 2001-11-02 Masatake YAMATO * w3m.el (autoload): Added w3m-antenna-add-current-url. (w3m-lynx-like-map): Likewise. (w3m-info-like-map): Likewise. (w3m-mode): Added w3m-antenna-add-current-url to doc string. * w3m-antenna.el (string-with-default): New widget. (string-with-default-value-create): New function. (w3m-antenna-sites): Use string-with-default widgets instead of string widgets. (w3m-antenna-tmp-url): New variable. (w3m-antenna-tmp-title): New variable. (w3m-antenna-add-current-url): New function. (w3m-antenna-add): New function. 2001-11-08 ARISAWA Akihiro * w3m-form.el (w3m-form-replace): Don't use `save-excursion' because point at start time may be deleted at end time. (w3m-form-textarea-replace): Ditto. (w3m-form-textarea-info): Use `w3m-get-text-property-around'. 2001-11-08 Katsumi Yamaoka * w3m.el (w3m-goto-ftp-url): Rewrote. (w3m-download): Use `w3m-goto-ftp-url' for ftp files. * w3m-e20.el (w3m-make-ccl-coding-system): Copied from w3m-fsf.el; don't call `make-coding-system' if a coding-system already exists. * w3m-e21.el (w3m-make-ccl-coding-system): Moved from w3m-fsf.el. * w3m-fsf.el (w3m-make-ccl-coding-system): Moved to w3m-e21.el. 2001-11-08 TSUCHIYA Masatoshi * w3m.el (top): Removed autoload of `w3m-remove-image'. * w3m-om.el (w3m-remove-image): Define as a dummy function. * w3m-e20.el (w3m-remove-image): Define as a dummy function. * w3m.el (w3m-quick-start): New option. (w3m-input-url): When the default string is equal to nil, it is not displayed in the prompt. (w3m): Refer `w3m-quick-start' to decide the action when interactively called. 2001-11-08 Katsumi Yamaoka * w3m.el (w3m-current-title, w3m-current-url): Define them before loading the version specific modules. 2001-11-07 TSUCHIYA Masatoshi * shimbun/sb-vinelinux.el: Changed the coding system of this file to iso-2022-7bit. * w3m-xmas.el (format-buffers-tab-line): Protect aginst errors caused by the illegal type of `w3m-current-url'. * w3m-e21.el (top): Define `w3m-current-url' and `w3m-current-title' to avoid byte-compile warnings. (w3m-insert-header-line): Protect aginst errors caused by the illegal type of `w3m-current-url'. (w3m-tab-line): Protect aginst errors caused by illegal types of `w3m-current-url' and `w3m-current-title'. 2001-11-07 Katsumi Yamaoka * w3m-xmas.el (format-buffers-tab-line): Don't use the value of `w3m-current-title' if it is nil. 2001-11-07 Hideyuki SHIRAI * w3m.el (w3m-exec-filter): Modify regexp pattern of "Wrong username or passwd". 2001-11-06 ARISAWA Akihiro * shimbun/sb-digiko.el: New file. 2001-11-06 TSUCHIYA Masatoshi * Release emacs-w3m-1.2 from emacs-w3m-1_2 branch. * w3m.el (emacs-w3m-version): Modified. (top): Protect against the error occurs when `w3m-ucs.el' isn't found. 2001-11-06 Yuuichi Teranishi * shimbun/sb-yomiuri-html.el: New file. 2001-11-06 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-md5): Remove `X-Face:' header before md5 calculation. 2001-11-06 Yuuichi Teranishi * shimbun/sb-asahi.el (shimbun-get-headers): Skip top article. 2001-11-06 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-groups): Remove user option. (mew-shimbun-folder-groups): New user option. (mew-shimbun-element-body): New macro. (mew-shimbun-retrieve): Use `mew-shimbun-folder-groups' instead of `mew-shimbun-groups'. Use `mew-shimbun-element-body' macro. (mew-shimbun-retrieve-all): Ditto. (mew-shimbun-re-retrieve): Ditto. (mew-shimbun-re-retrieve-all): Ditto. (mew-shimbun-retrieve-article): Change mandatory option. (mew-shimbun-db-setup): Throw out old format support. * README.shimbun.ja (mew-shimbun.el): Modify description. 2001-11-05 Katsumi Yamaoka * shimbun/sb-asahi.el (shimbun-index-url, shimbun-get-headers): Use the top page of each group instead of GROUP/update/list.html. 2001-11-03 Yuuichi Teranishi * w3m.el (w3m-copy-buffer): Added argument `empty'. (w3m-goto-url-new-session): Call `w3m-copy-buffer' with argument `empty' non-nil; If new url has `name' portion, goto the base url first. (w3m-view-this-url): Likewise. 2001-11-03 TSUCHIYA Masatoshi * Makefile.in (DOCS): Add `FAQ'. 2001-11-02 ARISAWA Akihiro * w3m-form.el (w3m-form-parse-forms): Decode value of input tag. (w3m-form-replace): Use `w3m-get-text-property-around'. * w3m.el (w3m-parse-attributes): Add :decode-entity attribute. (w3m-decode-entities-string): New function. 2001-11-02 Yuuichi Teranishi * w3m.el (w3m-lynx-like-map): Remove binding of `C-tab' and `C-S-tab' Bind `C-cC-t' as the key to call `w3m-copy-buffer'. Bind `C-cC-p' as the key to call `w3m-previous-buffer'. Bind `C-cC-n' as the key to call `w3m-next-buffer'. Bind `C-cC-w' as the key to call `w3m-delete-buffer'. (w3m-info-like-map): Ditto. 2001-11-02 Hideyuki SHIRAI * w3m.el (w3m-reload-this-page): When execute with prefix argument, clear post-data certainty. 2001-11-01 ARISAWA Akihiro * w3m.el (w3m-goto-url): Remove processing url's forms from the history when post data. (w3m): Use `select-frame-set-input-focus' instead of `x-focus-frame'. * w3m-form.el (w3m-form-resume): Fix typo. 2001-11-01 Yuuichi Teranishi * w3m.el (w3m-delete-buffer): New function. (w3m-copy-buffer): Call `w3m-goto-url' instead of copying buffer content. 2001-10-31 ARISAWA Akihiro * w3m-form.el (w3m-form-resume): Remove submit button status to support forms containing multiple submit buttons. 2001-10-31 Katsumi Yamaoka * w3m.el (w3m-accept-languages): Don't use config file if there are no contents for "accept_language". 2001-10-31 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-retrieve-all): When current-buffer is shimbun folder, scan update automatically. (mew-shimbun-unseen-setup): Advices for save cache are more safer. 2001-10-31 Yuuichi Teranishi * w3m-e21.el (w3m-tab-unselected-face): Setup color for tty. (w3m-tab-selected-face): Ditto. (w3m-tab-background-face): Ditto. * w3m.el (w3m-next-buffer): New function. (w3m-previous-buffer): Ditto. (w3m-lynx-like-map): Bind `C-tab' as the key to call `w3m-next-buffer'; Bind `C-S-tab' as the key to call `w3m-previous-buffer'. (w3m-info-like-map): Ditto. 2001-10-31 TSUCHIYA Masatoshi * w3m.el (w3m-accept-languages): New option. (w3m-dump-head-source-command-argument): Abolished. (w3m-dump-head-source-command-arguments): New constant. (w3m-w3m-expand-arguments): New macro. (w3m-w3m-dump-head-source): To generate command arguments for w3m, use `w3m-w3m-expand-arguments' and refer `w3m-dump-head-source-command-arguments'. (w3m-rendering-half-dump): To generate command arguments for w3m, use `w3m-w3m-expand-arguments'. 2001-10-31 Hideyuki SHIRAI * w3m.el (w3m-reload-this-page): Change the semantic of the prefix argument to `clear form and post datas'. 2001-10-31 Yuuichi Teranishi * w3m.el (w3m-pop-up-windows): Changed default value (See [emacs-w3m: 01999]). * w3m-e21.el (w3m-tab-unselected-face): Changed underline color. (w3m-tab-selected-face): Ditto. (w3m-tab-background-face): Ditto. (w3m-tab-line): Removed needless local variable `len'. 2001-10-30 Yuuichi Teranishi * w3m-e21.el (w3m-header-line-location-title-face): Specify background color. (w3m-header-line-location-title-face): Ditto. (w3m-use-tab): New user option. (w3m-tab-width): Ditto. (w3m-tab-unselected-face): New face. (w3m-tab-selected-face): Ditto. (w3m-tab-background-face): Ditto. (w3m-header-line-map): New variable. (w3m-setup-header-line): If w3m-use-tab is non-nil, use header-line as a tab area. (w3m-insert-header-line): New function. (w3m-tab-make-keymap): New function. (w3m-tab-line): New function. (w3m-fontify-after-hook): Add 'w3m-insert-header-line. 2001-10-30 Hideyuki SHIRAI * w3m.el (w3m-reload-this-page): If form data exist, ask to make use of its. Check form data modified. * shimbun/mew-shimbun.el (mew-shimbun-remove-unseen-one): Remove 'win' option. Do not save mew-cache. (mew-shimbun-remove-unseen, mew-shimbun-remove-unseen-all) (mew-shimbun-remove-unseen-advice): Call mew-shimbun-remove-unseen-one() without `win' option. (mew-shimbun-unseen-setup): New defadvice for mew-kill-buffer() and mew-remove-buffer(). * README.shimbun.ja (mew-shimbun.el): Modify description. 2001-10-30 TSUCHIYA Masatoshi * w3m-form.el (w3m-form-parse-forms): Dismantle `w3m-current-url' of its query part before the rest is refered as the default value of the action. * w3m.el (w3m-ccl-write-repeat): Accept optional arguments to avoid difference between Emacesn on CCL. (w3m-iso-latin-1-decoder): Call `w3m-ccl-write-repeat' with optional argument. 2001-10-30 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-sanity-convert-rot13): Rewrite. * README.shimbun.ja: Add information for mew-shimbun.el 2001-10-29 ARISAWA Akihiro * w3m.el (w3m-terminal-coding-system): Changed default value for w3m(en). (w3m-input-coding-system): Ditto. (w3m-default-coding-system): Ditto. (w3m-iso-latin-1-decoder): Fixed for latin-iso8859-1 under old Emacsen. (w3m-ccl-write-repeat): Ditto. 2001-10-29 Hideyuki SHIRAI * shimbun/mew-shimbun.el (Top): Modify comment. (mew-shimbun-groups-db-length): New customize variable. (mew-shimbun-unknown-from): Ditto. (mew-shimbun-mark-re-retrieve): Ditto. (mew-shimbun-before-retrieve-all-hook, mew-shimbun-retrieve-all-hook): Remove hook. (mew-shimbun-db2): New variable. (mew-shimbun-db-search-id2): New macro. (mew-shimbun-goto-folder): Rewrite. (mew-shimbun-re-retrieve): New function. (mew-shimbun-re-retrieve-all): Ditto. (mew-shimbun-get-id-msgs): Ditto. (mew-shimbun-re-retrieve-article): Ditto. (mew-shimbun-sanity-convert): Ditto. (mew-shimbun-sanity-convert-rot13): Ditto. (mew-shimbun-remove-unseen-advice): Ditto. (mew-shimbun-db-setup2): Ditto. (mew-shimbun-db-shutdown2): Ditto. (mew-shimbun-db-add-id): Hande replace. (mew-shimbun-db-length): New function. (mew-shimbun-md5): Ditto. (mew-shimbun-unseen-setup): Change defadvice function. 2001-10-29 ORI Manabu * w3m.el (w3m-type): Added the expression to detect `w3m-m17n'. 2001-10-29 TSUCHIYA Masatoshi * w3m.el (w3m-accept-japanese-characters): Use `-halfdump' option instead of `-dump' option in order to detect the real internal character set of `w3m-command'. (w3m-profile-directory): Fixed the expression to determine the default value for the environment where `w3m-command' includes redundant suffixes. (w3m-default-save-directory): Ditto. (w3m-euc-japan-encoder): Define in the old-style backquote. (w3m-iso-latin-1-encoder): Ditto. * shimbun/sb-security-memo.el: New file. * w3m.el (w3m-use-mule-ucs): Simplified. (w3m-ccl-write-repeat): Fixed. (w3m-euc-japan-decoder): Ditto. 2001-10-29 Katsumi Yamaoka * w3m.el (w3m-ccl-write-repeat): Avoid a byte-compile warning. 2001-10-28 TSUCHIYA Masatoshi * w3m.el (w3m-info-like-map): Bind `\M-g' as the key to call `goto-line'. * w3m.el (w3m-use-mule-ucs): More safe default value. (w3m-accept-japanese-characters): Improved automatic detection. (w3m-ccl-write-repeat): Fix typo. * w3m.el (w3m-type): Use the default value which detected automatically. (w3m-accept-japanese-characters): New internal variable. (w3m-terminal-coding-system): Changed the default value for w3m which doesn't accept Japanese characters. (w3m-input-coding-system): Ditto. (w3m-output-coding-system): Ditto. (w3m-default-coding-system): Changed the default value for the environment that `w3m-language' doesn't equal to "Japanese". (w3m-internal-characters-alist): New constant. (w3m-ccl-write-repeat): New internal function to generate a part of CCL decoder. (w3m-euc-japan-decoder): Modified. (w3m-iso-latin-1-decoder): New CCL program. (w3m-iso-latin-1-encoder): New CCL program which is used when `w3m-use-mule-ucs' equals to nil. (w3m-iso-latin-1): New coding system. * w3m-ucs.el (w3m-ucs-generate-ncr-program): New constant. (w3m-euc-japan-encoder): Refer `w3m-ucs-generate-ncr-program'. (w3m-iso-latin-1-encoder): New CCL program. * w3m-macro.el (w3m-static-when): New macro. (w3m-static-unless): Ditto. * w3m-e21.el (w3m-setup-header-line): Protect aginst the error occurs when `w3m-current-url' isn't string. 2001-10-26 Hideyuki SHIRAI * mew-w3m.el (mew-mime-text/html-w3m): Support `Xref' header in SHIMBUN article. 2001-10-25 Katsumi Yamaoka * w3m.el (w3m): Call `w3m-mode' for a new session; use `generate-new-buffer' instead of `get-buffer-create' for a new session; allow the optional 2nd arg NEW-SESSION. (w3m-goto-url-new-session): New command. (w3m-goto-url): Always set the value of `mode-line-buffer-identification'. (w3m-mode): Update the doc-string for the new command `w3m-goto-url-new-session'. (w3m-info-like-map): Bind the key "G" to the command `w3m-goto-url-new-session'. (w3m-lynx-like-map): Bind the key "G" to the command `w3m-goto-url-new-session'; replace the key "G" to "\M-g" for the command `goto-line'. (w3m-copy-buffer): Make all the arguments optional; make the 1st arg BUF default to the current buffer. (w3m-view-this-url): Call `w3m-copy-buffer' with the 1st arg nil. (w3m-region, w3m-find-file, w3m-browse-url, w3m-gohome, w3m-download): Add autoload magic cookie. (w3m-popup-frame-p): Allow the optional arg FORCE. 2001-10-25 Katsumi Yamaoka * w3mhack.el (w3mhack-examine-modules): Don't byte-compile w3m-ucs.el when the version of XEmacs is not greater than or equal to 21.2.37. * w3m.el (w3m-pop-up-frames, w3m-pop-up-windows): Add a recommendation to the doc-string about the use of XEmacs' buffers tab. * w3m-xmas.el (w3m-xmas-update-tab-in-gutter): New function; add it to `w3m-display-hook'. (format-buffers-tab-line): Advise the function to show the current title string in the buffer tab. (w3m-xmas-show-current-title-in-buffer-tab): New user option. (TopLevel): When compiling, use `autoload' "w3m" for the void functions instead of the use of `defalias' to `ignore'; autoload "gutter-items" for `update-tab-in-gutter'. 2001-10-25 NAKAJIMA Mikio * shimbun/sb-vinelinux.el (shimbun-vinelinux-url) Bug fixed. (shimbun-get-headers): Ditto. 2001-10-24 Katsumi Yamaoka * w3m.el (w3m-copy-buffer): Bind `pop-up-windows' to the value of `w3m-pop-up-windows'. (w3m-pop-up-windows): New user option. 2001-10-24 TSUCHIYA Masatoshi * w3m.el (w3m-rendering-buffer-1): Redundant argument is removed. 2001-10-24 Hideyuki SHIRAI * shimbun/mew-shimbun.el (mew-shimbun-use-unseen): New customize variable. (mew-shimbun-mark-unseen): Ditto. (mew-shimbun-unseen-summary-cache-save): Ditto. (mew-shimbun-before-retrieve-all-hook): Ditto. (mew-shimbun-retrieve-all-hook, mew-shimbun-before-retrieve-hook): Ditto. (mew-shimbun-retrieve-hook): Ditto. (mew-shimbun-unseen-regex): New variable. (mew-shimbun-folder-regex): Ditto. (mew-shimbun-folder-p): New defsubst. (mew-shimbun-goto-folder): Support 'unseen' mark. (mew-shimbun-retrieve-article): Ditto. (mew-shimbun-remove-unseen-all): New function. (mew-shimbun-remove-unseen): Ditto. (mew-shimbun-remove-unseen-one): Ditto. (mew-shimbun-all-unseen): Ditto. (mew-shimbun-unseen-setup): Ditto. (toplevel): If mew-shimbun-use-unseen is non-nil, execute mew-shimbun-unseen-setup(). 2001-10-24 Katsumi Yamaoka * w3m.el (w3m-view-this-url): Fixed the interactive spec. 2001-10-24 Katsumi Yamaoka Suggested by Clifford Caoile . * w3m.el (w3m-info-like-map, w3m-lynx-like-map): Bind S-SPC key to the command `w3m-scroll-down-or-previous-url'. 2001-10-23 NAKAJIMA Mikio * shimbun/sb-muchy.el (shimbun-muchy-get-headers): Bug fixed. 2001-10-23 TSUCHIYA Masatoshi * w3m.el (w3m-use-mule-ucs): Changed. (w3m-url-encode-string): Refer `w3m-default-coding-system' and `w3m-coding-system' when `coding' argument is lacked. (w3m-url-decode-string): Ditto. (w3m-rendering-buffer-1): Define as a normal function. (w3m-lynx-like-map): Changed the key which calls `w3m-save-image' from `M-I' to `M-i'. (w3m-info-like-map): Ditto; Registerd `O' as the key which calls `w3m-db-history'. * aclocal.m4 (AC_ADD_LOAD_PATH): Remove empty lines from auto detection result. * Makefile.in (DOCS): Add FAQ.ja, README.namazu.ja and README.shimbun.ja. (tarball): Handle attic/ and patches/. 2001-10-23 Katsumi Yamaoka * w3m.el (w3m-mode): Update the doc-string about making a new session. (w3m-info-like-map, w3m-lynx-like-map): Bind keys for the new commands to make a new session. (w3m-mouse-view-this-url-new-session): New command. (w3m-view-this-url-new-session): New command. (w3m-mouse-view-this-url): Make it can create a new session. (w3m-view-this-url): Ditto. 2001-10-23 TSUCHIYA Masatoshi * w3m.el (top): Add autoload for `w3m-form-parse-buffer'. (w3m-display-hook): New option. (w3m-decoder-alist): Reindent. (w3m-use-form): Changed default value. (w3m-dirlist-cgi-program): Changed the expression to get default path. (w3m-work-binary-buffer-name): New constant. (w3m-attributes): Handle URLs which start `about://source/'; It isn't defined as an inline function but a normal function to avoid byte-compile error. (w3m-arrived-add): Fixed codes to remove fragments in the specified URL. (w3m-local-retrieve): Clean up. (w3m-about-retrieve): Handle URLs which start `about://source/'. (w3m-retrieve): Doesn't call `w3m-filter'. (w3m-remove-meta-charset-tags): Renamed from `w3m-remove-meta-tags'. (w3m-rendering-region): Removed. (w3m-rendering-extract-title): New function. (w3m-rendering-half-dump): Ditto. (w3m-rendering-buffer-1): Ditto. (w3m-rendering-unibyte-buffer): Ditto. (w3m-rendering-multibyte-buffer): Ditto. (w3m-exec): Call `w3m-rendering-unibyte-buffer' instead of `w3m-rendering-region'. (w3m-edit-url): Improved to handle URLs which start `about://source/' or `about://header/'. (w3m-goto-url): Removed code to highlight current line in the history; Call hook functions in `w3m-display-hook'. (w3m-region): Call `w3m-rendering-multibyte-buffer' instead of `w3m-rendering-region'. (w3m-about): Clean up. (w3m-about-source): Removed. (w3m-view-source): Make URLs which start `about:' available. (w3m-about-header): Simplified. (w3m-history-highlight-current-url): New function. * w3m-form.el (w3m-form-parse-buffer): New function. (w3m-form-parse-region): Removed. * w3m-filter.el (w3m-filter-rules): Add the rule to call `w3m-filter-www.zdnet.co.jp'. (w3m-filter): Protect against wrong type argument. (w3m-filter-www.zdnet.co.jp): New function. * w3m-antenna.el (w3m-antenna-size): Call `w3m-remove-comments' and `w3m-filter' before checking size of contents. * w3mhack.el (w3mhack-load-path): Search `un-define' instead of `un-define.el' to check the path where Mule-UCS is installed. 2001-10-22 Hideyuki SHIRAI * shimbun/mew-shimbun.el: New file. * w3mhack.el (w3mhack-examine-modules): Handle `mew-shimbun.el'. * w3m-dtree.el (w3m-dtree-indent-strings, w3m-dtree-stop-strings): Throw out the "Japanese Character" for non-mule's environments. 2001-10-21 NAKAJIMA Mikio * shimbun/sb-muchy.el (shimbun-get-headers): Bug fixed. Add update status, license fee and ranking description, to SUBJECT. (shimbun-muchy-get-headers): New function. (shimbun-get-headers): Use `shimbun-muchy-get-headers'. Also search `http://muchy.com/whatsold.html". (shimbun-muchy-get-headers): Add new arg HEADERS. (shimbun-get-headers): Bug fixed. Do not delete working regions. (shimbun-muchy-get-headers): Remove unnecessary temporary variable COUNT. (shimbun-get-headers): Ditto. (shimbun-muchy-get-headers): Remove unnecessary `mapcar'. 2001-10-20 NAKAJIMA Mikio * shimbun/sb-muchy.el: New file. * shimbun/sb-ibm-dev.el: New file. (shimbun-make-contents): Move a reference to a PDF file to the end of buffer. Remove font class attribute from a subject string. (shimbun-make-contents): Declare a local variable SUBJECT. 2001-10-19 TSUCHIYA Masatoshi * aclocal.m4 (AC_ADD_LOAD_PATH): When `yes' or null string is passed as an argument, call `w3mhack-load-path' to search places of required modules automatically. * w3mhack.el (w3mhack-load-path): New function. 2001-10-17 Katsumi Yamaoka * w3m-xmas.el (w3m-create-image): Call `w3m-fix-gif' if `w3m-should-convert-interlaced-gifs' is non-nil. (w3m-fix-gif): Renamed from `w3m-unoptimize-animated-gif'; convert an interlaced gif to be non-interlaced as well as unoptimization. (w3m-cache-fixed-gif-images-max-length): Renamed from `w3m-cache-unoptimized-gif-images-max-length'. (w3m-cache-fixed-gif-images): Renamed from `w3m-cache-unoptimized-gif-images'. (w3m-should-convert-interlaced-gifs): New variable. 2001-10-16 ARISAWA Akihiro * README.ja: Add description about "new custom". * README: Ditto. * w3m.el (w3m-attributes): When URL matches `about://source/', returns nil as its content-charset. (w3m-about-retrieve): When URL matches `about://source/', don't call `encode-coding-region'. (w3m-about-source): Don't call `w3m-decode-region'. (w3m-exec): Use `set-buffer-file-coding-system' instead of to set `buffer-file-coding-system'. 2001-10-16 TSUCHIYA Masatoshi * w3m.el (w3m-exec): Substitute `w3m-current-coding-system' for `buffer-file-coding-system' to show the current coding system in the mode line. 2001-10-16 Katsumi Yamaoka * w3m.el (w3m-use-mule-ucs): Don't use Mule-UCS package for XEmacs versions prior to 21.2.37. 2001-10-16 TSUCHIYA Masatoshi * w3m.el (top): It doesn't require `thingatpt'. (w3m-url-at-point): New function. (w3m-input-url): Call `w3m-url-at-point' instead of `thing-at-point'; The 4th optional argument is added. (w3m): Call `w3m-input-url' with the 4th argument. 2001-10-15 NAKAJIMA Mikio * README: Add description about ftp site of FLIM. * shimbun/sb-w3m-dev.el (shimbun-get-headers, shimbun-article): Use `shimbun-coding-system-internal' to access coding-system of shimbun-w3m-dev instead of referring to `shimbun-w3m-dev-coding-system' directly. 2001-10-15 Hideyuki SHIRAI * mew-w3m.el (mew-w3m-auto-insert-image): Change from 'defcont' to 'defcustom', again. (mew-w3m-safe-url-regexp): New constant. (mew-w3m-view-inline-image): Rewrite. (mew-mime-text/html-w3m): Bind 'w3m-safe-url-regexp' to 'mew-w3m-safe-url-regexp'. 2001-10-15 NAKAJIMA Mikio * README.ja: Divided original section 2. a) into two parts, 2. a) and 2. b). Add new section 2. c), 2. e) about APEL, FLIM, shimbun library. * README: Ditto. * FAQ.ja (Q. ~~~~ Emacs ~?): Add description about where to get APEL. 2001-10-15 TSUCHIYA Masatoshi * w3m.el (w3m-expand-url): Accept URL which has the scheme part only. 2001-10-15 Akihiro Arisawa * w3m.el (w3m-url-components-regexp): Don't except `\' for scheme, authority and path. 2001-10-15 TSUCHIYA Masatoshi * shimbun/sb-fml.el (shimbun-get-headers): Call `shimbun-retrieve-url' without NO-DECODE argument. * shimbun/sb-w3m-dev.el (shimbun-get-headers): New method. (shimbun-article): New method. 2001-10-15 NAKAJIMA Mikio * shimbun/sb-fml.el (shimbun-get-headers): Call `shimbun-retrieve-url' with arg NO-DECODE when CODING-SYSTEM is non-nil. Call `shimbun-retrieve-url' with arg RELOAD. Set enable-multibyte-characters to t and decode region according to CODING-SYSTEM when CODING-SYSTEM is non-nil. * shimbun/sb-w3m-dev.el (shimbun-w3m-dev-coding-system): New variable. * shimbun/shimbun.el (shimbun-retrieve-url): Reindent. Set enable-multibyte-characters to nil when NO-DECODE is non-nil. 2001-10-15 TSUCHIYA Masatoshi * w3m.el (top): Removed autoload for `regexp-opt'. * w3m-weather.el (top): Likewise. * w3m-om.el (top): Add autoload for `regexp-opt'. 2001-10-14 Katsumi Yamaoka * w3m.el (w3m-entity-regexp): Unified to the use of `regexp-opt'; autoload regexp-opt for old Emacsen. * attic/regexp-opt.el: New file. * README.ja, README: Emacs-w3m requires the module regexp-opt. * w3m-weather.el: Autoload regexp-opt for old Emacsen. 2001-10-13 TSUCHIYA Masatoshi * w3m.el (w3m-safe-url-regexp): New variable. (w3m-retrieve): When `w3m-safe-url-regexp' has non-nil value and it matches the requested URL, doesn't fetch its contents. * mime-w3m.el (mime-w3m-display-inline-image): New option. (mime-w3m-preview-text/html): In order to avoid web bug which is described in [mew-dist 19267], restrict accesible URLs. * mew-w3m.el (mew-mime-text/html-w3m): Likewise. * w3m-weather.el (w3m-weather-url-alist): Abolished. (w3m-weather-completion-table): New constant. (w3m-weather-default-area): Refer `w3m-weather-completion-table' instead of `w3m-weather-url-alist' to decide customize spec. (w3m-weather-input-history): New variable. (w3m-weather-input-area): New function. (w3m-weather-area-completion): Ditto. (w3m-weather): Call `w3m-weather-input-area'. (w3m-about-weather): Refer `w3m-weather-completion-table' instead of `w3m-weather-url-alist' to convert the area to the real URL. 2001-10-12 Hideyuki SHIRAI * mew-w3m.el (mew-w3m-auto-insert-image): Change from 'defcustom' to 'defconst' and default value to 'nil'. (mew-w3m-view-inline-image): New function. 2001-10-12 TSUCHIYA Masatoshi * w3m.el (w3m-input-url): Accept the 3rd optional argument. (w3m): Improved interactive form. 2001-10-12 Yuuichi Teranishi , TSUCHIYA Masatoshi * w3m-e21.el (w3m-form-button-keymap): Renamed from `w3m-widget-keymap'. (w3m-form-make-button): Fixed. (w3m-setup-widget-faces): Revived. 2001-10-12 Katsumi Yamaoka * w3m.el (w3m): Always prompts user for a URL string. 2001-10-12 TSUCHIYA Masatoshi * w3m-weather.el (w3m-weather-url-alist): Refer `http://weather.yahoo.co.jp'. (w3m-weather-default-area): Change default region. (w3m-weather-filter-functions): Change default value. (w3m-about-weather): Accept `no-cache' argument. (w3m-weather-remove-headers): Modified for Yahoo. (w3m-weather-remove-footers): Ditto. (w3m-weather-insert-title): Ditto. (w3m-weather-remove-weather-images): Removed. (w3m-weather-remove-washing-images): Removed. (w3m-weather-remove-futon-images): Removed. (w3m-weather-remove-week-weather-images): Removed. * w3m-e21.el (w3m-widget-keymap): New keymap. (w3m-form-make-button): Set `w3m-widget-keymap' as keymap on buttons; Fix condition to make buttons. (w3m-setup-widget-faces): Removed. 2001-10-11 Taiki SUGAWARA * shimbun/sb-tcup.el (shimbun-tcup-make-time): Fix time regexp. (shimbun-headers): Ditto. 2001-10-11 Katsumi Yamaoka * shimbun/sb-f1express.el, shimbun/sb-fml.el, shimbun/sb-h14m.el, shimbun/sb-hns.el, shimbun/sb-impress.el, shimbun/sb-kantei.el, shimbun/sb-mainichi.el, shimbun/sb-makanai.el, shimbun/sb-mhonarc.el, shimbun/sb-nikkansports.el, shimbun/sb-nikkei.el, shimbun/sb-ruby.el, shimbun/sb-slashdot-jp.el, shimbun/sb-tcup.el, shimbun/sb-vinelinux.el, shimbun/sb-yahoo.el, shimbun/sb-zdnet.el, shimbun/shimbun.el, mew-w3m.el, w3m-form.el w3m.el: Remove useless whitespaces. * w3m.el (w3m-local-dirlist-cgi): Replace `re-search-forward' to `search-forward'; bind `beg' as a non-global variable. 2001-10-11 MIYOSHI Masanori * shimbun/sb-f1express.el (shimbun-f1express-coding-system): Abolished. * shimbun/sb-isize-sports.el (shimbun-isize-sports-coding-system): Ditto. 2001-10-11 Hideyuki SHIRAI * w3m.el (w3m-local-dirlist-cgi): Remove .... 2001-10-11 Yoichi NAKAYAMA * shimbun/sb-tcup.el (shimbun-headers): Reset locale to avoid incompatibility of `format-time-string'. 2001-10-11 TSUCHIYA Masatoshi * shimbun/sb-namazu.el (shimbun-namazu-url, shimbun-namazu-group-url-alist, shimbun-index-url): Changed URL of emacs-w3m mailing list archive. * w3m.el (w3m-expand-path-name): Fix incompatibility of drive letter. 2001-10-11 Yuuichi Teranishi * w3m-e21.el (toplevel): Require 'wid-edit. (w3m-form-button-face): Set background and foreground color; Set box line-width as 2. (w3m-form-button-pressed-face): Ditto. (w3m-form-button-mouse-face): New face. (w3m-form-button): New widget button. (w3m-form-make-button): Use `widget-convert-button' to put w3m-form-button. (w3m-setup-widget-faces): New function. (w3m-mode-hook): Add `w3m-setup-widget-faces'. (w3m-form-make-button): Don't check :box attribute when w3m-form-use-fancy-faces is non-nil. * shimbun/sb-slashdot-jp.el: Merged patch from `http://homepage2.nifty.com/strlcat/sb-slashdot-jp.patch'. 2001-10-11 Hideyuki SHIRAI * w3m.el (w3m-decoder-alist): Fix for Windows or OS/2 environments. 2001-10-11 TSUCHIYA Masatoshi * w3m.el (w3m-display-inline-image): Update document. (w3m-decoder-alist): Change default value. (w3m-current-image-status): New buffer-local variable. (w3m-which-command): Export to w3m-macro.el. (w3m-decode-encoded-contents): Small change. (w3m-expand-url): Fix to remove an empty query part and an empty fragment part correctly. (w3m-toggle-inline-images): Refer `w3m-current-image-status' instead of `w3m-display-inline-image'. (w3m-view-url-with-external-browser): Ditto. (w3m-goto-url): Ditto. (w3m-reload-this-page): Ditto. (w3m-redisplay-with-charset): Ditto. * w3m-e21.el (top, w3m-display-inline-image-p): Refer `w3m-current-image-status' instead of `w3m-display-inline-image'. * w3m-om.el (w3m-expand-path-name): Add 2nd optional argument. * w3m-macro.el (w3m-which-command): Import from w3m.el. * w3m-xmas.el (top, w3m-display-inline-image-p): Refer `w3m-current-image-status' instead of `w3m-display-inline-image'. * mew-w3m.el (mew-mime-text/html-w3m): Refer `w3m-current-image-status' instead of `w3m-display-inline-image'. 2001-10-11 Hideyuki SHIRAI * shimbun/sb-slashdot-jp.el (shimbun-slashdot-jp-months): Tiny fix. 2001-10-10 TSUCHIYA Masatoshi * w3m.el (w3m-cache-header): Add 3rd optional argument. (w3m-w3m-dump-head-source): Call `w3m-cache-header' with `overwrite' option. * w3m.el (w3m-cache-header-delete-variable-part): New function. (w3m-cache-header): Remove cached contents when inconsistency between new header and cached header is found. * w3m.el (w3m-expand-url): Fix the last change. (w3m-url-hierarchical-schemes): Add `file'. (w3m-goto-url): Use `\`' instead of `^' as a meta character. * w3m.el (w3m-fontify-anchors): Fix. (w3m-url-fallback-base): New constant. (w3m-expand-url): Make it robust against illegal base-URL. * w3m.el (w3m-url-components-regexp): New constant. (w3m-url-hierarchical-schemes): Ditto. (w3m-expand-url): Reimplemented. (w3m-view-this-url): Remove a redundant local variable. (w3m-mouse-view-this-url): Call `w3m-view-this-url'. (w3m-goto-url): Refer `w3m-url-components-regexp' to delete a fragment part of URL. * mime-w3m.el (mime-w3m-view-this-url): When there is an inline image under point, display it. (mime-w3m-mouse-view-this-url): Call `mime-w3m-view-this-url'. 2001-10-09 Katsumi Yamaoka * w3m.el (w3m-expand-url): Emergency fixed. 2001-10-09 Katsumi Yamaoka * w3m.el (w3m-expand-url): Make it work correctly when a url begins with "//". 2001-10-09 TSUCHIYA Masatoshi * w3m.el (w3m-language): New option. (w3m-default-coding-system): Refer `w3m-language' to decide default value. (w3m-coding-system-priority-list): Ditto. (w3m-toolbar): Ditto. (w3m-url-to-file-name): Moved to avoid byte-compile warnings. (w3m-expand-file-name-as-url): Ditto. (w3m-url-local-p): Ditto. (w3m-url-dtree-p): Ditto. (w3m-view-this-url): When there is an inline image under point, display it. (w3m-mouse-view-this-url): Ditto. (w3m-view-url-with-external-browser): Renamed from `w3m-view-current-url-with-external-browser'. Handle an inline image under point. (w3m-download-this-url): Handle an inline image under point. (w3m-info-like-map): Reconstructed. * w3m-search.el (w3m-search-default-coding-system): Abolished. (w3m-search-engine-alist): Refer `w3m-language' to decide default value. (w3m-search-escape-query-string): Refer `w3m-default-coding-system' instead of `w3m-search-default-coding-system'. 2001-10-05 TSUCHIYA Masatoshi * w3m-form.el (w3m-form-use-fancy-faces): New option. (w3m-form-make-button): New function. (w3m-form-fontify): Call `w3m-form-make-button'. * w3m-e21.el (w3m-form-button-face): New face. (w3m-form-button-pressed-face): Ditto. (w3m-form-make-button): New function. 2001-10-04 Katsumi Yamaoka * w3m-om.el (read-string): Unify the advice form. (w3m-om-coding-system-alist): Fix doc-string. 2001-10-04 Katsumi Yamaoka * w3m-om.el (read-string): Don't modify the value of `current-load-list' when advising it. * mime-w3m.el (mime-w3m-remove-text-properties): Don't modify the value of `current-load-list' when advising the function `kill-new'; add a doc-string. * w3m.el (w3m-decode-entities): Save-match-data when `w3m-entity-value' is called. 2001-10-03 ARISAWA Akihiro * w3m-xmas.el (w3m-detect-coding-region): Return just the return value of `detect-coding-with-priority' if it is not a list, again. 2001-10-03 Katsumi Yamaoka * w3m-om.el (read-string): Advise the function to allow the 4th argument `default-value'. 2001-10-03 TSUCHIYA Masatoshi * mime-w3m.el (mime-w3m-remove-text-properties): New advice to protect `kill-ring-save' against the `local-map' text property. 2001-10-03 Katsumi Yamaoka * w3m-om.el (w3m-detect-coding-region): Use the fixed value for the list of coding-categories; suppress the duplication of coding- categories. (TopLevel): Protect against non-existent coding-systems when creating the modern coding-systems. (w3m-om-coding-category-alist): Reinforce the default value. (w3m-om-coding-categories): Abolish. (w3m-om-coding-system-alist): Add some new coding-systems. * w3m-fsf.el (w3m-detect-coding-region): Suppress the duplication of coding-categories. * w3m-xmas.el (w3m-detect-coding-region): Ditto; use `coding-system-category' instead of `coding-system-type'. 2001-10-03 Yuuichi Teranishi * w3m.el (w3m-show-inline-images-before-hook, w3m-show-inline-images-after-hook, w3m-remove-inline-images-before-hook, w3m-remove-inline-images-after-hook): Abolished. (w3m-modeline-image-status-on): New constant. (w3m-modeline-image-status-off): Ditto. (w3m-image-only-page): New buffer local variable. (w3m-display-inline-image-status): Abolished. (w3m-fontify-images): Put `w3m-image-status property'. (w3m-toggle-inline-images-internal): New inline function. (w3m-exec): Set w3m-image-only-page as t. (w3m-lynx-like-map): Bind "T" to 'w3m-toggle-inline-images and "t" to 'w3m-toggle-inline-image. (w3m-goto-url): Set w3m-image-only-page as nil at first; Setup modeline to display image display status; Display image if w3m-image-only-page is nil. * w3m-e21.el (w3m-cache-underline-faces): Abolished. (w3m-insert-image): Set text property 'w3m-undeline-face to the image instead of setting up w3m-cache-underline-faces. (w3m-remove-image): Recover underline faces. (w3m-fontify-before-hook, w3m-show-inline-images-before-hook, w3m-show-inline-images-after-hook, w3m-remove-inline-images-after-hook): Don't set up. 2001-10-02 Katsumi Yamaoka * w3m-om.el (w3m-detect-coding-region): Make it work. * w3m-xmas.el (w3m-detect-coding-region): Return just the return value of `detect-coding-with-priority' if it is not a list, otherwise the car of the value. 2001-10-02 ARISAWA Akihiro * w3m.el (w3m-coding-system-priority-list): New user option. (w3m-decode-buffer): Use it. * w3m-fsf.el (w3m-detect-coding-region): Remove argument `highest'; always return the first possible coding system. Add new optional argument `priority-list'. Use `detect-coding-with-priority'. * w3m-xmas.el (w3m-detect-coding-region): Ditto. * w3m-om.el (w3m-detect-coding-region): Remove argument `highest'; always return the first possible coding system. Add new optional argument `priority-list'. 2001-10-02 Katsumi Yamaoka * w3m-om.el (w3m-detect-coding-region): Return a non-list of a coding-system if the number of return value is only one; use `w3m-om-modernize-coding-system' and `w3m-om-coding-categories'; use `code-detect-region' instead of `detect-coding-region'. (w3m-om-modernize-coding-system): New function. (w3m-om-coding-category-alist): Use `w3m-om-coding-categories'. (w3m-om-coding-categories): New constant. (w3m-om-coding-system-alist): Add `emacs-mule'. 2001-10-01 Katsumi Yamaoka * w3m.el (TopLevel): Don't byte-compile the source form to bind colon keywords for old Emacsen. 2001-10-01 Masatake YAMATO * w3m.el (w3m-mode): Added `w3m-toggle-inline-images' to the mode description. 2001-10-01 TSUCHIYA Masatoshi * w3m.el (w3m-edit-url-directory-alist): New option. (w3m-edit-url): New function. (w3m-edit-current-url): Call `w3m-edit-url'. (w3m-edit-this-url): Ditto. 2001-10-01 Katsumi Yamaoka * w3m-om.el (w3m-detect-coding-region): Prefer the coding-category that the value of `w3m-default-coding-system' belongs to. (w3m-om-coding-category-alist): New variable. (w3m-om-coding-system-alist): New variable. * w3m.el (w3m-default-coding-system): Default to `shift_jis' when Mule2 is running. 2001-09-30 TSUCHIYA Masatoshi * w3mhack.el (w3mhack-examine-modules): Handle `w3m-fsf.el'. * w3m.el (w3m-default-coding-system): New option. (w3m-decode-buffer): Call `w3m-detect-coding-region' instead of `detect-coding-region'. (w3m-make-ccl-coding-system): Export it to `w3m-fsf.el'. * w3m-xmas.el (coding-system-category): Removed. (w3m-detect-coding-region): New function. * w3m-om.el (coding-system-category): Removed. (w3m-detect-coding-region): New function. * w3m-fsf.el: New file. * w3m-form.el (w3m-form-default-coding-system): Abolished. (w3m-form-make-form-data): Refer `w3m-default-coding-system' instead of `w3m-form-default-coding-system'. * w3m-e21.el (top): Require `w3m-fsf'. (w3m-find-coding-system): Export it to `w3m-fsf.el'. * w3m-e20.el (top): Require `w3m-fsf'. (w3m-find-coding-system): Export it to `w3m-fsf.el'. * w3m.el (w3m-goto-url): Change effect of the 3rd argument `charset'. (w3m-redisplay-with-charset): Reimplemented. (w3m-view-source): Improved to handle `about://header/...'. (w3m-about-header): Show title etc. (w3m-view-header): Improved to handle `about://source/...'. 2001-09-28 kkonishi * w3m-search.el (w3m-search-engine-alist): New search engines, `excite-ja', `lycos-ja', `altavista' and `freebsd-users-jp'. 2001-09-28 TSUCHIYA Masatoshi * w3m.el (w3m-goto-url): Speed up the action to refer a name anchor in the same document. 2001-09-27 TSUCHIYA Masatoshi * w3m.el (w3m-copy-local-variables): Simplified. (w3m-region): Set `w3m-current-base-url'. * w3m.el: Fix the bug reported in [emacs-w3m:01564]. (w3m-current-base-url): New buffer-local variable. (w3m-clear-local-variables): Handle `w3m-current-base-url'. (w3m-copy-local-variables): Ditto. (w3m-attributes): Change spec of return value. (w3m-w3m-attributes): Ditto. (w3m-local-attributes): Ditto. (w3m-base-url): New macro. (w3m-expand-url): Make the second argument `base' optional, and refer `w3m-current-base-url' when a relative URL is canonicalized. (w3m-fontify-anchors): Follow change of `w3m-expand-url'. (w3m-fontify-images): Ditto. (w3m-toggle-inline-images): Ditto. (w3m-exec): Call `w3m-base-url' to set `w3m-current-base-url'. * w3m-form.el (w3m-form-new): Canonicalize `action' whenever this function is called. (w3m-form-parse-forms): Follow change of `w3m-form-new'. (w3m-form-submit): Ditto. (w3m-form-input-map-set): Follow change of `w3m-expand-url'. 2001-09-26 Katsumi Yamaoka * w3m.el (w3m-goto-url): Position point to the current url and highlight the line when the page is for listing the history (suggested by SHIRAI-san). (w3m-history-current-url-face): New face. (w3m-image-face, w3m-arrived-anchor-face, w3m-anchor-face): Fix doc-string. 2001-09-26 Hideyuki SHIRAI * w3m.el (w3m-about-db-history-today): New defsubst. (w3m-about-db-history): If arrived time within 18 hours, display with "HH:MM:SS". 2001-09-22 MIYOSHI Masanori * shimbun/sb-isize-sports.el (shimbun-isize-sports-group-alist): Follow the change of the Web site. 2001-09-18 ARISAWA Akihiro * w3m-ucs.el (w3m-euc-japan-encoder): Convert lain-jisx0201 to ASCII; Avoid deep nesting. (TopLevel): Don't require `w3m-macro'. 2001-09-18 TSUCHIYA Masatoshi * w3m-om.el (w3m-expand-path-name): Cancel last change. 2001-09-17 TSUCHIYA Masatoshi * w3m.el (w3m-expand-path-name): Except Mule2, define alias of `expand-file-name'. * w3m-om.el (w3m-expand-path-name): Re-implemented. * w3m-e20.el (w3m-expand-path-name): Removed. * w3m-e21.el (w3m-expand-path-name): Ditto. * w3m-xmas.el (w3m-expand-path-name): Ditto. 2001-09-17 Katsumi Yamaoka * w3mhack.el (w3mhack-generate-colon-keywords-file): Renamed from `w3mhack-bind-colon-keywords'; generate a file which contains a list of colon keywords; don't bind colon keywords. (w3mhack-colon-keywords-file): New constant. * w3m.el: Load w3m-kwds.el if a colon keyword is not avaulable. (w3m-colon-keywords): Abolished. * Makefile.in (keywords): Create w3m-kwds.el instead of w3mkwds.el; don't remove w3m-kwds.el in advance. (clean): Remove w3m-kwds.el instead of w3mkwds.el. (install): Install w3m-kwds.el if it exists. 2001-09-17 Yuuichi Teranishi * w3m.el (w3m-expand-url): Use `w3m-expand-path-name' instead of `expand-file-name'. * w3m-om.el (w3m-expand-path-name): New function. * w3m-e20.el (w3m-expand-path-name): New alias. * w3m-xmas.el (w3m-expand-path-name): Ditto. * w3m-e21.el (w3m-expand-path-name): Ditto. 2001-09-17 TSUCHIYA Masatoshi * w3m-search.el (w3m-search-engine-alist): Changed default value of `google'. Add new engines `debian-pkg', `debian-bts', and `iij-archie'. 2001-09-17 Masayuki Ataka * w3m-search.el (w3m-search-engine-alist): Changed default value of `google-ja'. 2001-09-16 TSUCHIYA Masatoshi * w3m.el (top): Require `ccl'. (w3m-make-ccl-coding-system): New function for Emacs20 / Emacs21. (w3m-euc-japan): Define with `w3m-make-ccl-coding-system'. * w3m-macro.el (top): Delete garbage. * w3m-e21.el (top): Fix to avoid byte-compile warnings. * w3m-xmas.el (top): Require `pccl' and fix to avoid byte-compile warnings. (w3m-make-ccl-coding-system): New alias to `make-ccl-coding-system'. * w3m-om.el (top): Require `pccl'. (w3m-make-ccl-coding-system): New alias to `make-ccl-coding-system'. * w3m-search.el (w3m-search): Fixed search engine specification error when interactively called with prefix arguments. 2001-09-15 TSUCHIYA Masatoshi * w3m-macro.el (w3m-with-work-buffer): Keep `w3m-history' and `w3m-history-flat' through buffers. * w3m.el (w3m-current-buffer): Abolished. (w3m-goto-url): Don't set `w3m-current-buffer'. (w3m-region): Ditto. (w3m-about-history): Don't refer `w3m-current-buffer'. * w3m-form.el (w3m-form-parse-region): Simplified. (w3m-form-parse-forms): Accept