Fetching contributors…
Cannot retrieve contributors at this time
12648 lines (8819 sloc) 440 KB
2018-02-22 Katsumi Yamaoka <>
* w3m-util.el (w3m-generate-new-buffer): Work for w3m-fb-mode correctly
2018-02-20 Boruch Baum <>
* w3m.el (w3m-relationship-estimate-rules): Remove rule for
discontinued website. Improve docstring
2018-02-21 Katsumi Yamaoka <>
Delete about://cookie/ buffer when w3m-view-previous-page is performed.
Suggested by Dan Jacobson.
* w3m-cookie.el (w3m-cookie): Clear history.
* w3m.el (w3m-view-previous-page): Delete about://cookie/ buffer
if there is no other w3m-mode buffer.
2018-02-18 Boruch Baum <>
* w3m-session.el (w3m-session-select-quit): Remove cruft:
w3m-session-select-wincfg is used, but never set. This caused a bad
(nil) window configuration to be used when exiting a session-select
window in w3m-fb mode ([emacs-w3m:12918]).
2018-02-18 Boruch Baum <>
* w3m-session.el (w3m-session-rename): BUGFIX: had been failing to find
buffers with identical names to rename candidate ([emacs-w3m:12917]).
2018-02-18 Boruch Baum <>
* w3m.el (w3m-quit): Maintain frame isolation when in fb-mode.
Update docstring.
(w3m-close-window): Update doscstring.
* w3m-fb.el (w3m-fb-delete-frame-buffers): Kill all buffers directly
instead of incrementally moving to next one. This also is part of the
fix so that frame isolation is maintained in fb-mode after quitting.
2018-02-18 Boruch Baum <>
* w3m-search.el (w3m-search-default-engine): Restrict options to valid
current choices and present them as radio buttons ([emacs-w3m:12915]).
2018-02-18 Katsumi Yamaoka <>
* w3m-session.el: Tidy up source code so as to be within 80-column.
2018-02-16 Boruch Baum <>
* w3m-session.el: Reformat docstrings for proper opening summary
sentence ([emacs-w3m:12912]).
2018-02-16 Katsumi Yamaoka <>
* w3m-fb.el (w3m-fb-mode, w3m-fb-delete-frame-kill-buffers):
Use delete-frame-functions.
(w3m-fb-delete-frame-functions): Remove.
* w3m-util.el (w3m-delete-frames-and-windows): Bind
delete-frame-functions so as not to run w3m-fb-delete-frame-buffers.
(w3m-delete-w3m-initial-frames): Remove obsolete delete-frame-hook.
2018-02-15 Boruch Baum <>
* w3m-session.el: Add commentary, correct grammar of prompts..
(w3m-session-group-open): New variable
(w3m-session-select-quit): Quitting a session-group display returns to
its parent session list display.
(w3m-session-select-open-session-group, w3m-session-select-rename)
(w3m-session-select-delete): Stay on proper line when within
session-group display, after renaming or deleting an entry.
This required adding an optional arg to the function.
(w3m-session-rename): Allow renaming individual tabs of a session.
(w3m-session-delete): Allow deleting individual tabs of a session.
2018-02-14 Boruch Baum <>
* w3m.el (w3m-external-view): Fix regex for url's that contain uri
'query' and or 'fragment' components ([emacs-w3m:12901]).
2018-02-05 Katsumi Yamaoka <>
* w3m-util.el (w3m-string-match-url-components)
(w3m-string-match-url-components-1, w3m-url-strip-fragment):
Don't recognize a url fragment "#/foo" as a name attribution.
2018-02-02 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-gnome-bugzilla):
Limit to <pre class="bz_comment_text">. Thanks to Kevin Ryde
2018-01-30 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-gnome-bugzilla): New ([emacs-w3m:12885]).
2018-01-19 Boruch Baum <>
* w3m.el (w3m-user-agent-site-specific): Remove debug message.
2018-01-18 Boruch Baum <>
* w3m.el (w3m-add-referer): Update for https support.
(w3m-user-agent-site-specific-alist, w3m-user-agent-site-specific):
New feature.
(w3m-header-arguments, w3m-request-arguments): Integrate new feature.
2018-01-17 Boruch Baum <>
* w3m.el (w3m-user-agent-change): New feature.
(w3m-reload-this-page): Integrate new feature.
(w3m-request-arguments, w3m-header-arguments): Ensure w3m and
w3mmee honor `w3m-add-user-agent'. [emacs-w3m:12876]
2018-01-16 Katsumi Yamaoka <>
Make `cd doc; make pdf' work again [emacs-w3m:12875]
This requires Texinfo the version >=6.3, and either (or both) of LuaTeX
>=0.95 (i.e., TeXLive >=2016) or XeTeX >=0.9998 (i.e., TeXLive >=2012).
* (clean): Use doc/Makefile's clean.
* aclocal.m4 (AC_CHECK_TEXINFO): New function.
* (MAKEINFO, TEXI2PDF): Check version.
(PDFTEX): New internal variable.
(dvi, dvi-en, dvi-ja, emacs-w3m.dvi, emacs-w3m-ja.dvi, .texi.dvi):
Remove targets.
(.texi.pdf): Use texi2pdf instead of dvipdfmx.
(clean): Renew.
* doc/emacs-w3m-ja.texi (texinfo-ja.tex): Use it instead of texinfo.tex.
(@documentencoding): New.
(@usedvipdfmx): Remove.
* doc/texinfo-ja.tex: New file.
* doc/texinfo.tex, doc/txi-en.tex, doc/txi-ja.tex: Renew.
2017-12-22 Katsumi Yamaoka <>
Update selection buffer properly after deletion or renaming.
Suggested by Boruch Baum ([emacs-w3m:12847]).
* w3m-session.el (w3m-session-save): Update selection buffer.
(w3m-session-select-rename, w3m-session-select-delete):
Make the selected session highlighted after renaming or deletion.
(w3m-session-select): Allow specifying the session number;
close selection window when no session remains after deletion.
(w3m-session-save, w3m-session-rename): Emulate INITIAL-INPUT.
2017-12-12 Boruch Baum <>
* w3m.el (w3m-lynx-like-map): Remap "s" to `w3m-search', "S" to
`w3m-search-new-session'. [emacs-w3m:12838]
(w3m-ctl-c-map): Remap "C-c M-h" to `w3m-history' [emacs-w3m:12842]
2017-12-08 Boruch Baum <>
* w3m.el (w3m-edit-url, w3m-edit-current-url, w3m-edit-this-url):
Enable editing non-local files. In such cases, the user is prompted to
save the emacs-w3m buffer locally, prior to beginning the editing
session. Edit docstring.
(w3m-goto-url, w3m-goto-url-new-session): Clarify in docstring
and in input prompt whether the action is to happen in the current or
in a new buffer.
* w3m-save.el (w3m-save-buffer): function returns the saved file name.
* w3m-bookmark.el (w3m-bookmark-view-new-session): Add to docstring
whether the bookmark list will be presented in the current or in a new
* w3m-search.el (w3m-search-read-variables): Add to docstring
information on new arg, rename arg to `where', change terminology from
`session' to `buffer'.
(w3m-search, w3m-search-new-session): Add to docstring whether results
will be repesented in the current or in a new buffer.
2017-12-07 Boruch Baum <>
* w3m-search.el (w3m-search, w3m-search-new-session)
(w3m-search-read-variables): Provide visual feedback for whether search
will be in new or current session ([emacs-w3m:12837]).
2017-12-07 Katsumi Yamaoka <>
* w3mhack.el: Require seq.
* w3m-session.el (w3m-session-save, w3m-session-crash-recovery-save)
(w3m-session-crash-recovery-remove, w3m-session-rename)
(w3m-session-delete): Use delq rather than delete.
2017-12-07 Boruch Baum <>
* w3m-session.el (w3m-session-select-delete)
(w3m-session-select-rename): Retain cursor position after completion;
simplify code ([emacs-w3m:12832]).
2017-12-04 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-add-name-anchors): Relax regexp
([emacs-w3m:12824]). Thanks to Musha-san and Shirai-san.
2017-12-03 Katsumi Yamaoka <>
* w3m.el (w3m-detect-meta-charset): Ignore comment ([emacs-w3m:12828]).
Thanks to Renato Ferreira.
2017-11-18 Hideyuki SHIRAI <>
* w3m-filter.el (w3m-filter-add-name-anchors):
Work for id="name" where name begins with "." ([emacs-w3m:12812]).
2017-10-13 Katsumi Yamaoka <>
* w3m.el (w3m-copy-buffer): Make the copied buffer the next of the
current buffer by default (like Firefox does); use the new argument
LAST to make it the last in order of buffers.
(w3m-view-this-url-1, w3m-goto-url, w3m-goto-url-new-session): Set LAST.
* w3m-util.el (w3m-generate-new-buffer): Make the new buffer the next
of the current buffer if the new argument NEXT is set.
* w3m-util.el (w3m-about-cookie): Use input instead of textarea.
2017-10-13 Katsumi Yamaoka <>
Make `w3m-retrieve' do onload redirection.
* w3m.el (w3m-retrieve-and-render): Move onload redirection stuff to
(w3m-w3m-onload-redirection): New function.
(w3m-w3m-retrieve-1): Use it.
(w3m-decode-encoded-contents): Use zlib-decompress-region for gzip.
2017-09-26 Katsumi Yamaoka <>
* w3m-cookie.el (w3m-about-cookie): Work for old Emacsen.
* aclocal.m4 (AC_PATH_EMACS): Work for Emacs 27 and greater.
2017-09-25 Boruch Baum <>
* w3m.el (w3m-confirm-leaving-secure-page):
Move forward ([emacs-w3m:12807]).
2017-09-25 Boruch Baum <>
* w3m.el (w3m-goto-url-new-session): Fix the problem ([emacs-w3m:12584])
that a w3m buffer is mis-named "*server*-nnnnnn";
Use (if (not CONDITION) FOO BAR) instead of (if CONDITION BAR FOO) style
in order to improve the visibility of the code.
2017-09-11 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Workaround: don't do redirection if
the onload function name doesn't end with ".submit" ([emacs-w3m:12795]).
* w3m.el (w3m-content-type-alist): Run mailcap-parse-mailcaps and
mailcap-parse-mimetypes before setting it.
(w3m-create-page): Run w3m-external-view in tty for images, etc.
(w3m-external-view-file): Make deleting of temp file delayed.
2017-09-06 Katsumi Yamaoka <>
* w3m.el (w3m-verbose, w3m-message-silent, w3m-message): Doc fix.
* w3m-cookie.el (w3m-about-cookie):
Add GUIs that support limiting and deleting ([emacs-w3m:12790]).
* w3m-form.el (w3m-form-make-form-data):
Don't encode SPC in a search word used for w3m-cookie.
2017-08-25 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Parse a form in its page buffer.
2017-08-11 Boruch Baum <>
* w3m.el (w3m-italic):
* w3m-lnum.el (w3m-lnum-minibuffer-prompt, w3m-lnum-match):
* w3m-session.el (w3m-session-select, w3m-session-selected):
Update "face spec" DISPLAY form "type" to be `nil' for character-only
terminals. [emacs-w3m:12788]
2017-08-10 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Do onload redirection.
2017-08-08 Katsumi Yamaoka <>
* w3m.el (w3m-arrived-shutdown):
* w3m-cookie.el (w3m-cookie-shutdown): Don't error out.
2017-08-08 Akinori MUSHA <>
* w3m.el: Don't add autoload functions to hooks (see below).
* w3m-cookie.el: Add w3m-cookie-shutdown to kill-emacs-hook here.
* w3m-sesseion.el: Add w3m-session-crash-recovery-remove and
w3m-session-automatic-save to w3m-arrived-shutdown-functions here.
2017-08-08 Katsumi Yamaoka <>
* w3m.el (w3m-scroll-up, w3m-scroll-down): Make argument default to 1
if and only if called interactively so that w3m-scroll-up-or-next-url
and w3m-scroll-down-or-previous-url work as before. [emacs-w3m:12783]
2017-08-04 Katsumi Yamaoka <>
* w3m-cookie.el (w3m-cookie-1-acceptable-p):
Use url-domsuf-cookie-allowed-p if available to check if a domain is
unique to allow having cookies set. [emacs-w3m:12782]
2017-08-03 Boruch Baum <>
* w3m.el (w3m-scroll-up, w3m-scroll-down): Remove restriction of using
prefix-argument, remove code that fixes bug in emacs v21.
(w3m-mwheel-scroll-up, w3m-mwheel-scroll-down): Delete.
(w3m-mode): Change local bindings of `mwheel-scroll-up-function' and
`mwheel-scroll-down-function' to `w3m-scroll-up' and `w3m-scroll-down'.
2017-08-02 Boruch Baum <>
* w3m-search.el (w3m-search-engine-alist): Update URL for debian
package search, and change its default parameters from i386
architecture to amd64. [emacs-w3m:12776]
2017-07-28 defanor <>
"google feeling lucky" to "feeling searchy" ([emacs-w3m:12774])
* w3m.el (w3m-enable-feeling-searchy):
Rename from w3m-enable-google-feeling-lucky.
Doc fix; use w3m-search-do-search to generate url.
(w3m-canonicalize-url, w3m-input-url, w3m-view-this-url, w3m-goto-url)
(w3m-goto-url-new-session, w3m): feeling-lucky to feeling-searchy.
2017-07-26 Katsumi Yamaoka <>
Fix cookies handling ([emacs-w3m:12768], [emacs-w3m:12772])
Regard a Set-Cookie header as it contains a single cookie, that is,
the one at the beginning of the field is it and succeeding semi-colon
separated ones are the attributions of it. Formerly the Lisp code
regarded the semi-colon separated ones as all individual cookies, and
therefore the locally stored cookies would potentially be all bogus.
So, we highly recommend resetting it once when you start using or if
you are already using this version of w3m-cookie.el. To do that,
shutdown Emacs and delete the "~/.w3m/.cookie" file (or the ".cookie"
file existing in the `w3m-profile-directory').
* w3m-cookie.el (w3m-cookie-parse-args): Reverse the order of the value.
(w3m-cookie-1-set): Regard a Set-Cookie header as it contains a single
cookie; prefer Max-Age than Expires and convert it to Expires.
(w3m-cookie-get): Use "NAME", not "NAME=", if the value of NAME is null.
2017-07-25 Katsumi Yamaoka <>
* w3m.el (w3m-content-type-alist): Exclude zero-length extension.
(w3m-canonicalize-url): Test preferentially if URL is a local file.
2017-07-21 Katsumi Yamaoka <>
* w3m-util.el (w3m-url-invalid-regexp): Remove.
(w3m-url-valid): Use w3m-url-invalid-base instead. [emacs-w3m:12767]
2017-07-20 Boruch Baum <>
* w3m.el, w3m-util.el (w3m-url-fallback-base):
Rename `w3m-url-fallback-base' to more descriptive
`w3m-url-invalid-base' ([emacs-w3m:12763]).
2017-07-20 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly):
Work for two or more disabled tags.
2017-07-16 Boruch Baum <>
* w3m.el (w3m-canonicalize-url): Make scheme default to https, not http.
2017-07-14 Katsumi Yamaoka <>
* w3m-util.el (w3m-delete-frames-and-windows): Replace `one-window-p'
with a custom function that works for unselected windows as well.
2017-07-11 Katsumi Yamaoka <>
* w3m-util.el (w3m-delete-frames-and-windows): Work for Emacs on tty;
always delete w3m windows if possible ([emacs-w3m:12733]).
* w3m.el (w3m-select-buffer-delete-buffer):
No need to wind up selection buffer when quitting.
2017-07-10 Katsumi Yamaoka <>
* w3m.el (w3m-show-form-hint): Clarify echo message.
* w3m-form.el (w3m-form-expand-form, w3m-form-unexpand-form):
Work for mouse-clicking ([emacs-w3m:12731]).
2017-07-07 Katsumi Yamaoka <>
* w3m.el (w3m-show-form-hint): Expand form so at to show text fully.
* w3m-form.el (w3m-form-input): Revert 2017-06-30 change.
(w3m-form-expand-form, w3m-form-unexpand-form): New functions.
2017-07-05 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-input-textarea-mode-hook): Fix mismatched paren;
use outline-show-all instead of show-all if available.
2017-07-04 Katsumi Yamaoka <>
* w3m.el (w3m-content-type-alist): Use mailcap.
(w3m-image-viewer): Abolish.
(w3m-create-page): Allow user to download file of unknown content-type.
2017-06-30 Vladimir Sedach <>
* w3m-form.el (w3m-form-input): If input is readonly, put the input
value on the kill ring in addition to displaying it in the echo area.
2017-06-28 Katsumi Yamaoka <>
* mime-w3m.el, w3m-antenna.el, w3m-bookmark.el, w3m-cookie.el,
w3m-dtree.el, w3m-ems.el, w3m-favicon.el, w3m-filter.el, w3m-form.el,
w3m-namazu.el, w3m-perldoc.el, w3m-search.el, w3m-session.el,
w3m-symbol.el, w3m.el:
Remove `:size 0' from defcustoms ([emacs-w3m:12709]).
2017-06-26 Vladimir Sedach <>
* w3m.el (w3m-url-completion-map): Bind "?" to self-insert-command.
2017-06-22 Vladimir Sedach <>
* w3m.el (w3m-external-view-temp-directory): New user option.
(w3m-external-view): Use it control which directory files are saved to
before being opened with the external viewer. [emacs-w3m:12708]
2017-06-20 Vladimir Sedach <>
* w3m.el (w3m-goto-url-new-session): Handle POST data.
2017-06-14 Boruch Baum <>
* w3m-cookie.el (w3m-cookie-url, w3m-cookie-domain, w3m-cookie-secure)
(w3m-cookie-name, w3m-cookie-value, w3m-cookie-path)
(w3m-cookie-version, w3m-cookie-expires, w3m-cookie-ignore): Add docs.
(w3m-cookie): Test w3m-use-cookies here insted.
(w3m-about-cookie): Don't test it. [emacs-w3m:12699]
2017-06-13 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-makeinfo): Simplify the tweaking of `message'.
2017-06-12 Boruch Baum <>
* w3m-cookie.el (w3m-cookie-clear): Make it a user command.
(w3m-cookie): Open it as a new session ([emacs-w3m:12685]).
* w3m.el (w3m-select-buffer-delete-buffer): Don't move point forward
([emacs-w3m:12684]); clarify doc string.
* w3m-filter.el (w3m-filter-rt): Bind ephemeral var ([emacs-w3m:12682]).
2017-06-12 Boruch Baum <>
* w3m-filter.el (w3m-filter-rt, w3m-filter-slashdot):
Update ([emacs-w3m:12678]).
2017-06-12 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-compile-file): Silence compile warnings when
compiling w3m-filter.el ([emacs-w3m:12676]).
2017-06-11 Boruch Baum <>
* w3m-filter.el (w3m-filter-delete-regions, w3m-filter-replace-regexp):
Make a return value always mean deletion or replacement is made
2017-06-01 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-delete-regions, w3m-filter-replace-regexp):
Refactor to Lisp macros.
(w3m-filter-geocities-remove-garbage, w3m-filter-infoseek-remove-ads)
(w3m-filter-ascii24-remove-ads): New filters that replace the ones
having existed in w3m-filter-configuration ([emacs-w3m:12669]).
2017-05-30 Boruch Baum <>
* w3m-filter.el (w3m-filter-delete-regions, w3m-filter-replace-regexp):
Allow optional args used to modify search/replace boundaries.
(w3m-filter-rt, w3m-filter-slashdot): New filters.
(w3m-filter-configuration): Add new filters ([emacs-w3m:12666]).
* w3m.el (w3m-uri-replace-alist): Remove Google groups, Altavista, and
iij-archie ([emacs-w3m:12661]).
* w3m-search.el (w3m-search-engine-alist): Remove Google groups that
requires javascript and alltheweb that is forwarded to Yahoo!; use
https on all urls ([emacs-w3m:12657]).
2017-05-29 Katsumi Yamaoka <>
* w3m-filter.el (w3m-toggle-filtering): Use completing-read.
2017-05-28 Boruch Baum <>
* w3m-filter.el (w3m-toggle-filtering): New user command.
* w3m.el (w3m-lynx-like-map, w3m-info-like-map): Bind "f" to it.
* w3m-lnum.el (w3m-lnum-mode-map): Don't bind f, F, and w keys;
use `L'-prefixed version defined in `w3m-lnum-map' instead.
2017-05-26 Aubrey Raech <>
* w3m-search.el (w3m-search-engine-alist):
Replace freshmeat with duckduckgo.
2017-05-24 Katsumi Yamaoka <>
* w3m.el (w3m-url-decode-string): Fix previous commit, that breaks url
of being not encoded.
2017-05-22 Katsumi Yamaoka <>
Don't use string-(as|make|to)-(multi|uni)byte ([emacs-w3m:12630]).
* w3m.el (w3m-url-decode-string): Use a unibyte buffer to represent
encoded byte stream.
* w3m-util.el (w3m-decode-coding-string-with-priority): Simplify.
2017-05-11 Katsumi Yamaoka <>
* w3m-proc.el: Bind w3m-clear-display-while-reading, w3m-current-title.
2017-05-10 Katsumi Yamaoka <>
Allow local file of which the name is not absolute ([emacs-w3m:12643])
* w3m.el (w3m-canonicalize-url): Allow local file of relative name.
* w3m-util.el (w3m-popup-buffer): Preserve the current directory.
2017-03-16 Katsumi Yamaoka <>
* w3m-proc.el (w3m-process-stop): Blank page if
w3m-clear-display-while-reading is non-nil ([emacs-w3m:12633]).
(w3m-process-kill-stray-processes): Separate it from
2017-02-20 Katsumi Yamaoka <>
Revert last change in w3m-decode-coding-string-with-priority.
* w3m-util.el (w3m-decode-coding-string-with-priority): Revert.
2017-02-03 Katsumi Yamaoka <>
Don't use string-make-(multi|uni)byte that got obsolete in Emacs 26.
* octet.el (w3m-about-octet-attachments, octet-w3m-region):
Use (decode|encode)-coding-string.
* w3m-image.el (w3m-imagick-convert-buffer): Bind LC_ALL with C.
* w3m-proc.el (w3m-process-start-after):
Bind LC_ALL with C in w3m-command-environment.
* w3m-util.el (w3m-decode-coding-string-with-priority): Don't use it.
(w3m-insert-string): Encode a string by utf-8-emacs when inserting it
into a unibyte buffer.
* w3m.el (w3m-command-environment): Bind LC_ALL with C.
2017-01-10 Katsumi Yamaoka <>
* w3m.el (w3m-external-view-this-url, w3m-external-view-current-url)
Don't make obsolete. [emacs-w3m:12627]
2017-01-06 Katsumi Yamaoka <>
* w3m.el (w3m-real-url): Preserve #name portion. [emacs-w3m:12618]
2017-01-04 Kevin Ryde <>
* w3m-save.el (w3m-save-buffer): Use w3m-expand-file-name-as-url for
w3m-history-push in case filename ~/foo etc. [emacs-w3m:12617]
2016-10-04 Katsumi Yamaoka <>
* aclocal.m4 (AC_PATH_EMACS): Work for Emacs 26.
2016-09-27 Katsumi Yamaoka <>
* w3m-util.el (w3m-flet, w3m-labels): Add edebug spec.
2016-09-21 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Reset hscroll.
2016-09-08 Katsumi Yamaoka <>
* w3m-util.el (w3m-delete-frames-and-windows): Don't try to delete
window that this function deleted already in conjunction with its frame.
It happened when a frame has two or more emacs-w3m windows.
2016-09-08 Boruch Baum <>
* w3m-save.el (w3m-save-buffer-html-only): New user option.
(w3m-save-buffer): Use it; improve docstring. [emacs-w3m:12595]
2016-08-25 Katsumi Yamaoka <>
* w3m.el (w3m-url-at-point): Refactor.
2016-08-18 Boruch Baum <>
* w3m.el (w3m-image-viewer): Make it defcustom.
2016-08-17 Katsumi Yamaoka <>
Don't use `string-as-multibyte' and `string-as-unibyte' that are
obsolete in Emacs 25.2.
Use `string-make-multibyte' and `string-make-unibyte' instead.
* octet.el (octet-w3m-region):
* w3m-image.el (w3m-imagick-convert-buffer):
* w3m-proc.el (w3m-process-start-after):
* w3m-util.el (w3m-insert-string): Do.
Remove Gmane mailing list archive stuff.
* w3m.el (w3m-gmane-url-at-point): Remove.
2016-08-01 Boruch Baum <>
* w3m-lnum.el: Do a boundp test for browse-url-generic-program.
2016-07-27 Katsumi Yamaoka <>
Make w3m-delete-buffer return to the buffer that launches
the buffer to be deleted if w3m-use-tab is non-nil.
* w3m.el (w3m-parent-session-buffer): New internal variable.
Save the current session in it when launching a new session.
(w3m-delete-buffer, w3m-next-buffer):
Return to the buffer that launches the buffer to be deleted.
2016-07-26 Katsumi Yamaoka <>
* w3m.el (w3m-lynx-like-map): Bind "K" to w3m-scroll-down.
2016-07-19 Katsumi Yamaoka <>
* w3m-ems.el (w3m-create-image): Run w3m-image-animate in page buffer.
* w3m.el (w3m-goto-url): Run w3m-select-buffer-update after evaluating
w3m-display-hook and w3m-display-functions. [emacs-w3m:12568]
It seems to be rational to run w3m-force-window-update, that
w3m-select-buffer-update runs, after settling down the page display.
2016-04-22 Katsumi Yamaoka <>
* w3m-util.el (w3m-buffer-name-lessp): Work for Emacs 25.2 that starts
numbered buffer names with *w3m*<1>, not *w3m*<2>.
2016-03-04 TSUCHIYA Masatoshi <>
* w3m.el (w3m-markdown-converter): New option to select the command to
convert markdown formed files into HTML format.
(w3m-prepare-markdown-content): Use the above.
2016-03-03 TSUCHIYA Masatoshi <>
* w3m.el: Add support for markdown formed files.
(w3m-content-type-alist, w3m-local-find-file-regexps): Add markdown
(w3m-prepare-markdown-content): New function.
2015-11-27 Katsumi Yamaoka <>
Prefer Cygwin pathnames when building emacs-w3m on Cygwin for
Windows-native Emacs. [emacs-w3m:12540]
* aclocal.m4 (AC_PATH_CYGWIN): New function.
* Check for cygpath program.
2015-11-26 Katsumi Yamaoka <>
* (lisp, what-where, install-package, install-package-ja)
(dist, .el.elc, slow, very-slow)
* doc/ (EMACSINFO, version.texi): Quote Emacs's path name.
2015-11-25 Katsumi Yamaoka <>
* (FLAGS, lisp, what-where, install-lisp, install-package)
(install-package-ja, dist, tarball, .el.elc, slow, very-slow):
* doc/ (FLAGS, EMACSINFO, version.texi, install, install-en)
(install-ja): Work for path names containing whitespace.
2015-10-13 Bruno F$(D+1(Blix Rezende Ribeiro <>
* w3m-form.el (w3m-form-make-form-data): Protect against empty token.
2015-10-13 Katsumi Yamaoka <>
* w3m.el (w3m-gmane-url-at-point):
Change query url to <>.
* doc/txi-ja.tex: Make the pdf document display a bookmark by default.
2015-10-09 Katsumi Yamaoka <>
* doc/ (.texi.dvi): Use pbibtex rather than jbibtex.
* doc/emacs-w3m-ja.texi: Add @usedvipdfmx to generate pdf bookmark.
* doc/txi-ja.tex: Copy from <>.
2015-09-29 Kevin Ryde <>
* w3m.el (w3m-check-header-tags): w3m-expand-url <base> to tolerate
a non-absolute there, as for example from
(If w3m-current-base-url is relative then form setups error out.)
2015-06-09 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render):
Set w3m-current-url (and w3m-current-title) so as to enable moving back
to the past page (in the case w3m-clear-display-while-reading is t).
(w3m-goto-url): Don't move point to the top when it failed to retrieve.
2015-06-02 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render):
Don't display progress message for `about:' pages. [emacs-w3m:12465]
2015-05-22 Katsumi Yamaoka <>
* w3m.el (w3m-refresh-at-time): Remove workaround. [emacs-w3m:12459]
2015-05-13 Katsumi Yamaoka <>
* w3m.el (w3m-use-refresh): Mention Google looping problem in docstring.
(w3m-refresh-minimum-interval): Default to 5; change the meaning.
(w3m-check-refresh-attribute, w3m-view-previous-page):
Do nothing for w3m-refresh-minimum-interval.
Override meta refresh seconds by w3m-refresh-minimum-interval.
(w3m-goto-url-with-timer): Check for buffer's existence correctly.
2015-05-10 Katsumi Yamaoka <>
* w3m.el (w3m-error): Work for XEmacs. [emacs-w3m:12444]
(w3m-retrieve-and-render): Work for XEmacs.
Note: `get-buffer-window' requires a buffer for the 1st arg in XEmacs.
2015-05-08 Katsumi Yamaoka <>
* w3m.el (w3m-refresh-at-time):
Temporary fix to avoid Google search looping. [emacs-w3m:12440]
2015-04-27 Katsumi Yamaoka <>
* w3m.el (w3m-error): New face.
(w3m-retrieve-and-render): Denote `failed' if it did so.
2015-04-06 Katsumi Yamaoka <>
* w3m.el (w3m-clear-display-while-reading): New user option.
(w3m-retrieve-and-render): Clear the current display while reading
a new page if w3m-clear-display-while-reading is non-nil.
2015-04-03 Katsumi Yamaoka <>
* w3m.el (w3m-url-savable-p): New function.
(w3m-toolbar, w3m-menubar): Use it.
* w3m-save.el: Provide the feature.
2015-04-02 Katsumi Yamaoka <>
* w3m.el (w3m-toolbar-buttons, w3m-toolbar): Add `Save' button.
* icons/save-up.png, icons/save-up.xpm
* icons30/save-up.png, icons30/save-up.xpm: New files.
2015-04-01 Katsumi Yamaoka <>
* w3m-save.el: New file.
* w3m.el (w3m-menubar, w3m-lynx-like-map, w3m-info-like-map):
Add w3m-save-buffer and bind `C-x C-s' to it.
2015-03-13 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-add-name-anchors):
Don't use ambiguous regexp. [emacs-w3m:12422]
2015-02-08 Katsumi Yamaoka <>
* w3m.el (w3m-search-name-anchor): Search for both "name" and
(w3m-url-decode-string "name"). [emacs-w3m:12392]
2015-01-28 Katsumi Yamaoka <>
* w3m.el (w3m-extra-numeric-character-reference):
Use #x20 instead of ? .
(w3m-scroll-up-1): Remove obsolete function alias to w3m-scroll-up.
2015-01-22 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-compile-file): New function.
(w3mhack-compile): Use it.
2014-11-24 Andrey Kotlarski <>
* w3m-lnum.el (w3m-lnum-actions-link-alist): Add open in background
(w3m-lnum-remove-overlays): Enlarge default region to clean.
(w3m-lnum-set-numbering): Use w3m-lnum-remove-overlays.
(w3m-lnum-next-filter): New function.
(w3m-lnum-read-interactive): Use it to search below and above when
filter has no matches left.
(w3m-with-lnum): Guarantee cleanup of right buffer.
(w3m-lnum-get-action): Fix checkdoc warning.
(w3m-lnum-visit): Make it function. Enable visiting in background.
(w3m-lnum-follow): Add prefix combinations to visit links in
2014-10-06 Katsumi Yamaoka <>
* w3m.el (w3m-extra-numeric-character-reference): Add (?\C-m . ? ).
2014-10-01 Herbert J. Skuhra <>
* aclocal.m4 (AC_PATH_EMACS): Work for Emacs 25.
2014-08-01 Michael Heerdegen <>
Katsumi Yamaoka <>
* w3m.el (w3m-input-url-next-history-element): Abolish.
(w3m-url-completion-map): Don't bind M-n key.
(w3m-input-url-default-add-completions): New function.
Bind minibuffer-default-add-function to it locally in minibuffer.
2014-07-29 Katsumi Yamaoka <>
* w3m.el (w3m-input-url-provide-initial-content): New user option.
(w3m-input-url): Use it.
(w3m-input-url-next-history-element): New function.
(w3m-url-completion-map): Bind it.
2014-07-24 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-add-name-anchors): Subdivide long regexp.
2014-06-12 Katsumi Yamaoka <>
* (install-lisp): Compress .el files.
* doc/ (install): Compress info files.
* aclocal.m4 (AC_COMPRESS_INSTALL): New function.
* Use it.
2014-06-11 Kevin Ryde <>
* w3m.el (w3m-zoom-out-image, w3m-resize-image-interactive): Treat
zoom-out percentage as inverse of zoom-in, so "in" then "out" returns
to the original size.
(w3m-resize-inline-image-internal): Set w3m-image-scale property to
flonum to avoid integer round-off when resizing in and out. Use
`round' rather than `truncate' when calling "convert" so flonum
round-off 99.999 is original 100%.
2014-06-11 Katsumi Yamaoka <>
* w3m.el (w3m-content-type-alist): Don't bug out for the case where
browse-url-browser-function is set to a function symbol that is not yet
defined. [emacs-w3m:12317]
2014-04-21 Michael Ernst <>
* w3m-util.el (w3m-beginning-of-tag, w3m-end-of-tag): Work correctly
for the case there is only whitespace between <tag> and </tag>.
2014-03-31 Katsumi Yamaoka <>
* w3m.el (w3m-markup-urls-nobreak): Don't modify textarea.
2014-03-26 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Update regexps for Google.
2014-02-13 Katsumi Yamaoka <>
* w3m.el (w3m-url-encode-string): Encode `:' and `/'.
Suggested by Dan Jacobson <>.
* w3m-form.el (w3m-form-make-form-data, w3m-form-parse-and-fontify):
Use car-less-than-car.
2014-02-10 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly): Relax regexp.
* w3m-form.el (w3m-form-submit): Work for a url having no query part.
2014-01-08 Mirko M. <>
* w3m-util.el (w3m-delete-frames-and-windows): Don't clear the windows
layout that used to be before visiting an emacs-w3m buffer.
2014-01-07 Katsumi Yamaoka <>
* w3m-util.el (w3m-static-if, w3m-static-when, w3m-static-unless)
(w3m-static-cond): Add edebug spec.
* octet.el: Fix edebug spec for the static-* macros.
2013-12-03 Tatsuya Kinoshita <>
* mew-w3m.el (mew-w3m-region): Set point to the end of <div> tag to
prevent infinite loop.
2013-12-01 Tatsuya Kinoshita <>
* mew-w3m.el (mew-w3m-region): Set point to minimum for
`mew-w3m-cite-blockquote' to work.
2013-11-05 Katsumi Yamaoka <>
* mew-w3m.el (mew-w3m-cite-blockquote): New function.
(mew-w3m-region): Use it.
2013-11-26 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly): Rewrite.
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly):
Fix the width of disabled select form.
2013-11-25 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly): Replace
disabled or readonly select forms, that w3m doesn't support, with
read-only input forms. [emacs-w3m:12222]
* w3m-form.el (w3m-form-parse-and-fontify): Make read-only text buttons
for image, reset, and submit forms if readonly attr is turned on.
* w3m-ems.el, w3m-form (w3m-form-make-button): Add the optional
readonly argument; make a read-only text button if it is non-nil.
2013-11-20 Katsumi Yamaoka <>
Make non-link urls unbreakable. [emacs-w3m:12215]
* w3m.el (w3m-markup-urls-nobreak): New function.
(w3m-rendering-buffer): Use it.
2013-10-22 Katsumi Yamaoka <>
Simplify the tab line control so as not to consume CPU.
Thanks to Michael Heerdegen for good suggestions.
* w3m-ems.el (w3m-tab-line-format, w3m-tab-timer): Abolish.
(w3m-tab-mouse-track-selected-tab): Run `w3m-tab-line' instead of using
its cache; remove unused argument `buffers'.
(w3m-tab-line): Don't use chache and timer.
2013-10-17 Katsumi Yamaoka <>
Replace `w3m-external-view-current-url', `w3m-external-view-this-url',
and `w3m-view-url-with-external-browser' with
`w3m-view-url-with-browse-url' that runs `browse-url'. [emacs-w3m:12190]
* w3m.el (w3m-menubar, w3m-tab-button-menu-commands, w3m-link-map): Do.
(w3m-external-view-current-url, w3m-external-view-this-url)
(w3m-view-url-with-external-browser): Make obsolete.
(w3m-view-url-with-browse-url): New function.
(w3m-mode-map): Bind "M" to it.
* w3m-lnum.el (w3m-lnum-actions-link-alist): Bind "M" to
w3m-view-url-with-browse-url instead of w3m-external-view.
(w3m-lnum-mode-map): Use the key bound to w3m-view-url-with-browse-url
for w3m-lnum-external-view-this-url.
(w3m-lnum-external-view-this-url): Use w3m-view-url-with-browse-url
instead of w3m-external-view.
2013-10-16 Michael Heerdegen <>
* w3m-ems.el (w3m-tab-line):
Run w3m-force-window-update unconditionally. [emacs-w3m:12175]
2013-10-09 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-inactive): Add underline property.
(w3m-form-input-textarea): Don't use it to view read-only textarea.
2013-10-08 Katsumi Yamaoka <>
Make disabled or read-only forms inatcive.
* w3m-form.el (w3m-form-parse-and-fontify): Make `select', `checkbox',
`radio', and `file' input forms inactive.
(w3m-form-input-checkbox, w3m-form-input-radio, w3m-form-input-file)
(w3m-form-input-select): Don't allow keys if it is inactive.
2013-10-08 Thorsten Jolitz <>
* w3m-form.el (w3m-form-input-textarea-mode-setup): New option for
setting up the textarea input buffer in org-mode instead of text-mode.
(w3m-form-input-textarea-org-mode-map) New minor-mode-map.
(w3m-form-textarea-use-org-mode-p) New variable.
(w3m-form-textarea-toggle-major-mode) New function.
(w3m-form-input-textarea-mode-setup) Setup textarea edit buffer with
major-mode 'org-mode if `w3m-form-textarea-use-org-mode-p' is non-nil.
(w3m-form-input-textarea) Split window sensibly if
`w3m-form-textarea-use-org-mode-p' is non-nil.
(w3m-form-input-textarea-mode) Override default minor-mode map with
new minor-mode-map in case major-mode is 'org-mode.
2013-10-08 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-input-textarea-mode-setup):
Fix typo (unquoted `view-mode').
2013-10-04 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-input-textarea-mode-setup): Use view-mode to
show disabled or readonly textarea.
(w3m-form-input-textarea): Revert last change; use w3m-form-inactive
face to show disabled or readonly textarea.
2013-10-03 Katsumi Yamaoka <>
Make disabled forms not editable. [emacs-w3m:12146]
* w3m.el (w3m-use-filter): Default to t.
(w3m-show-form-hint): Notice form is inactive.
* w3m-filter.el (w3m-filter-subst-disabled-with-readonly): New function
that substitutes the `disabled' attribute with the `readonly' attribute
in an html source so as to enable w3m to handle.
(w3m-filter-configuration): Add it.
* w3m-form.el (w3m-form-inactive): New face.
(w3m-fontify-textareas, w3m-form-parse-and-fontify): Use it if text is
not editable.
(w3m-form-input): Use w3m-message rather than message.
(w3m-form-input-textarea): Don't allow editing text if it is disabled.
(w3m-form-last-position): New variable.
(w3m-form-restore-last-position): New function.
(w3m-form-submit): Add it to w3m-fontify-after-hook.
2013-09-10 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Default to `default' or "".
(w3m-download): Prompt for url endlessly instead of bugging out.
(w3m): Doc fix.
2013-09-09 Katsumi Yamaoka <>
* w3m.el (w3m-url-completion-map): New overriding keymap.
(w3m-input-url): Use it.
Suggested by Manuel Giraud <>.
2013-09-06 Katsumi Yamaoka <>
* w3m-ems.el (w3m-toolbar-make-buttons): Make tool-bar button use
a single icon image if Emacs built with Gtk+ is running.
(w3m-toolbar-use-single-image-per-icon): Add a note to docstring.
2013-09-04 Katsumi Yamaoka <>
* w3m-util.el (w3m-decode-coding-string-with-priority):
Move from w3m-ems.el and w3m-xmas.el.
* w3m-ems.el, w3m-xmas.el
(w3m-decode-coding-string-with-priority): Move to w3m-util.el.
* w3m-proc.el: Don't Fbind it.
* w3mhack.el (w3mhack-make-package):
Avoid making a hard link for w3m-load.el twice.
2013-09-03 Manuel Giraud <>
* w3m.el (w3m-canonicalize-url): Do uri replace before normal parsing.
2013-09-02 Katsumi Yamaoka <>
Prefer uris based on w3m-uri-replace-alist to Google's feeling lucky.
Suggested by Michael Heerdegen <>.
* w3m.el (w3m-canonicalize-url): Run w3m-uri-replace before falling
back to Google's feeling lucky.
(w3m-uri-replace): Simply return nil if there is no replacement.
(w3m-goto-url): Move forward w3m-uri-replace to w3m-canonicalize-url.
2013-08-26 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Record failed urls as well to the
arrived database. Suggested by Dan Jacobson.
(w3m-delete-buffer): Kill form buffers before killing a page buffer.
(w3m-delete-buffer): Work around mysterious bug where window positions
aren't restored if this command is called by a mouse event. Reported
by Dan Jacobson.
2013-08-26 Dan Jacobson <>
* w3m.el (w3m-toolbar): Simplify the label used for w3m-history.
2013-08-13 Kevin Ryde <>
* w3mhack.el (w3mhack-module-list): Remove w3mhack-load-file from the
modules not to be byte compiled, so that it is byte compiled.
(w3mhack-generate-load-file): Remove no-byte-compile from w3m-load.el.
2013-08-01 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-parse-and-fontify): Prefer base url if any
rather than the current url when constructing urls that form buttons
specify. Thanks to Thorsten Jolitz [emacs-w3m: 12107].
2013-07-01 Katsumi Yamaoka <>
* w3m.el (w3m): Enable it again to fetch Gmane url and others.
(w3m-gmane-url-at-point): Update url.
2013-06-26 Katsumi Yamaoka <>
* w3m.el (w3m-use-cookies): Default to t.
Make `w3m-input-url' offer no useless initial string.
* w3m.el (w3m-active-region-or-url-at-point, w3m-input-url)
(w3m-download, w3m-view-this-url, w3m-view-url-with-external-browser)
(w3m-goto-url, w3m-goto-url-new-session, w3m): Do.
2013-06-21 Katsumi Yamaoka <>
* aclocal.m4: Make configure work for term-mode running in Emacs.
2013-06-18 Katsumi Yamaoka <>
* w3m.el (ffap-url-regexp): Silence the byte compiler.
* mime-w3m.el: Require calist when compiling.
2013-05-30 Katsumi Yamaoka <>
* mime-w3m.el: Don't use obsolete macro dont-compile.
* w3m.el (w3m-goto-mailto-url): Bind display-buffer-alist instead of
special-display-buffer-names and special-display-regexps for Emacs >=
* w3m-ems.el (w3m-image-multi-frame-p): Exclude images that don't
specify a delay.
2013-04-19 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter): Don't modify w3m-filter-rules.
2013-04-12 REN Lifeng <>
* w3m-session.el (w3m-session-rename): Don't infloop.
2013-04-11 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-configuration):
Use w3m-language rather than w3m-use-japanese-menu.
2013-04-10 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-add-name-anchors): Fix regexp matching name
anchors. Reported by Dan Jacobson <>.
2013-04-08 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-get-by-name): Distinguish the type of forms of
the same names. Reported by Kevin Ryde <>.
(w3m-form-resume, w3m-form-parse-and-fontify, w3m-form-input-map): Do.
2013-04-05 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-fix-tfoot-rendering): New filter.
(w3m-filter-configuration): Add it but not activate.
* w3m-ems.el (w3m-image-multi-frame-p): New alias.
(w3m-image-animate): Use it.
2013-02-04 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Remove workaround.
* w3m-util.el (w3m-force-window-update-later): Make 1st arg optional.
* w3m-ems.el (w3m-force-window-update): A window need to be redisplayed
for `force-window-update' to work (see the docstring).
2013-01-23 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-lnum-read-interactive): Replace w3m-scroll-up-1 with
* w3m.el (w3m-scroll-up): Rename from w3m-scroll-up-1.
(w3m-scroll-up, w3m-scroll-up-or-next-url): Make the bottom of a page
border on the bottom of a screen when having finished scrolling
the page up.
(w3m-scroll-down): New function detached from
(w3m-scroll-down-or-previous-url): Move point to the top when having
finished scrolling a page down.
(w3m-mwheel-scroll-up, w3m-mwheel-scroll-down): New functions.
(w3m-mode): Bind mwheel-scroll-(up,down)-function to
Suggested by Dan Jacobson <>.
2013-01-11 Katsumi Yamaoka <>
* w3m.el (w3m-retrieve-and-render): Do (sit-for 0) to update the
header-line appearance as a workaround; see the 2013-01-11 comment.
(w3m-view-this-url-1): Revert 2010-01-15 change; don't popup new
session if w3m-new-session-in-background is non-nil.
Reported by Michael Heerdegen <>.
2012-12-25 Katsumi Yamaoka <>
* w3m-search.el (w3m-search-do-search): Save history position.
Reported by Dan Jacobson <>.
2012-12-17 Katsumi Yamaoka <>
* w3m-ems.el (w3m-ems-create-image): Abolish.
(w3m-image-animate-seconds): New user option.
(w3m-image-animate): New function.
(w3m-create-image): Use it.
* w3m.el (w3m-resize-inline-image-internal): Use w3m-image-animate.
* w3m-xmas.el (w3m-image-animate): Alias to identity.
2012-12-10 Katsumi Yamaoka <>
* w3m.el (w3m-decode-anchor-string): Decode url used to next/prev/...
2012-12-05 Katsumi Yamaoka <>
* w3m-util.el (w3m-flet): Rewrite it using cl-letf.
2012-12-04 Katsumi Yamaoka <>
* w3m-util.el (w3m-labels): Revert; use cl-labels if available.
2012-12-04 Katsumi Yamaoka <>
* w3m-util.el (w3m-labels): Rewrite.
2012-11-19 Uday S Reddy <>
* w3m.el (w3m-command-environment): Make the "CYGWIN" environment
variable default to "binmode" for NTEmacs.
2012-10-18 Katsumi Yamaoka <>
* w3m-filter.el (w3m-filter-configuration): Work around a widget bug.
2012-10-17 Katsumi Yamaoka <>
* w3m-filter.el: Change file coding system to utf-8.
New user option, a successor to w3m-filter-rules.
Make it semi-obsolete (but still usable) and default to nil.
Use w3m-filter-configuration in addition to w3m-filter-rules.
(w3m-filter-google-shrink-table-width, w3m-filter-add-name-anchors):
New filters.
* w3m.el (w3m-rendering-half-dump):
Move function, that adds name anchors, to w3m-filter.el.
(w3m-create-page): Move Google click-tracking filter to w3m-filter.el.
* w3m-util.el (w3m-widget-type-convert-widget):
Don't modify default sexp values.
2012-10-10 Katsumi Yamaoka <>
* w3m-bookmark.el (w3m-bookmark-buffer): Use (0 0) as the Unix epoch.
* w3m.el (w3m-create-page): Fix regexp matching Google's click-
tracking urls.
2012-07-22 Katsumi Yamaoka <>
* w3m.el (w3m-rendering-half-dump): Add name anchors for only existing
internal links.
2012-07-19 Katsumi Yamaoka <>
* w3m-util.el (w3m-flet): New macro.
2012-07-18 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Decode url string by the coding system that
url itself specifies if any.
* w3m.el (w3m-goto-url): Allow optional save-pos argument, that leads
it to run w3m-history-store-position.
(w3m-view-parent-page, w3m-scroll-up-or-next-url)
(w3m-scroll-down-or-previous-url): Run w3m-history-store-position.
(w3m-gohome, w3m-browse-url, w3m-find-file, w3m-db-history)
(w3m-history): Run w3m-history-store-position by way of w3m-goto-url.
* w3m-util.el (w3m-labels): New macro that runs cl-labels in Emacs 24.2
and later, otherwise runs labels.
* mime-w3m.el (mime-w3m-insinuate):
* w3m-bookmark.el (w3m-bookmark-safe-string):
* w3m-proc.el (w3m-process-do-with-temp-buffer):
* w3m-rss.el (w3m-rss-parse-date-string):
* w3m-weather.el (w3m-weather-completion-table):
Replace labels with w3m-labels.
* w3mhack.el (w3mhack-nonunix-install): Don't use labels.
2012-07-13 Katsumi Yamaoka <>
* w3m.el (w3m-input-url, w3m-header-line-insert):
Don't decode only control characters.
2012-07-12 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Don't decode %00~%1F and %7F~%9F in url.
2012-07-11 Katsumi Yamaoka <>
* w3m.el (w3m-url-decode-string): Allow optional regexp matching %**.
(w3m-header-line-insert): Don't decode %00~%1F and %7F~%9F in url.
* w3m.el (w3m-create-page): Show raw contents briefly, not fully, when
prompting a user for the content type.
2012-07-10 Katsumi Yamaoka <>
* w3m.el (w3m-rendering-half-dump): Add name anchors fast.
2012-07-10 Naohiro Aota <>
* w3m.el: (w3m-data-retrieve): URL-decode data-string. It can have
"%2b%2d%3d" representing "/+=".
2012-07-08 Katsumi Yamaoka <>
* w3m.el (w3m-rendering-half-dump): Add name anchors that w3m can
handle in nested tags.
2012-07-02 Katsumi Yamaoka <>
* w3m.el (w3m-view-url-with-external-browser): Improve prompt string.
Suggested by Dan Jacobson <>.
2012-06-25 Katsumi Yamaoka <>
* w3m.el (w3m-active-region-or-url-at-point, w3m-print-this-url):
Try to pick #name anchor out.
* w3m-search.el (w3m-search-read-variables): Make commands that use it
error out when other processes run in the current w3m buffer.
* w3m.el (w3m-mode): Add description of some missing commands to doc.
2012-06-20 Katsumi Yamaoka <>
* w3m.el (w3m-create-page): Safely quit session when a user hits C-g;
make sure to set w3m-current-url.
2012-06-19 Katsumi Yamaoka <>
* w3m.el (w3m-cache-header, w3m-cache-request-header)
(w3m-cache-contents, w3m-cache-request-contents)
(w3m-cache-available-p): Canonicalize given url.
(w3m-show-error-information): Show as many info as possible.
2012-06-18 Katsumi Yamaoka <>
* w3m-util.el (w3m-popup-buffer): Do nothing for the current buffer.
* w3m.el (w3m-history-highlight-current-url): Extend href anchor to bol.
* w3m.el (w3m-http-status-alist): New variable.
(w3m-http-status): New variable.
(w3m-w3m-retrieve): Set it.
(w3m-retrieve): Clear it.
(w3m-download, w3m-retrieve-and-render, w3m-show-error-information):
Show http status if download or retrieving fails.
2012-06-14 Katsumi Yamaoka <>
* w3m.el (w3m-url-encode-string-2): Encode only `(' and `)'.
2012-06-12 Katsumi Yamaoka <>
* w3m-proc.el (w3m-process-do-with-temp-buffer): Use labels macro again.
Functions that the labels form generates to be used in the outside of
the labels form should be prefixed with #' from now on.
Thanks to Michael Heerdegen and Andreas Schwab.
* w3m-proc.el (w3m-process-do-with-temp-buffer): Don't use labels macro
of which the spec has been changed in the most recent Emacs.
2012-06-04 Katsumi Yamaoka <>
* w3m.el (w3m-expand-url): Work for scheme name containing upcase
letters. Reported by Dan Jacobson <>.
* w3m-util.el (w3m-force-mode-line-update): New alias.
* w3m-lnum.el (w3m-with-lnum, w3m-lnum-universal-dispatch): Use it.
2012-06-03 Katsumi Yamaoka <>
* w3m.el (w3m-create-page): Improve regexp matching Google's click-
tracking urls.
2012-05-14 Katsumi Yamaoka <>
* w3m.el (w3m-url-encode-string-2): New function.
(w3m-print-current-url, w3m-print-this-url, w3m-print-this-image-url):
Use it to encode url characters that are apt to be misidentified as
word boundaries.
2012-04-22 Katsumi Yamaoka <>
* w3m.el (w3m-create-page): Decode url in Google's click-tracking
2012-04-18 Andrey Kotlarski <>
* w3m-lnum.el (w3m-with-lnum, w3m-lnum-universal-dispatch):
Explicitly redraw mode line.
(w3m-lnum-visit): Fix prompt; add --insecure option to Curl.
2012-04-17 Katsumi Yamaoka <>
* w3m.el (w3m-create-page): Add a filter for Google's click-tracking
temporarily --- maybe this should be incorporated in w3m-filter.el.
2012-04-13 Katsumi Yamaoka <>
* w3m.el (w3m-goto-mailto-url): Protect against nil value of body=;
decode url string; don't change mail buffer's modification status;
make sure body text is inserted to the message body.
2012-04-12 Katsumi Yamaoka <>
* w3m.el (w3m-shr-url-at-point): New function.
(w3m-url-at-point): Use it.
* doc/ptexinfmt.el (texinfo-format-syntax-table): Modify character
syntax of " and \ to w, as a workaround.
(texinfo-format-comma): Support @comma.
(texinfo-format-parse-args): Tweak it so as to work for @comma.
2012-03-16 Katsumi Yamaoka <>
* w3m.el (w3m-scroll-left, w3m-scroll-right): Use image-mode function
for an image page.
(w3m-shift-left, w3m-shift-right): Pass prefix argument to image-mode
2012-03-12 Dan Jacobson <>
* w3m.el (w3m-ctl-c-map): Bind `C-c C-e' to w3m-goto-new-session-url.
2012-02-27 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules)
(w3m-open-all-links-in-new-session): Work for https Google pages.
2012-02-20 Katsumi Yamaoka <>
* w3m.el (w3m-goto-mailto-url): Work for mail body.
2012-02-13 Katsumi Yamaoka <>
* w3m-util.el (w3m-switch-to-buffer): Abolish.
* w3m-bookmark.el (w3m-bookmark-add-all-urls):
* w3m-ems.el (w3m-tab-drag-mouse-function)
(w3m-tab-click-mouse-function, w3m-tab-next-buffer)
* w3m-form.el (w3m-form-input-textarea, w3m-form-input-select)
* w3m-session.el (w3m-session-select):
* w3m-tabmenu.el (w3m-switch-buffer, w3m-tab-menubar-open-item):
* w3m-util.el (w3m-popup-buffer, w3m-make-menu-commands):
* w3m.el (w3m-next-buffer, w3m-move-unseen-buffer)
(w3m-goto-url-new-session, w3m-reload-all-pages): Revert to using
2012-02-10 Katsumi Yamaoka <>
* w3m-hist.el (w3m-history-store-position): Don't trust column position
that Emacs tells if there's an image.
(w3m-history-restore-position): Revert 2011-10-21 change.
2012-02-10 Kevin Ryde <>
* w3m.el (w3m-about-header): Show info of image where point stays.
2012-01-26 Katsumi Yamaoka <>
* w3m.el (w3m-mode): Don't make bidi-paragraph-direction bound globally
in old Emacsen and XEmacsen.
(w3m-goto-url): Work for name anchors.
2012-01-23 Katsumi Yamaoka <>
* w3m-ems.el (w3m-form-make-button): Use "submit" instead for an empty
text, that won't be buttonized.
Reported by Roland Winkler <>.
2012-01-13 Hideyuki SHIRAI <>
* w3m.el (w3m-fontify-anchors, w3m-goto-url): Not encode and decode
the anchor values to use Punycode.
2012-01-10 Katsumi Yamaoka <>
* w3m.el (w3m-image-type-alist): Add image/tiff.
(w3m-view-previous-page): Protect against empty history.
2012-01-06 Katsumi Yamaoka <>
* (install-icons, install-icons30, install-info)
(install-info-en, install-info-ja, install-package)
* doc/ (install): Add DESTDIR variable to installation
* w3mhack.el (w3mhack-expand-file-name): New function.
(w3mhack-what-where): Use it.
* aclocal.m4 (AC_SET_VANILLA_FLAG): Remove --no-unibyte option.
2012-01-02 Elias Pipping <>
* (install-lisp): Add DESTDIR variable to installation
2011-12-26 Dan Jacobson <>
* w3m.el (w3m-gohome): Always reload the home page.
2011-12-07 Katsumi Yamaoka <>
* w3m.el (w3m-mode): Force paragraph direction to be left-to-right.
Suggested by Naohiro Aota <>.
2011-12-06 Katsumi Yamaoka <>
* (.el.elc): Shut up.
* w3m-lnum.el (w3m-lnum-read-interactive): Use (sit-for 0) instead of
redisplay for Emacs 21.1, too.
2011-12-05 Katsumi Yamaoka <>
* aclocal.m4 (AC_EMACS_LISP): Simplify.
(AC_PATH_EMACS): Simplify Lisp code so as to make it work for recent
* w3m-favicon.el (w3m-favicon-type): Silence SXEmacs 22.1.14's byte
* w3m-lnum.el (w3m-lnum-read-interactive): Use (sit-for 0) instead of
redisplay for XEmacs.
* w3m.el (w3m-resize-image-interactive): Use read-char-exclusive with
no arg for XEmacs.
2011-12-05 Katsumi Yamaoka <>
* w3m.el (w3m-read-file-name): Don't strip query part from given url.
(w3m-download): Always prompt for file name; don't strip query part.
Suggested by Dan Jacobson <>.
2011-12-04 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-lnum-universal-dispatch): Add argument passed to
kill-buffer, Emacs 22 requires it; use beginning-of-line rather than
move-beginning-of-line that XEmacs doesn't provide.
2011-12-02 Dan Jacobson <>
* w3m-search.el (w3m-search-engine-alist): Put search string first in
query form.
2011-11-30 Katsumi Yamaoka <>
* w3m-util.el (w3m-popup-buffer): Restore history position always.
* w3m.el (w3m-copy-buffer): Save history position.
2011-11-17 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-lnum-actions-custom-type): New variable.
(w3m-lnum-actions-general, w3m-lnum-actions-image-alist)
(w3m-lnum-actions-link-alist w3m-lnum-actions-button-alist)
(w3m-lnum-actions-form-alist): Use it to improve custom type.
2011-11-16 Andrey Kotlarski <>
Add alternative selection->action method.
* w3m-lnum.el: Update comment section.
(w3m-lnum-quick-browsing): Change default value.
(w3m-lnum-actions-general, w3m-lnum-actions-image-alist)
(w3m-lnum-actions-link-alist, w3m-lnum-actions-button-alist)
(w3m-lnum-actions-form-alist): New custom options.
(w3m-lnum-remove-overlays): Add optional parameters for start and end.
(w3m-lnum, w3m-lnum-prompt-str, w3m-lnum-highlight-anchor): Sanitize
variable naming.
(w3m-read-event, w3m-lnum-visit, w3m-lnum-make-action): New macros.
(w3m-lnum-read-interactive): Add optional parameters for previous filter
and selected number. Return last applied filter along selected value.
Use `w3m-read-event'. Remove lnum overlays within all buffer on
(w3m-with-lnum): Add parameter for initial filter. Change mode-line
during selection.
(w3m-lnum-get-action): If single image during image selection -
immediately select it. Accommodate to new return format of
(w3m-lnum-follow): Use `w3m-lnum-visit'.
(w3m-lnum-universal-dispatch): New function.
(w3m-lnum-universal): New command.
(w3m-lnum-view-image, w3m-lnum-save-image, w3m-lnum-print-this-url):
Use nth.
(w3m-lnum-zoom-image): Use `w3m-resize-image-interactive'.
(w3m-lnum-zoom-in-image, w3m-lnum-zoom-out-image): Update doc string.
(w3m-lnum-bookmark-add-this-url): Fix bookmarking of current url.
(w3m-lnum-actions-link-alist): Add actions for generic browser and Curl
if present.
* w3m.el (autoload): Autoload `w3m-lnum-universal'.
(w3m-resize-image-interactive): New function.
(w3m-lnum-map): Add key for `w3m-lnum-universal'.
2011-11-14 Katsumi Yamaoka <>
* w3m.el (w3m-expand-url): Assume only a name anchor, that has no
scheme part nor directory part, to be the buffer: scheme.
(w3m-buffer-local-url): Move forward.
2011-10-24 Katsumi Yamaoka <>
* w3m-hist.el: Require w3m-util.
2011-10-22 Naohiro Aota <>
* w3m.el (w3m-goto-url): Check name anchor after redirect resolution.
2011-10-21 Katsumi Yamaoka <>
* w3m-hist.el (w3m-history-restore-position): Don't hscroll if there
are images ([emacs-w3m:11658]).
2011-10-17 Katsumi Yamaoka <>
* w3m.el (w3m-canonicalize-url): Fix url that fails to have put
a separator following a domain name.
Suggested by Dan Jacobson <>.
2011-10-14 Katsumi Yamaoka <>
* w3m.el (w3m-url-coding-system-alist): Add a rule for Google.
(w3m-url-coding-system): Allow function to determine coding system.
2011-10-14 Katsumi Yamaoka <>
* w3m.el (w3m-url-encode-string, w3m-url-transfer-encode-string):
Restore optional coding argument.
(w3m-gmane-url-at-point, w3m-canonicalize-url): Do.
(w3m-download): Decode file name in url.
* w3m-form.el (w3m-form-make-form-data, w3m-form-parse-and-fontify):
* w3m-search.el (w3m-search-escape-query-string, w3m-search-do-search)
(w3m-search-uri-replace): Revert last change.
2011-10-13 Katsumi Yamaoka <>
* w3m.el (w3m-url-coding-system-alist): New user option.
(w3m-show-decoded-url, w3m-google-feeling-lucky-charset): Abolish.
(w3m-url-coding-system): New function.
(w3m-url-encode-string, w3m-url-readable-string)
(w3m-url-transfer-encode-string): Use it.
* w3m.el (w3m-fontify-anchors, w3m-gmane-url-at-point)
(w3m-canonicalize-url, w3m-goto-url):
* w3m-form.el (w3m-form-make-form-data, w3m-form-parse-and-fontify):
* w3m-search.el (w3m-search-escape-query-string, w3m-search-do-search)
(w3m-search-uri-replace): Don't specify coding system for encoding url.
2011-10-07 Katsumi Yamaoka <>
* w3m-favicon.el (w3m-favicon-type): Prefer gif.
(w3m-favicon-convert): Work for gif icons named "favicon.ico".
2011-09-08 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-lnum-face): Remove face alias.
(w3m-lnum-quick-browsing): Add custom type.
(w3m-lnum-remove-overlays, w3m-lnum-set-numbering)
(w3m-lnum-highlight-anchor, w3m-lnum-get-match-info): Fix overlay end
range, too.
2011-09-07 Andrey Kotlarski <>
* w3m.el: Use `w3m-lnum' as naming prefix for commands and
maps from `w3m-lnum.el'.
* w3m-lnum.el: Use `w3m-lnum' as naming prefix everywhere instead of
`w3m-linknum' or `w3m-link-numbering'.
(w3m-lnum-set-numbering, w3m-lnum): Optionally don't clean previous
(w3m-lnum-read-interactive): Don't clean previous numbering with
`w3m-lnum' in cases when there is no such.
(w3m-lnum-remove-overlays, w3m-lnum-set-numbering): Fix overlay start
range to make it work for XEmacs.
(w3m-lnum-get-action): Don't invoke `w3m-lnum-read-interactive' with 0
numbered items.
* w3m-util.el (w3m-goto-next-defun): New macro.
(w3m-goto-next-anchor-or-image, w3m-substitute-key-definitions): Move
from w3m-lnum.el
2011-09-04 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-link-numbering, w3m-linknum-minibuffer-prompt)
(w3m-linknum-match): Use old defface style for XEmacs.
(w3m-link-set-numbering): Replace string-match-p w/ w3m-string-match-p.
(w3m-highlight-numbered-anchor, w3m-get-match-info): Fix range passed
to overlays-in to make it work for XEmacs.
2011-09-04 Andrey Kotlarski <>
* w3m-lnum.el: Update copyright years. Don't require `cl'.
(w3m-linknum-match): Make numbering face visible for some
(w3m-link-numbering-context-alist): New custom variables.
(w3m-linknum-remove-overlays): Delete overlays only within the
visible window part.
(w3m-link-set-overlay): Don't use `incf'.
(w3m-link-set-numbering): Number additional context items as
specified by `w3m-link-numbering-context-alist'. Return index of
the last matched item.
(w3m-goto-next-image2): Fix doc typo.
(w3m-goto-next-anchor-or-image, w3m-link-numbering): Cosmetic
(w3m-linknum-prompt-str): Don't show 0 when this is being current
default for selection.
(w3m-read-int-interactive): Up and down scrolling preserves text
filter and cleans previous numbering. Allow <enter> shortcutting
options as specified by `w3m-link-numbering-quick-browsing'. Don't
let the text filter grow when no items match.
(w3m-with-linknum): Make `last-index' variable visible within body
and set as the last index currently used for numbering.
(w3m-get-match-info): New macro.
(w3m-get-anchor-info): Use `w3m-get-match-info'.
(w3m-go-to-linknum, w3m-linknum-get-action): Call
`w3m-get-anchor-info' with a selection number.
(w3m-linknum-follow, w3m-linknum-view-image)
(w3m-linknum-save-image, w3m-linknum-print-this-url): Don't use cl
(w3m-linknum-zoom-image): Cosmetic doc string change.
(w3m-linknum-bookmark-add-this-url): Use 1+.
2011-09-03 Dan Jacobson <>
* w3m.el (w3m-lynx-like-map, w3m-info-like-map): Bind the `C-t t' key
to w3m-create-empty-session.
2011-09-02 Katsumi Yamaoka <>
* w3m.el (w3m-create-empty-session): New user command.
(w3m-new-session-url): Default to about:blank.
(w3m-input-url): Don't use about:* as initial value.
(w3m-goto-url-new-session): Use w3m-new-session-url as the default.
2011-07-20 Katsumi Yamaoka <>
* w3m-ems.el (w3m-toolbar-define-keys): No need to take care of
the tool-bar default bindings for Emacs 24.
2011-07-13 Katsumi Yamaoka <>
* w3m-ccl.el (charset-id): Work for old Emacsen.
2011-07-11 Katsumi Yamaoka <>
* w3m.el (w3m-delete-buffer): Switch to the previous emacs-w3m buffer
explicitly; bind frame-auto-delete and ignore-window-parameters while
killing the buffer.
(w3m-goto-url): Change the order of retrieving group:* urls so as to
arrange the buffer list in turn.
2011-07-08 Katsumi Yamaoka <>
* w3m-ccl.el (charset-id): Silence the byte compiler.
* w3m-ems.el (w3m-detect-coding-region): Use with-coding-priority.
(w3m-make-ccl-coding-system): Silence the byte compiler.
2011-07-07 Katsumi Yamaoka <>
* w3m-util.el (w3m-switch-to-buffer): New function.
* w3m-bookmark.el (w3m-bookmark-add-all-urls):
* w3m-ems.el (w3m-tab-drag-mouse-function)
(w3m-tab-click-mouse-function, w3m-tab-next-buffer)
* w3m-form.el (w3m-form-input-textarea, w3m-form-input-select)
* w3m-session.el (w3m-session-select):
* w3m-tabmenu.el (w3m-switch-buffer, w3m-tab-menubar-open-item):
* w3m-util.el (w3m-popup-buffer, w3m-make-menu-commands):
* w3m.el (w3m-next-buffer, w3m-move-unseen-buffer)
(w3m-goto-url-new-session, w3m-reload-all-pages): Use it.
2011-07-07 Katsumi Yamaoka <>
* w3m.el (w3m-goto-mailto-url): Pass other headers to the agent.
Suggested by Dan Jacobson <>.
2011-07-06 Katsumi Yamaoka <>
* w3m-util.el (w3m-interactive-p): New macro.
* w3m.el (w3m-toggle-inline-image, w3m-toggle-inline-images)
(w3m-goto-url, w3m-safe-view-this-url):
* w3m-hist.el (w3m-history-store-position)
(w3m-history-restore-position): Use it.
* w3m-ems.el (w3m-toolbar-define-keys): Work around the Emacs 24 error
"`keymap' is reserved for embedded parent maps".
2011-05-11 Katsumi Yamaoka <>
* w3m.el (w3m-show-form-hint): Give point as arg to w3m-submit to
prevent cursor from being caught in form area.
2011-04-20 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el: Fix description comment style.
2011-04-13 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el: Use lexical binding.
(ptexinfmt-broken-facility): Rename _dummy argument.
(texinfo-enclosure-list, texinfo-alias-list): Add defvar stub for
lexical binding.
2011-03-10 TSUCHIYA Masatoshi <>
* w3m.el (w3m-content-type-alist): Use functionp instead of symbolp for
the users who set their own private function to
2011-02-28 Hideyuki SHIRAI <>
* w3m.el (w3m-active-region-or-url-at-point): Move w3m-url-at-point()
after to check the properties of w3m-URL.
2011-02-23 Naohiro Aota <>
* w3m.el (w3m-goto-url): Invoke error if you try to invoke another w3m
process when one loading.
2011-02-09 Naohiro Aota <>
* w3m.el (w3m-show-form-hint): New function to display submitting form
(w3m-after-cursor-move-hook): Use it.
2011-01-31 Johan Claesson <>
* w3m.el (w3m-content-type-alist): When selecting which external html
browser to use, handle the case where browse-url-browser-function is
an alist.
2011-01-26 Hideyuki SHIRAI <>
* w3m.el (w3m-rendering-half-dump): Protect against things that look
like tags but aren't.
2011-01-23 Hideyuki SHIRAI <>
* w3m.el (w3m-fontify-anchors): Decode entities in title of anchor.
2011-01-23 Kevin Ryde <>
* w3m.el (w3m-print-this-url): Correction to my last, use string-width
not length.
2011-01-13 Hideyuki SHIRAI <>
* w3m.el (w3m-goto-mailto-url): Decode entities in URL.
2011-01-11 Kevin Ryde <>
* w3m.el (w3m-print-this-url): If anchor-title plus url is wider than
the frame then use two lines "Title\nURL".
(w3m-about-header): Show anchor-title of link at point.
2011-01-04 Hideyuki SHIRAI <>
* w3m.el (w3m-fontify-anchors): If exist `title' in anchor, it adds to
w3m-balloon-help property and puts it to w3m-anchor-title property.
(w3m-print-this-url): Treat w3m-anchor-title property.
* w3m-util.el (w3m-anchor-title): New macro.
2011-01-03 Hideyuki SHIRAI <>
* w3m.el (w3m-fix-illegal-blocks): Fix FIXEDCASE and LITERAL options of
replace-match to `t'.
2010-12-28 Katsumi Yamaoka <>
* w3m.el (w3m-rendering-half-dump): Add name anchors that w3m can
handle ([emacs-w3m:11153]).
2010-12-27 Katsumi Yamaoka <>
* w3m-util.el (w3m-replace-regexps-in-string): Move from w3m-lnum.el;
use w3m-replace-in-string instead of replace-regexp-in-string that is
not available in XEmacs 21.4; make it a Lisp function.
(w3m-string-match-p, w3m-substring-no-properties): New functions.
* w3m-lnum.el (w3m-link-set-numbering): Use w3m-string-match-p instead
of string-match-p that is not available in Emacs 21~22 and XEmacs.
(w3m-read-int-interactive): Use w3m-substring-no-properties instead of
substring-no-properties that is not available in Emacs 21, XEmacs 21.4,
and SXEmacs.
(w3m-linknum-follow): Remove the 5th arg passed to read-string. It is
not available in XEmacs.
2010-12-26 Andrey Kotlarski <>
* w3m-lnum.el: Updated comments section.
(w3m-link-numbering-mode-hook, w3m-link-numbering-mode-map):
Updated doc string.
(w3m-link-set-overlay): No more need for save-excursion.
(w3m-replace-regexps-in-string, w3m-linknum-prompt-str): New
(w3m-link-set-numbering): Refactored, does filtering as well.
Does numbering only within the visible window part.
(w3m-goto-next-link, w3m-goto-next-image2): New functions.
(w3m-goto-next-anchor-or-image): Take optional argument for
position. No need to use goto-char.
(w3m-link-numbering): Take additional argument for filtering
string. Use `w3m-goto-next-link', `w3m-goto-next-image2'. No
more need for `save-excursion'.
(w3m-read-int-interactive): I-search functionality added. Offer
to select firstly numbered option when possible.
(w3m-with-linknum): Put the call to `w3m-link-numbering' inside
the `unwind-protect'.
(w3m-highlight-numbered-anchor): Highlight only within the visible
window part. Return text for the form fields or buttons as well.
(w3m-get-anchor-info): Operate only within the visible window
(w3m-go-to-linknum, w3m-linknum-get-action): Updated for the
changed `w3m-link-numbering' argument codes.
(w3m-linknum-follow): According to prefix arguments may toggle
instead of visit image links. Also options to edit link before
2010-12-22 Katsumi Yamaoka <>
* w3m.el (w3m-fix-illegal-blocks): Save restriction.
2010-12-20 Katsumi Yamaoka <>
* mime-w3m.el (kill-new): Don't compile defadvice form when building
* w3m.el (w3m-fix-illegal-blocks): New function.
(w3m-rendering-buffer): Use it.
* w3m-util.el (w3m-beginning-of-tag, w3m-end-of-tag): Move from
2010-12-13 Hideyuki SHIRAI <>
* w3m.el (w3m-external-view): Execute default web browser insted of
download if content-type is not supported.
2010-12-09 Katsumi Yamaoka <>
* w3m.el (w3m-print-this-url, w3m-print-this-image-url):
Fix "no url" message. Suggested by Dan Jacobson <>.
2010-12-08 Katsumi Yamaoka <>
* w3m-session.el (w3m-session-crash-recovery-remove):
Add autoload cookie.
2010-12-06 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Return nil for empty url.
(w3m-view-url-with-external-browser): Prompt user to edit url, not to
answer y/n. Suggested by Dan Jacobson <>.
2010-11-03 Kevin Ryde <>
* w3m-util.el (w3m-condition-case): Add a missing quote
2010-10-21 Katsumi Yamaoka <>
* bookmark-w3m.el (bookmark-make-record-function): Don't bind it to any
value. Suggested by David Engster ([emacs-w3m:11395]).
2010-10-13 IRIE Shinsuke <>
* w3m-ems.el (w3m-tab-previous-buffer): Work when called interactively
with no arg.
2010-10-08 Katsumi Yamaoka <>
* w3m.el: Load bookmark-w3m for Emacs >=23.
* w3mhack.el (w3mhack-module-list): Exclude bookmark-w3m.el from
compilation under Emacs <23 and XEmacs.
* bookmark-w3m.el: Provide the feature; add comment.
(bookmark-w3m-bookmark-jump): Add autoload cookie.
2010-10-08 Masatake YAMATO <>
* bookmark-w3m.el: New file.
2010-10-07 Katsumi Yamaoka <>
* w3m-util.el (w3m-make-local-hook): New function.
* mime-w3m.el (mime-display-message)
* w3m-mail.el (w3m-mail-compose-with-vm)
* w3m.el (w3m-set-buffer-unseen, w3m-buffer-setup): Use it.
2010-10-06 Katsumi Yamaoka <>
* w3m-ems.el (w3m-add-local-hook, w3m-remove-local-hook): Abolish.
* mime-w3m.el (mime-display-message)
* w3m-mail.el (w3m-mail-compose-with-vm)
* w3m.el (w3m-set-buffer-unseen, w3m-set-buffer-seen)
(w3m-buffer-setup): Don't use w3m-add-local-hook and
2010-09-25 Andrey Kotlarski <>
* w3m-lnum.el: Update Commentary section.
(w3m-link-set-overlay): New macro.
(w3m-link-set-numbering, w3m-goto-next-anchor-or-image): New
(w3m-link-numbering): Refactor, use `w3m-link-set-numbering'.
(w3m-read-int-interactive): Echo currently to be selected element.
(w3m-with-linknum): Update docstring.
(w3m-highlight-numbered-anchor): Properly highlight and
unhighlight multiline elements and return selection info.
(w3m-get-anchor-info): Always return 4 element list.
(w3m-go-to-linknum): Echo `w3m-current-url' for default selection.
(w3m-linknum-follow): Add support for toggling non link images.
Inverse prefix argument behaviour for some elements.
(w3m-linknum-toggle-inline-image, w3m-linknum-edit-this-url)
(w3m-linknum-print-this-url): Cosmetic indentation changes.
2010-09-22 Katsumi Yamaoka <>
* w3m.el (w3m-init-file): Allow nil. Suggested by Leo.
2010-09-09 Leo <>
* w3m.el (w3m-input-url): Pass DEFAULT argument to completing-read,
instead of replacing its return value, to enable a user to edit.
2010-09-09 Katsumi Yamaoka <>
* w3m.el (w3m-active-region-or-url-at-point): Remove only newlines and
leading and trailing whitespace in region string.
(w3m-input-url): Treat INITIAL if it is "" as nil but don't mind region
even if it is active; treat DEFAULT if it is "" as nil but don't regard
to w3m-home-page; always show DEFAULT if any within prompt string.
Suggested by Leo <>.
2010-09-06 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-read-int-interactive): Make it work for XEmacs
(note: `?<' is not `eq' to `60' in XEmacs, for example).
2010-09-06 Andrey Kotlarski <>
* w3m-lnum.el (w3m-linknum-remove-overlays): Simplified.
(w3m-link-numbering-mode): Using `or' instead of `unless'.
(w3m-read-int-interactive): Added ability to scroll page while
selecting number.
2010-09-06 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Move cursor to place where a user likely
begins to edit.
2010-09-02 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el (texinfo-multitable-widths): Use `make-char'
instead of KANJI literal.
2010-08-24 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el (texinfo-format-verb): Use (delete-char -1)
instead of (delete-backward-char 1); For Emacs24.
2010-08-20 ARISAWA Akihiro <>
* w3m.el (w3m-entity-table): Reverte last change.
(w3m-extra-numeric-character-reference): New variable.
(w3m-entity-value): Use it.
2010-08-18 Katsumi Yamaoka <>
* octet.el (octet-find-file)
* w3m-form.el (w3m-fontify-textareas, w3m-form-replace)
* w3m-proc.el (w3m-process-filter)
* w3m-session.el (w3m-session-select-list-all-sessions)
(w3m-session-select-list-session-group, w3m-session-select-next)
* w3m.el (w3m-idle-images-show, w3m-toggle-inline-images-internal)
(w3m-resize-inline-image-internal, w3m-fontify, w3m-refontify-anchor)
(w3m-cache-remove-oldest, w3m-cache-remove, w3m-cache-contents)
(w3m-cache-request-contents, w3m-create-text-page)
(w3m-create-image-page, w3m-select-buffer-generate-contents)
(w3m-select-buffer-recheck): Replace let-bindings of buffer-read-only
to nil with inhibit-read-only to t.
2010-08-18 Katsumi Yamaoka <>
* w3m-search.el (w3m-search-engine-alist): Fix `google news' url forms
used to non-Japanese utf-8 environments.
* w3m.el (w3m-entity-table): Add table for "&#149;".
(w3m-entity-value): Prefer "&#NUM;" type entities specified in
2010-08-17 Katsumi Yamaoka <>
* w3m.el (w3m-safe-view-this-url): Never query "Are you sure..." if
prefix arg is given.
2010-08-10 Katsumi Yamaoka <>
* w3m.el (w3m-create-text-page): Make point and window start be the
start of contents, especially for text/plain pages.
2010-08-05 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Update regexps for Google.
2010-07-30 Katsumi Yamaoka <>
* w3m.el: Autoload w3m-bookmark-add.
* w3m-lnum.el (w3m-read-int-interactive): Ignore mouse event in XEmacs.
2010-07-29 Andrey Kotlarski <>
* w3m.el (autoload, w3m-linknum-map):
`w3m-linknum-bookmark-add-this-url', `w3m-linknum-zoom-in-image'
and `w3m-linknum-zoom-out-image' added.
* w3m-lnum.el (w3m-link-numbering-mode-map):
`w3m-linknum-bookmark-add-this-url', `w3m-linknum-zoom-in-image'
and `w3m-linknum-zoom-out-image' added.
(w3m-link-numbering-mode, w3m-with-linknum)
(w3m-linknum-get-action): Use `zerop'.
(w3m-link-numbering): Simplify argument list and checks assosiated
with it.
(w3m-read-int-interactive): Add <escape> for quit.
(w3m-linknum-follow): Add position to history when visiting url in
curent page. Change message when no valid anchor is selected.
(w3m-linknum-view-image, w3m-linknum-save-image): Rewrite using
(w3m-linknum-zoom-image): New macro.
(w3m-linknum-zoom-in-image, w3m-linknum-zoom-out-image)
(w3m-linknum-bookmark-add-this-url): New functions.
2010-07-25 Hideyuki SHIRAI <>
* w3m.el (w3m-auto-show): Guard error if this-command is not a symbol.
Thanks to IRIE Shinsuke san. cf. [emacs-w3m:11282]
2010-07-23 Katsumi Yamaoka <>
* w3m.el (w3m-goto-url): Save positions iff called interactively.
(w3m-goto-url-new-session): Save positions.
* w3m-bookmark.el (w3m-bookmark-view): Save positions.
* w3m-hist.el (w3m-history-copy): Copy positions.
2010-07-13 Andrey Kotlarski <>
* w3m-lnum.el (w3m-link-numbering-mode): Using `buffer-list' instead of
`w3m-list-buffers' as the latter does unnecessary stuff.
(w3m-linknum-read-url): Removed. It's now equivalent to:
(car (w3m-linknum-get-action prompt 1))
(w3m-linknum-toggle-inline-image): If no url under selected image,
move over it and toggle it.
(w3m-linknum-external-view-this-url, w3m-linknum-edit-this-url):
Using `w3m-linknum-get-action' instead of `w3m-linknum-read-url'.
* w3m.el (autoload): Added `w3m-link-numbering-mode', removed
2010-07-13 Katsumi Yamaoka <>
* w3m-lnum.el (w3m-linknum-minibuffer-prompt): Make face config valid
for XEmacs as well.
(w3m-linknum-match): New face.
(w3m-read-int-interactive): Make it work for XEmacs as well.
(w3m-highlight-numbered-anchor): Use w3m-linknum-match face.
2010-07-12 Andrey Kotlarski <>
* w3m-lnum.el: Updated commentary and usage sections.
(w3m-substitute-key-definitions): New macro.
(w3m-link-numbering-mode-map): Changed keybindings.
(w3m-link-numbering-mode): Added mode-line indicator. Don't
activate numbering overlays. Changing status mode causes all other
w3m buffers to change status as well.
(w3m-move-numbered-anchor): Removed.
(w3m-with-linknum): Numbering overlays should never be active
before invoking linknum functions thus less bookkeeping.
(w3m-go-to-linknum, w3m-linknum-follow): Add mark for previous
2010-07-09 Hideyuki SHIRAI <>
* w3m-lnum.el (w3m-read-int-interactive): Add keys to exit event loop,
C-m & C-j.
2010-07-09 Katsumi Yamaoka <>
* w3m.el (w3m-ctl-c-map, w3m-redisplay-map)
(w3m-linknum-map): New sub-keymaps.
(w3m-lynx-like-map, w3m-info-like-map): Move `C-c' prefixed commands
and `C' prefixed commands to w3m-ctl-c-map and w3m-redisplay-map
2010-07-09 Andrey Kotlarski <>
* w3m.el: Autoload w3m-linknum-follow, w3m-linknum-read-url,
w3m-linknum-toggle-inline-image, w3m-linknum-view-image,
w3m-linknum-external-view-this-url, w3m-linknum-edit-this-url,
w3m-linknum-print-this-url, w3m-linknum-download-this-url.
* w3m-lnum.el: Update usage comment.
(w3m-link-numbering-mode): Cosmetic change.
(w3m-get-anchor-info): Added w3m-image-alt char property to return
(w3m-go-to-linknum, w3m-linknum-get-action): On 0 input select
location url.
(w3m-linknum-follow): Changed prompt and using w3m-message.
(w3m-linknum-toggle-inline-image): Renamed from
w3m-linknum-toggle-image and using w3m-message. When image on
point, toggle it.
(w3m-linknum-view-image, w3m-linknum-save-image)
(w3m-linknum-edit-this-url, w3m-linknum-print-this-url)
(w3m-linknum-download-this-url): New commands.
2010-07-08 Andrey Kotlarski <>
* w3m-lnum.el: Update usage comment.
(w3m-linknum-minibuffer-prompt): New face.
(w3m-linknum-remove-overlays): Quit immediately when it finds and
deletes temporary match overlay.
(w3m-link-numbering-mode): Pass prefix arg, which makes this function
index only images if it is 2, to w3m-link-numbering. Remove
interactive declaration and autoload cookie.
(w3m-link-numbering, w3m-with-linknum): Vary function according to arg;
index only images if it is 2.
(w3m-read-int-interactive): Change prompt face to
(w3m-highlight-numbered-anchor): Use next-single-property-change.
(w3m-get-anchor-info): New function. Renamed from
w3m-get-numbered-url. Using macrolet for less clutter.
(w3m-go-to-linknum): Rewrote it more in style with the other
user commands.
(w3m-linknum-get-action): Added optional type argument to
determine numbering scheme.
(w3m-linknum-follow): Rewrite to use the new
w3m-linknum-get-action return format.
(w3m-linknum-read-url): Rewrite using w3m-linknum-get-action.
(w3m-linknum-toggle-image): New function.
2010-07-06 Andrey Kotlarski <>
* w3m-lnum.el: Update usage comment.
(w3m-linknum-remove-overlays): New function.
(w3m-link-numbering-mode): Turn mode off if prefix arg is 0;
index forms as well as url links if prefix arg is 4.
(w3m-link-numbering): Index forms as well if prefix arg is given.
(w3m-move-numbered-anchor): Fix grammar in error message.
(w3m-read-int-interactive): New function.
(w3m-with-linknum): New macro.
(w3m-highlight-numbered-anchor, w3m-get-numbered-url): New functions.
(w3m-go-to-linknum): Add autoload cookie; turn on form numbers as well;
don't highlight current link if prefix arg is given.
(w3m-linknum-get-action, w3m-linknum-follow, w3m-linknum-read-url): New
2010-06-25 Katsumi Yamaoka <>
* w3m.el (w3m-toggle-inline-image)
(w3m-toggle-inline-images): Fix query logic about safe url.
2010-06-24 Katsumi Yamaoka <>
* w3m.el (w3m-menubar): Add w3m-pipe-source.
(w3m-lynx-like-map, w3m-info-like-map): Bind "|" to w3m-pipe-source.
(w3m-pipe-source): New command.
2010-06-22 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-update-files-autoloads): Strip subdirectory name
that Emacs 24 doesn't strip from load-name.
2010-06-03 Hideyuki SHIRAI <>
* octet.el (octet-w3m-region): Set to unibyte string for base64
2010-05-24 Fedor Khod'kov <>
* w3m-cookie.el (w3m-cookie-trusted-host-p): Don't bother to add
excessive "$" to a regexp that w3m-cookie-reject-domains specifies.
2010-05-19 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Update regexps for Google.
2010-04-21 Katsumi Yamaoka <>
* w3m.el (w3m-view-previous-page): Save positions.
2010-03-29 Katsumi Yamaoka <>
* w3m.el (w3m-fontify-images): Use the identical Lisp object for a
string used as w3m-image's property in order to enable XEmacs to
display images in shimbun articles properly.
2010-03-29 Hideyuki SHIRAI <>
* w3m.el (w3m-active-region-or-url-at-point): Check availability of
2010-03-12 Katsumi Yamaoka <>
* w3m-ems.el (w3m-ems-create-image): New function that's an alias to
create-animated-image or create-image.
(w3m-create-image): Use it.
* w3m.el (w3m-emacs-w3m-icon): Replace it with data not optimized.
2010-03-12 Katsumi Yamaoka <>
* aclocal.m4 (AC_PATH_EMACS): Support Emacs 24.
(AC_ADD_LOAD_PATH): Pipe stderr to /dev/null when running
2010-03-09 Katsumi Yamaoka <>
* w3m.el (w3m-ignored-image-url-regexp): Fix custom type.
2010-03-09 Katsumi Yamaoka <>
* w3m.el (w3m-view-this-url-1): Don't recenter if page is not changed.
(w3m-goto-url): Don't move point to the top unless redisplaying page.
2010-03-02 Katsumi Yamaoka <>
* w3m.el: Suppress compiler warnings that Emacs<22.2 and XEmacs issue
against image-mode functions.
2010-03-02 Naohiro Aota <>
* w3m.el (top): Require image-mode if available.
(w3m-image-page-displayed-p): New function.
(w3m-create-image-page): Setup image-mode's variable if possible.
(w3m-scroll-up-or-next-url, w3m-scroll-down-or-previous-url)
(w3m-shift-left, w3m-shift-right, w3m-beginning-of-line)
(w3m-end-of-line): Call image-mode functions if possible and needed.
2010-02-22 Katsumi Yamaoka <>
* w3m.el (w3m-goto-url): Turn truncate-lines off for text/plain pages.
2010-02-18 Katsumi Yamaoka <>
* w3m.el (w3m-fontify-images): Add menu to images.
(w3m-download-this-image, w3m-print-this-image-url): New functions.
(w3m-link-menu): Add them; enable menu only when url or image is there.
2010-02-13 Katsumi Yamaoka <>
* w3m-xmas.el (w3m-window-hscroll): Revert 2010-01-13 change.
2010-02-09 TSUCHIYA Masatoshi <>
* w3m.el (w3m-cache-available-p): Now, pages with neither Last-Modified
header and ETag header are treated as dynamically-generated pages.
(w3m-cache-header-delete-variable-part): Contination lines are also
2010-02-02 Katsumi Yamaoka <>
* w3m.el (w3m-local-dirlist-cgi, w3m-set-display-ins-del):
Honor w3m-command-environment.
Suggested by Toru TSUNEYOSHI <>.
2010-02-01 Hideyuki SHIRAI <>
* w3m.el (w3m-redisplay-this-page): Save positions.
2010-02-01 Katsumi Yamaoka <>
* w3m.el (w3m-reload-this-page): Save positions.
* w3m-hist.el (w3m-history-store-position)
(w3m-history-restore-position): Use line number and column number to
save positions.
2010-01-25 Katsumi Yamaoka <>
* w3m.el (w3m-view-previous-page): Restore positions as well when
jumping within a page.
(w3m-view-this-url-1): Reset hscroll after retrieving a new page.
(w3m-view-this-url): Save positions first.
(w3m-delete-buffer): Restore positions in a page being left.
(w3m-goto-url): Don't save positions here.
* w3m-util.el (w3m-popup-buffer): Restore positions only when buffer to
be displayed is hidden, not always.
2010-01-19 Katsumi Yamaoka <>
* w3m.el (w3m-next-anchor, w3m-previous-anchor, w3m-next-form)
(w3m-previous-form, w3m-next-image, w3m-previous-image): Remove unused
var `st'.
2010-01-19 Katsumi Yamaoka <>
* w3m.el (w3m-goto-url): Make it work as before for group: urls.
2010-01-15 Katsumi Yamaoka <>
* w3m.el (w3m-doc-view-map): New variable.
(w3m-view-this-url-1): Improve the way to keep the window configuration
for the case where w3m-new-session-in-background is non-nil.
(w3m-doc-view): Use w3m-doc-view-map.
(w3m-doc-view-quit): New function.
2010-01-13 Katsumi Yamaoka <>
* w3m-bug.el (report-emacs-w3m-bug)
* w3m-session.el (w3m-session-save, w3m-session-automatic-save)
(w3m-session-deleted-save, w3m-session-crash-recovery-save)
* w3m.el (w3m-key-binding): Use save-current-buffer instead of
* mew-w3m.el (mew-w3m-view-inline-image, mew-mime-text/html-w3m)
* w3m-xmas.el (w3m-window-hscroll)
* w3mhack.el (toplevel, w3mhack-generate-load-file): Use
with-current-buffer rather than save-excursion + set-buffer.
* w3m-cookie.el (w3m-cookie-parse-args): Use with-current-buffer rather
than save-excursion + set-buffer; no need to use save-restriction and
narrow-to-region; remove duplicate set-syntax-table.
2010-01-12 Katsumi Yamaoka <>
* w3m.el (w3m-print-this-url): Exclude empty image-alt string.
* w3m-form.el (w3m-form-parse-and-fontify): Strip text props from
string elements contained in w3m-current-forms so as to enable XEmacs
to read ~/.w3m/.sessions file.
2010-01-12 Katsumi Yamaoka <>
* w3m.el (w3m-refontify-anchor, w3m-cache-setup)
(w3m-cache-remove-oldest, w3m-cache-remove, w3m-cache-contents)
(w3m-cache-request-contents, w3m-view-this-url-1)
(w3m-download-this-url, w3m-goto-url)
* w3m-session.el (w3m-session-save)
* w3m-bookmark.el (w3m-bookmark-sections, w3m-bookmark-write-file)
(w3m-bookmark-kill-entries, w3m-bookmark-undo, w3m-bookmark-iterator)
* w3m-util.el (w3m-unseen-buffer-p): Use with-current-buffer rather
than save-excursion + set-buffer.
* w3m.el (toplevel, w3m-highlight-current-anchor-1): Use point-at-eol
rather than `(save-excursion (end-of-line) (point))'.
* w3m-util.el: Autoload w3m-history-restore-position when compiling;
autoload w3m-fb-frame-parameter only when compiling.
2010-01-12 Katsumi Yamaoka <>
* w3m.el (w3m-next-buffer): Save and restore positions.
(w3m-close-window): Save positions.
* w3m-hist.el (w3m-history-store-position)
(w3m-history-restore-position): Save and restore hscroll.
* w3m-util.el (w3m-popup-buffer): Restore positions.
2009-11-06 TSUCHIYA Masatoshi <>
* w3m-antenna.el (w3m-antenna-check-rss): Ignore future entries to
display site announcements.
2009-11-03 Hideyuki SHIRAI <>
* mew-w3m.el (mew-w3m-region-cite-mark): Add new selection.
(mew-w3m-region): Rewrite.
2009-11-02 Hideyuki SHIRAI <>
* mew-w3m.el (mew-w3m-region-cite-mark): New option.
(mew-w3m-region): New function.
(mew-mime-text/html-w3m): Use `mew-w3m-region' instead of `w3m-region'.
2009-09-02 Hideyuki SHIRAI <>
* w3m-image.el (w3m-imagick-convert-program-available-p): If someone
set `w3m-imagick-convert-program' to nil before load emacs-w3m, do not
show warning message for ImageMagick's `convert'.
2009-09-02 Katsumi Yamaoka <>
* w3m-mail.el (w3m-mail-embed-base-url, w3m-mail-compose-with-mml)
(w3m-mail-compose-with-vm): Don't use
default-enable-multibyte-characters that is obsolete in Emacs 23.2.
2009-09-01 Hideyuki SHIRAI <>
* w3m.el (w3m-content-type-alist): Support
`browse-url-default-windows|macosx-browser'. Thanks to Leo.
Cf. [emacs-w3m:11035].
* w3m-ems.el (w3m-form-button, w3m-form-button-mouse)
(w3m-form-button-pressed, w3m-tab-unselected)
(w3m-tab-unselected-retrieving, w3m-tab-unselected-unseen)
(w3m-tab-selected, w3m-tab-selected-retrieving, w3m-tab-background)
(w3m-tab-selected-background, w3m-tab-mouse): Add type ns. Thanks to
Leo. Cf. [emacs-w3m:11034].
2009-08-25 Hideyuki SHIRAI <>
* w3m.el (w3m-toggle-inline-images-internal): Do not display image, if
its url is local and current url is not local.
2009-08-24 ARISAWA Akihiro <>
* w3m.el (w3m-output-coding-system): Use `utf-8' except for emacs-21
under Japaese environment.
2009-08-19 Hideyuki SHIRAI <>
* w3m.el (w3m-use-symbol): Set nil with emacs-23 or later.
cf. [emacs-w3m:11002].
2009-08-18 Hideyuki SHIRAI <>
* w3m-util.el (w3m-puny-decode-url): Decode the part of hostname only.
Add doc-strings.
(w3m-puny-encode-url): Add doc-strings.
2009-08-17 Hideyuki SHIRAI <>
* w3m.el (w3m-puny-utf-16be): New variable.
(w3m-url-readable-string): Call `w3m-puny-decode-url'.
(w3m-url-transfer-encode-string): Call `w3m-puny-encode-url'.
(w3m-header-line-insert): Call `w3m-puny-decode-url'.
(w3m-input-url): Call `w3m-puny-decode-url' for initial URL.
* w3m-util.el (top): Add the variable definition of `w3m-puny-utf-16be'
to avoid byte-compile warnings.
(w3m-puny-code-regex, w3m-puny-code-nonascii, w3m-puny-base)
(w3m-puny-tmin, w3m-puny-tmax, w3m-puny-damp, w3m-puny-skew)
(w3m-puny-initial-bias, w3m-puny-initial-n, w3m-puny-delimiter): New
(w3m-puny-adapt, w3m-puny-decode-digit, w3m-puny-encode-digit)
(w3m-puny-decode1, w3m-puny-decode, w3m-puny-decode-url)
(w3m-puny-encode1, w3m-puny-encode, w3m-puny-encode-url): New
2009-08-04 Hideyuki SHIRAI <>
* w3m.el (w3m-decode-anchor-string): Convert contol-characters to
2009-07-17 Naohiro Aota <>
* w3m.el (w3m-about-retrieve): When type is `nil', decode cached
contents to display source of 404 page. Reported by Dan Jacobson
(w3m-do-cleanup-temp-files): New customize variable.
(w3m-cleanup-temp-files): Use it.
(toplevel): Call it when emacs-w3m shutdown.
2009-07-04 Naohiro Aota <>
* w3m-search.el (w3m-search-thing-at-point-arg): New variable.
(w3m-search-read-query): Use it.
* w3m-util.el (w3m-current-title): Set title to "<retrieving>>" when
w3m is retrieving a page.
2009-06-13 Kevin Ryde <>
* w3m.el (w3m-view-recenter): Only nil,t,integer, not a cons.
(w3m-search-name-anchor, w3m-view-this-url-1): No arg to w3m-recenter.
(w3m-next-anchor, w3m-previous-anchor, w3m-next-form,
w3m-previous-form, w3m-next-image, w3m-previous-image): Don't
recenter, leave recentering just for following a link, not Tab etc
within the buffer.
(w3m-recenter): Remove NAME arg, believe don't need to differentiate
URLs with an anchor or not since with no anchor `point' is at the
start of the buffer and can't be recentered anyway.
Use C-u style "(recenter '(4))" for the `t' middle-of-screen case.
No need for code to avoid redisplay, `recenter' doesn't redisplay in
the integer or C-u cases.
2009-06-13 Naohiro Aota <>
* w3m.el (w3m-fontify-anchors): Decode entities of name anchor.
2009-05-25 Hideyuki SHIRAI <>
* w3m.el (w3m-cache-available-p): Analyze the cache-control header more
(w3m-scroll-up-or-next-url): Bind w3m-prefer-cache to `t' when goto
the w3m-next-url.
(w3m-scroll-down-or-previous-url): Bind w3m-prefer-cache to `t' when
goto the w3m-previous-url.
2009-05-23 Naohiro Aota <>
* w3m.el (w3m-reload-this-page): Add new argument `no-popup'; Call
w3m-goto-url() with the argument.
(w3m-goto-url-with-timer): Use it.
2009-04-28 Katsumi Yamaoka <>
* w3m-bookmark.el (w3m-bookmark-make-item)
* w3m-cookie.el (w3m-cookie-create)
* w3m-dtree.el (w3m-dtree-expand-file-name, w3m-dtree-directory-name)
* w3m-form.el (w3m-form-normalize-action, w3m-form-p)
(w3m-form-set-method, w3m-form-put-property, w3m-form-field-parse)
* w3m-hist.el (w3m-history-set-current)
* w3m-namazu.el (w3m-namazu-call-process)
* w3m-proc.el (w3m-process-p, w3m-process-kill-process)
* w3m-session.el (w3m-session-history-to-save, w3m-session-make-item)
* w3m-tabmenu.el (w3m-tab-menubar-make-items-1)
* w3m-util.el (w3m-get-buffer-create, w3m-kill-buffer)
(w3m-current-title, w3m-buffer-title, w3m-buffer-number)
(w3m-buffer-set-number, w3m-buffer-name-add-title)
(w3m-generate-new-buffer, w3m-lefttab-exist-p, w3m-righttab-exist-p)
(w3m-url-valid, w3m-time-newer-p, w3m-time-lapse-seconds)
(w3m-url-local-p, w3m-url-authinfo, w3m-url-strip-authinfo)
(w3m-url-strip-fragment, w3m-url-strip-query, w3m-which-command)
(w3m-assoc-ignore-case, w3m-unseen-buffer-p)
* w3m-xmas.el (w3m-make-glyph)
* w3m.el (w3m-clear-local-variables, w3m-copy-local-variables)
(w3m-arrived-p, w3m-arrived-put, w3m-arrived-get)
(w3m-url-transfer-encode-string, w3m-entity-value)
(w3m-decode-anchor-string, w3m-toggle-inline-images-internal)
(w3m-canonicalize-url, w3m-cache-header-delete-variable-part)
(w3m-w3m-canonicalize-url, w3m-view-this-url-1)
* mime-w3m.el (mime-w3m-setup): Don't use defsubst.
* w3m-hist.el (w3m-history-plist-put, w3m-history-remove-properties):
Don't inline w3m-history-add-properties.
2009-04-28 Katsumi Yamaoka <>
* w3m.el (w3m-cache-available-p): Work around too large integer in
Cache-Control header.
2009-04-27 Katsumi Yamaoka <>
* w3m.el (w3m-url-to-file-name): Fix regexp used for stripping
localhost part; make url a Tramp name if it is guessed.
2009-04-24 Katsumi Yamaoka <>
* w3m.el (w3m-url-to-file-name): Allow "file:/foo.html" in addition to
"file://foo.html" and "file:///foo.html".
2009-04-23 Katsumi Yamaoka <>
* w3m-bookmark.el (w3m-bookmark-buffer): Use the time 0 as modtime of
the bookmark buffer by default.
2009-04-22 Hideyuki SHIRAI <>
* w3m.el (w3m-view-this-url-1): Pass url to sentinel.
(w3m-recenter): Save excursion.
2009-04-22 Katsumi Yamaoka <>
* w3m.el (w3m-view-recenter): New user option.
(w3m-recenter): New function.
(w3m-search-name-anchor, w3m-view-this-url-1, w3m-next-anchor)
(w3m-previous-anchor, w3m-next-form, w3m-previous-form, w3m-next-image)
(w3m-previous-image): Use it.
2009-04-20 Kevin Ryde <>
* w3m.el (w3m-local-find-file-regexps): Make regexp-opt group regexps
2009-04-14 Hideyuki SHIRAI <>
* w3m.el (w3m-cache-available-p): The control of expire is added.
(w3m-w3m-retrieve-1): The case where the option "no_cache=1" is put has
been increased.
2009-04-12 Naohiro Aota <>
* w3m.el (w3m-select-buffer-delete-buffer, w3m-goto-url)
(w3m-delete-buffers): Unqueue image retrieving process manually.
(w3m-idle-images-show): Widen narrowing.
* w3m-proc.el (w3m-process-stop): Don't unqueue image retrieving
* w3m.el (w3m-message-silent): New variable.
(w3m-message): Use it: when the variable is `t', don't show a message.
(w3m-idle-images-show): Use it.
(w3m-w3m-dump-head): lexical-let it.
(w3m-w3m-dump-extra): Ditto.
(w3m-w3m-retrieve): Ditto.
(w3m-retrieve-and-render): Ditto.
(w3m-refresh-minimum-interval): New variable.
(w3m-check-refresh-attribute): Use it.
(w3m-view-previous-page): When visiting pages by history-back or
history-next, don't just ignore refresh, but wait for a while.
(w3m-idle-images-show): When there are events pended, re-create the
idle timer; Check current position's item every time loop starts.
(w3m-idle-images-show-unqueue): Set w3m-idle-images-show-timer
(w3m-arrived-add): Revert recent changes.
* w3m-favicon.el (w3m-favicon-retrieve): lexical-let w3m-message-silent.
2009-04-02 Hideyuki SHIRAI <>
* w3m.el (w3m-arrived-add): If url has a multi-byte character, do not
do recursive-call itself. If decoded url does not have a multi-byte
character, do not do recursive-call itself.
2009-03-28 Naohiro Aota <>
* w3m.el (w3m-goto-url-with-timer): When going to the same url, use
(w3m-image-no-idle-timer): New variable.
(w3m-toggle-inline-images-internal): Use it.
(w3m-arrived-add): Add also decoded url.
(w3m-goto-url): Restore forms also when url is local.
2009-03-18 Katsumi Yamaoka <>
* w3m.el (w3m-link-menu): Always provide title string. Suggested by
David Abrahams <>.
cf. <>.
2009-03-17 Victor Ren <>
* w3m.el (w3m-url-to-file-name): Support "file://c:/" in addition to
2009-03-12 Hideyuki SHIRAI <>
* w3m.el (w3m-w3m-parse-header): The value of w3m-document-charset is
not used excluding x-moe-internal.
2009-03-04 Hideyuki SHIRAI <>
* w3m.el (w3m-decode-buffer): If context-charset is x-moe-internal,
x-moe-internal is used as charset regardless of w3m-type.
(w3m-w3m-parse-header): Add w3m-document-charset to handle of the
headers. If w3m-document-charset is x-moe-internal, charset sets to
x-moe-internal compulsorily. If x-w3m-content-encoding is exist, the
value of x-w3m-content-encoding is used as encoding method regardless
of w3m-type.
2009-03-03 Naohiro Aota <>
* w3m-hist.el (w3m-history-slimmed-history-flat, w3m-history-slim): New
* w3m-session.el (w3m-session-history-to-save): Use it.
2009-02-26 Katsumi Yamaoka <>
* w3m.el: Require w3m-session instead of autoloading it.
* w3m-session.el: Don't require w3m; require w3m-util; silent warnings.
(w3m-session-select): Use w3m-get-buffer-create instead of
get-buffer-create to kill the session select buffer when quitting.
* w3m-util.el (w3m-delete-frames-and-windows): Delete frames if the
other windows visit buffers being related to emacs-w3m or the session
select buffer.
(w3m-replace-in-string): eval-and-compile.
2009-02-24 Katsumi Yamaoka <>
* w3m.el: Autoload w3m-go-to-linknum.
(w3m-lynx-like-map, w3m-info-like-map): Bind `C-c C-l' to it.
(w3m-mode): Mention w3m-go-to-linknum in doc string.
* w3m-util.el (w3m-read-number): New function.
* w3m-lnum.el (w3m-go-to-linknum): Use w3m-read-number.
2008-04-12 Jose A. Ortega Ruiz <>
* w3m-lnum.el (w3m-go-to-linknum): New function.
2009-02-23 Katsumi Yamaoka <>
* w3m-session.el (w3m-session-ignore-errors): New macro.
(w3m-session-save, w3m-session-automatic-save)
(w3m-session-deleted-save, w3m-session-crash-recovery-save)
(w3m-session-crash-recovery-remove, w3m-session-select-mode)
(w3m-session-select, w3m-session-make-menu-items)
(w3m-session-last-autosave-session, w3m-session-last-crashed-session):
Use it.
(toplevel): Require cl when compiling.
(w3m-session-select-list-all-sessions): Remove unused variables.
2009-02-16 Hideyuki SHIRAI <>
* w3m-session.el (w3m-session-last-crashed-session): Fix tiny typo.
2009-02-15 Naohiro Aota <>
* w3m.el (w3m-idle-images-show): If detect deleted buffer, unqueue
processes related to the buffer.
* w3m-session.el (w3m-session-crash-recovery): Change the default to t.
2009-02-12 Katsumi Yamaoka <>
* w3m.el (w3m-buffer-setup): Add keymap that cycles buffers as usual to
2009-02-09 Katsumi Yamaoka <>
* w3m-bookmark.el (w3m-bookmark-view, w3m-bookmark-view-new-session)
(w3m-bookmark-make-menu-items): Check if bookmark file exists.
2009-02-04 Katsumi Yamaoka <>
* w3m.el (w3m-header-line-insert): Don't decode url containing
non-ASCII characters already. e.g. about://weather/WHERE
2009-02-03 Hideyuki SHIRAI <>
* mew-w3m.el (mew-w3m-cid-retrieve): Remove a wrong set-buffer().
2009-02-03 Katsumi Yamaoka <>
* w3m.el (w3m-input-url): Offer decoded url in the minibuffer.
(w3m-copy-buffer): Copy w3m-current-coding-system.
(w3m-header-line-insert): Display decoded url.
2009-02-02 Naohiro Aota <>
* w3m.el (w3m-idle-images-show): Change the order of image retrieving.
(w3m-toggle-inline-images-internal): Use `w3m-idle-image-item'
(w3m-goto-url): Add new argument `no-popup'.
(w3m-goto-url-with-timer): Call w3m-goto-url with `no-popup' nil.
2009-02-01 Naohiro Aota <>
* w3m.el (w3m-toggle-inline-images-internal): Add new argument
(w3m-toggle-inline-images): Pass `safe-regexp' to
w3m-toggle-inline-images-internal when called non-interactively.
2009-01-28 Katsumi Yamaoka <>
* w3m-proc.el: Autoload w3m-idle-images-show-unqueue when compiling.
2009-01-27 Naohiro Aota <>
* w3m-proc.el (w3m-process-stop): Call `w3m-idle-images-show-unqueue'.
* w3m.el (w3m-idle-images-show-timer, w3m-idle-images-show-list)
(w3m-idle-images-show-interval): New variables.
(w3m-idle-images-show, w3m-idle-images-show-unqueue): New functions.
(w3m-toggle-inline-images-internal): Use them.
2009-01-26 Naohiro Aota <>
* w3m.el (w3m-content-type-alist): Add "application/x-pdf" content
2009-01-21 Kevin Ryde <>
* w3m.el (w3m-search-name-anchor): Return true meaning "found" if
point is already at the anchor position.
2009-01-21 Naohiro Aota <>
* w3m-session.el (w3m-session-last-autosave-session): Check if
autosaved sessions set exists before asking whether to load the last
sessions set; Search older sessions sets when the last sessions set
doesn't exist (maybe it is removed by user); Load autosaved sessions
set when w3m-session-load-last-sessions is non-nil.
(w3m-session-load-last-sessions): Fix docstring; Change `auto' to `t'.
(w3m-session-crash-recovery-title): New variable.
(w3m-session-load-crashed-sessions): Ditto.
(w3m-session-crash-recovery-save): New function.
* w3m.el (w3m-goto-url): Save sessions set for crash recovering.
(w3m-delete-buffer): Ditto.
(w3m): Load crashed sessions if necessary. Suggested by Samuel Wales
2009-01-20 Hideyuki SHIRAI <>
* w3m.el (w3m-fontify-anchors): Use new `w3m-balloon-help'
text-property for balloon help.
(w3m-fontify-images): Ditto and create help together href, alt and URL
of image.
2009-01-19 Naohiro Aota <>
* w3m.el (w3m-image-anchor): Fix docstring.
(toplevel): Fix w3m-image-anchor-face's alias.
2009-01-15 Hideyuki SHIRAI <>
* w3m.el (w3m-fontify-images): Put the 'full alt text' on new
'w3m-image-alt' property.
(w3m-print-this-url): Print the content of 'w3m-image-alt'.
* w3m-util.el (w3m-image-alt): New macro.
2009-01-14 Katsumi Yamaoka <>
* doc/ ( Use --no-split.
2009-01-11 Naohiro Aota <>
* w3m.el (w3m): Move last session restoring asking afterward, so that
the restoring wouldn't be avoided by w3m-input-url's input.
* w3m-session.el (w3m-session-last-autosave-session): Follow the above
2009-01-10 Naohiro Aota <>
* w3m.el (w3m): Check whether to load the last autosaved
sessions. Suggested by Samuel Wales <>.
* w3m-session.el (w3m-session-automatic-keep-number): New variable.
Suggested by Samuel Wales <>.
(w3m-session-automatic-save): Use it.
(w3m-session-last-autosave-session): New function.
(w3m-session-load-last-sessions): New variable.
* w3m.el (w3m-image-anchor): New face.
(w3m-fontify-images): Use it.
2009-01-09 Katsumi Yamaoka <>
* w3m.el (w3m-language): Allow the value like "Japanese (UTF-8)" of
* w3m-symbol.el (w3m-symbol): Ditto.
* w3mhack.el (w3mhack-makeinfo): Use locale-coding-system for Emacs to
encode Japanese messages.
2009-01-09 Naohiro Aota <>
* w3m.el (w3m-create-text-page, w3m-goto-url): Check if the url is
arrived before getting real-url.
2009-01-06 Hideyuki SHIRAI <>
* w3m.el (top): Add the variable definitions of
`w3m-tab-menubar-make-items-preitems' and `w3m-session-menu-items-pre'
to avoid byte-compile warnings.
(w3m-setup-menu): Move the postion of session menu.
(w3m-mouse-major-mode-menu): Add session menu.
* w3m-xmas.el (autoload): Add w3m-setup-session-menu.
(w3m-menu-on-forefront): Treat "Session" menu.
(w3m-setup-menu): Call `w3m-setup-session-menu'.
2008-12-30 Hideyuki SHIRAI <>
* w3m.el (w3m-select-buffer-mode-map): Bind `w3m-select-buffer-quit' to
* w3m-session.el (w3m-session-select-mode-map): Bind
`w3m-session-select-quit' to C-g.
* w3m-form.el (w3m-form-input-select-keymap): Bind
`w3m-form-input-select-keymap' to C-g.
(w3m-form-input-map-keymap): Bind `w3m-form-input-map-exit' to C-g.
2008-12-17 Hideyuki SHIRAI <>
* w3m-session.el (w3m-session-select-mode-map): Add new key.
(w3m-session-select-mode): Modify doc-string.
(w3m-session-select-rename): New command.
(w3m-session-rename): New function.
2008-12-17 Naohiro Aota <>
* w3m.el (autoload): Add w3m-setup-session-menu.
(w3m-menubar): Moved session menu to w3m-session-menu-items.
(top): Call w3m-setup-session-menu.
* w3m-session.el: Change to use major mode; Add session menu.
(w3m-session-unknown-title): New option.
2008-12-15 Katsumi Yamaoka <>
* w3m.el (w3m-compatible-encoding-alist): Add (gb2312 . gbk).
2008-12-12 David Engster <>
* w3m-proc.el (w3m-process-wait-process): Reduce sit-for time.
(w3m-process-sentinel): Wait for process output (on Emacs only).
2008-12-08 Katsumi Yamaoka <>
* w3m.el (w3m-show-redirection-error-information): Improve the
error message.
2008-12-10 Naohiro Aota <>
* w3m.el (w3m-next-anchor): Go to the first anchor when next
anchor is not found.
(w3m-previous-anchor): Go to the last anchor when previous anchor
is not found.
(w3m-url-encode-string): Encode SPC only when encode-space is
* w3m-form.el (w3m-form-make-form-data): Follow the above change.
* w3m.el (w3m-gmane-url-at-point): Ditto.
(w3m-canonicalize-url): Ditto.
2008-12-08 Katsumi Yamaoka <>
* w3m-ems.el (w3m-make-ccl-coding-system): Use define-coding-system if
it is available.
2008-12-06 Naohiro Aota <>
* w3m.el (w3m-show-redirection-error-information): New function.
(w3m-retrieve-and-render): Use it.
(w3m-w3m-retrieve-1): Return 'redirection-exceeded if redirect counter
(w3m-w3m-retrieve): Return "X-w3m-error/redirection" if attr eq
(w3m-w3m-attributes-1): Return dummy attribute if redirect counter
2008-12-05 Naohiro Aota <>
* w3m-form.el (w3m-same-window-p): New function.
(w3m-form-input-textarea): Use it.
* w3m.el (w3m-local-find-file-regexps): Try to open with emacs-w3m as
many types as possible.
2008-12-03 Katsumi Yamaoka <>
* w3m.el (w3m-fontify): Remove hidden anchors like "<a href=url> </a>".
cf. [emacs-w3m:10484]
2008-12-01 Naohiro Aota <>
* w3m-form.el (w3m-form-input-textarea): Use the whole current window
for the textarea when `same-window-buffer-names' contains the buffer
name "*w3m form textarea*"; simplify the window size calculation.
2008-11-21 Naohiro Aota <>
* w3m.el (w3m-w3m-parse-header): Also remove parameters when charset is
2008-11-11 Katsumi Yamaoka <>
* w3m-util.el (w3m-visited-file-modtime): New function.
* w3m-bookmark.el (w3m-bookmark-file-modtime): Just return result of
2008-11-11 Naohiro Aota <>
* w3m-antenna.el (w3m-antenna-check-rss): Support RSS2.0. Check also
(w3m-antenna-alist): Update site-class if needed.
* w3m-bookmark.el (w3m-bookmark-buffer, w3m-bookmark-verify-modtime):
Replace visited-file-modtime with w3m-visited-file-modtime.
2008-10-28 Naohiro Aota <>
* w3m.el (w3m-view-header): Check if current page is source of
2008-10-16 Katsumi Yamaoka <>
* w3m.el (w3m-active-region-or-url-at-point): Take notice of the link
under the point as well; return the url of the current page by default
if the new optional argument `default=current' is given.
(w3m-input-url): Make w3m-active-region-or-url-at-point return the url
of the current page by default; modify the prompt string according to
whether there is an initial input.
(w3m-download, w3m-goto-url, w3m-goto-url-new-session): Simplify args
passed to w3m-input-url.
(w3m-view-this-url): Make w3m-active-region-or-url-at-point return the
url of the current page by default.
2008-10-08 Katsumi Yamaoka <>
* w3m.el (w3m-italic): Make it be a underline face on a non-window
system by default.
2008-09-24 Katsumi Yamaoka <>
* w3m.el (w3m-toggle-inline-images-internal)
(w3m-resize-inline-image-internal): Confirm whether to retrieve
insecure image only once, or don't confirm it if
w3m-confirm-leaving-secure-page is nil. Suggested by Dan Jacobson
(w3m-confirm-leaving-secure-page): Doc fix.
* w3mhack.el (w3mhack-makeinfo): Remove Emacs 19 stuff; remove TeX
directives first; don't call texinfo-mode.
2008-09-21 Akinori MUSHA <>
* doc/emacs-w3m.texi (Image Variables): Fix syntax error.
* doc/emacs-w3m-ja.texi (Image Variables): Ditto.
2008-09-17 Naohiro Aota <>
* w3m.el (w3m-buffer-local-url): New constant variable.
(w3m-buffer-local-url-p): New function.
(w3m-goto-url): Also process buffer local url.
(w3m-region): Use w3m-buffer-local-url as url if it is not set.
(w3m-safe-view-this-url, w3m-mouse-safe-view-this-url): Check if url is
buffer local.
2008-09-12 Katsumi Yamaoka <>
* w3m.el (w3m-download): Add doc string.
(w3m-lynx-like-map): Bind M-d key to w3m-download.
(w3m-mode): Add w3m-download to major mode info; clarify description of
2008-09-11 Katsumi Yamaoka <>
* w3m.el (w3m-gmane-url-at-point): Return a url used for asking Gmane
for the thread that begins with the current article instead of the
whole thread if it is run on the Message-ID header.
(w3m-examine-command-line-args): Make it an alias to `(lambda nil)'
instead of `ignore' after it is run for the first time in order to
silence the byte compiler.
2008-09-01 Katsumi Yamaoka <>
* w3m.el (w3m-use-favicon): Assume w3m-image.elc is always loaded.
(w3m-resize-inline-image-internal): Change it to a normal function from
an inline function; remove interactive.
(w3m-zoom-in-image, w3m-zoom-out-image): Error if ImageMagick's convert
program is not available; improve doc string.
(w3m-auto-show): Don't make the cursor position disappear after
executing beginning-of-buffer and end-of-buffer.
2008-08-25 David Hansen <>
* w3m.el (w3m-about-header): Fixed typo.
2008-08-05 Katsumi Yamaoka <>
* w3m.el (w3m-view-source, w3m-view-header): Save points positioned
last in pages. Suggested by Dan Jacobson <>.
2008-07-22 Katsumi Yamaoka <>
* w3m-ems.el: Bind w3m-image-default-background when compiling.
2008-07-20 Naohiro Aota <>
* w3m-hist.el (w3m-history-restore-position): Run
w3m-after-cursor-move-hook after restoring cursor position.
2008-07-18 Naohiro Aota <>
* w3m.el (w3m-image-default-background): New variable.
* w3m-ems.el (w3m-create-image): Use it.
(w3m-initialize-graphic-icons): Check if xpm is available. Reported by
Diego 'Flameeyes' Petten,Ar(B <>.
* w3m-filter.el (w3m-filter-wikipedia): Improve regexp.
2008-07-01 Katsumi Yamaoka <>
* w3m-search.el (w3m-search-engine-alist): Test if mule-version is
bound (XEmacs does not provide it).
2008-06-30 Naohiro Aota <>
* w3m-form.el (w3m-form-input, w3m-form-input-password): Process
readonly attribute.
2008-06-25 Naohiro Aota <>
* w3m.el (w3m-toggle-inline-images-internal): Make it non-interactive.
* w3m-form.el (w3m-form-input-textarea): Make buffer unmodified when
user selected to reuse saved text; parse readonly attribute; kill newly
generated buffer when the reusing question aborted.
(w3m-form-textarea-info): Also provide readonly info.
(w3m-fontify-textareas): Parse readonly attribute.
(w3m-form-parse-and-fontify): Ditto.
(w3m-form-input): Ignore cursor moving while read from minibuffer.
(w3m-form-input-password): Ditto.
(w3m-form-input-file): Ditto.
* w3m.el (w3m-toggle-inline-image): Don't toggle images that are
outside of the region even if they are identical to the ones in the
region; don't do recursive call of itself; rearrange the source code.
(w3m-toggle-inline-images): Check whether images are safe even if it is
called with w3m-display-inline-images=t and force=t; rearrange the
source code.
(w3m-toggle-inline-images-internal): Add new optional argument:
`begin-pos' and `end-pos'. Only process region from `begin-pos' to
2008-06-25 Katsumi Yamaoka <>
* w3m.el (w3m-toggle-inline-image): Work for an image in which there is
the region end within its anchor. Reported by Dan Jacobson
* w3m-util.el (w3m-deactivate-region): Use zmacs-deactivate-region for
2008-06-22 Naohiro Aota <>
* w3m-search.el (w3m-search-engine-alist): Improve detection of utf-8
(w3m-search-engine-alist): Abolish `yahoo beta' entry; Improve `blog'
entry to work like `google' entry.
* w3m-session.el: Add coding cookie.
2008-06-18 Katsumi Yamaoka <>
* w3m.el (w3m-submit-form-safety-check): New user option. Suggested by
Dan Jacobson <>.
(w3m-submit-form): Use it.
2008-06-12 Hideyuki SHIRAI <>
* w3m.el (w3m-auto-show): Scrool horizontally after executing a search
2008-06-07 Hideyuki SHIRAI <>
* w3m.el (w3m-use-header-line-title): Modify the doc-string.
2008-06-06 Naohiro Aota <>
* w3m.el (w3m-select-buffer): Don't delete other windows.
* w3m-filter.el (w3m-filter-wikipedia): New function.
(w3m-filter-rules): Add w3m-filter-wikipedia.
2008-06-03 Katsumi Yamaoka <>
* w3m.el: Add coding cookie.
2008-06-02 Naohiro Aota <>
* w3m.el (w3m-detect-meta-charset): Use also ';' as delimiter.
2008-05-28 Katsumi Yamaoka <>
* w3m.el (w3m-examine-command-line-args): Treat the null string given
as a url in the command line args as `w3m-home-page' or "about:".
2008-05-28 Naohiro Aota <>
* doc/emacs-w3m.texi (Inline Images): Update.
* doc/emacs-w3m-ja.texi (Inline Images): Ditto.
2008-05-27 Katsumi Yamaoka <>
* w3m.el (w3m-url-readable-string): Don't decode url if it looks not to
have been encoded.
(w3m-current-longest-line): New variable.
(w3m-set-current-longest-line): New function.
(w3m-scroll-left, w3m-shift-left): Don't scroll the window endlessly;
beep if the window can't be scrolled any more.
(w3m-scroll-right, w3m-shift-right): Beep if the window can't be
scrolled any more.
2008-05-25 Naohiro Aota <>
* w3m.el (w3m-relationship-estimate-rules): Fix regexp for Google
search within EmacsWiki.
2008-05-20 Naohiro Aota <>
* README: Add information about how to create `configure' script.
* README.ja: Ditto.
* w3m.el (w3m-goto-url): Delayed encoding of fragment part.
2008-05-18 Naohiro Aota <>
* w3m-cookie.el (w3m-cookie-save-current-site-cookies): New function.
(w3m-cookie-save): Add optional argument "domain".
2008-05-16 Hideyuki SHIRAI <>
* mew-w3m.el (mew-w3m-add-text-properties): New inline macro.
(mew-w3m-view-inline-image): Use `mew-w3m-add-text-properties'.
(mew-mime-text/html-w3m): Ditto.
2008-05-09 Naohiro Aota <>
* w3m-cookie.el (w3m-cookie-save): Make it interactive function.
(w3m-cookie-save-cookies): New variable.
(w3m-cookie-shutdown): Use it.
* w3m.el (toplevel): Shutdown cookie system when exiting emacs.
2008-05-08 Naohiro Aota <>
* w3m-cookie.el (w3m-cookie-shutdown): Fixed docstring.
2008-05-08 Hideyuki SHIRAI <>
* w3m-filter.el (w3m-filter-amazon): Fix string to search the body.
2008-04-30 Naohiro Aota <>
* doc/emacs-w3m-ja.texi: Update translation.
* w3m.el (w3m-goto-url): Use w3m-current-coding-system first to encode
url if available; Also encode name part when url is local.
(w3m-ignored-image-url-regexp): New variable.
(w3m-toggle-inline-images-internal): Don't display image whose url
match `w3m-ignored-image-url-regexp'.
(w3m-decode-entities, w3m-decode-entities-string): Replace
"(match-beginning 2)" with "(match-end 1)" to deal with emacs-21's
strange behavior.
2008-04-24 Hideyuki SHIRAI <>
* w3m-filter.el (w3m-filter-rules): Support Mixi with SSL.
2008-04-22 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el: Fix Comments.
(texinfo-format-geq, texinfo-format-leq,): Support @geq and @leq.
2008-04-18 Hideyuki SHIRAI <>
* w3m-filter.el (w3m-filter-rules): Add rule for the site of Allatanys.
(w3m-filter-allatanys): New function.
* w3m.el (w3m-relationship-estimate-rules): Fix regexp for Google
search within EmacsWiki. Add rule for Google Mobile Proxy.
2008-04-17 Hideyuki SHIRAI <>
* w3m.el (top): Add the variables definition of `w3m-bookmark-mode',
`w3m-bookmark-menu-items', `w3m-bookmark-menu-items-pre' and
`w3m-tab-menubar-make-items-preitems' avoid byte-compile warnings.
(w3m-rmouse-menubar): New user option.
(w3m-setup-menu): Add the setup of `w3m-rmouse-menubar'.
(w3m-mouse-major-mode-menu): Rewrite to use `w3m-rmouse-menubar'.
(w3m-link-menu): Add `w3m-external-view-this-url'.
2008-04-15 Hideyuki SHIRAI <>
* w3m.el (w3m-turnoff-inline-images): New command.
(w3m-toggle-inline-images): If force is 'turnoff, turn off to display
(w3m-menubar): Add w3m-turnoff-inline-images.
(w3m-lynx-like-map): Ditto.
(w3m-info-like-map): Ditto.
(w3m-mode): Ditto.
2008-04-07 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Fix custom type.
2008-04-03 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Support Google search
within EmacsWiki. cf. [emacs-w3m:10067]
2008-03-17 Katsumi Yamaoka <>
* w3m.el (w3m-mouse-safe-view-this-url): Remove redundant confirmation
of whether to follow link.
2008-03-14 Katsumi Yamaoka <>
* w3m.el (w3m-doc-view-content-types): New variable.
(w3m-doc-view): New function.
(w3m-create-page): Use it.
(w3m-content-type-alist): Add application/dvi.
(w3m-delete-buffer): Save windows layout.
2008-03-12 Katsumi Yamaoka <>
* w3m-image.el (w3m-imagick-convert-program-available-p): Don't use
w3m-imagick-convert-data which may issue a warning when checking
whether the convert program supports png32. cf. [emacs-w3m:10048]
2008-03-03 Naohiro Aota <>
* doc/emacs-w3m.texi (Inline Images): Updated.
* doc/emacs-w3m-ja.texi (Inline Images): Ditto.
* w3m.el (w3m-toggle-inline-images): Only toggle in the region if
Transient Mark mode.
(w3m-toggle-inline-image): Ditto.
2008-02-20 Katsumi Yamaoka <>
* w3m.el (w3m-arrived-intern): Protect against null string. It enables
url completion even for null string. Suggested by Aota-san.
2008-02-07 Naohiro Aota <>
* w3m.el (w3m-expand-path-name): New function.
(w3m-expand-url): Remove useless expanded path-name check.
2008-02-06 Katsumi Yamaoka <>
* (install-lisp, install-icons, install-icons30): Quote
directory name that might contain whitespace.
* doc/ (install): Ditto.
* aclocal.m4 (AC_PATH_LISPDIR): Ditto; always report prefix name.
* mkinstalldirs: Replace it with the 2006-05-11.19 version.
2008-01-30 Naohiro Aota <>
* w3m.el (w3m-fontify-anchors): Don't expand icon's url when it is nil.
2008-01-26 Katsumi Yamaoka <>
* w3m.el (w3m-safe-url-regexp): Add note to doc string.
(w3m-fontify): Hold the value of w3m-safe-url-regexp with the
w3m-safe-url-regexp text-property.
(w3m-toggle-inline-image, w3m-toggle-inline-images)
(w3m-safe-view-this-url, w3m-mouse-safe-view-this-url): Check whether
url is safe by comparing it with the value of the w3m-safe-url-regexp
text property; prompt a user to confirm whether to proceed.
(w3m-safe-toggle-inline-image, w3m-safe-toggle-inline-images): Abolish.
(w3m-minor-mode-command-alist): Map w3m-toggle-inline-image and
w3m-toggle-inline-images to themselves.
2008-01-20 Naohiro Aota <>
* w3m.el (w3m-search-name-anchor): Accept and optional argument
(w3m-goto-url): Going other page's anchor, call
`w3m-search-name-anchor' with 3rd argument t.
2008-01-16 Naohiro Aota <>
* w3m-form.el (w3m-form-input-textarea-coding-system): Revert.
(w3m-form-input-textarea): Set w3m-form-input-textarea-coding-system to
use in w3m-form-coding-system-accept-region-p.
2008-01-15 Naohiro Aota <>
* w3m-form.el (w3m-form-textarea-file-coding-system): New variable.
(w3m-form-input-textarea-save): Use it.
(w3m-form-input-textarea): Ditto.
(w3m-form-input-textarea-coding-system): Abolish.
2008-01-11 Naohiro Aota <>
* w3m-filter.el (w3m-filter-iframe): New function.
(w3m-filter-rules): Add rule for inserting link to the url iframe
2008-01-09 Naohiro Aota <>
* w3m-form.el (w3m-form-coding-system-accept-region-p): Abolish.
* w3m-ems.el (w3m-form-coding-system-accept-region-p): Use
select-safe-coding-system if unencodable-char-position is not
* w3m-xmas.el (w3m-form-coding-system-accept-region-p): Use
decode-coding-string and encode-coding-string instead of
unencodable-char-position; Only warn coding-system problem.
2008-01-09 Katsumi Yamaoka <>
* w3m.el (w3m-url-decode-string): Don't replace +'s with spaces.
2007-12-27 Naohiro Aota <>
* w3m-form.el (w3m-form-coding-system-accept-region-p): New function.
(w3m-form-input-textarea-save, w3m-form-input-textarea-set): Use it.
2007-12-24 Hideyuki SHIRAI <>
* w3m-session.el (w3m-session-goto-session): Go to the current w3m
buffer in data of session.
2007-12-24 Naohiro Aota <>
* w3m-session.el (w3m-session-history-to-save): New function.
(w3m-session-save): Also record history data.
(w3m-session-automatic-save, w3m-session-deleted-save): Ditto.
(w3m-session-select): Follow the format change.
(w3m-session-goto-session): Also restore history data.
2007-12-23 Hideyuki SHIRAI <>
* w3m-tabmenu.el (w3m-tab-menubar-force-update): New function.
(top): Register `w3m-tab-menubar-force-update' to
2007-12-20 Hideyuki SHIRAI <>
* w3m.el (w3m-lynx-like-map): Bind `w3m-move-unseen-buffer'.
(w3m-info-like-map): Ditto.
(w3m-buffer-unseen): New buffer local variable.
(w3m-set-buffer-unseen): New function.
(w3m-set-buffer-seen): Ditto.
(w3m-move-unseen-buffer): Ditto.
(w3m-remove-local-hook): Ditto.
(w3m-goto-url): Set buffer to unseen.
(w3m-select-buffer-generate-contents): Support `unseen'.
* w3m-util.el (top): Add the variable definition of `w3m-buffer-unseen'
to avoid byte-compile warnings.
(w3m-unseen-buffer-p): New inline macro.
* w3m-tabmenu.el (w3m-tab-menubar-make-items-1): Support `unseen'.
* w3m-ems.el (w3m-remove-local-hook): New function.
(w3m-tab-unselected-unseen): New face.
(w3m-tab-line): Support `unseen'.
2007-12-20 Katsumi Yamaoka <>
* w3m.el (w3m-mode): Set show-trailing-whitespace to nil.
2007-12-18 Katsumi Yamaoka <>
* w3m-favicon.el (w3m-favicon-default-background): New user option.
(w3m-favicon-set-image): Don't set background color of favicon here.
(w3m-favicon-convert): Set the background color of favicon according to
* w3m-ems.el (w3m-tab-line): Don't set the background color of favicon
* w3m-image.el (w3m-imagick-identify-program): New user option.
2007-12-17 TSUCHIYA Masatoshi <>
* w3m-proc.el (w3m-process-kill-stray-processes): Do not kill
process when the buffer associated to it is alive.
(w3m-process-sentinel): Do not call a handler when its parent
buffer have been killed.
2007-12-15 Naohiro Aota <>
* w3m-form.el (w3m-form-submit): Remove query part from the form's
action url when using get method.
2007-12-14 Katsumi Yamaoka <>
* w3m-favicon.el (w3m-favicon-size): Change the value form into
the cons of WIDTH and HEIGHT.
(w3m-favicon-convert-args): New user option.
(w3m-favicon-convert): Pass it to convert.
* w3m-ems.el (w3m-tab-mouse-track-selected-tab): Follow change of
2007-12-13 Katsumi Yamaoka <>
* w3m-ems.el (w3m-tab-line): Set the background color of favicon
for Emacs 22+.
* w3m-favicon.el (w3m-favicon-set-image): Ditto.
* w3m-image.el (w3m-imagick-convert-program-available-p): Check
whether the convert program supports the image type png32 for
Emacs 22+.
(w3m-imagick-convert-buffer, w3m-imagick-start-convert-buffer):
Use png32 if it is available.
2007-12-11 Katsumi Yamaoka <>
* w3m-favicon.el (w3m-favicon-convert): Make last change revert.
2007-12-11 Katsumi Yamaoka <>
* w3m-favicon.el (w3m-favicon-convert): Apply the background color
of header line or mode line to pixels of which the color is
2007-12-06 Naohiro Aota <>
* w3m.el (w3m-goto-url): Canonicalize the url when it is called
2007-12-01 Naohiro Aota <>
* w3m.el (w3m-name-anchor-from-hist): New buffer-local variable.
(w3m-clear-local-variables): Also clear w3m-name-anchor-from-hist.
(w3m-goto-url): Save and restoe w3m-name-anchor-from-hist.
(w3m-search-name-anchor): Record (point)s of before and after
following a name-anchor.
(w3m-view-previous-page): If possible, move back the cursor to the
point where it was before following name-anchors.
2007-11-30 Naohiro Aota <>
* w3m-proc.el (w3m-process-y-or-n-p): Ignore space to avoid
answering y without intention.
2007-11-29 Katsumi Yamaoka <>
* w3m.el (w3m-goto-url-new-session): Use
w3m-active-region-or-url-at-point. Reported by Naohiro Aota.
* w3m-ems.el (w3m-create-image): Don't modify case-fold-search.
* w3m-xmas.el (w3m-create-image): Ditto; parse image data to
identify its type in the beginning position.
2007-11-29 Naohiro Aota <>
* w3m.el (w3m-w3m-dump-extra, w3m-w3m-retrieve): Removed image
data type tests.
* w3m-xmas.el (w3m-create-image): Parse image data first, use
server's content-type when it failed to identify type.
* w3m-ems.el (w3m-create-image): Ditto.
2007-11-29 Katsumi Yamaoka <>
* w3m-search.el (w3m-search-engine-alist): Fix google news entry.
* w3m-ems.el (w3m-create-image): Parse image data if it failed in
identifying type.
* w3m-xmas.el (w3m-create-image): Ditto.
2007-11-27 Katsumi Yamaoka <>
* w3m.el (w3m-resize-inline-image-internal): Validate image url.
Reported by Naohiro Aota <>.
2007-11-27 Naohiro Aota <>
* w3m.el (w3m-toggle-inline-images-internal): Confirm retrieving
non-secure image.
(w3m-resize-inline-image-internal): Ditto.
2007-11-27 Katsumi Yamaoka <>,
TSUCHIYA Masatoshi <>
* w3m.el (w3m-retrieve-and-render): Permit leaving safe pages
without confirmation for several safe commands.
2007-11-26 Katsumi Yamaoka <>
* w3m-symbol.el: Autoload w3m-mule-unicode-p when compiling.
* w3m-proc.el: Update the way to suppress compile warning for gensym.
2007-11-26 Trent W. Buck <>
* w3m.el (w3m-confirm-leaving-secure-page): New user option.
(w3m-retrieve-and-render): Use it.
2007-11-22 Katsumi Yamaoka <>
* w3m.el (w3m-use-japanese-menu): Default to nil for XEmacs 21.4 and
(w3m-link-map): New variable.
(w3m-fontify-anchors): Add menu to links.
(w3m-read-file-name): Don't use default file name if it is "".
(w3m-link-menu): Define.
2007-11-06 Naohiro Aota <>
* w3m.el (w3m-redisplay-with-charset): Strip first 'about://source/'
before setf w3m-arrived-content-charset.
(w3m-redisplay-and-reset): Ditto.
2007-11-05 Naohiro Aota <>
* w3m-filter.el (w3m-filter-rules): Add rule for the site of imepita.
(w3m-filter-imepita): New function.
2007-11-03 David Hansen <>
* w3m-proc.el (w3m-process-wait-process): Preserve the current buffer
\(work around an Emacs bug\).
2007-11-03 David Hansen <>
* w3m.el (w3m-relationship-oddmuse-estimate): Follow new page layout.
2007-11-01 Katsumi Yamaoka <>
* w3m-xmas.el (w3m-ucs-to-char): Alias to unicode-to-char, ucs-to-char,
or int-to-char.
* w3m-ems.el (w3m-ucs-to-char): Always define it.
* w3m.el (w3m-ucs-to-char): Abolish.
2007-10-26 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-module-list): Don't compile mew-w3m.el and
mew-shimbun.el if there is only the official Mew XEmacs package that is
extremely old.
* w3m-proc.el: Update the way to suppress compile warning for gensym.
* w3m-util.el (w3m-list-buffers): Check if w3m-fb-mode is bound.
* w3m.el (w3m-copy-buffer, w3m-mouse-major-mode-menu): Remove unused
let-bound variables.
2007-10-25 Katsumi Yamaoka <>
* (install-lisp): Don't install w3m-ems.el for XEmacs and
w3m-xmas.el for GNU Emacs.
2007-10-17 Katsumi Yamaoka <>
* *, doc/*: Fix expressions of the copyright notices.
* w3mhack.el (w3mhack-makeinfo): Don't split Info file to pieces.
* doc/emacs-w3m.texi, doc/emacs-w3m-ja.texi: Use @copying and
@insertcopying to put up the copyright notice.
(Coding convention of Shimbun): Don't use @itemx with @@multitable.
* doc/ptexinfmt.el (texinfo-copying-text, texinfo-copying)
(texinfo-insertcopying, texinfo-format-scan): Add them for old Emacsen.
* doc/ (install): Remove installed *.info-[0-9] files;
install only *.info files.
(.texi.dvi): Don't specify "-l ja" to texi2dvi.
(clean): No need to remove *.info-[0-9] and *.info-[0-9][0-9] files.
2007-10-12 Katsumi Yamaoka <>
* w3m-xmas.el (w3m-find-coding-system): Return symbol, not coding
system object.
2007-10-12 TSUCHIYA Masatoshi <>
* w3m.el (w3m-entity-regexp, w3m-entity-value): Accept case-insensitive
numeric character references.
2007-10-09 Katsumi Yamaoka <>
* w3m.el (w3m-message): Work with XEmacs.
2007-10-04 Katsumi Yamaoka <>
* w3m-ems.el: Bind w3m-use-title-buffer-name (see the comment).
* (very-slow): Add missing semicolon.
2007-10-03 Katsumi Yamaoka <>
* (install-lisp): Don't install ChangeLog~.
2007-10-02 Naohiro Aota <>
* w3m.el (w3m-show-error-information): When emacs-w3m cannot find
host, set charset to us-ascii.
2007-10-02 Katsumi Yamaoka <>
* w3m.el (w3m-show-decoded-url): Add entry for
2007-09-28 TSUCHIYA Masatoshi <>
* w3m.el (w3m-decode-buffer): Don't decode escaped URLs.
(w3m-toggle-inline-images-internal): Escape non-ASCII characters in the
URL of the image before retrieving it.
2007-09-27 TSUCHIYA Masatoshi <>
* w3m.el (w3m-safe-view-this-url): When a function which is
specified by `w3m-goto-article-function' returns the
`w3m-goto-url' symbol, it falls back to emacs-w3m displaying
functions. Cf. [emacs-w3m:09660]
(w3m-goto-article-function): Its comment is updated to follow the
above change.
(w3m-entity-value, w3m-decode-entities-string): Change to save
working memory.
2007-09-27 Katsumi Yamaoka <>
* w3m.el (w3m-entity-regexp): Bind max-specpdl-size for old Emacsen.
(w3m): Revert 2007-09-19 change.
2007-09-26 Katsumi Yamaoka <>
* NEWS: New file.
2007-09-25 Katsumi Yamaoka <>
* w3m.el (w3m-examine-command-line-args): Don't pass negative number to
* w3m-session.el (w3m-session-save, w3m-session-select): Use mapc
instead of mapcar.
2007-09-24 TSUCHIYA Masatoshi <>
* w3m.el: Changes to stricten entities decoded by
(w3m-entity-table, w3m-entity-reverse-table): New constants.
(w3m-entity-regexp): Stricten.
(w3m-entity-alist, w3m-entity-db, w3m-entity-db-size): Abolished.
(w3m-entity-value, w3m-decode-entities, w3m-decode-entities-string,
w3m-encode-specials-string): Rewritten to use the above constants.
2007-09-21 TAKAHASHI Kaoru <>
* doc/ptexinfmt.el: Support @fonttextsize, @textdegree.
2007-09-19 Katsumi Yamaoka <>
* w3m.el (w3m-examine-command-line-args): Rewrite.
(w3m): Always call it; set the 2nd arg new-session when Emacs 21 or
XEmacs runs in the batch mode.
2007-09-19 Katsumi Yamaoka <>
* w3m.el (w3m-examine-command-line-args): Inhibit Emacs head from
displaying startup screen when emacs-w3m runs in the batch mode;
improve parsing of arguments.
2007-09-13 Hideyuki SHIRAI <>
* w3m.el (w3m-expand-path-name): Save the matched data surely.
2007-09-09 Naohiro Aota <>
* w3m.el (w3m-expand-url): Use "/" as path when it of base-uri is not
defined; Clear query of base-uri when empty query exist; Changes to
follow RFC3986.
2007-09-07 Katsumi Yamaoka <>
* w3m-ems.el (w3m-euc-japan-encoder, w3m-iso-latin-1-encoder): Use
mule-version to decide whether to redefine them.
* w3m.el: Use emacs-version instead of emacs-major-version to show the
version of Emacs that emacs-w3m doesn't support.
2007-09-03 Katsumi Yamaoka <>
* w3m.el (w3m-local-file-type): Regard news:* urls as text/html.
(w3m-w3m-retrieve): Return nil if retrieving failed.
(w3m-show-error-information): Improve error message for news:* urls.
2007-09-03 Katsumi Yamaoka <>
* aclocal.m4 (AC_PATH_EMACS): Improve expression of Emacs version.
* doc/ptexinfmt.el (ptexinfmt-broken-facility)
(ptexinfmt-defun-if-broken, ptexinfmt-defun-if-void)
(ptexinfmt-defvar-if-void): Don't use old-style backquotes.
(texinfo-format-cedilla-accent): Quote `,'.
* w3m-antenna.el (w3m-antenna-site-key, w3m-antenna-site-title)
(w3m-antenna-site-class, w3m-antenna-site-url)
(w3m-antenna-site-last-modified, w3m-antenna-site-size)
(w3m-antenna-site-size-detected): Don't use old-style backquotes.
* w3m-ccl.el (w3m-ccl-write-repeat, w3m-euc-japan-decoder)
(w3m-euc-japan-encoder, w3m-iso-latin-1-decoder)
(w3m-iso-latin-1-encoder): Don't use old-style backquotes.
* w3m-dtree.el (w3m-dtree-has-child): Don't use old-style backquotes.
* w3m-form.el (w3m-form-method, w3m-form-action, w3m-form-charlst)
(w3m-form-enctype, w3m-form-plist, w3m-form-get-property, w3m-form-put)
(w3m-form-get): Don't use old-style backquotes.
* w3m-namazu.el (w3m-namazu-default-index-customize-spec): Don't use
old-style backquotes.
* w3m-util.el (w3m-static-if, w3m-static-when, w3m-static-unless)
(w3m-condition-case, w3m-add-text-properties)
(w3m-get-text-property-around, w3m-action, w3m-anchor, w3m-image)
(w3m-submit, w3m-anchor-sequence): Don't use old-style backquotes.
* w3m.el (w3m-dirlist-cgi-program): Don't use old-style backquotes.
* w3mhack.el (char-before, match-string-no-properties)
(set-text-properties): Don't use old-style backquotes.
* w3m-filter.el: Set file's coding-system to euc-japan in order to
enable non-Mule XEmacsen to byte-compile this module.
2007-08-31 Hideyuki SHIRAI <>
* w3m.el (top): Remove unnecessary space at the line end.
(w3m-use-title-buffer-name): New option.
(w3m-copy-buffer): Use `w3m-generate-new-buffer' instead of
(w3m-pack-buffer-numbers): Call `w3m-form-set-number' with new name of
(w3m-buffer-setup): Use `w3m-generate-new-buffer' instead of
(w3m-buffer-setup): Do not display title if w3m-use-title-buffer-name
is non-nil.
(w3m-modeline-title): Retrun "" if w3m-use-title-buffer-name is
(w3m-goto-url): Call `w3m-buffer-name-add-title' when display.
(w3m): Use `w3m-generate-new-buffer' instead of `generate-new-buffer'.
(w3m-use-header-line-title): New option.
* w3m-form.el (w3m-form-set-number): Change 2'nd argument to `newname'
from `count'.
* w3m-util.el (top): Add the variable definition of
`w3m-use-title-buffer-name' to avoid byte-compile warnings.
(w3m-buffer-number): Support the feature of buffer-name with title.
(w3m-buffer-set-number): Ditto.
(w3m-generate-new-buffer): Ditto.
(w3m-buffer-name-lessp): Ditto.
(w3m-buffer-name-add-title): New inline macro.
* w3m-ems.el (top): Add the variable definition of
`w3m-use-header-line-title' to avoid byte-compile warnings.
(w3m-setup-header-line): If `w3m-use-header-line-title' is not nil,
display title and URI.
2007-08-30 Hideyuki SHIRAI <>
* w3m-proc.el (top): Add the function definition of
`w3m-decode-coding-string-with-priority' to avoid byte-compile
* w3m-ems.el (top): Add the variable definition of
`w3m-default-coding-system' and `w3m-coding-system' to avoid
byte-compile warnings.
* w3m-xmas.el (top): Add the variable definition of `w3m-coding-system'
to avoid byte-compile warnings.
2007-08-29 Naohiro Aota <>
* w3m-proc.el (w3m-process-filter): Decode realm string.
* w3m.el (w3m-url-decode-string): Define latter half as a function :
w3m-decode-coding-string-with-priority ,and use it.
* w3m-ems.el (w3m-decode-coding-string-with-priority): New function.
* w3m-xmas.el (w3m-decode-coding-string-with-priority): Return string
itself unless find-coding-system is defined as built-in function.
2007-08-28 Hideyuki SHIRAI <>
* w3m.el (w3m-uri-replace-alist): Add key of "alc:".
(w3m-relationship-estimate-rules): Add alc's rule.
(w3m-relationship-alc-estimate): New function.
* w3m-search.el (w3m-search-engine-alist): Add rule of
* w3m-filter.el (w3m-filter-rules): Add w3m-filter-alc.
(w3m-filter-alc): New function. Supper `goFairWord'.
2007-08-24 Katsumi Yamaoka <>
* w3m.el (w3m-goto-mailto-url): Make it work even with no rfc2368.el.
2007-08-21 Eugene Oleinik <>
* w3m-filter.el (w3m-filter-google-separator): New user option.
(w3m-filter-google): Replace hard-coded ones with it.
(w3m-filter): Iterate through all cases in w3m-filter-rules.
(w3m-filter-replace-regexp): New function.
2007-08-20 Katsumi Yamaoka <>
* w3m.el (w3m-detect-xml-type): New function that treats
application/xml looking like xhtml+xml as text/html.
(w3m-content-type-alist): Use it for application/xml.
(w3m-w3m-parse-header): Parse Alternates header for a real url.
(w3m-w3m-retrieve-1): Retrieve real url according to Alternates header.
(w3m-external-view): Treat xhtml+xml as html.
2007-07-30 Naohiro Aota <>
* w3m-form.el: Changes to download contents after submitting form.
(w3m-form-download): New variable.
(w3m-fontify-textareas, w3m-form-parse-and-fontify): Combine the above
variable into expressions which represent form actions.
(w3m-form-submit): Accept and optional argument `download'.
* w3m.el: Changes to download contents after submitting form.
(w3m-download): Accept and optional argument `post-data'.
(w3m-download-this-url): `w3m-form-download' is binded locally.
(w3m-view-this-url): Ditto.
(w3m-submit-form): Ditto.
2007-07-30 Katsumi Yamaoka <>
* w3m-ucs.el (font-ccl-encoder-alist): Bind it for XEmacs 21.5.
2007-07-26 Katsumi Yamaoka <>
* w3m.el (w3m-relationship-estimate-rules): Make Google rule support
2007-07-23 Katsumi Yamaoka <>
* w3m-session.el (w3m-session-select, w3m-session-selected): Add spec
for dark tty.
(w3m-session-select): Use read-key-sequence rather than read-event or
next-command-event in order to enable it to read arrow keys in tty.
2007-07-17 Katsumi Yamaoka <>
* w3m-form.el (w3m-form-make-button): Make it work.
* w3m-ems.el (w3m-form-make-button): Work when w3m-form-use-fancy-faces
is nil.
2007-07-04 Katsumi Yamaoka <>
* w3m.el (w3m-goto-article-function): Change the default function into
browse-url; doc fix.
(w3m-safe-view-this-url): Catch a signal from function which is set to
w3m-goto-article-function, and don't run the default function if it is
2007-07-03 Katsumi Yamaoka <>
* w3m.el (w3m-goto-article-function): Use defcustom; doc fix.
(w3m-safe-view-this-url): Use functionp instead of fboundp to check the
value of w3m-goto-article-function.
* w3m-favicon.el, w3m-namazu.el, w3m-perldoc.el, w3m-xmas.el, w3m.el:
Use custom-set-default instead of set-default in defcustom forms.
2007-07-02 Katsumi Yamaoka <>
* w3m.el (w3m-make-help-echo): Make the function for Emacs bind
deactivate-mark to nil.
2007-06-26 Katsumi Yamaoka <>
* w3m-ems.el, w3m-form.el, w3m-lnum.el, w3m-search.el, w3m-session.el
* w3m.el: Rename w3m-FOO-face with w3m-FOO.
2007-06-21 Katsumi Yamaoka <>
* w3mhack.el (w3mhack-makeinfo): Format @key{...}.
2007-06-20 Katsumi Yamaoka <>
* w3m.el (w3m-lynx-like-map, w3m-info-like-map): Bind [backtab] to
2007-06-08 Katsumi Yamaoka <>
* w3m.el (w3m-local-retrieve, w3m-w3m-retrieve, w3m-about-retrieve)
(w3m-cid-retrieve, w3m-data-retrieve, w3m-retrieve, w3m-about-header):
Change the term and the symbol name `no-decode' into `no-uncompress'.
2007-06-08 Naohiro Aota <>
* w3m.el (w3m-w3m-retrieve): Check if content-type is wrong after
decoding encoded contents.
* w3m-ems.el (w3m-create-image, w3m-create-resized-image): Decode
content retrieving image.
* w3m-xmas.el (w3m-create-image, w3m-create-resized-image): Ditto.
2007-06-07 Naohiro Aota <>
* w3m-search.el (w3m-search-engine-alist): Add output encoding argument
to google search.
2007-06-06 Katsumi Yamaoka <>
* w3m-image.el (w3m-imagick-convert-program, w3m-resize-images): Reset
them if convert program is not really available.
(w3m-imagick-convert-program-available-p): New function.
(w3m-imagick-convert-buffer, w3m-imagick-start-convert-data): Use it.
2007-06-05 Yoichi NAKAYAMA <>
* w3m-image.el (w3m-imagick-start-convert-data): Clarify message which
is issued when convert program is not available.
2007-06-05 Hideyuki SHIRAI <>
* w3m-filter.el (w3m-filter-mixi): Follow the change of Mixi's HTML.
2007-06-01 Katsumi Yamaoka <>
* attic/vm-w3m.el, attic/vm-7.19.patch: Remove. They have been
integrated into VM 8.x.
2007-05-17 Tatsuya Kinoshita <>
* w3m.el (w3m-view-this-url-1): Check whether the marker buffer exists.
2007-05-17 Katsumi Yamaoka <>
* w3m-ems.el (w3m-switch-to-buffer, w3m-subst-switch-to-buffer-keys):
2007-05-17 Hideyuki SHIRAI <>
* w3m.el (w3m-expand-url): Guard error in aref when url is "".
2007-05-16 Naohiro Aota <>
* w3m.el (w3m-expand-url): Remove query strings when expanding URL like
"foo.cgi?#bar"; add "./" to top of URL when expanding "?hoge".
2007-05-16 Katsumi Yamaoka <>
* w3m-ems.el (w3m-switch-to-buffer): Work just like switch-to-buffer.
Suggested by Robert J. Chassell <>.
2007-05-11 Katsumi Yamaoka <>
* w3m.el (w3m-url-encode-string, w3m-url-transfer-encode-string): Use
uppercase letters in hexadecimal string. Suggested by Lukasz Demianiuk
2007-05-09 Hideyuki SHIRAI <>
* w3m.el (w3m-header-line-url): New function.
(w3m-url-at-point): Call w3m-header-line-url after
(w3m-goto-url-with-timer): Execute w3m-goto-url if its buffer does not
exist foreground.
2007-05-08 Hideyuki SHIRAI <>
* w3m.el (all): Revert SHIRAI's 2007-04-24 changes and fix it to
accompany Ito-san's patch [w3m-dev 04233].
(w3m-display-ins-del): New option.
(w3m-support-emacs-w3m): Remove this variable.
(w3m-strike-through-face): Modify.
(w3m-insert-face): Ditto.
(w3m-strike-through-face-no-windowsystem): Remove this face.
(w3m-fontify-insert): Remove this variable.
(w3m-halfdump-command-arguments): Remove w3m-support-emacs-w3m.
(w3m-halfdump-command-common-arguments): Add w3m-display-ins-del
(w3m-fontify-strike-through): Rewrite.
(w3m-fontify-insert): Ditto.
(w3m-set-display-ins-del): New function.
(w3m-rendering-half-dump): Call w3m-set-display-ins-del.
2007-04-30 Naohiro Aota <>
* w3m-form.el (w3m-form-resume): Also resume contents of forms without
(w3m-fontify-textareas): Also fontify textareas without name.
(w3m-form-field-parse): Also parse form fields without name.
2007-04-28 Naohiro Aota <>
* w3m.el (w3m-decode-buffer): Use w3m-url-transfer-encode-string
instead of w3m-url-encode-string.
2007-04-27 Naohiro Aota <>
* w3m.el (w3m-view-this-url): Check if w3m-current-url is string before
2007-04-27 Katsumi Yamaoka <>
* w3m.el (w3m-decode-buffer): Fully decode a source by default.
(w3m-view-source): Doc fix.
2007-04-26 Hideyuki SHIRAI <>
* w3m.el (w3m-goto-url): Redisplay to search an anchor sure with
2007-04-26 Katsumi Yamaoka <>
* w3m.el (w3m-view-source-decode-level): New variable.
(w3m-decode-buffer): Control how much it decodes an html source
according to w3m-view-source-decode-level.
(w3m-view-source): Bind w3m-view-source-decode-level with prefix arg.
2007-04-25 Naohiro Aota <>
* w3m.el (w3m-decode-buffer): Encode urls containing non-ASCII
characters quoted with '' as well as those quoted with "".
(w3m-goto-url): Decode urls when url is local.
characters when displaying an html source.
2007-04-24 Naohiro Aota <>
* w3m.el (w3m-decode-buffer): Use charset specified in meta tag even
for decoding html source.
2007-04-24 Katsumi Yamaoka <>
* (install-lisp): Install shimbun/ChangeLog file.
2007-04-24 Hideyuki SHIRAI <>
* w3m.el (w3m-support-emacs-w3m): New variable.
(w3m-compile-options): Set w3m-support-emacs-w3m to t if w3m compiled
with emacsdump.
(w3m-strike-through-face-no-windowsystem): New face.
(w3m-halfdump-command-arguments): Use '-emacsdump' instead of
'-halfdump' when w3m has it.
(w3m-fontify-strike-through): Support w3m-support-emacs-w3m.
(w3m-fontify-insert): Ditto.
2007-04-24 Naohiro Aota <>
* w3m.el (w3m-goto-url): Set truncate-lines to nil, if a source or
header view.
(w3m-view-source): Remove to set truncate-lines.
(w3m-view-header): Ditto.
2007-04-19 Katsumi Yamaoka <>
* ChangeLog, ChangeLog.1: Separate shimbun entries.
(Local Variables): Set fill-column to 79.
2007-04-19 Hideyuki SHIRAI <>
* w3m-form.el (w3m-form-input-textarea-filename): Use MD5 first.
2007-04-14 Naohiro Aota <>
* w3m-form.el (w3m-form-input-textarea-filename): Truncate filename
into less than or equal to 255 bytes long.
2007-04-06 Matt Hodges <>
* w3m.el (w3m-next-buffer): Fix last change when w3m-fb-mode.
2007-04-04 Hideyuki SHIRAI <>
* w3m.el (w3m-view-parent-page): Use numbered prefix argument to move
the parent directory according to input number.
2007-03-31 Andreas Seltenreich <>
* w3m.el (w3m-external-view-file): Actually kill the temporary buffer.
2007-03-30 Hideyuki SHIRAI <>
* w3m-ems.el (w3m-tab-mouse-track-selected-tab): Sleep anyway.
(w3m-tab-make-keymap): Add key-bindings for mouse wheel-up|down to
2007-03-30 Katsumi Yamaoka <>
* w3m-bug.el (report-emacs-w3m-bug-system-informations): Add gtk.
(report-emacs-w3m-bug): Bind print-quoted to t.
* w3m-ems.el (w3m-force-window-update): Do split-window-vertically
instead of performing enlarge-window/shrink-window for Emacs 21.
(w3m-tab-mouse-track-selected-tab): Add `decelerate' argument; use it
instead of to check the value of this-command.
(w3m-tab-move-right): Set it.
(w3m-tab-make-keymap): Rearrange.
(w3m-update-tab-line): Remove.
* w3m.el (w3m-select-buffer-update): Use w3m-force-window-update
instead of w3m-update-tab-line.
2007-03-29 Hideyuki SHIRAI <>
* w3m-ems.el (w3m-tab-mouse-track-selected-tab): Tiny fix.
(w3m-tab-make-keymap): Use next|previous-buffer-action instead of
2007-03-29 Katsumi Yamaoka <>
* w3m-ems.el (w3m-tab-mouse-track-selected-tab): Ignore mouse position
info if mouse points to other frame; recognize wheel-up and wheel-down
in addition to mouse-4 and mouse-5; don't respond to too fast operation
of mouse wheel for moving a tab.
2007-03-28 Katsumi Yamaoka <>
* w3m-ems.el (w3m-tab-track-mouse): New variable.
(w3m-tab-mouse-position-adjuster): Express the values in pixel units
rather than the number of characters.
(w3m-tab-mouse-track-selected-tab): Be controlled by
w3m-tab-track-mouse; calculate the mouse position in pixel units rather
than the number of characters.
(w3m-tab-make-keymap): Make the buffer selected by a tab the current
buffer before performing w3m-tab-move-(left|right).
(w3m-tab-separator-map): New keymap.
(w3m-tab-separator): Use it as the local-map property.
(w3m-tab-line): Use it as the local-map property in trailing space.
2007-03-27 Katsumi Yamaoka <>
* w3m-ems.el (w3m-tab-unselected-face)
(w3m-tab-unselected-retrieving-face, w3m-tab-selected-face)
(w3m-tab-selected-retrieving-face, w3m-tab-mouse-face): Make background
colors bright.
(w3m-tab-mouse-position-adjuster): New variable.
(w3m-tab-mouse-track-selected-tab, w3m-tab-next-buffer)
(w3m-tab-previous-buffer, w3m-tab-move-right, w3m-tab-move-left): New
(w3m-tab-map): Bind C-wheel-up and C-mouse-4 to w3m-tab-move-left; bind
C-wheel-down and C-mouse-5 to w3m-tab-move-right; use
w3m-tab-previous-buffer and w3m-tab-next-buffer instead of
w3m-previous-buffer and w3m-next-buffer.
(w3m-tab-separator): Add tab-separator property.
* w3m.el (w3m-next-buffer): Fix calculation.
(w3m-lynx-like-map, w3m-info-like-map): Bind `C-c C-,' and `C-c C-<' to
w3m-tab-move-left, and bind `C-c C-.' and `C-c C->' to
w3m-tab-move-right for GNU Emacs.
2007-03-27 Hideyuki SHIRAI <>
* w3m.el (w3m-add-tab-number): New user option.
* w3m-ems.el (top): Add w3m-add-tab-number to avoid byte-compile
(w3m-tab-line): Display sequential number on tab title when
w3m-add-tab-number is not nil.
* w3m.el (w3m-menubar): Add w3m-session-save and w3m-session-select.
(w3m-tab-button-menu-commands): Ditto.
2007-03-23 Katsumi Yamaoka <>
* w3m-ems.el: New file merging w3m-e21.el, w3m-e23.el and w3m-fsf.el.
(image-size): No need to silence the byte compiler.
(w3m-ccl-get-ucs-codepoint-with-emacs-unicode): Remove.
(w3m-euc-japan-encoder, w3m-euc-japan-encoder)
(w3m-iso-latin-1-encoder, w3m-iso-latin-1-encoder): Redefine them only
for Emacs 22 and earlier.
* w3m-e21.el, w3m-e23.el, w3m-fsf.el: Remove.
* w3m.el: Load w3m-ems.el instead of w3m-e21.el or w3m-e23.el.
(w3m-fontify-strike-through): Remove variable.
* w3mhack.el (w3mhack-mdelete): Remove.
(w3mhack-module-list): Use w3m-ems.el instead of w3m-fsf.el and
w3m-e21.el or w3m-e23.el.
* (tarball): No need to exclude w3m-e23.el.
2007-03-23 Katsumi Yamaoka <>
* aclocal.m4 (AC_SET_XEMACSDEBUG): Fix the way to quote the value of
XEMACSDEBUG. Reported by Norbert Koch <>.
2007-03-22 Katsumi Yamaoka <>
2007-03-16 Katsumi Yamaoka <>
* aclocal.m4 (AC_SET_XEMACSDEBUG): New function; set XEMACSDEBUG
environment variable, which is eval'd when XEmacs 21.5 starts, to the
Lisp form, which sets `log-warning-minimum-level' to `error', in order
to suppress warnings for Lisp shadows when XEmacs 21.5 starts.
* (XEMACSDEBUG): New variable.
(lisp, what-where, install-package, install-package-ja, dist)
(.el.elc, slow, very-slow): Use it.
* doc/ (XEMACSDEBUG): New variable.
(EMACSINFO, version.texi, install-en, install-ja): Use it.
* w3mhack.el: Reset `log-warning-minimum-level' to `info'.
2007-03-15 Hideyuki SHIRAI <>
* w3m-session.el (w3m-session-deleted-save): Sort buffers to use their
2007-03-13 Hideyuki SHIRAI <>
* w3m.el (autoload): Add w3m-session-deleted-save.
(w3m-delete-buffer): Call w3m-session-deleted-save.
(w3m-delete-other-buffers): Call w3m-delete-buffers instead of piece of
(w3m-delete-buffers): Call w3m-session-deleted-save.