I can partially answer my own question. Adding

(setq exec-path (append exec-path '("/usr/texbin")))
(setq exec-path (append exec-path '("/usr/local/bin")))

to my .emacs got sage-view to work. The first path is the one to latex
(got by 'which latex'), the second one is the path to gs.

Still have the completion problem, which freezes emacs entirely.

On 17 déc, 21:45, Pierre <[email protected]> wrote:
> On the same config, I've discovered some bugs with sage-mode that I
> didn't have with Leopard/Carbon emacs/previous version of sage, most
> notably:
>
> sage: A= PolynomialRing(QQ, 'x')   #or any sage object, really
> sage: L= range(10)
> sage: for i in L:
> ...        A.[TAB] #to get the completion
>
> ... and emacs freezes !!!!!!!!
>
> On 17 déc, 17:50, Pierre <[email protected]> wrote:
>
>
>
>
>
>
>
> > oh and I've tried to get sage-view to insert a plot and got
>
> > error in process filter: Symbol's function definition is void: dired-
> > rename-file
>
> > On 17 déc, 17:43, Pierre <[email protected]> wrote:
>
> > > Hi,
>
> > > I have switched to OS X Lion 10.7.2, and the only emacs I've found was
> > > Cocoa Emacs 23.3 (9.0) (while Carbon Emacs does not seem to work).
>
> > > I have installed sage 4.7.2 and sage-mode. I had to add (require 'help-
> > > mode) before (require 'sage "sage") as somebody instructed on this
> > > forum.
>
> > > Things are mostly working but sage-view fails with the message
>
> > > error in process filter: Searching for program: no such file or
> > > directory, latex
>
> > > So there's something wrong with the path. I have to say that my usual
> > > emacs commands for compiling latex code also had to be changed so that
> > > "pdflatex" was replaced with "full/path/to/pdflatex" (something new
> > > and weird with this version of emacs?)
>
> > > I *would* do the same with sage-view except I don't know how to.
>
> > > thanks for your help!
> > > Pierre
> > > PS I'm still sort of assuming this is a bug in sage-view so posting
> > > here rather than sage-support... I'm never quite sure :)

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to