Hi all,
While trying to build Cedet 1.0 with XE 21.4.22 I came across this. I
do hope Gmail does not munge the console output below too much.
johann@asuka:..acs/cedet-1.0%
/opt/myrkraverk/xemacs-21.4.22/bin/xemacs -q -l cedet-build.el -f
cedet-build -batch
zsh: segmentation fault /opt/myrkraverk/xemacs-21.4.22/bin/xemacs -q
-l cedet-build.el -f cedet-build
While I know there are some issues with compiling Cedet with XE I do
believe a segfault is a problem with XE rather than Cedet itself.
This is a self-compiled XE:
johann@asuka:..acs/cedet-1.0% uname -a
Linux asuka 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC
2010 i686 GNU/Linux
johann@asuka:..acs/cedet-1.0% gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I believe there is a way to compile Cedet manually. What is involved with that?
Johann
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
[Moved thread to xemacs-beta from xemacs-patches]
>>>>> Michael Sperber <sperber(a)deinprogramm.de> writes:
Michael> I would not be surprised. Did anybody say they're running
Michael> NetBSD?
Not that I know but thanks to Adam Sjøgren we do have buildbot clients
that builds it.
It is not clear to me myself that src/s/netbsd.h is evil[1]. Looking
around again I found a ChangeLog entry where netbsd.h is said to be
completely rewitten by Martin Buchholz 1997-06-04.
So I feel more comfortable now in assumings netbsd.h actually is
GPLv2or later and attributed to Martin Buchholz. OK?
Yours
Footnotes:
[1] In the sens that we can't deduce who should hold the copyright
and what license is valid.
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
new window managers (in my case compiz) don't like to draw frames and
buttons around the individual windows, this job being delegated to a
window decorator (in my case emerald)
i have setup emerald so that it draws only a light shadow SE of each
window, and everithing is fine except XEmacs windows, that get a much
darker shadow
in the attached .png, you'll see an xterm window above, with the light
shadow cast un the root window and on the underlying XEmacs window,
and an XEmacs window below, with its much darker shadow cast on the
root window
i can live with the darker shadow, even if it is slightly annoying,
but i'd like to know the reason of this strange behaviour
thanks in advance, ciao
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hello
I cannot edebug the following function
(defun matlab-shell-render-html-anchor (str)
"Render html anchors inserted into the MATLAB shell buffer.
Argument STR is the text for the anchor."
(if (string-match matlab-anchor-end str)
(save-excursion
(while (re-search-backward matlab-anchor-beg nil t)
(let* ((anchor-beg-start (match-beginning 0))
(anchor-beg-finish (match-end 0))
(anchor-text (match-string 1))
(anchor-end-finish (search-forward matlab-anchor-end))
(anchor-end-start (match-beginning 0))
(o (matlab-make-overlay anchor-beg-finish anchor-end-start)))
(matlab-overlay-put o 'mouse-face 'highlight)
(matlab-overlay-put o 'face 'underline)
(matlab-overlay-put o 'matlab-url anchor-text)
(matlab-overlay-put o 'keymap matlab-shell-html-map)
(delete-region anchor-end-start anchor-end-finish)
(delete-region anchor-beg-start anchor-beg-finish)
))))
)
When I do the cursor (with arrow jumps directly to the if
line)
Like (defun matlab-shell-render-html-anchor (str)
"Render html anchors inserted into the MATLAB shell buffer.
Argument STR is the text for the anchor."
=>f (string-match matlab-anchor-end str)
(save-excursion
(while (re-search-backward matlab-anchor-beg nil t)
(let* ((anchor-beg-start (match-beginning 0))
(anchor-beg-finish (match-end 0))
(anchor-text (match-string 1))
(anchor-end-finish (search-forward matlab-anchor-end))
(anchor-end-start (match-beginning 0))
(o (matlab-make-overlay anchor-beg-finish anchor-end-start)))
(matlab-overlay-put o 'mouse-face 'highlight)
(matlab-overlay-put o 'face 'underline)
(matlab-overlay-put o 'matlab-url anchor-text)
(matlab-overlay-put o 'keymap matlab-shell-html-map)
(delete-region anchor-end-start anchor-end-finish)
(delete-region anchor-beg-start anchor-beg-finish)
))))
)
I don't understand this.
For other functions in the matlab pkg edebug behaves as
expected.
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hello,
My son and I wrote some code for Xemacs and while it is useful to us and
adds to our user
experience--and we want to share, I don't think it is enough to make a
package out of it.
Do all things need to be made into packages to b e distributed? Is that
what I should do?
Or, where do you think things like this should get uploaded to?
I don't have a personal website to upload it to.
Steve Mitchell
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
skip(a)pobox.com writes:
> string-to-syntax is a built-in function in `C source code'.
> (string-to-syntax STRING)
>
> Convert a syntax specification STRING into syntax cell form.
I have no idea what a "syntax cell" is, but based on your examples it
would seem
(defun string-to-syntax (s)
(list (syntax-string-to-code s)))
will do.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hi,
This time I look at the "src/s/freebsd.h" and friends. That is
"src/s/freebsd.h", "src/s/irix6-0.h", "src/s/netbsd.h" and
"src/s/sol2.h".
All of these header files except sol2.h contains the comment "Synched
up with: FSF 19.31." which has been there unchanged from at least
XEmacs 19.11. I haven't investigated further who introduced these
files so the copyright isn't clear but couldn't that comment warrant
that the files be considered GPLv2 or later?
sol2.h started out the same way but the comment is now changed to
"Completely divergent from FSF.". So what to do with it? (There is of
course the long and winding road in trying to find out who did the
change but I haven't come to that yet. Hoping for an easy solution
here ;-)
All of these files are GPLv3 or later in Emacs but they are pretty
useless I guess for us at this moment. At a quick glance they look
very different which might be expected.
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Ar an t-aonú lá déag de mí Eanair, scríobh Didier Verna:
> Aidan Kehoe <kehoea(a)parhasard.net> wrote:
>
> > I deleted a call to the macro cl-parsing-keywords, which wrapped most
> > of a function body. This also necessitated renaming some variables
> > used within the function body; so the diff without whitespace changes
> > looked like the below. The diff once the indentation had been
> > corrected looked much as if I had rewritten the entire function, which
> > wasn’t a close reflection of what I did.
>
> > (This isn’t directly Patcher’s issue, and a general solution to it
> > would probably go beyond Lisp, and would be included in the diff
> > command. But I’m not aware of any such general solution or any
> > prospects of one.)
>
> If you look at patcher-built-in-themes, you will find themes postfixed
> with -ws (for whitespace) with diff commands tweaked to skip
> whitespace-only differences in the diffs output.
Ah, that’s actually very helpful. Thanks!
(On experimentation, odd how it preserves whitespace in some places, but not
others; I suppose removing newlines would make the algorithm more
difficult.)
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hello
I am not sure whether the problem I describe has to do with
the implementation of make-extent in xemacs or the problems
lies in a different part of the code.
Matlab.el (version 3.1.1) allows to debug matlab
code. During the debugging matlab.el, split the window, opens the file you
debug, the cursor jumps from line to line and show in the
other window via the matlab-shell the result of the executed
command.
However GNU emacs and Xemacs behave differently
In GNU emacs you see in the matlab-shell buffer
Someting like
1 tspan=[0 1]
Where 1 is underlined and clicking with the mouse on it is
jumps to the matlab file which is debugged.
In Xemacs however the matlab-buffer displays
<a href="matlab:
opentoline('/home/oub/ALLES/Matlab-init/testeuler.m',1,1)">1
</a>tspan=[0 1]
Which I find very annoying. I tried to debug it but can
localise the problem. It seems to me the issue is the code
(defun matlab-shell-render-errors-as-anchor (str)
"Detect non-url errors, and treat them as if they were url anchors.
Argument STR is the text that might have errors in it."
(when (string-match matlab-shell-error-stack-end str)
(save-excursion
(when (re-search-backward matlab-shell-error-stack-start nil t)
(let ((groupend nil)
(first nil))
(save-excursion
(setq groupend (re-search-forward matlab-shell-error-stack-end))
)
;; We have found an error stack to investigate.
(while (re-search-forward gud-matlab-error-regexp nil t)
(let* ((err-start (match-beginning 0))
(err-end (match-end 0))
(err-text (match-string 0))
(err-file (match-string 2))
(err-line (match-string 3))
(o (matlab-make-overlay err-start err-end))
(url (concat "opentoline('" err-file "'," err-line ",0)"))
)
(matlab-overlay-put o 'mouse-face 'highlight)
(matlab-overlay-put o 'face 'underline)
;; The url will recycle opentoline code.
(matlab-overlay-put o 'matlab-url url)
(matlab-overlay-put o 'keymap matlab-shell-html-map)
;; Keep track of the very first error in this error stack.
;; It will represent the "place to go" for "go-to-last-error".
(matlab-overlay-put o 'first-in-error-stack first)
(when (not first) (setq first url))
))
)))))
Where the various overlay functions are defaliases to
(defalias 'matlab-make-overlay 'make-extent)
(defalias 'matlab-overlay-put 'set-extent-property)
(defalias 'matlab-overlay-get 'extent-property)
(defalias 'matlab-delete-overlay 'delete-extent)
(defalias 'matlab-overlay-start 'extent-start-position)
(defalias 'matlab-overlay-end 'extent-end-position)
(defalias 'matlab-previous-overlay-change 'previous-extent-change)
(defalias 'matlab-next-overlay-change 'next-extent-change)
Etc.
So since GNU emacs and Xemacs behave so differently I
thought that maybe make-extent and friend a implemented in a
different way.
Anybody has an idea?
regards
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta