First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 130245
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Mathematics related packages <sci-mathematics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Schubert <schubert.seb@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
filename.diff changed ebuild patch Sebastian Schubert 2006-04-17 04:44 0000 505 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130245 depends on: Show dependency tree
Bug 130245 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-17 04:42 0000
The ebuild implements a wrong sed command to change the folder name for emacs
support. See attached diff for a possible correction.

Changing that, I still have problems with the maxima mode in emacs. M-x maxima
hangs. Here the messages:

For information about the GNU Project and its goals, type C-h C-p.
Loading maxima (source)...
Loading regexp-opt...done
Loading edmacro...done
Loading derived...done
Loading easy-mmode...done
Loading maxima (source)...done

I have to C-g. After that I can try again and now it works...

------- Comment #1 From Sebastian Schubert 2006-04-17 04:44:02 0000 -------
Created an attachment (id=84827) [edit]
changed ebuild

------- Comment #2 From Sébastien Fabbro 2006-04-17 06:03:26 0000 -------
Hi 

The 50emacs-gentoo.el file was updated in the overlay but wasn't updated in the
portage tree. Could a gentoo dev move
http://gentooscience.org/browser/overlay/sci-mathematics/maxima/files/50maxima-gentoo.el?rev=169
to the main tree? 
The patch sent in Comment #1 should not be needed then.
Then we see about the second issue.

Sebastien

------- Comment #3 From Marcus D. Hanwell 2006-04-17 09:07:35 0000 -------
Sorry - I don't use emacs and didn't realise there had been a change. I have
updated this in CVS - if you emerge it again then emacs should hopefully be
fixed. I am on a slow hotel DSL connection though and about to fly out so I may
be unable to do any more... Please reopen if problems persist.

------- Comment #4 From Sebastian Schubert 2006-04-18 10:38:00 0000 -------
Please change typo in 50maxima-gentoo.el:

(setq load-path (cons "/usr/shar/maxima/PV/emacs" load-path))

into

(setq load-path (cons "/usr/share/maxima/PV/emacs" load-path))
                           ^^^^^^^

------- Comment #5 From Sebastian Schubert 2006-05-08 05:40:43 0000 -------
The typo really need to be changed to have the emacs support working...

Thx

------- Comment #6 From Yuan MEI 2006-05-19 19:46:17 0000 -------
Yes I fixed the path problem manually,
but I still have to press C-g, otherwise emacs halts there

what's wrong?

I am using maxima-5.9.3 with sbcl-0.9.12

(In reply to comment #0)
> The ebuild implements a wrong sed command to change the folder name for emacs
> support. See attached diff for a possible correction.
> 
> Changing that, I still have problems with the maxima mode in emacs. M-x maxima
> hangs. Here the messages:
> 
> For information about the GNU Project and its goals, type C-h C-p.
> Loading maxima (source)...
> Loading regexp-opt...done
> Loading edmacro...done
> Loading derived...done
> Loading easy-mmode...done
> Loading maxima (source)...done
> 
> I have to C-g. After that I can try again and now it works...
> 

------- Comment #7 From P.L.Hayes 2006-06-13 01:02:49 0000 -------
RE: comment #6 Confirmed - the maxima program hangs in the function
inferior-maxima-wait-for-output which is defunned in maxima.el at line 2706.
Changing the 'while' to a 'when' seems to fix it:

(defun inferior-maxima-wait-for-output ()
  "Wait for output from the Maxima process."
  (when (and 
          inferior-maxima-waiting-for-output
          (inferior-maxima-running))
    (accept-process-output inferior-maxima-process))
  (if maxima-running-xemacs
      (sleep-for 0.1)
    (sit-for 0 inferior-maxima-after-output-wait)))

Maybe this should be made into a separate bug? 

------- Comment #8 From Sébastien Fabbro 2006-06-13 03:23:51 0000 -------
maxima-5.9.3-r1 in the gentoo scientific overlay at http://gentooscience.org.
fixes this bug and add patches

------- Comment #9 From P.L.Hayes 2006-06-13 04:05:06 0000 -------
(In reply to comment #8)
> maxima-5.9.3-r1 in the gentoo scientific overlay at http://gentooscience.org.
> fixes this bug and add patches
> 

I haven't tried this because I don't see a patch in there for the
inferior-maxima-wait-for-output bug. Am I missing something?  

------- Comment #10 From Sébastien Fabbro 2006-06-13 04:09:16 0000 -------
(In reply to comment #9)

> 
> I haven't tried this because I don't see a patch in there for the
> inferior-maxima-wait-for-output bug. Am I missing something?  

merged. See:
http://gentooscience.org/browser/overlay/sci-mathematics/maxima/files/maxima-5.9.3-emaxima.patch

------- Comment #11 From Sebastian Schubert 2006-06-13 04:16:13 0000 -------
(In reply to comment #8)
> maxima-5.9.3-r1 in the gentoo scientific overlay at http://gentooscience.org.
> fixes this bug and add patches
> 

Works. Thx

------- Comment #12 From P.L.Hayes 2006-06-13 04:22:39 0000 -------
(In reply to comment #10)

Didn't see that - even though I did actually look inside the file %-)
Thanks! :) 

------- Comment #13 From Christian Schlotter 2006-12-04 11:08:55 0000 -------
sci-mathematics,
the file 50maxima-gentoo.el is still broken in the portage tree.  To fix this,
either grab
http://www.gentooscience.org/browser/overlay/sci-mathematics/maxima/files/50maxima-gentoo.el
 or apply the following patch:
--- /usr/portage/sci-mathematics/maxima/files/50maxima-gentoo.el       
2006-04-17 18:07:08.000000000 +0200
+++ /usr/local/portage/sci-mathematics/maxima/files/50maxima-gentoo.el 
2006-12-04 19:58:23.000000000 +0100
@@ -1,5 +1,5 @@
 ;; maxima mode
-(setq load-path (cons "/usr/shar/maxima/PV/emacs" load-path))
+(setq load-path (cons "/usr/share/maxima/PV/emacs" load-path))
 (autoload 'maxima-mode "maxima" "Maxima mode" t)
 (autoload 'maxima "maxima" "Maxima interactive" t)
 (setq auto-mode-alist (cons '("\\.max" . maxima-mode) auto-mode-alist))

Regards
Christian

------- Comment #14 From Christian Schlotter 2007-01-13 04:51:25 0000 -------
bump, this is an easy fix.
(see comment #13)

------- Comment #15 From Marcus D. Hanwell 2007-01-13 10:44:51 0000 -------
Thanks for adding me to the CC Christian - really busy right now and so I don't
always get the time to read all my bugzilla email... I have added the updated
emacs file from the overlay and bumped to 5.11.0. Hopefully this will correct
the problems with the emacs mode.

I would like to thank Andrey Grozin <A.G.Grozin@inp.nsk.su> and  Sebastien
Fabbro <seb@ist.utl.pt> for all their hard work on this ebuild in the overlay.

First Last Prev Next    No search results available      Search page      Enter new bug