Re: [PATCH] Abstract out a display-table-specific API (2)
16 years, 11 months
Aidan Kehoe
Ar an ceathrú lá is fiche de mí na Nollaig, scríobh mike.kupfer(a)xemacs.org:
> (moved to xemacs-beta)
>
> Hi Aidan, I've got a couple questions about the gnus patch.
>
> First, I'm nervous about XEmacs-specific patches that I would have to
> apply every time I resync with upstream.
Yeah; I need to ask the Gnus people to apply it too. But for the moment I’m
worried about XEmacs-specific compatibility.
> Is there some difference between XEmacs char-tables and GNU Emacs
> char-tables that keeps us from using aref/aset?
Yes. The XEmacs char tables are opaque objects, not vectors.
Okay, and now I check, I realise my “portable” code fails on GNU
Emacs. Here’s a version that works there, where char-tables are sequences
and really close to being vectors, though not quite:
(defun-when-void put-display-table (range value display-table)
"Set the value for char RANGE to VALUE in DISPLAY-TABLE. "
(if (sequencep display-table)
(aset display-table range value)
(put-char-table range value display-table)))
(defun-when-void get-display-table (character display-table)
"Find value for CHARACTER in DISPLAY-TABLE. "
(if (sequencep display-table)
(aref display-table character)
(get-char-table character display-table)))
> The GNU Emacs Info page for display tables says
>
> A display table is actually a char-table (*note Char-Tables::)
> with `display-table' as its subtype.
>
> and it uses aset in its example.
>
> Failing that, have you discussed this change with the gnus team
> (ding(a)gnus.org)? Or is there at least some canonical way to tag
> XEmacs-specific changes, to make resyncs easier?
>
> Second, you appear to be introducing multiple copies of
> put-display-table and get-display-table, both in this patch set and in
> the patches you committed to xemacs-base and misc-games. Shouldn't
> there be just one copy in the packages tree, presumably in xemacs-base?
disp-table.el, which provides the display table code--make-display-table,
frob-display-table, describe-display-table, and in
http://mid.gmane.org/18288.1954.87217.762309@parhasard.net ,
put-display-table and get-display-table--is in core. Yeah, there’s a decent
argument that it might be better in packages, but it isn’t there for the
moment. There isn’t any other obvious place to put these two functions, IMO,
and moving them away from #'make-display-table and #'describe-display-table
will make for less clear code.
The defun-when-void means any existing definition won’t be overridden.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Workaround for browse-url and friends on Windows
16 years, 11 months
Pete Forman
[retry]
I've just updated from 21.5.17 to 21.5.28 on XP native using the
pre-built binary kit. I found that clicking on links no longer opened
them in my external browser. A simple illustration in *scratch* is:
(mswindows-shell-execute "open" "http://www.xemacs.org/")
21.5.17 successfully opens the page in my external browser. 21.5.28
gives the following error:
Process error: Running ShellExecute, "The system cannot find the file
specified. ", "open", "http://www.xemacs.org/"
Ben Wing put his hand up for this in a message of 2005-10-20:
http://article.gmane.org/gmane.emacs.xemacs.beta/20772
So a workaround is to set mswindows-shortcuts-are-symlinks to nil.
Links now work.
Another example that needs the workaround is:
(mswindows-shell-execute "explore" "c:")
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
pete.forman(a)westerngeco.com -./\.- the opinion of Schlumberger or
http://petef.port5.com -./\.- WesternGeco.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
quail: TeX input method: change UTF8 to tex and back: solution & problems
16 years, 11 months
Uwe Brauer
Hello
Some days ago I asked for an equivalent to iso-unaccentuate for quail
input methods. Since as I learnt xemacs does not use the GNU Emacs
idea of multi-byte chars, iso-unaccentuate should work without
problems for ó and the like.
Now I asked for a similar feature for the TeX input methods:
TeX-2-utf8(TeXtuate)
\int ---------------> ∫
utf8-2-TeX(TeXuntuate)
∫ ---------------> \int
Now I looked into a attic package (1994)
iso-sgml, (written by Frederic Lepied <lepied(a)cenaath.cena.dgac.fr>),
whose logic I could understand,
which changed iso-8859-1 chars to the SGML entities.
A main point was the variable sgml2iso-trans-tab, which looks
basically like:
(defvar sgml2iso-trans-tab
'(
("Æ\;" "Æ")
))
Which changed Æ to Æ and back.
So I boldly modified the variable to the following
(defvar tex2utf8symb-trans-tab
'(
("\int" "∫")
))
I am not sure whether I could treat ∫ as a string, for example in the
file latin-ltx.el I see
("\\int" ?∫)
Anyhow the code worked, but there is a problem:
(defvar tex2utf8symb-trans-tab
'(
("\\in" "∈")
("\\infty" "∞")
("\\int" "∫")
))
While
\in and \int are transformed correctly
\infty is changed to ∈fty,
which is wrong (on the other hand I don't understand why
\int is not transformed to ∈t but anyhow).
So the question is how shall I define the tex commands uniquely?
thanks
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
C99 and inline
16 years, 11 months
Jerry James
I can't seem to reproduce the C99 + inline problem on my machine. If
I'm not mistaken, all of the reports of this problem so far have come
from Mac OS X users. Would one of you please try applying this patch
and building with -std=c99 or -std=gnu99 and see if it works?
diff -r 4363b75330ca src/config.h.in
--- a/src/config.h.in Mon Jan 07 12:07:55 2008 -0700
+++ b/src/config.h.in Mon Jan 07 12:34:24 2008 -0700
@@ -1086,7 +1086,8 @@ extern "C" {
Use `inline static' to define inline functions in .c files.
See the Internals manual for examples and more information. */
-#if defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs)
+#if __STDC_VERSION__ >= 199901L || defined (__cplusplus) || \
+ ! defined (__GNUC__) || ! defined(emacs)
# define INLINE_HEADER inline static
#elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
# define INLINE_HEADER inline
Thanks!
--
Jerry James
http://loganjerry.googlepages.com/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Re: Do we need gnus-yes-or-no-p and gnus-y-or-n-p?
16 years, 11 months
Katsumi Yamaoka
Hi,
In the Gnus mailing list, now it is being discussed whether the
behavior of `y-or-n-p' that it does not clear the echo area is
intentional. While `yes-or-no-p' clears the question and the
answer in the echo area after entering `y e s' or `n o' and RET,
`y-or-n-p' does not do so after entering `y' or `n'. E.g.:
(defun foo ()
"Switch to buffer named foo."
(interactive)
(when (y-or-n-p "Switch to buffer foo? ")
(switch-to-buffer "foo")))
(Please try it with `yes-or-no-p' as well.)
The behavior of `y-or-n-p' that it doesn't clear the question
and the answer is not serious of course, but I feel it is not
cool. Lars seems to have felt it like me and introduced the
function `gnus-y-or-n-p' in February, 1995:
(defun gnus-y-or-n-p (prompt)
(prog1
(y-or-n-p prompt)
(message "")))
Currently, it is commented out in the trunk by Reiner Steib. He
also wrote the benefit of leaving the question and the answer in
the echo area as follows:
(http://article.gmane.org/gmane.emacs.gnus.general/66061)
> In contrast to yes-or-no-p it is much easier to type y, n,
> SPC, DEL, etc accidentally, so it might be useful for the user
> to see what he has typed.
(You can read the whole thread in:
http://news.gmane.org/group/gmane.emacs.gnus.general/thread=65099/force_l...)
But I like the behavior that it clears the echo area like
`yes-or-no-p', even if it is a side effect of the RET key.
Could someone draw the conclusion? And if it is regarded as a
bug, I hope it is fixed in the future (in that case, we need to
uncomment `gnus-y-or-n-p' for old Emacsen).
Regards,
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[Bug: 21.5-b28] Bug in #'loop
16 years, 11 months
Aidan Kehoe
================================================================
Dear Bug Team!
Sebastian Freundt just pointed this out:
(loop for i in t always nil)
=> t
Common Lisp errors because t isn’t a list, as is consistent with the
behaviour when you hand our #'loop a sequence, say. Here’s a tentative fix
that I have yet to test in detail; the SXEmacs folk and Sebastian in
particular have a pretty comprehensive test suite available, though, and I
intend to get to testing it soon.
--- cl-macs.el~ Mon Jan 7 17:35:10 2008
+++ cl-macs.el Mon Jan 7 17:37:58 2008
@@ -1180,7 +1180,7 @@
(let* ((on (eq word 'on))
(temp (if (and on (symbolp var)) var (gensym))))
(push (list temp (pop args)) loop-for-bindings)
- (push (list 'consp temp) loop-body)
+ (push temp loop-body)
(if (eq word 'in-ref)
(push (list var (list 'car temp)) loop-symbol-macs)
(or (eq temp var)
Bye,
Aidan
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: FreeBSD daedalus.asclepian.ie 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jun 5 16:04:39 UTC 2007 conall@daedalus.asclepian.ie:/usr/obj/usr/src/sys/DAEDALUS amd64
./configure '--prefix=/home/aidan' '--with-cflags=-Os -pipe -ffast-math -fno-exceptions -momit-leaf-frame-pointer -msse -mmmx -msse2 -m3dnow -m64 -mfpmath=sse,387' '--with-site-prefixes=/usr/local' '--with-infopath=/usr/local/info' '--disable-dialogs' '--disable-widgets' '--disable-sound' '--enable-pdump' '--enable-bignum=gmp' '--with-default-eol-detection' '--enable-mule' '--without-xim' '--without-x11' 'CC=gcc'
XEmacs 21.5-b28 "fuki" (+CVS-20071205) configured for `x86_64-unknown-freebsd6.2'.
Compilation Environment and Installation Defaults:
Source code location: /home/aidan/xemacs-21.5
Installation prefix: /home/aidan
Additional prefixes: /usr/local
Operating system description file: `s/freebsd.h'
Not using any machine description file
Compiler version: gcc (GCC) 3.4.6 [FreeBSD] 20060305
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g -Os -pipe -ffast-math -fno-exceptions -momit-leaf-frame-pointer -msse -mmmx -msse2 -m3dnow -m64 -mfpmath=sse,387
libc version:
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
TTY:
Compiling in support for ncurses.
Images:
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Mail:
Compiling in support for "flock" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/home/aidan/emacs-lisp/erc-log
/home/aidan/share/xemacs/xemacs-packages/lisp/erc/erc-log
/home/aidan/emacs-lisp/regexp-opt
/home/aidan/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/china-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/china-util
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/cyril-util
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/ethio-util
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/viet-util
/home/aidan/lib/xemacs/mule-packages/lisp/leim/quail/thai-xtis
/home/aidan/share/xemacs-21.5-b28/lisp/mule/thai-xtis
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/korea-util
/home/aidan/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/home/aidan/share/xemacs-21.5-b28/lisp/mule/japan-util
/home/aidan/lib/xemacs/mule-packages/lisp/leim/quail/greek
/home/aidan/share/xemacs-21.5-b28/lisp/mule/greek
/home/aidan/lib/xemacs/mule-packages/lisp/leim/quail/ethiopic
/home/aidan/share/xemacs-21.5-b28/lisp/mule/ethiopic
/home/aidan/lib/xemacs/mule-packages/lisp/leim/quail/cyrillic
/home/aidan/share/xemacs-21.5-b28/lisp/mule/cyrillic
/home/aidan/emacs-lisp/arabic
/home/aidan/share/xemacs-21.5-b28/lisp/mule/arabic
/home/aidan/emacs-lisp/regexp-opt
/home/aidan/share/xemacs-21.5-b28/lisp/regexp-opt
/home/aidan/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/home/aidan/share/xemacs-21.5-b28/lisp/easy-mmode
/home/aidan/emacs-lisp/cl-macs
/home/aidan/share/xemacs-21.5-b28/lisp/cl-macs
/home/aidan/share/xemacs/xemacs-packages/lisp/build/build-report
/home/aidan/share/xemacs-21.5-b28/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(xslt-process ver: 1.11 upstream: regular)
(xemacs-devel ver: 1.7 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.94 upstream: No-Upstream-Ver)
(vm ver: 7.26 upstream: 7.19)
(view-process ver: 1.13 upstream: 2.4)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.4 upstream: No-Upstream-Ver)
(tpu ver: 1.14 upstream: 4.2X)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.82 upstream: No-Upstream-Ver)
(texinfo ver: 1.28 upstream: No-Upstream-Ver)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sml-mode ver: 0.11 upstream: 3.9.5)
(sieve ver: 1.17 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(prog-modes ver: 2.01 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.06 upstream: No-Upstream-Ver)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.44 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.19 upstream: No-Upstream-Ver)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(ispell ver: 1.29 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(gnats ver: 1.16 upstream: 3.101)
(general-docs ver: 1.03 upstream: No-Upstream-Ver)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.12 upstream: 5.2.3)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.19 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(dired ver: 1.16 upstream: 7.12)
(dictionary ver: 1.15 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(cc-mode ver: 1.43 upstream: 5.30.9)
(calendar ver: 1.34 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(auctex ver: 1.42 upstream: 11.53)
(apel ver: 1.27 upstream: 10.2)
(skk ver: 1.24 upstream: 10.62a)
(mule-base ver: 1.46 upstream: No-Upstream-Ver)
(lookup ver: 1.14 upstream: 1.0)
(locale ver: 1.22 upstream: No-Upstream-Ver)
(leim ver: 1.26 upstream: No-Upstream-Ver)
(latin-unity ver: 1.19 upstream: 1.19)
(latin-euro-standards ver: 1.07 upstream: 1.07)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow ipa cperl-mode tex atomic-extents mail-utils debug
byte-optimize bytecomp byte-compile quail cc-mode cc-fonts cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs mail-abbrevs regexp-opt
find-func info view-less view hyper-apropos vm-sort vm-virtual vm-delete
vm-undo vm-page vm-mouse vm-mime vm-toolbar vm-summary tapestry vm-motion
vm-folder vm-misc vm-window mspools non-standard-1252 vm-pine vm-message
vm-minibuf vm-rfaddons overlay vm-macro vm-reply sendmail cookie1
vm-autoload vm-vars highlight-headers vm-startup vm-version vm efs-cu
timer-funcs erc-track erc-ring erc-netsplit erc-match erc-button erc-fill
erc-stamp wid-edit erc-autojoin unique erc-truncate erc-log erc-goodies erc
erc-backend erc-menu erc-compat format-spec thingatpt pp latin-unity-tables
latin-euro-standards latin-euro-latin10 latin-euro-latin9 latin-euro-latin8
latin-euro-latin7 latin-unity-vars latin-unity crypt crypt++ crypt+pgp-pub
scroll-in-place redo desktop savehist alist after-save-commands mail-extr
timezone tex-site mailcrypt rfc822 comint ring mmm advice advice-preload
lazy-shot font-lock time cus-face gnuserv xslt-process-autoloads
xemacs-devel-autoloads xemacs-base-autoloads vm-autoloads
view-process-autoloads vc-cc-autoloads vc-autoloads tpu-autoloads
time-autoloads textools-autoloads text-modes-autoloads texinfo-autoloads
strokes-autoloads speedbar-autoloads sml-mode-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads scheme-autoloads rmail-autoloads
reftex-autoloads python-modes-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads mmm-mode-autoloads
misc-games-autoloads mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads ibuffer-autoloads gnats-autoloads
general-docs-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads eterm-autoloads
ess-autoloads erc-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads dired-autoloads dictionary-autoloads
debug-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads auctex-autoloads
apel-autoloads skk-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads
latin-euro-standards-autoloads egg-its-autoloads edict-autoloads
modules-autoloads mule-autoloads auto-autoloads auto-show fontl-hooks
canna-leim tibetan slovenian czech romanian lao devanagari indian cyrillic
code-cmds gutter-items behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete loadhist cus-file derived
newcomment rsz-minibuf env text-props frame obsolete cus-start custom widget
cl-extra cl cl-19 packages backquote unicode tty-frames tty unix-processes
multicast network-streams subprocesses bigfloat ratio bignum number-types
modules berkeley-db dbm md5 xemacs mule gutter lisp-float-type
unix-default-eol-detection file-coding berkeley-unix devices base64)
Recent keystrokes:
-----------------
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
ESC O A ESC O B ESC O B ESC O B ESC O B ESC O B C-x
b * S h TAB RET C-@ ESC < ESC w C-x b * s c TAB RET
ESC x r e p o r t - x e BS BS x e m a c s - b u g
RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
5:43pm Mail
Quit
5:43pm Mail
5:43pm Mail
5:42pm Mail
Undo!
Undo...
5:42pm Mail
5:42pm Mail
5:41pm Mail
Quit
5:41pm Mail
5:40pm Mail
5:40pm Mail
5:40pm Mail
5:39pm Mail
Quit
5:39pm Mail
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Workaround for browse-url and friends on Windows
16 years, 11 months
Pete Forman
I've just updated from 21.5.17 to 21.5.28 on XP native using the
pre-built binary kit. I found that clicking on links no longer opened
them in my external browser. A simple illustration in *scratch* is:
(mswindows-shell-execute "open" "http://www.xemacs.org/")
21.5.17 successfully opens the page in my external browser. 21.5.28
gives the following error:
Process error: Running ShellExecute, "The system cannot find the file
specified. ", "open", "http://www.xemacs.org/"
Ben Wing put his hand up for this is a message of 2005-10-20:
http://article.gmane.org/gmane.emacs.xemacs.beta/20772
So a workaround is to set mswindows-shortcuts-are-symlinks to nil.
Links now work.
Another example that needs the workaround is:
(mswindows-shell-execute "explore" "c:")
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
pete.forman(a)westerngeco.com -./\.- the opinion of Schlumberger or
http://petef.port5.com -./\.- WesternGeco.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
recursive edebug-eval-defun till a certain level?????
16 years, 11 months
Uwe Brauer
Hello
May be this is a lisp programmers (wet) dream (or nightmare):
according to the documentation
edebug-eval-defun only debugs the top-level of a given function.
However I think it might be very useful that the debugging includes
several levels more.
Does anybody know about a package doing this?
Thanks and regards
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Re: No sounds other than console beep; what's wrong? (solved?)
16 years, 11 months
robert delius royar
Mon, 31 Dec 2007 (14:08 -0500 UTC) robert delius royar wrote:
> I do not know which CVS first exhibited this problem, but it first showed up
> when I recompiled XEmacs 21.5.28b after upgrading to Mac OS X 10.5.1. The
> newest changelog in the tree is dated 2007-12-21, but version.sh is no
> longer being updated in CVS.
>
> I have included installation info at the end of this message.
>
> I can no longer get XEmacs to play sounds through my (working) Enlighten
> Sound Daemon (v 2.38). I have verified that ESD is working on the system
> (launched at startup and plays through 127.0.0.1:16001). I verified this by
> playing /usr/local/share/xemacs/xemacs-packages/etc/sounds/boing.wav with
> esdplay; I also verified that sound-extension-list is ".wav" and that
> load-default-sounds reports "Loading sounds..." and "Loading sounds...done".
>
> However, no sounds play in XEmacs other than the system beep. And
> device-sound-enabled-p returns nil.
I found the line (110) in XEmacs src/esd.c that was the root of the problem:
sock = esd_play_stream(flags, speed, NULL, ESD_NAME);
The function in esdlib is prototyped as int esd_play_stream( esd_format_t
format, int rate, const char *host, const char *name );
Passing the value NULL for the host worked until I recompiled XEmacs for
Leopard. esd expects a host name or an octet string (with optional
port/socketname appended). But the code in esdlib is supposed to accept !host
as a signal to use localhost.
However, it doesnot to work because of the new scheme for setting DISPLAY in OS
X.
If I change the call from XEmacs so that the NULL is replaced by "localhost",
the sound plays. If I change the code in esdlib.c so that esd_play_stream
checks for host==NULL and calls esd_open_sound("localhost") instead of
esd_open_sound(NULL), then the sounds will also work. Either "fix" gets the
sounds back.
I have not tried the third alternative of setting the environment variable
ESPEAKER to "localhost". It might also work; however, on the previous OS
(10.4), setting ESPEAKER caused hangups in XEmacs. On 10.3, it was the only
way to get esd to play.
I just wanted to followup in case anyone else using OS X 10.5 found a similar
problem with sounds.
BTW: Is anyone working on a way to use CoreAudio from within XEmacs--similar to
the way Windows sound is treated?
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
How to suppress environment variable expansion by find-file?
16 years, 11 months
Skip Montanaro
I have a file with a leading dollar sign in its name. When I try to visit
it in XEmacs I get an error with this message "substituting nonexistent
environment variable ...". I've tried doubling up the dollar sign, escaping
it with a backslash, quoting it with apostrophes and giving a prefix
argument. I didn't see any variable which would obviously suppress the
expansion. Nothing seems to work. Is there any relief for this problem?
Thanks,
Skip Montanaro
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta