mac-emacs-users Mailing List for Emacs for Mac OS 8/9 (Page 13)
Brought to you by:
akochoi
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
(2) |
Mar
(5) |
Apr
(3) |
May
(2) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(1) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
|
Mar
(3) |
Apr
(5) |
May
(1) |
Jun
|
Jul
(7) |
Aug
|
Sep
(8) |
Oct
(9) |
Nov
(20) |
Dec
(25) |
| 2002 |
Jan
(11) |
Feb
(8) |
Mar
(16) |
Apr
(33) |
May
(56) |
Jun
(55) |
Jul
(16) |
Aug
(26) |
Sep
|
Oct
(19) |
Nov
(3) |
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|
From: Preston J. <pja...@ee...> - 2001-11-13 20:35:09
|
I love the OS X port of emacs. It is beautiful. Thanks for getting the alpha version out so quickly. I would like to change the font size to something a little smaller. The Shift-Mouse-1 doesn't work and neither does the command when executed directly from the mini-buffer. Is there a way do do change this parameter? Thanks for any feedback. Preston Jackson pja...@ee... |
|
From: Andrew C. <ak...@cs...> - 2001-11-02 03:29:04
|
The following message is a courtesy copy of an article that has been posted to comp.emacs as well. Here is a patch to Emacs 21.1 to allow it to build and run under Mac OS X: http://www.cse.cuhk.edu.hk/~akochoi/emacs/macosx/emacs-21.1-2-mac.patch.gz The instructions for applying it are contained in the file: http://www.cse.cuhk.edu.hk/~akochoi/emacs/macosx/readme.txt The GUI code is basically a Carbonized version of that in Emacs 21 for Mac OS classic. The Unix API of Mac OS X is used to implement synchronous and asychronous subprocess support and networking support. A new `unexec' for the Mach-O executable file format, written entirely from scratch (src/unexmacosx.c), provides support for `dump-emacs'. The autoconf/makefile mechanism is adopted so Emacs will built on Mac OS X with the Developer Tools installed. Note that although Emacs 21 is released software, this patch is alpha software. Please treat it as such. I will continue to work on it though. Comments and contributions (code) are welcome! I will work on adding this patch to the CVS repository for the next release. Have fun with it! Andrew Choi (ak...@ma...). |
|
From: Andrew C. <ak...@cs...> - 2001-10-31 09:12:51
|
Hi Leif,
> >The Mac OS *Classic* build of Emacs 21 still supports calls to
> >AppleScripts. So it is possible to modify RMAIL to send and
> >receive E-mail using Eudora as was done in 20.6. But I haven't
> >tried this and the code for E-mail has been left out of the
> >distribution. I do not plan to work further on that.
>
> So if I downloaded 20.6 again I could find the code etc there?
It should be at the end of the file lisp/term/mac-win.el.
> XEmacs for mac has ispell working I think. But I don't know how
> different XEmacs is.
Parmet's old port of Emacs 18.59 on which the XEmacs 19.14 port was
based contains a number of ports of Unix command-line programs and
mechanism to use them. Are you sure it is ispell and not spell?
> My question was mostly related to how Eudora would treat a
> utf-encoded message from Emacs. So it is perhaps a Eudora
> question... Eudora in its present editions does not have
> UTF-encoding at all. Does Eudora receive a 100% prepared message
> from Emacs and just send it away? Or does it encode it in any way
> also? Not an important question... Just curious... Eg. when you used
> 20.6 for email and e.g. send chinese e-mail had that anyting to do
> with what plug-ins that was installed in Eudora?
I don't remember trying to send Chinese E-mail messages from it, and
whether that succeeded. In 20.6, Eudora basically replaces the
function of lib-src/movemail.c. Therefore, my guess is that Eudora
receives the message in already encoded form (and appropriate mail
header).
BTW, I was able to compile ispell on Mac OS X with the following
steps.
1. Install GNU textutils 2.0
./configure
make
make install
(`make check' will fail for `pr').
2. Get and untar ispell-3.2.06
3. cp local.h.samp local.h
4. Add a line `#define TERMLIB ""' to the end of local.h
5. Set the environment variable TMPDIR to an existing directory
For example /tmp exists on my machine and I'm using bash, so
export TMPDIR=/tmp
will do it.
6. Run `make' and `make install', the latter as root
So if you need to build a Norwegian dictionary, download it and set
the macro LANGUAGE in local.h accordingly.
Now I have ispell and better yet flyspell in Emacs 21 on Mac OS X :-).
Andrew.
|
|
From: leif h. s. <lh...@ru...> - 2001-10-31 01:44:55
|
Andrew Choi <ak...@cs...> wrote: >leif halvard silli <lh...@ru...> writes: =2E.. >If you are using all these things like TeX, ispell, RMAIL, and perhaps >Gnus, and it is possible for you to run Mac OS X, I really suggest >that you wait for my port of Emacs 21 to Mac OS X, which I will >release in a few days. These packages/applications are much better >supported under the OS X port. Also you can use the very nice and >free teTeX distribution. I could guess so... I am using localized MacOS (norwegian) so I must wai= t a bit on OS X (10.1). >I'll make an annoucement about that port on this list. But you'll >need to be able to build it yourself and are willing to live with its >alpha status. hmmm.... >The Mac OS *Classic* build of Emacs 21 still supports calls to >AppleScripts. So it is possible to modify RMAIL to send and receive >E-mail using Eudora as was done in 20.6. But I haven't tried this and >the code for E-mail has been left out of the distribution. I do not >plan to work further on that. So if I downloaded 20.6 again I could find the code etc there? >I have only installed the ispell binary on Mac OS X from the GNU >Darwin project (http://gnu-darwin.sourceforge.net/), although I have >never managed to build it from source. I suspect one has to install >textutils and perhaps other packages before it will correctly build. >So I have not been able to use any other dictionary than the one that >comes with the binary distribution either. Perhaps a good place to >ask questions about ispell is at the GNU Darwin project or ispell's >authors. XEmacs for mac has ispell working I think. But I don't know how differen= t XEmacs is. >I don't know anything about the utf-8 coding. But I've heard people >on comp.emacs and gnu.emacs.help are using a package called Mule-UCS >(ftp://ftp.m17n.org/pub/mule/Mule-UCS/) to handle this encoding. The >archives of those two lists might be good source of information for >this. Since RMAIL and Gnus in the Mac OS X port should behave much >the same way as on other platforms, if utf-8 coded E-mail are >supported on other platforms, it should be support on the Mac OS X >port as well. My question was mostly related to how Eudora would treat a utf-encoded m= essage from Emacs. So it is perhaps a Eudora question... Eudora in its p= resent editions does not have UTF-encoding at all. Does Eudora receive a= 100% prepared message from Emacs and just send it away? Or does it enco= de it in any way also? Not an important question... Just curious... Eg. = when you used 20.6 for email and e.g. send chinese e-mail had that anyti= ng to do with what plug-ins that was installed in Eudora? --=20 leif |
|
From: Andrew C. <ak...@cs...> - 2001-10-31 01:26:15
|
leif halvard silli <lh...@ru...> writes: > Hello -- someone recommended Emacs for my TeX requirement and > pointed to your webpage, Andrew Choi, which I have visited many > times before. But this time I was glad/surprised to see that a new > version had been released and that it was included in the official > Emacs distribution. However the information about other possible > improvements since version 20.6 was scarce. Hence a few questions: > > -- is the ispell support now working? > -- if ispell works, how do I install another dictionary > (e.g. russian an norwegian dictionary does not come with the binary > distribution) > > -- email: I see that you use Eudora (light) as email backend. > :Are you able to send utf-8 mail this way? > :Is it only a matter of installing Eudora and setting Internet > :control panel to use Eudora. Hi Leif, If you are using all these things like TeX, ispell, RMAIL, and perhaps Gnus, and it is possible for you to run Mac OS X, I really suggest that you wait for my port of Emacs 21 to Mac OS X, which I will release in a few days. These packages/applications are much better supported under the OS X port. Also you can use the very nice and free teTeX distribution. I'll make an annoucement about that port on this list. But you'll need to be able to build it yourself and are willing to live with its alpha status. The Mac OS *Classic* build of Emacs 21 still supports calls to AppleScripts. So it is possible to modify RMAIL to send and receive E-mail using Eudora as was done in 20.6. But I haven't tried this and the code for E-mail has been left out of the distribution. I do not plan to work further on that. I have only installed the ispell binary on Mac OS X from the GNU Darwin project (http://gnu-darwin.sourceforge.net/), although I have never managed to build it from source. I suspect one has to install textutils and perhaps other packages before it will correctly build. So I have not been able to use any other dictionary than the one that comes with the binary distribution either. Perhaps a good place to ask questions about ispell is at the GNU Darwin project or ispell's authors. I don't know anything about the utf-8 coding. But I've heard people on comp.emacs and gnu.emacs.help are using a package called Mule-UCS (ftp://ftp.m17n.org/pub/mule/Mule-UCS/) to handle this encoding. The archives of those two lists might be good source of information for this. Since RMAIL and Gnus in the Mac OS X port should behave much the same way as on other platforms, if utf-8 coded E-mail are supported on other platforms, it should be support on the Mac OS X port as well. Andrew. |
|
From: leif h. s. <lh...@ru...> - 2001-10-30 13:10:54
|
Hello -- someone recommended Emacs for my TeX requirement and pointed to= your webpage, Andrew Choi, which I have visited many times before. But = this time I was glad/surprised to see that a new version had been releas= ed and that it was included in the official Emacs distribution. However = the information about other possible improvements since version 20.6 was= scarce. Hence a few questions: -- is the ispell support now working? -- if ispell works, how do I install another dictionary (e.g. russian an= norwegian dictionary does not come with the binary distribution) -- email: I see that you use Eudora (light) as email backend.=20 :Ar= e you able to send utf-8 mail this way? :Is it only a matter of installing Eudora and setting Internet contro= l panel to use Eudora. --=20 yours sincerly leif h silli |
|
From: Andrew C. <ak...@cs...> - 2001-10-24 09:52:40
|
Jean Richelle <je...@uc...> writes: > [...] This 21 version still suffer of not running on machine with > more that 256 MB of RAM :-( . (Believe me, it is really difficult to > live with narrow memory if one wants to run Mac OS X and Mac OS 9). > Do you think there will be a fix for that ? Hi Jean, The Mac OS X version of Emacs will have no problem working on machines with more than 256MB memory. I don't have a solution for running Emacs under Mac OS Classic on machines with more than 256MB memory. I can write a message to mac...@li... to invite people to work on it. At this time, I need to work on the Mac OS X patch for Emacs 21 and other enhancements. Andrew. |
|
From: Jean R. <je...@uc...> - 2001-10-24 09:38:24
|
Hi Choi, >I have also a working version of Emacs 21 for Mac OS X (which uses the >Carbon API for display). I will release this soon. Great ! I suppose that you will announce it on this list. >A binary distribution is available: > > http://www.cse.cuhk.edu.hk/~akochoi/emacs/21.1/emacs-21.1-mac-bin.smi.bi= n This 21 version still suffer of not running on machine with more that 256 MB of RAM :-( . (Believe me, it is really difficult to live with narrow memory if one wants to run Mac OS X and Mac OS 9). Do you think there will be a fix for that ? Jean ____________________________________________________________________________= _ Jean Richelle <je...@uc...> Service de Conformation des Macromol=E9cules Biologiques Tel: +32 02 650 3= 587 et de Bioinformatique - Universit=E9 libre de Bruxelles FAX: +32 02 648 8= 954 av. F.D. Roosevelt 50 - CP160/16, B-1050 Bruxelles, Belgium ____________________________________________________________________________= _ |
|
From: Andrew C. <ak...@cs...> - 2001-10-23 09:54:31
|
to...@at... writes: > I can't adjust font size in the carbonized 20.7.1 or the classic 20.6 > version. I'm running OS X on a G4. After loading emacs it reports: > > Error in init file: error: "Font \"fontset-mac\" is not defined" > > I'm using the .emacs file that comes with the distribution, with the > coding system bug fix applied. I added the GNU fonts to both my > Classic System/Fonts folder as well as to my /Library/Fonts directory. > > This seems to be the same problem that a user reported to the list in > May, 2000: > <http://www.geocrawler.com/archives/3/1232/2000/5/0/3823196/> > > I reviewed this list's archive for 2000 and 2001 and don't see an > answer to this issue. > > When I use a stripped down .emacs file with something like this in it: > > (modify-frame-parameters (selected-frame) > '((font . "-*-*-*-*-*-*-14-*-*-*-*-*-*-*"))) Hi Tony, Unfortunately this code was written when I didn't understand X font specs that well and used 13 fields instead of 14 :-). So perhaps you can try: (modify-frame-parameters (selected-frame) '((font . "-*-*-*-*-*-*-14-*-*-*-*-*-*"))) instead. > with or without a family name in the second field, I get a very > similar error: > Error in init file: error: "Font \"-*-*-*-*-*-*-14-*-*-*-*-*-*-*\" is > not defined" If this doesn't work, execute (x-list-fonts "-*-*-*-*-*-*-14-*-*-*-*-*-*") in the *scratch* buffer by typing C-j following it and let me know the output. Andrew. ----- P.S. Emacs 21 is out (see http://mac-emacs.sourceforge.net). It has more accurate X font specs implementation (e.g., it does real regex matching). |
|
From: Andrew C. <ak...@cs...> - 2001-10-23 08:55:50
|
Hi Everyone, Emacs 21 has been released! The Mac OS code is now part of the standard source distribution of Emacs. There is now support for menu and scroll-bars, better mouse functions, and reliable support for multiple frames. I have also a working version of Emacs 21 for Mac OS X (which uses the Carbon API for display). I will release this soon. Here is how you can obtain the files for Emacs 21.1. If you would like to compile Emacs yourself, you can download the standard distribution of Emacs from ftp://ftp.gnu.org/gnu/emacs/emacs-21.1.tar.gz or any of its mirrors. Following the instructions in mac/INSTALL. A binary distribution is available: http://www.cse.cuhk.edu.hk/~akochoi/emacs/21.1/emacs-21.1-mac-bin.smi.bin Double-click on the self-mounting image to mount it and drag the resulting volume to anywhere on your hard disk. This should create a folder emacs-21.1 with all the necessary files in it. International users who wish to use LEIM should also download the precompiled leim directory: http://www.cse.cuhk.edu.hk/~akochoi/emacs/21.1/leim-21.1-mac-bin.smi.bin Double-click on the self-mounting image to mount it and drag the resulting volume into the emacs-21.1 folder, replacing the leim folder there. Both of these files are MacBinary II encoded self-mounting DiskCopy image (SMI) files. The MacBinary II format can be decoded by any version of StuffIt Expander. The SMI files do not require any application to mount, except they require HFS+, which is supported in Mac OS 8.1 or later. The on-line help now contains a section on Mac-specific information. Let me know if you have questions about the program. Enjoy! Andrew. |
|
From: <to...@at...> - 2001-10-19 13:41:34
|
Greetings, I can't adjust font size in the carbonized 20.7.1 or the classic 20.6 version. I'm running OS X on a G4. After loading emacs it reports: Error in init file: error: "Font \"fontset-mac\" is not defined" I'm using the .emacs file that comes with the distribution, with the coding system bug fix applied. I added the GNU fonts to both my Classic System/Fonts folder as well as to my /Library/Fonts directory. This seems to be the same problem that a user reported to the list in May, 2000: <http://www.geocrawler.com/archives/3/1232/2000/5/0/3823196/> I reviewed this list's archive for 2000 and 2001 and don't see an answer to this issue. When I use a stripped down .emacs file with something like this in it: (modify-frame-parameters (selected-frame) '((font . "-*-*-*-*-*-*-14-*-*-*-*-*-*-*"))) with or without a family name in the second field, I get a very similar error: Error in init file: error: "Font \"-*-*-*-*-*-*-14-*-*-*-*-*-*-*\" is not defined" I see a pattern here, but I have no idea how to fix it. Everything works great, except this font issue. Syntax coloring works great. All I want to do is change the font size to something larger than 9. 14 would be great for my tired old eyes. Thanks a lot for any help you can offer. -- tony adams - software developer 773 282-6836 <http:atoms.net> |
|
From: Andrew C. <ak...@cs...> - 2001-09-25 00:51:23
|
monk <bi...@br...> writes: > why the 'cw', is taht codewarrior? Yes. > i have the gnu-fonts, there's no help file, do i simply drop those > into my system folder:fonts directory and that's that? Yes. > i launched emacs and figured out how to get the help up . . . but really, > where do i start with emacs - maybe the faqs, will go there As AA suggested, the tutorial (C-h t) is a good place to start. The FAQ file that comes with the distribution contains FAQ's on using the Mac port. There is also a general FAQ for Emacs http://www.gnu.org/software/emacs/emacs-faq.text Not all features described there work on the Mac port though. You can also find a lot of information by reading the USENET newsgroup gnu.emacs.help. |
|
From: Alp A. <ak...@pi...> - 2001-09-25 00:11:27
|
On Sun, 23 Sep 2001, monk wrote: > i launched emacs and figured out how to get the help up . . . but really, > where do i start with emacs - maybe the faqs, will go there Try the tutorial: C-h t. That's control-h, followed by t without control. That will teach you the basic text editing commands. AA |
|
From: monk <bi...@br...> - 2001-09-24 23:06:02
|
ok, i unpacked the smi and found emacs cw in the mac directory why the 'cw', is taht codewarrior? i have the gnu-fonts, there's no help file, do i simply drop those into my system folder:fonts directory and that's that? i launched emacs and figured out how to get the help up . . . but really, where do i start with emacs - maybe the faqs, will go there cu howie 'monk' elmer -- =83=83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 http://www.assemblage.org =83 =83=83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 |
|
From: Tom R. <Tom...@nc...> - 2001-09-23 21:06:50
|
9/20/01 5:23 AM: ak...@cs... said: >> If you haven't already, you can get the Emacs Lisp manual at: >> ftp://ftp.gnu.org/gnu/emacs/elisp-manual-20-2.5.tar.gz It, and a lot more useful stuff, is also available via HTTP at http://www.emacslisp.org See also http://www.lispmeralda.org/ monk <bi...@br...> 22 Sep 2001 23:22:47 -0400 > i got that and looked it up, quite interesting indeed > i'm wondering if anyone can comment on how the emacs help is > generally? I refer to it regularly. Note that the format, 'info', is widely used by GNU and open-source software generally (e.g. I believe it's also included with Darwin). > would it be worthwhile for me to get one of the o'reilly emacs > books? To just _use_ emacs, I dunno. To get started coding elisp, I personally found "Writing GNU Emacs Extensions" http://www.oreilly.com/catalog/gnuext/ quite useful. HTH, Tom...@nc... |
|
From: monk <bi...@br...> - 2001-09-23 03:24:08
|
-- 9/20/01 5:23 AM: ak...@cs... said: > If you haven't already, you can get the Emacs Lisp manual at: >=20 > ftp://ftp.gnu.org/gnu/emacs/elisp-manual-20-2.5.tar.gz >=20 > Emacs compiles Lisp programs to byte code. See ``byte-compile'', e.g. >=20 > Andrew. i got that and looked it up, quite interesting indeed i'm wondering if anyone can comment on how the emacs help is generally? would it be worthwhile for me to get one of the o'reilly emacs books? some of the posters on comp.lang.lisp mentioned 3rd party / external plug-ins to the emacs elisp functionality, i think one was 'ilisp' are there others besides ilisp, and has anyone found it / them useful, and for what ends? does anyone here have experience with programming elisp? obliged again, howie 'monk' elmer -- =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 http://www.assemblage.org =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 |
|
From: monk <bi...@br...> - 2001-09-21 05:40:37
|
-- 9/20/01 1:26 PM: Mo...@Ro... said: hi again monica, i took the linberty of inserting your responses on the comp.lang.lisp group because it chimed in with what people were also saying there regarding my question, listed there as: learning lisp on a mac hope i didn't break some netiquette, and that you don't receive any frictio= n for your knowledge, which i found very, very helpful! of to mcl land then, and maybe to use mac emacs with optional libraries or not thanks again >> monica, >>=20 >> right on for the low down!!! i really appreciate that and the history, = then >> i'm getting in for dirt cheap, huh! >>=20 >> may i tap your mind for some more info. then, since you seem to be up on= it? >> what if anything will i / would i use emacs for then? i haven't figured= it >> out yet . . . >>=20 >=20 > Emacs originally came out of MIT - it was written by RMS (Richard M > Stallman of GNU fame). I believe he was still in his mid-teens then. > Emacs became very popular and as MIT and MIT-educated people started > inventing LISP machines they made Emacs a standard part of the > environment. In fact, Emacs is everywhere in every decent lisp > implementation. MCL comes with an emacs-like editor. >=20 > You need for Emacs to become your regular text editor. You will use > it for anything and everything. If you are using lisp you use Emacs > from within Lisp. If you are doing anything else to text you use > plain Emacs. >=20 > People use really incompetent editors like TeachText on Mac and > NotePad on Windows, and even vi on UNIX/Linux/Mac OS X. But Emacs is > available for all these platforms and is preinstalled on most of > them. People that use Emacs are 50-500% more effective than people > that use the incompetent editors and therefore get more work done > easier. Learning Emacs (read the manual over breakfast for two weeks) > pays more than almost anything you can do when you are getting into > computers. The only thing that pays more is a touch-typing class. >=20 > Just two examples why emacs is worth knowing: The command M-/ > (meta-slash) runs the command "dabbrev-expand" which helps you fill > in a word you have started by typing the rest of the word for you - > it's like mind reading and it really works and may double your typing > speed in a programming project and cuts down on spelling errors. And > keyboard macros - C-X ( C-X ) C-X C-E will let you do > things repeatedly by using a tape recorder to record your keystrokes > and play them back. >=20 > One last hint: Get a keyboard where control key is where the caps > lock is. I recommend the Happy Hacking keyboard by PFU Limited. I > have two of these. >=20 > - Monica Re: learning lisp on a mac h 'monk' elmer -- =94 % =83 =94 % =83 =94 % =83 =94 % =83 http://www.assemblage.org =83 % =94 =83 % =94 =83 % =94 =83 % =94=20 |
|
From: Andrew C. <ak...@cs...> - 2001-09-20 09:24:16
|
> my questions are: > > is this a decent environment to learn lisp in? i've gleaned it > probably is . . . > > and, is it possible to compile lisp programs using emacs elisp? Hi, Perhaps others are more qualified to answer the question about environments for learning Lisp on a Mac. I used (the commercial product) MCL a while ago and found that to be quite a nice Lisp development environment. SCM Mac is a good free Scheme interpreter. http://www.io.com/~cobblers/scm/ Scheme is not Lisp, but it is also a nice language. If you haven't already, you can get the Emacs Lisp manual at: ftp://ftp.gnu.org/gnu/emacs/elisp-manual-20-2.5.tar.gz Emacs compiles Lisp programs to byte code. See ``byte-compile'', e.g. Andrew. |
|
From: monk <bi...@br...> - 2001-09-20 08:33:28
|
hi, downloaded emacs and the fonts my questions are: is this a decent environment to learn lisp in? i've gleaned it probably i= s . . . and, is it possible to compile lisp programs using emacs elisp? thanks h 'monk' elmer -- =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 http://www.assemblage.org =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 =83 |
|
From: Andrew C. <ak...@i-...> - 2001-07-04 12:58:31
|
> In a last message, Andrew Choi, you were telling that you have a > emacs 21 port for Mac OS X. I'd like to know 1) when it will be > released 2) if it will run in terminal windows or under X or under > Aqua. Hi Jean, No release date has been set for GNU Emacs 21. However, this version has been in pretest since last October and should be released quite soon, probably within the next few months (?). Of course, the OS X port can only be officially released then. The OS X port of GNU Emacs 21 will run in a terminal window if given the -nw option on the command line. If the termcap is set correctly for the terminal window, Emacs will use colors. It also runs with a GUI with menu, scroll bar, etc. as a Carbon application. Andrew. |
|
From: Andrew C. <ak...@i-...> - 2001-07-04 12:33:04
|
Hi Robert,
I'll try to answer your questions.
> Question #1:
> When I execute Mx-find-grep-dired I get a prompt for the directory
> to search which is correct, then after entering a RegExp pattern it
> comes back with an empty list, the command it executed at the top
> and a message in the mini-buffer that says "Symbol's function
> definition is void: start-process" I tried this on the OS X box I
> have and it works fine. Is there something I need to do first
> before this executes successfully?
Some Emacs commands invoke external Unix programs to help them provide
their functionalities. Find-grep-dired is such a command; it calls
`find'. The Mac port does not support calling an external program
asynchronously (using the Emacs Lisp function start-process). It also
does not have an implementation of `find'.
> Question #2:
> When I try to print with Mx-print-buffer it comes back with a
> message that says "Searching for program: unknown error (100), pr" I
> can't use the normal print from the file menu since it doesn't have
> one. Is there a way to print?
Although the Mac port can call an external program synchronously
(using the Emacs Lisp function call-process), it does not contain an
implementation of `pr', the Unix command for printing a file.
> Question #3:
> I have situations where I am editing XML code and there will be a number of
> elements defined for a particular item in the code.
> For example:
> <user_data>
> <u_item no="1">
> <user item stuff>...
> </u_item no>
>
> <u_item no="2">
> <user item stuff>...
> </u_item no>
> </user_data>
>
> I was trying to find a way to build a macro that would use a variable to
> contain a counter that incremented every time it found a pattern like
> <u_item no="?"> and assign it a number in between the double quotes. The
> reason for this is I may have 15 of these u_item tags and decide I need to
> insert another one at element #2. I would like a to give the macro a
> pattern to search for and allow it to go through all of the elements and
> renumber them. I am a programmer, so, I know since emacs has a language it
> can do this, but I don't have enough reference material to find it. Is
> there a way to do this and could you point me to a reference for learning
> how to do it?
To give you an example, this function will insert a new item tag,
automatically determining the item number:
(defun insert-item-autonumber ()
(interactive)
(let (item-number)
(save-excursion
(re-search-backward "<u_item no=\"\\([0-9]+\\)\">")
(setq item-number (string-to-number (match-string 1))))
(insert "<u_item no=\"" (number-to-string (1+ item-number)) "\">\n")))
Execute it when point is at where the new item tag should be inserted
by typing M-x insert-item-autonumber, or binding this to a key (see
the Emacs manual). The code to renumber a group of item tags is a bit
harder.
The Emacs Lisp manual is available here:
ftp://ftp.gnu.org/gnu/emacs/elisp-manual-20-2.5.tar.gz
or in the corresponding directory of any GNU FTP mirror.
> Question #4:
> I can't type some key combinations. For example, C-M-% should
> invoke the query-replace-regexp command. It just stares at me like
> it's saying "boy are you stupid" ;-) Of course I can type
> Mx-query-replace-regexp but is there any way to get the key
> combination working with a shift key involved?
Perhaps the Mac OS intercepts some key combinations so Emacs never
receives it. Try ESC C-%, or bind it to another key combination (see
`Key Binding' section of the Emacs manual).
> Question #5:
> Is there a way I can download and install other major modes like XML
> editing mode?
If it works on Emacs 20.x on other platforms, there's a good chance it
will work on the Mac port. I'm not familiar with XML modes.
> Question #6:
> I have read where there is a way to get hanging indents to work
> well. When I invoke outline-mode I like for the wrapping of text to
> align with the current level indent. Is this something that can be
> set?
I think this is what you want: read about `adaptive filling' in the
Emacs manual.
> Question #7:
> How do you move up to the parent of the current directory you are
> in. Usually in Unix & Windows there are current and parent
> directory indicators (. And ..) to select in the file list for
> moving to the parent directory. I have noticed they are not in the
> file listings on the Mac version of emacs. Is there a way other
> than re-executing C-x C-f and backing out of the directory by
> deleting part of the path?
In dired mode, type ^ to get to the parent directory. When asked to
enter a filename in the minibuffer after executing a command such as
C-x C-f, you can actually use `..', `../..', etc. to go up to parent
directories. You can also hit tab to see a simpler pathname (with the
dots removed).
Andrew.
|
|
From: Jean R. <je...@uc...> - 2001-07-04 09:26:43
|
Hi, In a last message, Andrew Choi, you were telling that you have a emacs 21 port for Mac OS X. I'd like to know 1) when it will be released 2) if it will run in terminal windows or under X or under Aqua. Best regards, Jean ____________________________________________________________________________= _ Jean Richelle <je...@uc...> Service de Conformation des Macromol=E9cules Biologiques Tel: +32 02 650 3= 587 et de Bioinformatique - Universit=E9 libre de Bruxelles FAX: +32 02 648 8= 954 av. F.D. Roosevelt 50 - CP160/16, B-1050 Bruxelles, Belgium ____________________________________________________________________________= _ |
|
From: Robert P. <rpo...@ap...> - 2001-07-03 19:05:09
|
Hello Andrew,
Boy, just thinking about all the complexities of porting something like
emacs to the Mac makes my head hurt. ;-)
Question #1:
When I execute Mx-find-grep-dired I get a prompt for the directory to search
which is correct, then after entering a RegExp pattern it comes back with an
empty list, the command it executed at the top and a message in the
mini-buffer that says "Symbol's function definition is void: start-process"
I tried this on the OS X box I have and it works fine. Is there something I
need to do first before this executes successfully?
Question #2:
When I try to print with Mx-print-buffer it comes back with a message that
says "Searching for program: unknown error (100), pr" I can't use the
normal print from the file menu since it doesn't have one. Is there a way
to print?
Question #3:
I have situations where I am editing XML code and there will be a number of
elements defined for a particular item in the code.
For example:
<user_data>
<u_item no="1">
<user item stuff>...
</u_item no>
<u_item no="2">
<user item stuff>...
</u_item no>
</user_data>
I was trying to find a way to build a macro that would use a variable to
contain a counter that incremented every time it found a pattern like
<u_item no="?"> and assign it a number in between the double quotes. The
reason for this is I may have 15 of these u_item tags and decide I need to
insert another one at element #2. I would like a to give the macro a
pattern to search for and allow it to go through all of the elements and
renumber them. I am a programmer, so, I know since emacs has a language it
can do this, but I don't have enough reference material to find it. Is
there a way to do this and could you point me to a reference for learning
how to do it?
Question #4:
I can't type some key combinations. For example, C-M-% should invoke the
query-replace-regexp command. It just stares at me like it's saying "boy
are you stupid" ;-) Of course I can type Mx-query-replace-regexp but is
there any way to get the key combination working with a shift key involved?
Question #5:
Is there a way I can download and install other major modes like XML editing
mode?
Question #6:
I have read where there is a way to get hanging indents to work well. When
I invoke outline-mode I like for the wrapping of text to align with the
current level indent. Is this something that can be set?
Question #7:
How do you move up to the parent of the current directory you are in.
Usually in Unix & Windows there are current and parent directory indicators
(. And ..) to select in the file list for moving to the parent directory. I
have noticed they are not in the file listings on the Mac version of emacs.
Is there a way other than re-executing C-x C-f and backing out of the
directory by deleting part of the path?
I will give you a break and stop with the questions at this point. I may
have more later but I hope this doesn't take too much of your time.
I appreciate any help you can give.
Robert
On 7/2/01 6:03 PM, "Andrew Choi" <ak...@i-...> wrote:
>> I sent an e-mail a few weeks ago and haven't heard from anyone. I
>> don't know if my e-mail account is the problem or if there are no
>> emacs on the Mac users. I have a couple of questions about using
>> emacs but hadn't been able to find anyone that uses it.
>>
>> Thanks for a reply!
>>
>> Robert Pollard
>
> Hi Robert,
>
> I receive this message but not any previous ones. What questions do
> you have? Please send them and I'll try to help.
>
> I haven't spent any time updating Emacs 20 for the Mac OS because I
> have been working on GNU Emacs 21, which should be released quite
> soon. Mac OS classic support is now part of the standard
> distribution. I also have a preliminary port of GNU Emacs 21 for Mac
> OS X that will be released when GNU Emacs 21 is released.
>
> But I'll be happy to answer questions on the Emacs 20 port in the mean
> time.
>
> Andrew.
|
|
From: Andrew C. <ak...@i-...> - 2001-07-03 01:04:02
|
> I sent an e-mail a few weeks ago and haven't heard from anyone. I > don't know if my e-mail account is the problem or if there are no > emacs on the Mac users. I have a couple of questions about using > emacs but hadn't been able to find anyone that uses it. > > Thanks for a reply! > > Robert Pollard Hi Robert, I receive this message but not any previous ones. What questions do you have? Please send them and I'll try to help. I haven't spent any time updating Emacs 20 for the Mac OS because I have been working on GNU Emacs 21, which should be released quite soon. Mac OS classic support is now part of the standard distribution. I also have a preliminary port of GNU Emacs 21 for Mac OS X that will be released when GNU Emacs 21 is released. But I'll be happy to answer questions on the Emacs 20 port in the mean time. Andrew. |
|
From: Gottfried B. <Got...@un...> - 2001-07-02 19:59:33
|
Hello Robert, your e-mail account doesn't seem to be the problem. I didn't check what was going on recently on the list, and I didn't spend much time with the Mac port of Emacs. Perhaps some people have lost interest in having Emacs ported to the "classic" Mac OS and are rather looking forward to running Emacs under OS X. It might be best to contact Andrew Choi directly; he usually is very helpful and tries to answer as soon as possible. The most natural explanation why there has been no reply to your message so far could be that he is extremely busy at this moment. Best regards, Gottfried Barthel ----------------------------------------------------------------------- On Mon, 2 Jul 2001, Robert Pollard wrote: > I sent an e-mail a few weeks ago and haven't heard from anyone. I don't > know if my e-mail account is the problem or if there are no emacs on the Mac > users. I have a couple of questions about using emacs but hadn't been able > to find anyone that uses it. > > Thanks for a reply! > > Robert Pollard > > > _______________________________________________ > Mac-emacs-users mailing list > Mac...@li... > http://lists.sourceforge.net/lists/listinfo/mac-emacs-users > |