I've got a freshly compiled XEmacs from mercurial head. If I evaluate
this in *scratch*, I get the expected result:
(truncate-string-to-width "j.\n\n" 40 nil nil t)
"j.
"
If I select Options->Troubleshooting->Debug on Signal, then try to
evaluate that again, I get this:
Debugger entered--Lisp error: (args-out-of-range "j.
" 4)
byte-code("..." [last-idx last-column end-column ch idx column
char-width str] 3)
truncate-string-to-width("j.\n\n" 40 nil nil t)
eval((truncate-string-to-width "j.\n\n" 40 nil nil t))
eval-interactive((truncate-string-to-width "j.\n\n" 40 nil nil t))
eval-last-sexp(t)
#<compiled-function (from eval-print-last-sexp) nil "...(13)"
[standard-output terpri eval-last-sexp t] 2 1409437 nil 0x8b6>()
call-interactively(eval-print-last-sexp)
(dispatch-event "[internal]")
This is causing the following practical problem. With an X11 build
and Debug on Signal active, clicking on the menubar causes an
immediate crash due to an assertion failure. A little debugger work
shows the following sequence. Inside of button_item_to_widget_value
(src/gui-x.c), the default-menubar from lisp/menubar-items.el is
evaluated, down to one of the calls to:
(truncate-string-to-width (abbrev-string-to-be-defined nil) 40 nil nil t)
The abbrev-string-to-be-defined call returns "j.\n\n" (which doesn't
seem right; where did that come from?). Evaluating
truncate-string-to-width triggers the args_out_of_range, thereby
unwinding the stack up to the call_trapping_problems call in
menu_item_descriptor_to_widget_value (menubar-x.c). Since retval is
unbound, this function returns NULL, and therefore
compute_menubar_data also returns NULL. This triggers the assert() in
set_frame_menubar (menubar-x.c) just after the call to
compute_menubar_data and *boom* goes XEmacs.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey there everyone.
I have just added the following packages to the 'Pre-Releases'
directory:
New Packages in Pre-Release:
===========================
w3-1.37-pkg.tar.gz upstream version: 4.0pre47
Previously Announced Packages Still in Pre-Release:
==================================================
Sun-1.17-pkg.tar.gz upstream version: none
cc-mode-1.55-pkg.tar.gz upstream version: 5.32.2
ede-1.04-pkg.tar.gz upstream version: 1.0pre4
edit-utils-2.46-pkg.tar.gz upstream version: none
eudc-1.41-pkg.tar.gz upstream version: 1.32
games-1.21-pkg.tar.gz upstream version: 2.00
hyperbole-1.18-pkg.tar.gz upstream version: 5.0.3
leim-1.33-pkg.tar.gz upstream version: none
mh-e-1.33-pkg.tar.gz upstream version: 7.4.2
mmm-mode-1.06-pkg.tar.gz upstream version: 0.4.8
net-utils-1.57-pkg.tar.gz upstream version: N/A
pgg-1.08-pkg.tar.gz upstream version: 0.1
prog-modes-2.25-pkg.tar.gz upstream version: none
ruby-modes-1.05-pkg.tar.gz upstream version: 1.8.7
speedbar-1.30-pkg.tar.gz upstream version: 1.0pre4
text-modes-2.01-pkg.tar.gz upstream version: none
x-symbol-1.13-pkg.tar.gz upstream version: 4.5.1
xemacs-base-2.31-pkg.tar.gz upstream version: none
xemacs-devel-1.82-pkg.tar.gz upstream version: none
Detailed Changes:
================
- ------- ChangeLog Entries from xemacs-packages/w3/ChangeLog -------
2012-05-11 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.37 released.
2012-05-11 Aidan Kehoe <kehoea(a)parhasard.net>
* lisp/url-queue.el (float-time): Make this available if it's
unbound, 21.4 doesn't have it.
* lisp/url-http.el (url-http-create-request): We don't have
#'string-as-unibyte, mapconcat with #'identity instead.
* lisp/url-cookie.el (url-cookie-host-can-set-p): Don't bind an
unused, non-special variable.
* lisp/url-util.el (url-generate-unique-filename): Don't use
with-no-warnings.
(url-unhex-string): #'char-to-string, we don't have
#'byte-to-string.
* lisp/css.el (css-color-light-p): Don't bind an unused,
non-special variable.
(css-specificity): Ditto.
(css-display): Ditto.
* lisp/w3.el (w3-document-information):
* lisp/w3-imap.el (w3-image-loadable-p):
Call #'file-attributes, not #'url-file-attributes, in these two
files.
* lisp/url-cookie.el (url-cookie-handle-set-cookie): XEmacs;
url-parse-args downcased the assoc list keys, no need for
assoc-string rather than assoc.
* lisp/url.el (url-retrieve-internal): (save-match-data
(string-match "[^\x00-\x7f]" url)), not #'multibyte-string-p.
(url-retrieve-internal): Change the documentation to reflect this.
* lisp/url-file.el:
* lisp/w3-keymap.el: Add this, from upstream.
* lisp/w3-speak-table.el: Don't load cl-extra.el at compile time,
it's dumped in XEmacs.
* lisp/w3-fast-parse.el: Add this file, from upstream.
* lisp/w3-parse.el (w3-parse-munge-ethiopic-text):
default-enable-multibyte-characters isn't available on XEmacs,
don't look for it.
2012-05-10 Aidan Kehoe <kehoea(a)parhasard.net>
* lisp/w3-mouse.el (w3-mouse-button1, w3-mouse-button2)
(w3-mouse-button3, not): Check for (featurep 'xemacs), not
w3-running-xemacs
* lisp/w3-hot.el (w3-grok-html-bookmarks): Add special
declarations to this function, too.
2012-05-09 Aidan Kehoe <kehoea(a)parhasard.net>
* lisp/w3-display.el (w3-display-line-break): Remove binding for
width, unused.
* lisp/images.el (image-normalize): Bind coding-system-for-read on
calling a process, rather than file-coding-system.
* lisp/docomp.el (emacs-build-custom-load):
#'Custom-make-dependencies, not #'custom-make-dependencies
2012-05-11 Aidan Kehoe <kehoea(a)parhasard.net>
Incorporate the following changes from upstream:
2008-05-20 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-do-setup): Change homepage link.
2008-03-26 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-fetch-callback): Don't disable multibyte.
(w3-decode-charset): Don't reenable multibyte.
2008-03-10 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-display.el (w3-display-table): Guard against empty
colspan and rowspan elements.
(w3-display-table-dimensions): Ditto.
2008-03-01 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-speak-table.el: Modernize backquotes.
* lisp/w3-parse.el: Modernize backquotes.
* lisp/w3-java.el: Modernize backquotes.
* lisp/w3-forms.el: Modernize backquotes.
* lisp/Makefile.in (UTIL_SOURCES): Remove base64.el, md5.el,
socks.el
* lisp/base64.el: Remove. Emacs has this builtin.
* lisp/md5.el: Remove. Emacs has this builtin.
* lisp/socks.el: Remove. Emacs already has it.
* lisp/ssl.el: Don't require base64.
* lisp/url-vars.el: Remove. Emacs already has it.
2008-02-04 Magnus Henoch <mange(a)freemail.hu>
* lisp/font.el (font-x-font-regexp-foundry-and-family): Add from
last version of w3-sysdp.
(x-font-create-object): Use it instead of
x-font-regexp-foundry-and-family.
* lisp/Makefile.in (EXTRAS): Remove w3-sysdp.el.
(W3_SOURCES): Add w3-compat.el.
2007-12-09 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-compat.el (w3-url-file-nondirectory): Fix thinko: alias
to url-file-nondirectory, not url-file-directory.
2007-11-16 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-compat.el (w3-alist-to-plist): Define.
* lisp/w3-display.el (w3-parse-link)
(w3-display-normalize-form-info, w3-display-node): Use
w3-alist-to-plist instead of alist-to-plist.
2007-11-15 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-display.el: Use w3-url-file-nondirectory instead of
url-basepath (in many places).
* lisp/w3.el: Require w3-compat.
(w3-download-url): Use w3-url-file-nondirectory instead of
url-basepath.
* lisp/w3-compat.el: New file.
(w3-url-file-nondirectory): New function.
* lisp/images.el: Don't require w3-sysdp.
* lisp/css.el: Ditto.
(css-rule-specificity-internal): Drop old-style backquotes.
(css-symbol-list-as-regexp): Ditto.
* lisp/w3-dired.el: Don't require w3-sysdp.
* lisp/w3-display.el: Ditto. Also drop old-style backquotes.
* lisp/w3-menu.el: Ditto.
* lisp/w3.el: Ditto.
(w3-download-callback): Skip HTTP headers when saving file.
* lisp/w3-sysdp.el: Remove.
2007-03-09 Magnus Henoch <mange(a)freemail.hu>
* lisp/css.el (css-expand-color): Catch errors and display a
warning instead.
2006-12-15 Klaus Straubinger <KSNetz(a)UseNet.ArcorNews.DE> (tiny change)
* lisp/font.el (font-spatial-to-canonical): Fix conversion from
pixels to points.
* lisp/css.el (css-expand-length): Treat character based size
specifications as such.
2006-12-07 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-fetch-callback): Treat application/xhtml+xml as
text/html.
2006-11-29 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-download-redirect-callback): New function.
(w3-download-url): Use it instead of w3-download-callback.
2006-11-01 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-fetch-redirect-callback): Handle both old and new
style of `url-retrieve' callback.
* lisp/w3-display.el (w3-finalize-image-download-skip-redirects):
Ditto.
2006-10-17 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-save-url): Use kill-new.
* lisp/w3-xemac.el (w3-store-in-clipboard): Remove.
2006-10-13 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-parse.el (w3-slow-parse-buffer): Don't call
w3-element-content-model on nil values.
2006-10-12 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-imap.el (w3-image-loadable-p): Ignore errors in
url-file-attributes.
* lisp/w3-display.el (w3-finalize-image-download-skip-redirects):
New function.
(w3-maybe-start-background-image-download)
(w3-maybe-start-image-download): Use it instead of
w3-finalize-image-download.
2006-10-11 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el (w3-fetch-redirect-callback): New function.
(w3-fetch): Use it as url-retrieve callback instead of
w3-fetch-callback.
2006-10-09 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3.el: Require mm-decode here too.
2006-10-08 Magnus Henoch <mange(a)freemail.hu>
* lisp/w3-display.el: Require mm-decode when compiling.
2006-04-28 Dave Love <fx(a)gnu.org>
* texi/w3.txi: Change licence to GFDL.
2003-06-26 Sam Steingold <sds(a)gnu.org>
* lisp/w3-imap.el (w3-image-loadable-p): fixed the logic
2003-01-12 Wolfgang Jenkner <wjenkner(a)inode.at>
* lisp/w3.el (w3-fetch-callback)
(w3-nasty-disgusting-http-equiv-handling): When searching for the
':' meaning we are past the 'http/1.x' response, make sure that we
save-execursion around it, or bad things happen.
2002-10-28 Dave Love <fx(a)gnu.org>
* lisp/w3-display.el (w3-display-node): Don't use
font-running-xemacs.
2002-10-27 William M. Perry <wmperry(a)gnu.org>
* lisp/w3.el (w3-nasty-disgusting-http-equiv-handling): Now takes
a second parameter, which is the URL that is being processed.
This allows us to set url-current-object in the temporary buffer.
This fixes the bug where a not-fully-qualified URL would cause
url-expand-filename to get 'confused' and throw an error.
(w3-fetch-callback): Pass the new URL argument to
w3-nasty-disgusting-*
2002-10-22 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-forms.el (w3-form-create-option-list): Invalid call to
truncate-string-to-width caused all reasonably sized <option>
elements in a <select> to be invisible.
(w3-form-default-button-update): Similar problem for buttons.
2002-09-17 William M. Perry <wmperry(a)gnu.org>
* lisp/w3.el (w3-fetch-callback): Removed set-cookie handling.
This needs to be handled in the HTTP protocol loader so that
cookies that get set on redirects are honored. This seems to be
why my.yahoo.com has stopped working.
2002-09-15 William M. Perry <wmperry(a)gnu.org>
* lisp/w3.el (w3-nasty-disgusting-http-equiv-handling): Need to
make sure that we skip the 'HTTP/1.x' line at the top of the
buffer (due to changes in the url library), or we end up confusing
mail-header-extract if there are any <meta> elements with
http-equiv headers in them.
(w3-fetch-callback): I'm an idiot and was trying to compare the
VALUE of a header against the actual header name for doing cookie
handling. Arguably this cookie handling should all be done in the
HTTP handler itself. Should move it somebday.
2002-02-01 William M. Perry <wmperry(a)gnu.org>
* lisp/w3.el (w3-fetch-callback): Fiddling with how to display XML
by default.
* lisp/w3-widget.el: Attempt to make images work with Emacs 21.
* lisp/w3-display.el (w3-display-node): Revert change for <hr>
handling.
* lisp/images.el: Use (featurep 'xemacs) instead of
string-matching on emacs-version.
2001-12-11 William M. Perry <wmperry(a)gnu.org>
* lisp/devices.el: Remove ancient NextStep support.
* lisp/font.el: Merge with the version from XEmacs 21.5. This
pulls in lots of GTK fixes that I made ages ago. Also removes
ancient, unworking NextStep support. Use new backquote syntax
(emacs 19 can go away now).
2002-01-22 Dave Love <fx(a)gnu.org>
* lisp/css.el (css-color-values): Maybe use `color-values'.
* lisp/socks.el: Require cl only when compiling. Require wid-edit
when compiling.
* lisp/font.el: Require cl only when compiling. Remove second
(require 'disp-table). Wrap definitions of << & al in
eval-and-compile. Doc fixes.
(font-set-font-encoding): Renamed from set-font-encoding (which is
in fontset.el).
* lisp/devices.el: Require cl only when compiling.
* lisp/w3-java.el (url-util): Require.
(w3-java-run-applet): Use url-generate-unique-filename, not
non-existent mailcap-generate-unique-filename.
* lisp/w3-menu.el (w3-first-n-items, w3-only-links)
(w3-fix-spaces): Autoload to avoid compiler warnings.
(w3-menu-filters-supported-p): Include Emacs 21.
(w3-menu-links-constructor): Use modern backquote syntax.
* lisp/ssl.el: Require cl only when compiling. Require url. Doc
fixes.
(ssl-view-certificate-program-arguments): Modify :type.
(top-level): Delete custom compatibility code since we require a
modern Emacs.
(open-ssl-stream): Use modern backquote syntax.
* lisp/w3-display.el (top-level): Declarations and autoloads to
avoid compiler warnings.
(w3-display-node): Use copy-sequence, not CL runtime copy-tree.
* lisp/w3-parse.el (decode-char): Modify logic for compiler
warning.
* lisp/w3.el (w3-nasty-disgusting-http-equiv-handling): Make
buffer arg compulsory and always set the buffer. Parse a copy of
the head region, since w3-parse-region widens the buffer and may
mung it.
(w3-fetch-callback): Give w3-nasty-disgusting-http-equiv-handling
an arg.
2001-12-04 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-display.el (w3-display-node): Explicitly put in breaks
for <hr> - <p> is not always inferred before and after (like when
using w3-fast-parse.
2001-11-25 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-parse.el (w3-parse-buffer): Add : to the allowed tag
names to deal with Microsoft XHTML.
(w3-parse-buffer): Allow : in attribute names for XHTML
2001-11-24 William M. Perry <wmperry(a)gnu.org>
* lisp/font.el (font-set-face-font-new-redisplay): Doh! Fix my
last font-size checking screwup. *sigh*
* lisp/ssl.el (ssl-get-command): New routine to handle wrapping
the ssl program inside something that will redirect stderr to
/dev/null. Do this only on non-dos, non-windows, and non-vms
system types. This is necessary because the -quiet switch to
openssl's s_client program doesn't do what it is supposed to do.
*sigh*
* lisp/font.el (font-set-face-font-new-redisplay): Check font-size
for == 0, not just non-nil.
2001-11-21 William M. Perry <wmperry(a)gnu.org>
* lisp/w3.el (w3-mode): Don't bother calling
kill-all-local-variables. It screws up too many things, namely
emacspeak personality properties and XEmacs' buffer-local faces.
* lisp/w3-display.el (w3-handle-string-content): Just go ahead an
always put the personality (aural properties) on text.
* lisp/w3-parse.el (w3-parse-buffer): Patch from Joe Wells to
handle XHTML a little bit better. Still a hack, but it will now
work at all.
* lisp/w3-display.el (w3-display-node): Add support for 'start'
element on list start elements. Some sites use this instead of
seqnum.
2001-10-31 Dave Love <fx(a)gnu.org>
* lisp/w3.el (w3-decode-charset): DTRT for explicit ascii charset.
2001-10-11 Dave Love <fx(a)gnu.org>
* lisp/w3-style.el (cl): Require only when compiling.
* lisp/w3-cus.el: Doc fixes.
(w3-delay-image-loads): Fix default for Emacs 21.
(w3-mule-charset-to-coding-alist): Remove.
* lisp/w3.el (w3-parse-hotlist, w3-menu-install-menus): Autoload.
(w3-explicit-coding-system): Move definition.
(w3-decode-charset, w3-fetch-callback): Use it.
2001-10-01 Dave Love <fx(a)gnu.org>
* lisp/w3-vars.el: Doc fixes.
(w3-meta-content-type-charset-regexp)
(w3-meta-charset-content-type-regexp): Removed.
(w3-persistent-variables): Add url-current-mime-headers.
* lisp/w3.el (w3-setup-reload-timer, w3-handle-refresh-header):
New function.
(w3-fetch-callback): Handle refresh and cookies. Set
url-current-object. Don't destroy external parts immediately.
For inlines, use w3-mode, require mm-view, lose cursor for images.
(w3-document-information): Fix for current url stuff.
(w3-replace-invalid-chars): Remove.
* lisp/w3-display.el (w3-display-node): Fix <meta> and <link>
handling.
2001-09-24 Dave Love <fx(a)gnu.org>
* lisp/w3.el (w3-http-equiv-headers): New function.
(w3-nasty-disgusting-http-equiv-handling): Use it to fix
http-equiv handling.
2001-09-09 Dave Love <fx(a)gnu.org>
* lisp/w3-display.el (w3-mode, w3-add-delayed-graphic)
(w3-find-specific-link, w3-fix-spaces): Autoload.
* lisp/w3-props.el (w3-fillin-text-property): Renamed from
`fillin-text-property'.
2001-08-24 Dave Love <fx(a)gnu.org>
* lisp/font.el (font-spatial-to-canonical): Don't choke if
font-default-size-for-device returns nil, convert it to 0.
From Jim Meyering <meyering(a)lucent.com>
2001-07-19 Dave Love <fx(a)gnu.org>
* lisp/w3-toolbar.el (w3-toolbar-map): Don't lose on non-graphical
display with tool-bar-mode t.
2001-06-21 Dave Love <fx(a)gnu.org>
* lisp/w3-menu.el (w3-menu-hotlist-constructor): Require w3-hot,
not w3-hotlist.
2001-06-14 Dave Love <fx(a)gnu.org>
* lisp/Makefile.in (W3_SOURCES): Add w3-emacs.el, remove files it
obsoletes.
2001-06-07 Dave Love <fx(a)gnu.org>
* lisp/w3-print.el (mule-sysdp): Don't require.
* lisp/w3-parse.el (mule-sysdp): Don't require.
* lisp/w3-latex.el (mule-sysdp): Don't require.
(w3-show-dvi): Avoid mule-write-region-no-coding-system.
* lisp/w3-display.el (mule-sysdp): Don't require.
(w3-display-get-cookie, w3-finalize-image-download): Avoid
mule-write-region-no-coding-system.
* lisp/w3-cus.el (mule-sysdp): Don't require.
(w3-force-conversion-alist): Use binary, not
mule-no-coding-system.
* lisp/images.el (mule-sysdp): Don't require.
(image-normalize): Use binary, not mule-no-coding-system.
* lisp/w3-forms.el (wid-edit): Require unconditionally.
(custom-magic-reset, w3-warn): Autoload.
(w3-form-keymap): Use substitute-key-definition, not
cl-map-keymap.
(w3-form-create-custom): Require cus-edit unconditionally.
(w3-all-widgets): Move definition.
(w3-form-create-file-browser, w3-form-create-option-list)
(w3-form-default-button-update): Avoid mule-truncate-string.
(mule-sysdp): Don't require.
(w3-form-encode-xwfu): Avoid mule-encode-string.
* lisp/w3-emacs.el: New file.
* lisp/w3-e19.el, lisp/w3-e20.el, lisp/w3-e21.el: Deleted in
favour of w3-emacs. (Avoid defadvice.)
* lisp/w3.el (w3-load-flavors): Remove Emacs version-specifics --
just require w3-emacs.
* lisp/w3-toolbar.el (w3-toolbar-file-icon)
(w3-toolbar-printer-icon, w3-toolbar-file-icon): New variable.
(w3-toolbar-map): Transform `toolbar-' symbols into `w3-toolbar-'.
* lisp/w3-sysdp.el (copy-tree): Fix cl- functions.
(truncate-string-to-width): New.
2001-06-05 Dave Love <fx(a)gnu.org>
* lisp/w3-display.el: Require cl only when compiling.
(w3-line-breaks-vector): Deleted.
(w3-display-line-break): Use justification arg of
fill-region-as-paragraph. Use insert-char.
* lisp/css.el (w3-sysdp): Require.
(url-expand-file-name, url-insert-file-contents, url-view-url):
Autoload.
(css-running-xemacs): Removed. Change callers to use featurep.
(css-handle-import, css-parse): Declare url-current-object
special.
(css-active-device-types): Use display-multi-font-p, not
font-running-emacs-new-redisplay.
* lisp/w3-parse.el (w3-invalid-sgml-char-replacement): Doc fix.
(w3-resolve-numeric-char): Renamed from
w3-resolve-numeric-entity. Callers changed.
* lisp/w3-vars.el (w3-version-number): Fix regexp, doc.
(w3-html-entities): Modified per W3C entity list.
* lisp/w3-toolbar.el (w3-toolbar-back-icon, w3-toolbar-forw-icon)
(w3-toolbar-home-icon, w3-toolbar-reld-icon)
(w3-toolbar-imag-icon, w3-toolbar-open-icon)
(w3-toolbar-print-icon, w3-toolbar-find-icon)
(w3-toolbar-stop-icon, w3-toolbar-help-icon)
(w3-toolbar-hotl-icon) [(featurep 'tool-bar)]: Initialize to names
of Emacs 21 icons.
(toolbar-make-button-list) [(featurep 'tool-bar)]: Don't define.
(w3-toolbar-make-buttons): Do nothing if (featurep 'tool-bar).
(w3-toolbar-map): New variable.
(w3-add-toolbar-to-buffer): Use it.
2001-06-01 Dave Love <fx(a)gnu.org>
* lisp/w3-display.el (widget-convert-text): Only advise it if
we're in Emacspeak.
(append-suffixes-hack, w3-java-run-applet, mm-inline-text):
Autoload.
(w3-display-get-cookie): Use url-generate-unique-filename.
(w3-display-table): Use copy-sequence, not copy-seq.
* lisp/w3.el (w3-decode-charset): Set buffer file coding system.
2001-05-31 Dave Love <fx(a)gnu.org>
* lisp/w3-menu.el (w3-menu-file-menu): Fix
"---:shadowDoubleEtchedIn". From Pavel JanÃk.
* lisp/w3-parse.el (decode-char): Define with older Mule-UCS.
(w3-expand-entity-at-point-maybe): Sanitize regexp for numeric
entity. Don't lose trailing space. Grok hex form.
2001-05-30 Dave Love <fx(a)gnu.org>
* lisp/w3-menu.el: Require w3-sysdp.
(w3-popup-menu): Revert last change.
2001-05-29 Dave Love <fx(a)gnu.org>
* lisp/w3-sysdp.el: Remove lots of unused stuff.
* lisp/w3.el: Require cl only when compiling. Doc and message
fixes.
* lisp/w3-toolbar.el (w3-toolbar): Bind w3-hotlist-view, not
w3-show-hotlist.
* lisp/w3-menu.el (w3-menu-hotlist-constructor): Require
w3-hotlist.
(w3-menu-bookmark-menu): Bind w3-hotlist-view, not
w3-show-hotlist.
(w3-popup-menu): In Emacs, use copy-keymap, not copy-tree.
* lisp/w3-hotindex.el (w3-hotindex-query): Call w3-hotlist-view,
not w3-show-hotlist.
* lisp/w3-emulate.el (url-vars): Require.
(w3-lynx-emulation-minor-mode-map)
(w3-netscape-emulation-minor-mode-map): Bind w3-hotlist-view, not
w3-show-hotlist.
* lisp/w3-dired.el (w3-open-local, w3-fetch): Autoload.
(add-minor-mode): Remove definition in favour of autoload.
* lisp/w3-keymap.el (w3-mode-map): Bind w3-hotlist-view, not
w3-show-hotlist.
* lisp/w3-parse.el (w3-parse-buffer): Use
w3-resolve-numeric-entity for bogus characters.
2001-05-25 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-speak-table.el: Make sure to load cl-extra at load time
to work around a byte-optimizer bug in Emacs 21 that caused this
module to fail to byte-compile.
2001-05-24 Pavel JanÃk <Pavel(a)janik.cz>
* lisp/w3-display.el (w3-resurrect-hyperlinks): Look for next
single property change from `st' instead of `nd' to avoid
potential infinite loops.
2001-05-24 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-cus.el (w3-honor-stylesheets): Turn off stylesheets for
now - url-retrieve-synchronously seems to be acting quite
strange.
2001-05-22 William M. Perry <wmperry(a)gnu.org>
* lisp/css.el (css-handle-import): Use ignore-errors around url
loading.
(css-parse): Ditto.
* lisp/docomp.el: Remove a bunch of the autoloading crap - it
isn't needed anymore.
2001-05-17 William M. Perry <wmperry(a)gnu.org>
* lisp/w3-parse.el w3-int-to-char: Deal with XEmacs more nicely.
int-to-char does error checking, so passing in ?~ tends to blow
things up. Do better error checking for characters passed in, and
for integers that are not capable of being converted to
characters.
* lisp/w3-display.el (w3-dingbats): Deal with a mule-less XEmacs
in our conditions.
2001-05-16 Dave Love <fx(a)gnu.org>
* lisp/w3.el (w3-decode-charset): Re-write.
(w3-fetch-callback): Partly re-write for coding conversion.
(w3-convert-code-for-mule, w3-coding-system-for-mime-charset):
Deleted.
(w3-save-as, w3-download-callback): Avoid
mule-write-region-no-coding-system.
(w3-mode): Do kill-all-local-variables in Emacs.
2001-05-15 Dave Love <fx(a)gnu.org>
* lisp/w3-display.el (w3-sysdp): Require.
(flatten): Autoload unconditionally.
* lisp/w3-parse.el (w3-invalid-sgml-char-replacement): Redefined.
(w3-resolve-numeric-entity): New function.
(html-entities): Consider string and non-string returns from
w3-resolve-numeric-entity.
(w3-p-s-var-def): Use w3-resolve-numeric-entity.
(w3-parse-hooks): Fix typo.
(w3-int-to-char): New alias.
2001-05-14 Dave Love <fx(a)gnu.org>
* lisp/w3-sysdp.el: Don't define extent-related functions, to
avoid trouble with other packages.
* lisp/w3.el: Don't require mule-sysdp.
(w3-decode-charset): Remove prompting stuff. Avoid
gnus-strip-whitespace. Use mm-charset-to-coding-system and return
coding system used.
(w3-fetch-callback): Bind and set mule-retrieval-coding-system.
Call mm-enable-multibyte.
(w3-widget-button-click): Add Emacs case.
(w3-warn): Wrap definition in eval-and-compile.
* lisp/w3-imap.el: Use new backquote syntax.
(w3-image-invalid-glyph-p): Test for Emacs images.
* lisp/w3-widget.el: Use (featurep 'xemacs). Use modern backquote
syntax.
(widget): Don't require cl.
(w3-vars): Require.
(w3-point-in-map, w3-point-in-map): Autoload.
(widget-image-value-set): Add Emacs 21 image test.
(widget-image-usemap): Avoid a string-match.
(widget-image-value-create): Use align property. Fix call of
image-type-available-p. Some simplification. Use `insert-image'
in Emacs.
(widget-image-delete): Maybe use delete-overlay.
(widget-glyphp): Test for Emacs image.
(widget-image-button-press): Add code for Emacs.
* lisp/w3-display.el: Use (featurep 'xemacs), not
w3-running-xemacs. Use modern backquote syntax.
(w3-maybe-start-image-download): Use display-graphic-p. Don't use
make-glyph in Emacs.
(w3-maybe-start-background-image-download): Fix typo `mesage'.
Don't use make-glyph in Emacs.
(w3-finalize-image-download): For Emacs, grok `align' attribute.
Use unibyte for image data in Emacs. Only do xbm stuff in XEmacs.
Don't do make-glyph by default. Only call set-glyph-image if it's
defined.
(w3-handle-image): Use `align'.
(w3-dingbats): Define without using mule-sysdep-version.
(w3-make-char): Likewise.
(w3-display-node): Minor logic simplification.
* lisp/w3-menu.el (cl): Require cl when compiling. Use (featurep
'xemacs), not w3-running-xemacs.
(w3-menu-file-menu): Allow ---:shadowDoubleEtchedIn in Emacs 21.
(w3-menu-options-menu): Comment-out `download to disk'
(w3-dump-to-disk not defined).
* lisp/w3-parse.el (url-expand-file-name): Autoload.
(cl): Require when compiling.
(w3-invalid-sgml-char-replacement): Defvar when compiling.
(w3-parse-munge-ethiopic-text): Don't bother supporting MULE 2.
(w3-parse-hooks): Customize. Default to nil, with
w3-parse-munge-ethiopic-text as an option.
* lisp/w3-dired.el (w3-dired-find-file-mouse): Use mouse-set-point.
(dired-get-filename): Autoload.
(w3-dired-find-file-dired): New function, renamed from second
occurrence of w3-dired-find-file.
* lisp/w3-hot.el (cl): Require when compiling.
2001-05-10 Dave Love <fx(a)gnu.org>
* lisp/w3-menu.el (w3-menu-go-menu): Use url-history-track, not
url-keep-history.
* lisp/mule-sysdp.el: Removed in favour of one in url package.
2001-01-04 Dave Love <fx(a)gnu.org>
* lisp/w3-toolbar.el (w3-add-toolbar-to-buffer) <featurep 'tool-bar>:
Test display-graphic-p and tool-bar-lines. Use mapc, not mapcar.
2001-01-03 Dave Love <fx(a)gnu.org>
* lisp/w3-toolbar.el (w3-add-toolbar-to-buffer): In Emacs, test
for graphic display and non-zero tool bar lines.
2001-01-02 Sam Steingold <sds(a)gnu.org>
* lisp/docomp.el (load-path): Gnus and URL are two levels
above w3/lisp by default.
2000-12-20 Dave Love <fx(a)gnu.org>
* lisp/w3-sysdp.el: Use sysdep-defalias, not sysdep-fset.
* lisp/w3-widget.el: Use defalias, not fset.
* lisp/w3.el (w3-maybe-follow-link): Fix call of
widget-button-press.
* lisp/w3-parse.el (w3-char-int): New alias instead of char-int.
* lisp/w3-menu.el (w3-event-glyph): New alias instead of
event-glyph.
* lisp/w3-display.el: Use defalias, not fset.
(w3-widget-echo): Revert last change, following Emacs change.
* lisp/mule-sysdp.el (cl): Require only when compiling.
* lisp/font.el: Use defalias, not fset. Don't use cl-...hash.
* lisp/devices.el (device-class): Try display-color-p first.
* lisp/socks.el (socks-char-int): New alias instead of char-int.
Callers changed.
(socks-original-open-network-stream, open-network-stream): Use
defalias, not fset.
(socks-wait-for-state-change, socks-filter)
(socks-open-connection, socks-open-connection)
(socks-send-command, socks-parse-services)
(socks-find-services-entry, socks-open-network-stream)
(socks-username/password-auth-filter)
(socks-username/password-auth): Don't use cl-...hash.
* lisp/css.el (css-get-internal, css-copy-stylesheet)
(css-store-rule, css-display): Don't use cl-...hash.
2000-11-15 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-mouse.el (not): Don't ever try to grab mouse-movement
events if we are running Emacs 21.
* lisp/w3-display.el (w3-decimal-to-alpha): Don't try to inline
this - it called itself recursively and so blew up Emacs'
byte-compiler.
(w3-decimal-to-alpha): Also fixed bug where large numbers did not
get converted correctly (3 letters or more were completely screwed
up).
(w3-decimal-to-roman): Don't inline this one either, just for
safety.
2000-10-16 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-e21.el (toolbar-file-icon): added definitions of
toolbar-file-icon and toolbar-printer-icon
2000-10-02 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-e21.el (w3-setup-version-specifics): Advise this
function to create toolbar buttons in Emacs 21.x with toolbar
support.
(w3-mode-version-specifics): Advise this function to actually add
the toolbars to each buffer.
* lisp/w3-toolbar.el (w3-add-toolbar-to-buffer): Deal with
toolbars in Emacs 21.
2000-07-28 Sam Steingold <sds(a)gnu.org>
* lisp/Makefile.in: added w3-e21.el to W3_SOURCES
2000-07-10 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-parse.el (w3-expand-entity-at-point-maybe): Wrap
inserting of &#xxx; entities inside a condition-case so that we
won't choke and die when parsing a bad document.
1999-12-23 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-speak-table.el (w3-table-focus-on-this-cell): Synch'd up
with Thierry & Raman. Provide default value for at-depth.
Resurrect hyperlinks and images when focusing on a cell.
(w3-table-setup-keys): New bindings for `,' and `.' to focus on
and speak table cells.
1999-12-22 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-parse.el (w3-parse-buffer): Allow ':' in attribute
names, to deal with stupid quasi-HTML/XML data output by MS Word
9.x
(w3-parse-buffer): Removed progress bar stuff, since it is causing
XEmacs 21.2 betas to crash.
1999-12-06 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-display.el (w3-prepare-tree): Analog to
w3-prepare-buffer, but works on a ready-made parse tree instead of
parsing it on the fly.
* lisp/w3.el (w3-fetch-callback): Added in special case for
handling content-type of application/x-elisp-parsed-html, for when
we want to
* lisp/css.el (css-handle-import): Protect against
url-insert-file-contents signalling an error.
(css-handle-import): Use url-insert-file-contents instead of the
old url-retrieve interface. We cannot retrieve stylesheets
asynchronously (for now).
(css-expand-value): Nuke quotes around URL attributes.
1999-12-05 William M. Perry <wmperry(a)aventail.com>
* lisp/w3-display.el (w3-prepare-buffer): Don't do the history
stuff - this died a long time ago anyway.
1999-12-05 Dave Love <fx(a)gnu.org>
* lisp/Makefile.in (W3_OBJECTS): Use W3_SOURCES, not SOURCES.
1999-12-05 William M. Perry <wmperry(a)aventail.com>
* lisp/w3.el (w3-fetch): Urk, call w3-notify-when-ready if we
found a buffer visiting the URL, otherwise nothing happens.
User just silently gets no feedback about the operation.
* w3.el: Lots of changes to work with the new URL package.
* w3-vars.el: Removed lots of old varialbes. Updated to use new
URL package where necessary.
(w3-graphlink-menu): Removed the 'info' menu item. Not
(re)implemented yet.
(w3-hyperlink-menu): Ditto.
* w3-toolbar.el (w3-mouse-print-this-url): Ditto.
* w3-print.el (w3-print-this-url): Removed LaTeX as an option.
* w3-style.el, w3-parse.el: Deal with using new URL package.
* w3-menu.el: Removed LaTeX-related menu entries.
(w3-menu-links-constructor): Expand the URL in the menu
constructor if necessary, don't use url-maybe-relative anymore.
* w3-keymap.el: New separate file just for keymaps
* w3-java.el: Deal with removal of old 'mm' file and use
mailcap.el functions.
* w3-forms.el: Removed gopher query support.
* w3-emulate.el: Remove arena masquerade code. Does anybody even
use this masquerading code?
* w3-jscript.el, w3-elisp.el, w3-script.el: Removed files related
to scripting.
* w3-xemac.el (w3-mouse-handler): Ditto.
* w3-e19.el (w3-mouse-handler): Don't bother with scripting
elements yet.
* w3-display.el: Lots of changes to deal with the new URL package
and using the new mailcap.el file from Gnus.
* w3-cus.el: Removed lots of obsolete variables
* w3-hot.el (w3-hotlist-add-document): Disable due to default use
of html bookmark files now.
(w3-hotlist-delete): Ditto.
(w3-hotlist-apropos): Use new URL-based hotlist interface
(w3-hotlist-view): Ditto.
(w3-use-hotlist): Now deals with html-based bookmark lists.
(w3-hot-convert-to-alist): New function to conver an internal
bookmark list to an assoc list with oddly formatted keys.
(w3-read-html-bookmarks): Don't set w3-html-bookmarks any more -
this will be the main format now.
(w3-hot-push-now-item): Don't push a menu-object onto the list,
use a regular format we can convert to a menu when necessary.
* url-hotlist.el: New URL-based interface for searching your
hotlist.
1999-12-04 William M. Perry <wmperry(a)aventail.com>
* lisp/base64.el: Updated to latest base64.el from Kyle. Now no conflicts
between this and the Gnus-distributed version.
1999-12-03 William M. Perry <wmperry(a)aventail.com>
* lisp/font.el (font-set-face-font-new-redisplay): Don't set the :family
face attribute if it is nil. The new redisplay doesn't like that.
Installing These:
================
Manually:
- --------
1) Download the packages that you want to install from:
/ftp.xemacs.org:/pub/xemacs/beta/experimental/packages/
2) Unpack them to: [1]
/usr/local/lib/xemacs/xemacs-packages/
3) Re-start XEmacs.
Using XEmacs Package Tools (XEmacs 21.[245].x):
- ----------------------------------------------
1) Tools -> Packages -> Add Download Site -> Pre-Releases
2) Tools -> Packages -> List and Install
3) Select the packages you wish to install (there are brief
instructions at the bottom of the packages buffer).
4) Packages -> Install/Remove Selected
5) Re-start XEmacs.
Using XEmacs Package Tools (XEmacs 21.1.14):
- -------------------------------------------
1) Options -> Manage Packages -> Add Download Site -> Pre-Releases
2) Options -> Manage Packages -> List and Install
3 - 5) As per XEmacs 21.[245].x.
Footnotes:
[1] Note: Mule packages should be installed into:
/usr/local/lib/xemacs/mule-packages/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFPrSgx7yJLt8ORD7cRAkCkAJ9hI6dYV81FQXw9QOq1mvpLMlOXcgCeLqxA
yz84sdcsfFvIFFoXbrdy5k4=
=MPra
-----END PGP SIGNATURE-----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hi,
With the recent support of character classes, thanks Aidan, go-mode
almost works out of the box now. With box meaning being part of the go
lang distribution.
I have submitted a patch to the go-project that makes it work under
XEmacs 21.5 and GNU Emacs. I'll see if it gets accepted.
Nevertheless the I would like to add it to the packages. prog-modes
seems to be the natural place for it since it is just a single file
mode. (I know it ought to work with 21.4 as well but it doesn't.)
So the next step would be to update prog-mode.info and add some
autoload-statements to make it a proper citizen under prog-modes. OK?
There is also a copyright text issue. go-mode, as the whole go
project, is under the modified BSD-license. That is compatible with
GPL so that is OK. However there is no copyright text in the
go-mode.el file. What is the proper thing to do here? Add the LICENSE
text to the top of the file, just refer to it or do nothing?
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
ACTIVITY SUMMARY (2012-05-01 - 2012-05-08)
XEmacs Issue Tracking System at http://tracker.xemacs.org/XEmacs/its/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
542 open ( +0) / 286 closed ( +0) / 828 total ( +0)
Open issues with patches: 11
Average duration of open issues: 1116 days.
Median duration of open issues: 1175 days.
Open Issues Breakdown
new 219 ( +0)
deferred 6 ( +0)
napping 3 ( +0)
verified 55 ( +0)
assigned 152 ( +0)
committed 18 ( +0)
documented 3 ( +0)
done/needs work 17 ( +0)
Issues Now Closed (1)
_____________________
[RFC] You should provide security to this bug tracking tool 13 days
http://tracker.xemacs.org/XEmacs/its/issue829 stephen
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
What is the status of running 21.5 (beta31) on OS X Lion? What do I need to be aware of in terms of compiling the source? I am considering installing Lion on my Macs, but do not want to lose the ability to compile and use XEmacs. I would like to hear if any regular XEmacs users are able to successfully compile the sources in the latest Mercurial repository, and what they had to do to get a compiler running that would support the compilation--having read a number of problems reported with macports compilations that required GNU CC.
--
r. d. royar
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Ar an triú lá de mí Bealtaine, scríobh Stephen J. Turnbull:
> On Thu, May 3, 2012 at 7:17 PM, Aidan Kehoe <kehoea(a)parhasard.net> wrote:
>
> > I have said again, and again, and again, bidi works perfectly on TTYs
> > *already*. TTY emulators that support bidi are few in number,
>
> I think it's in bad taste to end that phrase with anything but a full
> stop. I don't consider excluding common terminals on the grounds that
> they don't support bidi well "bidi working perfectly".
Yeah, I don’t care about the long list of terminals that we could possibly
get running with Herculean effort and the demand that the user install and
choose compatible fonts. If the user has to install something, let it be a
terminal that supports bidi.
> (Admittedly the Mac's Terminal.app sucks on a lot of grounds,
> nevertheless it's still very commonly used.)
Now I investigate a bit further, Terminal.app’s bidi is OK, it’s just I find
its usual fonts hateful for the particular bidi script I use.
> Also, I don't see how this can work "perfectly" or portably without
> support from XEmacs, given that the terminal generally is not going to
> have access to the whole buffer.
It doesn’t need access to the whole buffer, it needs access to the
‘paragraph,’ and treating newline as a paragraph separator is
sort-of-endorsed by Unicode.
Anyway, it works for me, and it works for folk I know who use PuTTY and
right-to-left script. (None of them use XEmacs, unfortunately, but they have
no problems with irssi and other very not-multilingual apps.)
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta