Peter Heslin | 3 Jan 01:23 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question

On Fri, Dec 30, 2005 at 04:54:43PM +0000, Luca Trevisani wrote:
> Hi, I recentely discovered your grat big package, and find it very helpfull for
> writing my PhD thesis.

Good!  I'm glad you have found it useful.

> Anyway, I found a point wich in my opinion should be modified. You make always
> open the easymacs help page at startup. Then you make the info buffer unkillable.
> This second thing make problems when you edit Texinfo files. When you use F12 to
> compile and view the results, emacs can't kill the old info buffer and update it
> with the new (the result of compiled Texinfo file).
> Commenting the lines of easymacs.el which make unkillable the info buffer
> resolves this problem, and make very little difference in the package behaviour
> (if any).

That's a good argument.  I have made the change as you recommend.

> Second, I'd like to ask if there is any way to make the mouse wheel scrolling
> "sticky" (like in scroll-up-one-line-sticky). This would make easymacs behaviour
> even more similar to modern grafical desktops behaviour.

I'm not entirely sure what behavior you mean.  You could try this:

  (defadvice mwheel-scroll (around mwheel-scroll-sticky activate)
    (let ((pos (point)))
      ad-do-it
      (goto-char pos)))

> PS. looking forward to the next release of easymacs with auctex 11.8....

(Continue reading)

JC Helary | 4 Jan 10:46 2006
Picon

Installing easymacs on OSX

(total emacs newbie, excited at the idea of at last being able to get  
a grasp of the whole thing...)

I just downloaded le most recent version of Carbon Emacs and of  
easymacs and proceeded as per the instructions and found a little  
glitch:

In the FAQ there is a (Windows specific) line:

(setenv "HOME" "C:/path/to/my/home/directory")

To avoid clutter in the home directory.

On OSX too I like to leave my home directory clean as much as I can  
so I used the above line to set HOME to something like "~/Library/ 
Application Support/Emacs" (I also tried Preferences).

The result of this setting is that when I opened the file INSTALL.el  
from the easymacs package I did not get the expected "Emacs-Lisp  
menu" and found myself looking for my mistake.

Although I have no idea why the above line disrupted the install, it  
does happen that removing it altogether from .emacs properly loaded  
the .el files and seemingly installed things succesfully.

I write seemingly because it seems I got an error somewhere:

> Loading /Users/bubu/Library/Application Support/Emacs/easymacs/ 
> easymacs.el (source)...
> Warning: defvar ignored because easymacs-dir is let-bound
(Continue reading)

Peter Heslin | 4 Jan 11:14 2006
Picon

Re: Installing easymacs on OSX

On Wed, Jan 04, 2006 at 06:46:30PM +0900, JC Helary wrote:
> On OSX too I like to leave my home directory clean as much as I can  
> so I used the above line to set HOME to something like "~/Library/ 
> Application Support/Emacs" (I also tried Preferences).

Well, on OS X these files will be hidden, so I don't think the clutter
problem is a big deal.  It might be that Carbon Emacs Package depends
on the initial value of HOME, and then Easymacs gets another, and that
causes the problem.  You could try setting HOME externally, before
running Emacs, rather than setting it in your .emacs file.

> Although I have no idea why the above line disrupted the install, it  
> does happen that removing it altogether from .emacs properly loaded  
> the .el files and seemingly installed things succesfully.

At the moment, I do not have access to a Mac machine to do any
testing, so unfortunately I cannot investigate the problem.  If I
understand correctly, Easymacs loads without errors when you do not
change the value of HOME.  So at the moment I would say you'll have to
tolerate that limitation.

Best wishes,

Peter

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
(Continue reading)

JC Helary | 4 Jan 11:22 2006
Picon

Re: Installing easymacs on OSX

>> Although I have no idea why the above line disrupted the install, it
>> does happen that removing it altogether from .emacs properly loaded
>> the .el files and seemingly installed things succesfully.
>
> At the moment, I do not have access to a Mac machine to do any
> testing, so unfortunately I cannot investigate the problem.  If I
> understand correctly, Easymacs loads without errors when you do not
> change the value of HOME.  So at the moment I would say you'll have to
> tolerate that limitation.

No problem with that, I just tried to have something fancy. Also,  
dotted files are not invisible from the command line :) And all the  
unix related apps put all their stuff there which does clutter the  
place quite a bit.

I am very happy that with emacs22/Fink I can type Japanese and French  
without any problem (the default on Aquamacs was to use [alt/option]  
for something emacsy while I need it for inputing French on my  
Japanese/Qwerty keyboard.

Thank you very much for your work !!!

Jean-Christophe Helary

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
(Continue reading)

Luca Trevisani | 4 Jan 18:20 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question


Hi Peter, thanks for the new easymacs 1.7!

I tested preview-latex and it works well, as for me I would enable it by
default (after all, it just adds a voice to the menu  for making previews).

Anyway, I found the following two little problems:

1) In order to make preview-latex work under win32 you should add something 
like:
  (when easymacs-w32-system
    (setq-default preview-gs-command "gswin32c")
    (require 'tex-mik))
Of course one has to put Ghostscript in the path. Probably it would be 
better if tex-mik itself took care of properly setting the 
"preview-gs-command" option, but it actually doesn't.

2) When opening a .tex file with preview-latex active, a new icon should be
visible in the tool-bar, but it is void. I couldn't find a good solution,
just the following work-around:
- copy the easymacs/auctex/ directory under easymacs/auctex/auctex/
- copy all the xpm icons from easymacs/auctex/auctex/preview/images/ into
easymacs/auctex/auctex/images/
- change the following easymacs.el lines:
  (add-to-list 'load-path (concat easymacs-dir "auctex/auctex/"))
  (add-to-list 'load-path (concat easymacs-dir "auctex/auctex/preview/"))
- copy the file preview-latex.el in the folder easymacs/auctex/
Unfortunately I couldn't understand why this happens, and why this 
work-around works neither, probably it is related also to the 
"TeX-lisp-directory" and "TeX-data-directory".
(Continue reading)

Peter Heslin | 5 Jan 03:02 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question

On Wed, Jan 04, 2006 at 06:20:09PM +0100, Luca Trevisani wrote:
> 1) In order to make preview-latex work under win32 you should add something
> like:
>  (when easymacs-w32-system
>    (setq-default preview-gs-command "gswin32c")
>    (require 'tex-mik))

OK. Done.

> 2) When opening a .tex file with preview-latex active, a new icon should be
> visible in the tool-bar, but it is void. I couldn't find a good solution,

Thanks for the report.  I did find a good solution -- it is necessary
to set preview-datadir so that the icons can be found.

At first, I did not want to activate preview-latex by default, because
I thought that it would be necessary to install the Latex .sty files
by hand.  But now I see that there is a way to tell preview-latex to
use the .sty files in their original position (in the Easymacs
bundle).  I have tested this on my machine, and if this works OK for
others, I will activate review-latex by default.

Would you test this attached easymacs.el file?  To avoid confusion
with the modifications you made by hand, take the original
easymacs-1.7.zip file, extract it, insert the new easymacs.el in place
of the old one, and see if preview-latex works.

> Just one question, do you know how to tell emacs to put latex output and
> auxiliary files into a specified directory? (I tried setting the
> tex-directory option but it didn't work). Perhaps, should I change the
(Continue reading)

Peter Heslin | 5 Jan 03:04 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question

I wrote:

> At first, I did not want to activate preview-latex by default,
> because I thought that it would be necessary to install the Latex
> .sty files by hand.  But now I see that there is a way to tell
> preview-latex to use the .sty files in their original position (in
> the Easymacs qbundle).  I have tested this on my machine, and if
> this works OK for others, I will activate review-latex by default.

preview-latex does this via the TEXINPUTS environment variable, which
MikTeX apparently ignores, so it looks like this is going to be a
problem on Windows ...

Peter

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Luca Trevisani | 12 Jan 15:20 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question


Hi Peter, sorry if it took so much... these are hard days for me and my 
thesis ...

>> 1) In order to make preview-latex work under win32 you should add 
>> something
>> like:
>>  (when easymacs-w32-system
>>    (setq-default preview-gs-command "gswin32c")
>>    (require 'tex-mik))
>
> OK. Done.

Just one doubt... don't you think it would be better if tex-mik set it 
right?
Anyway, with this add easymacs makes previews, provided you manually add the 
Ghostscript bin directory in the path (it's not done by the installer).

>> 2) When opening a .tex file with preview-latex active, a new icon should 
>> be
>> visible in the tool-bar, but it is void. I couldn't find a good solution,
>
> Thanks for the report.  I did find a good solution -- it is necessary
> to set preview-datadir so that the icons can be found.
> [cut]
> Would you test this attached easymacs.el file?

Ok, now the icon is visible.

Anyway, in the new file you sent me, I would modify the following:
(Continue reading)

Peter Heslin | 12 Jan 23:32 2006
Picon

Re: Easymacs correction for Texinfo files editing plus question

On Thu, Jan 12, 2006 at 03:20:05PM +0100, Luca Trevisani wrote:
> Just one doubt... don't you think it would be better if tex-mik set it 
> right?
> Anyway, with this add easymacs makes previews, provided you manually add 
> the Ghostscript bin directory in the path (it's not done by the installer).

I don't know enough about Windows to know if AUCTeX has a reason to do
what it does.  If you want to follow this up, you could ask about it
on the AUCTeX mailing list.

> Anyway, in the new file you sent me, I would modify the following:
> 
>  ;; Where to fins the .sty files, etc.
>  (setq preview-TeX-style-dir
>        (concat
>         (if easymacs-w32-system ".;;" ".::")
>         easymacs-dir "auctex/preview/latex/"
>         (if easymacs-w32-system ";" ":")))
> 
> into something like this:
> 
>  ;; Where to fins the .sty files, etc. (only for systems other then w32)
>  (if (not easymacs-w32-system)
>      (setq preview-TeX-style-dir
>            (concat ".::" easymacs-dir "auctex/preview/latex/:")))
> 
> The reason is the following. The 'preview-TeX-style-dir' seems not to be 
> working under w32. 

Yes, in the follow-up mail I sent to you, I realized that Mik-TeX does
(Continue reading)

Luca Trevisani | 19 Jan 09:55 2006
Picon

Two easymacs issues (probably only under windows)


Hi, I found the two following easymacs issues under windows (I don't know if
they happen also with other OS).

1) Pdflatex doesn't work, and prints this message:

------------------------------------
Running `PDFLaTeX' on `thermins' with ``pdflatex
'\nonstopmode\input{thermins.tex}'''
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4)
entering extended mode
! I can't find file `'.tex'.
<to be read again>
                   \nonstopmode
<*> '\nonstopmode
                 \input{thermins.tex}'
Please type another input file name:
------------------------------------

Then pdflatex waits for your input, and you have to kill the process to stop
it.

I sow you define the pdflatex command with "pdflatex
'\\nonstopmode\\input{%t}'"... but I coudn't understand the meaning of this
notation.

2) It is not possible to edit and compile texinfo files under folders names
containing spaces. Emacs outputs this message:

------------------------------------
(Continue reading)


Gmane