M2 icon indicating copy to clipboard operation
M2 copied to clipboard

readme

Open DanGrayson opened this issue 5 years ago • 15 comments

~/src/M2/M2.git/M2/distributions/dmg/ReadMe-MacOSX.rtf recommends aquamacs, but "emacs for mac os x" from https://emacsformacosx.com/ is just as good, if not better, and should be mentioned on an equal footing.

DanGrayson avatar May 29 '20 15:05 DanGrayson

@DanGrayson I'm looking at these readme files for the mac now. Do our users have to runxattr after they get our tarball?

mikestillman avatar Jul 01 '20 13:07 mikestillman

In order for any of these emacs to work (i.e. to be able to read the user Macaulay2 directory, for me, it needs to be started from the command line. @DanGrayson do you have suggestions for what we should tell our users about setting that up? Is that not required any longer?

mikestillman avatar Jul 01 '20 13:07 mikestillman

@DanGrayson I'm looking at these readme files for the mac now. Do our users have to runxattr after they get our tarball?

I don't know.

DanGrayson avatar Jul 01 '20 13:07 DanGrayson

@DanGrayson What is the status with zsh on Catalina? (note: I plan on upgrading m y macOS, but I want to make sure the mac distribution works under High Sierra first).

edit: does our setup() command write to zsh init files at all?

mikestillman avatar Jul 01 '20 13:07 mikestillman

@DanGrayson if you place a preliminary dmg file on our web site, in a nonstandard relatively hidden location, we can ask a couple of people to try it. Alternatively, I just mention your fix in the readme, in case they need it.

mikestillman avatar Jul 01 '20 13:07 mikestillman

@DanGrayson What is the status with zsh on Catalina? (note: I plan on upgrading m y macOS, but I want to make sure the mac distribution works under High Sierra first).

Something was done about it.

edit: does our setup() command write to zsh init files at all?

I just looked, and it munges .zshrc only if the file exists. I'll fix that, and make it munge .zprofile instead.

DanGrayson avatar Jul 01 '20 13:07 DanGrayson

And I don't know why we're putting the same lines into .bashrc and .profile. The latter should be enough.

DanGrayson avatar Jul 01 '20 13:07 DanGrayson

@DanGrayson We have 3 files for the readme for mac:

ReadMe-MacOS.rtf ReadMe-MacOS.txt

and the webpage

https://faculty.math.illinois.edu/Macaulay2/Downloads/MacOSX/index.html

The one on the web page is a good place to have it. Perhaps we should somehow make all of these identical.

Also, we could have a markdown page on github about it too? (Again, hopefully the same, if possible)

mikestillman avatar Jul 01 '20 13:07 mikestillman

It would certainly be good to have just one version of those three files.

DanGrayson avatar Jul 01 '20 13:07 DanGrayson

Should we make it a markdown file on github, then just point people to that file? (from website and from the dmg file)

mikestillman avatar Jul 01 '20 14:07 mikestillman

@DanGrayson What is the status with zsh on Catalina? (note: I plan on upgrading m y macOS, but I want to make sure the mac distribution works under High Sierra first).

Something was done about it.

edit: does our setup() command write to zsh init files at all?

I just looked, and it munges .zshrc only if the file exists. I'll fix that, and make it munge .zprofile instead.

Done in commit 480e0899a4f49f2fd2a0bdd4d57c4f353afe4d34

DanGrayson avatar Jul 01 '20 14:07 DanGrayson

Should we make it a markdown file on github, then just point people to that file? (from website and from the dmg file)

Sounds good.

DanGrayson avatar Jul 01 '20 14:07 DanGrayson

In order for any of these emacs to work (i.e. to be able to read the user Macaulay2 directory, for me, it needs to be started from the command line. @DanGrayson do you have suggestions for what we should tell our users about setting that up? Is that not required any longer?

I just tried starting a Mac emacs app, and it failed by not finding the elpa package cmake-mode. It's a mystery to me!

DanGrayson avatar Jul 01 '20 14:07 DanGrayson

That is probably in your home directory? Starting an app by double clicking it I think doesn't allow it to read anythiing in your .emacs file/directory...

mikestillman avatar Jul 01 '20 14:07 mikestillman

It must be reading ~/.emacs, or it wouldn't have tried to load cmake-mode.

DanGrayson avatar Jul 01 '20 15:07 DanGrayson