21.5.28: replace-regexp-in-string with SUBEXP is broken
17 years
Ville Skyttä
replace-regexp-in-string with SUBEXP in 21.5.28 is broken; for example the
example given in the docstring fails.
What should happen according to the example:
(replace-regexp-in-string "\\(foo\\).*\\'" "bar" " foo foo" nil nil 1)
" bar foo"
In my 21.5.28:
(replace-regexp-in-string "\\(foo\\).*\\'" "bar" " foo foo" nil nil 1)
" bar"
Perhaps when Ben brought this in from GNU Emacs, he may have failed to notice
that our `replace-match' API differs from GNU's regarding strings vs buffers
and subexp and this is why thing go south. Thoughts?
Attached is an addition to the test suite; untested though and I haven't
touched the test suite earlier so a review is needed.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Access rights to branches?
17 years
Aidan Kehoe
In the course of updating the carbon2 branch, I find I can commit changes in
the subdirectories, but not at top level:
bonbon [ cvs commit -m 'Repeating the last commit, to catch top-level files' .cvsignore CHANGES-beta COPYING ChangeLog INSTALL Makefile.in.in PROBLEMS README aclocal.m4 config.guess config.sub configure configure.ac version.sh
**** Access denied: Insufficient Karma (|XEmacs/xemacs)
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
bonbon [
I’m trying again with another checkout, but can anyone suggest a reason for
this?
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
XEmacs Packages have been pre-released (2007-09-30-20)
17 years
Norbert Koch
-----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:
===========================
mule-ucs-1.16-pkg.tar.gz upstream version: 0.84
vm-7.25-pkg.tar.gz upstream version: 7.19
Previously Announced Packages Still in Pre-Release:
==================================================
apel-1.33-pkg.tar.gz upstream version: 10.6
auctex-1.48-pkg.tar.gz upstream version: 11.55
calendar-1.34-pkg.tar.gz upstream version: none
easypg-1.01-pkg.tar.gz upstream version: 0.0.15
ediff-1.71-pkg.tar.gz upstream version: 2.75
edit-utils-2.38-pkg.tar.gz upstream version: none
edt-1.14-pkg.tar.gz upstream version: none
eshell-1.12-pkg.tar.gz upstream version: 2.4.1
general-docs-1.05-pkg.tar.gz upstream version: none
guided-tour-0.51-pkg.tar.gz upstream version: none
hm--html-menus-1.24-pkg.tar.gz upstream version: 5.9
hyperbole-1.17-pkg.tar.gz upstream version: 5.0
igrep-1.15-pkg.tar.gz upstream version: 2.111
leim-1.25-pkg.tar.gz upstream version: none
locale-1.27-pkg.tar.gz upstream version: none
mule-base-1.52-pkg.tar.gz upstream version: none
net-utils-1.53-pkg.tar.gz upstream version: N/A
oo-browser-1.05-pkg.tar.gz upstream version: 4.08
perl-modes-1.10-pkg.tar.gz upstream version: none
prog-modes-2.14-pkg.tar.gz upstream version: none
psgml-1.45-pkg.tar.gz upstream version: 1.3.2
python-modes-1.09-pkg.tar.gz upstream version: none
scheme-1.16-pkg.tar.gz upstream version: none
text-modes-1.95-pkg.tar.gz upstream version: none
tramp-1.39-pkg.tar.gz upstream version: 2.0.56
vc-1.44-pkg.tar.gz upstream version: none
viper-1.58-pkg.tar.gz upstream version: 3.09
w3-1.34-pkg.tar.gz upstream version: 4.0pre47
xemacs-base-2.11-pkg.tar.gz upstream version: none
xemacs-devel-1.76-pkg.tar.gz upstream version: none
Detailed Changes:
================
- ------- ChangeLog Entries from mule-packages/mule-ucs/ChangeLog -------
2007-09-30 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.16 released.
- ------- ChangeLog Entries from xemacs-packages/vm/ChangeLog -------
2007-09-30 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 7.25 released.
2007-09-30 Aidan Kehoe <kehoea(a)parhasard.net>
* Sync to upstream version 7.19, Kyle's last version.
* Makefile (AUTHOR_VERSION): Bump. Don't do the off-by-one trick
Steve did for the last release, since our versions are too out of
sync for that to be helpful now.
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.
norbert - XEmacs Package Release Manager.
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)
iD8DBQFG//Nygu3ywdHdhM0RAj0AAKCj7XsEL6vltaF26zN5ySvitzx5OgCgvS+C
7UfXjYtPZ8wfvZ6xO4Mnb0I=
=2tAI
-----END PGP SIGNATURE-----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
how to triger tramp?
17 years
FKtPp
hi all,
I used to use Tramp to access remote file in Emacs, but when it comes to
XEmacs I can't start tramp...
Acroding to the XEmacs tramp info page, use /[user(a)host]/path/to.file
should fireup a tramp process. I tried, but it always open a local file....
How can I start tramp? What should I do now?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[COMMIT] Provide x-resource, msprinter as specifier tags on all builds to map-specifier
17 years
Aidan Kehoe
Ar an cúigiú lá is fiche de mí Méan Fómhair, scríobh Ben Wing:
> Hmmm ... seems to me that the sane behavior with an unrecognized tag is
> not to match on it. that way, an instantiator tagged with "msprinter"
> will never apply on X windows, which is probably what you want.
>
> i'm not totally averse to removing the error on unknown tags. i imagine
> i put in the error on the principle that misspellings should be flagged
> rather than silently ignored ... but i wasn't considering the situation
> Aidan mentions. maybe in its place a warning could be issued, at the
> same level as current warnings about unrecognized font/color/etc
> names. (OTOH you can pretty easily define something like `msprinter'
> unilaterally in all circumstances, even on a non-MSWindows ...)
Right, I’ve done that--the misspellings point is important. Thanks for your
input!
APPROVE COMMIT
NOTE: This patch has been committed.
lisp/ChangeLog addition:
2007-09-30 Aidan Kehoe <kehoea(a)parhasard.net>
* x-faces.el:
* x-faces.el ('x-resource)): Removed.
Specifier tag moved to specifier.el to ensure availability on
non-X builds.
* specifier.el:
Provide x, tty, mswindows, msprinter, gtk and carbon as device
tags that never match on builds that don't support them.
* specifier.el ('x-resource)): New.
Moved here from x-faces.el
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: lisp/specifier.el
===================================================================
RCS lisp/x-faces.el
===================================================================
RCS
Index: lisp/x-faces.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/x-faces.el,v
retrieving revision 1.29
diff -u -r1.29 x-faces.el
--- lisp/x-faces.el 2007/06/21 13:39:11 1.29
+++ lisp/x-faces.el 2007/09/30 11:57:37
@@ -654,7 +654,11 @@
;;; result in a crash.
;; When we initialise a face from an X resource, note that we did so.
-(define-specifier-tag 'x-resource)
+;;
+;; Now in specifier.el so run-time checks for it on non-X builds don't
+;; error.
+
+; (define-specifier-tag 'x-resource)
(defun x-init-face-from-resources (face &optional locale set-anyway)
Index: lisp/specifier.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/specifier.el,v
retrieving revision 1.16
diff -u -r1.16 specifier.el
--- lisp/specifier.el 2007/04/29 11:15:04 1.16
+++ lisp/specifier.el 2007/09/30 11:57:37
@@ -605,15 +605,10 @@
;;
;; from producing an error if no X support was compiled in.
-(or (valid-specifier-tag-p 'x)
- (define-specifier-tag 'x (lambda (dev) (eq (device-type dev) 'x))))
-(or (valid-specifier-tag-p 'tty)
- (define-specifier-tag 'tty (lambda (dev) (eq (device-type dev) 'tty))))
-(or (valid-specifier-tag-p 'mswindows)
- (define-specifier-tag 'mswindows (lambda (dev)
- (eq (device-type dev) 'mswindows))))
-(or (valid-specifier-tag-p 'gtk)
- (define-specifier-tag 'gtk (lambda (dev) (eq (device-type dev) 'gtk))))
+(loop
+ for tag in '(x tty mswindows msprinter gtk carbon)
+ do (unless (valid-specifier-tag-p tag)
+ (define-specifier-tag tag #'ignore)))
;; Add special tag for use by initialization code. Code that
;; sets up default specs should use this tag. Code that needs to
@@ -622,6 +617,11 @@
;; about clobbering user settings.
(define-specifier-tag 'default)
+
+;; The x-resource specifier tag is provide so the X resource initialization
+;; code can be overridden by custom without trouble.
+
+(define-specifier-tag 'x-resource)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; "Heuristic" specifier functions ;;;
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
No such coding system, iso-8859-3
17 years
Andreas Röhler
Hi,
`make' succeeded with CVS-checkout from today and
XEmacs runs smoothly from ~/xemacs-21.5/src/.
on Suse 10.0.
However after `make install', newly installed version
xemacs-21.5-b28 from `/usr/local/bin' opens with an
error shown beneath modeline:
"Invalid argument: No such coding system, iso-8859-3"
No custom files loaded then.
Thanks
Andreas Röhler
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
XEmacs Packages have been pre-released (2007-09-29-08)
17 years
Norbert Koch
-----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:
===========================
vc-1.44-pkg.tar.gz upstream version: none
Previously Announced Packages Still in Pre-Release:
==================================================
apel-1.33-pkg.tar.gz upstream version: 10.6
auctex-1.48-pkg.tar.gz upstream version: 11.55
calendar-1.34-pkg.tar.gz upstream version: none
easypg-1.01-pkg.tar.gz upstream version: 0.0.15
ediff-1.71-pkg.tar.gz upstream version: 2.75
edit-utils-2.38-pkg.tar.gz upstream version: none
edt-1.14-pkg.tar.gz upstream version: none
eshell-1.12-pkg.tar.gz upstream version: 2.4.1
general-docs-1.05-pkg.tar.gz upstream version: none
guided-tour-0.51-pkg.tar.gz upstream version: none
hm--html-menus-1.24-pkg.tar.gz upstream version: 5.9
hyperbole-1.17-pkg.tar.gz upstream version: 5.0
igrep-1.15-pkg.tar.gz upstream version: 2.111
leim-1.25-pkg.tar.gz upstream version: none
locale-1.27-pkg.tar.gz upstream version: none
mule-base-1.52-pkg.tar.gz upstream version: none
mule-ucs-1.15-pkg.tar.gz upstream version: 0.84
net-utils-1.53-pkg.tar.gz upstream version: N/A
oo-browser-1.05-pkg.tar.gz upstream version: 4.08
perl-modes-1.10-pkg.tar.gz upstream version: none
prog-modes-2.14-pkg.tar.gz upstream version: none
psgml-1.45-pkg.tar.gz upstream version: 1.3.2
python-modes-1.09-pkg.tar.gz upstream version: none
scheme-1.16-pkg.tar.gz upstream version: none
text-modes-1.95-pkg.tar.gz upstream version: none
tramp-1.39-pkg.tar.gz upstream version: 2.0.56
viper-1.58-pkg.tar.gz upstream version: 3.09
vm-7.24-pkg.tar.gz upstream version: 7.17
w3-1.34-pkg.tar.gz upstream version: 4.0pre47
xemacs-base-2.11-pkg.tar.gz upstream version: none
xemacs-devel-1.76-pkg.tar.gz upstream version: none
Detailed Changes:
================
- ------- ChangeLog Entries from xemacs-packages/vc/ChangeLog -------
2007-09-29 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.44 released.
2007-09-28 Ville Skyttä <scop(a)xemacs.org>
* vc-hooks.el: Bring back VC submenu for XEmacs.
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.
norbert - XEmacs Package Release Manager.
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)
iD8DBQFG/fk5gu3ywdHdhM0RAuQ3AKDlsRzy6DsMgjC8wpasC4HTB27jKACfcgXf
l7W5DoXSyU9K1V2vqioazrY=
=FAKH
-----END PGP SIGNATURE-----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
cvs co dired
17 years
Andreas Röhler
Hi,
CVS checkout didn't deliver `dired', i.e. just an empty
directory. My command was:
cvs -z3 -d:pserver:cvs@cvs.xemacs.org:/pack/xemacscvs checkout -d xemacs-21.5
xemacs
Is this correct? Any help available?
Thanks
Andreas Röhler
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
minor-minor-mode-abbrev-table and add-local-mode-abbrev
17 years
Uwe Brauer
Hello
As far as I know it is possible to define a local minor mode abbrev
table.
Like this
(define-abbrev-table 'spanish-minor-mode-abbrev-table '(
("tx" "texto" nil 0)
))
And the corresponding code of the minor mode.
However what I don't know is how to implement functions which would
correspond to add-local-mode-abbrev
for that minor-mode.
Rationale:
I would like to have flyspells abbrev mechanism to work for different
languages, as I wrote in an earlier message. One idea is to use a
mayor mode and the indirect buffer command. However a more convenient
solutions seems to me to use minor modes and the relevant abbrev
commands.
Thanks
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
21.5.28: Cannot activate ecb
17 years
Ville Skyttä
Originally reported as https://bugzilla.redhat.com/302371 :
"M-x ecb-activate" appears to send XEmacs 21.5.28 into an infinite loop or
something.
I see either this in the minibuffer (can't make out the rest and XEmacs is
stuck at this point with 100% CPU usage so that all I can do is kill it):
Warning: error in 'post-gc-hook': attempt to throw outside of function:
To catch `((#<INTERNAL OBJECT (XEmacs bug?) (symbol-value-forward type 13)
0x85b670> (error (ecb-layout-debug-error advice of current-window-configur
...or this, ditto in the minibuffer:
Warning: Error in `pre-gc-hook': (stack-overflow (Lisp nesting exceeds
`max-lisp-eval-depth'))
A dump of what I see at the console when killing XEmacs stuck this way is
attached (gzipped). Anyone else see this and/or have ideas what could be the
problem?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta