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: Patrick G. <gun...@ir...> - 2002-05-26 17:42:28
|
Hi, I have installed Enrico's mac-emacs and I wonder, if/how this emacs can be called from the command line. I use the absolute path name /Applications/Emacs.app/Contents/MacOS/Emacs somefile &. The startup looks ok (emacs appears with the file) but switching to the emacs is almost impossible. When I press cmd-tab, the mousecursor turns into a wheel. I type a (or some) letter(s) and nothing happens. Then I switch back to the terminal app and press return/enter and then suddenly the pressed letters appear in emacs. The mac-emacs does not accept any arguments from the command-line, does it? Patrick -- I'll fade into the darkness |
From: Marc-Antoine P. <map...@ac...> - 2002-05-26 16:05:50
|
The title says it. I rebuilt the new emacs from CVS today (Thanks Andrew!) and I noticed that, when I try to use emacs via a terminal (option -nw) and use ctrl-G, emacs crashes. The content of the old patch that was posted a while ago still solves this problem. Applying the patch led to a few errors during patch, which all correspond to the patche's content having been otherwise integrated in the source. Ignore those. Another detail: The patch adds the line #define HAVE_ALLOCA in src/s/darwin.h This causes a warning during compilation, as HAVE_ALLOCA is now defined in src/config.h. I removed it from darwin.h The resulting patch file looks something like this: Tell me if I've made a mistake somewhere, I've been doing this somewhat blindly... Marc-Antoine Parent Index: src/callproc.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/callproc.c,v retrieving revision 1.187 diff -c -r1.187 callproc.c *** src/callproc.c 3 May 2002 20:40:58 -0000 1.187 --- src/callproc.c 26 May 2002 16:01:42 -0000 *************** *** 612,618 **** --- 612,622 ---- pid = child_setup (filefd, fd1, fd_error, (char **) new_argv, 0, current_dir); #else /* not WINDOWSNT */ + #ifndef PUMA_VFORK_ISSUES_CLEARED_UP + pid = fork (); + #else pid = vfork (); + #endif if (pid == 0) { Index: src/getloadavg.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/getloadavg.c,v retrieving revision 1.45 diff -c -r1.45 getloadavg.c *** src/getloadavg.c 20 Jun 2000 13:17:40 -0000 1.45 --- src/getloadavg.c 26 May 2002 16:01:43 -0000 *************** *** 401,407 **** # define host_self mach_host_self # endif ! # ifdef NeXT # ifdef HAVE_MACH_MACH_H # include <mach/mach.h> # else --- 401,407 ---- # define host_self mach_host_self # endif ! # if defined(NeXT) || defined(MAC_OSX) # ifdef HAVE_MACH_MACH_H # include <mach/mach.h> # else *************** *** 449,455 **** /* Avoid static vars inside a function since in HPUX they dump as pure. */ ! # ifdef NeXT static processor_set_t default_set; static int getloadavg_initialized; # endif /* NeXT */ --- 449,455 ---- /* Avoid static vars inside a function since in HPUX they dump as pure. */ ! # if defined(NeXT) || defined(MAC_OSX) static processor_set_t default_set; static int getloadavg_initialized; # endif /* NeXT */ *************** *** 626,638 **** # endif /* __NetBSD__ */ ! # if !defined (LDAV_DONE) && defined (NeXT) # define LDAV_DONE /* The NeXT code was adapted from iscreen 3.2. */ host_t host; struct processor_set_basic_info info; unsigned info_count; /* We only know how to get the 1-minute average for this system, so even if the caller asks for more than 1, we only return 1. */ --- 626,640 ---- # endif /* __NetBSD__ */ ! # if !defined (LDAV_DONE) && (defined (NeXT) || defined(MAC_OSX)) # define LDAV_DONE /* The NeXT code was adapted from iscreen 3.2. */ + #ifndef MAC_OSX host_t host; struct processor_set_basic_info info; unsigned info_count; + #endif /* We only know how to get the 1-minute average for this system, so even if the caller asks for more than 1, we only return 1. */ *************** *** 645,650 **** --- 647,653 ---- if (getloadavg_initialized) { + #ifndef MAC_OSX info_count = PROCESSOR_SET_BASIC_INFO_COUNT; if (processor_set_info (default_set, PROCESSOR_SET_BASIC_INFO, &host, (processor_set_info_t) &info, &info_count) *************** *** 655,660 **** --- 658,678 ---- if (nelem > 0) loadavg[elem++] = (double) info.load_average / LOAD_SCALE; } + #else + struct processor_set_load_info info; + host_t host; + unsigned info_count = PROCESSOR_SET_LOAD_INFO_COUNT; + + if (processor_set_info (default_set, PROCESSOR_SET_LOAD_INFO, &host, + (processor_set_info_t) &info, &info_count) + != KERN_SUCCESS) + getloadavg_initialized = 0; + else + { + if (nelem > 0) + loadavg[elem++] = (double) info.load_average / LOAD_SCALE; + } + #endif } if (!getloadavg_initialized) Index: src/md5.h =================================================================== RCS file: /cvsroot/emacs/emacs/src/md5.h,v retrieving revision 1.3 diff -c -r1.3 md5.h *** src/md5.h 6 Dec 2000 21:16:37 -0000 1.3 --- src/md5.h 26 May 2002 16:01:43 -0000 *************** *** 71,77 **** #endif ! #ifndef __GNUC__ #define __attribute__(X) #define __alignof__(X) 1 #endif --- 71,77 ---- #endif ! #if !defined(__GNUC__) || defined(MAC_OSX) #define __attribute__(X) #define __alignof__(X) 1 #endif Index: src/process.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/process.c,v retrieving revision 1.373 diff -c -r1.373 process.c *** src/process.c 20 May 2002 08:06:32 -0000 1.373 --- src/process.c 26 May 2002 16:01:47 -0000 *************** *** 1715,1721 **** --- 1715,1725 ---- current_dir = ENCODE_FILE (current_dir); #ifndef WINDOWSNT + #ifndef PUMA_VFORK_ISSUES_CLEARED_UP + pid = fork (); + #else pid = vfork (); + #endif if (pid == 0) #endif /* not WINDOWSNT */ { Index: src/regex.h =================================================================== RCS file: /cvsroot/emacs/emacs/src/regex.h,v retrieving revision 1.29 diff -c -r1.29 regex.h *** src/regex.h 17 Oct 2000 06:55:04 -0000 1.29 --- src/regex.h 26 May 2002 16:01:48 -0000 *************** *** 533,538 **** --- 533,540 ---- # else # define __restrict # endif + # elif defined(MAC_OSX) + # define __restrict # endif #endif /* For now unconditionally define __restrict_arr to expand to nothing. Index: src/sysdep.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/sysdep.c,v retrieving revision 1.235 diff -c -r1.235 sysdep.c *** src/sysdep.c 26 Apr 2002 23:39:05 -0000 1.235 --- src/sysdep.c 26 May 2002 16:01:50 -0000 *************** *** 809,815 **** --- 809,820 ---- synch_process_alive = 1; #endif /* __DJGPP__ > 1 */ #else + #ifndef PUMA_VFORK_ISSUES_CLEARED_UP + pid = fork (); + #else pid = vfork (); + #endif + if (pid == -1) error ("Can't spawn subshell"); #endif Index: src/term.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/term.c,v retrieving revision 1.140 diff -c -r1.140 term.c *** src/term.c 26 May 2002 07:23:47 -0000 1.140 --- src/term.c 26 May 2002 16:01:52 -0000 *************** *** 2171,2176 **** --- 2171,2180 ---- Initialization ***********************************************************************/ + #if defined(__APPLE_CC__) + __private_extern__ char _emacs_PC; + #define PC _emacs_PC + #endif void term_init (terminal_type) char *terminal_type; Index: src/termcap.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/termcap.c,v retrieving revision 1.23 diff -c -r1.23 termcap.c *** src/termcap.c 26 Apr 2002 23:39:05 -0000 1.23 --- src/termcap.c 26 May 2002 16:01:52 -0000 *************** *** 301,309 **** /* Already defined in the System framework in Mac OS X and causes prebinding to fail. */ ! #ifndef MAC_OSX ! char PC; ! #endif /* MAC_OSX */ #ifndef emacs /* Actual baud rate if positive; --- 301,312 ---- /* Already defined in the System framework in Mac OS X and causes prebinding to fail. */ ! #ifdef __APPLE_CC__ ! __private_extern__ char _emacs_PC = '\0'; ! #define PC _emacs_PC ! #else ! char PC; ! #endif #ifndef emacs /* Actual baud rate if positive; Index: src/tparam.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/tparam.c,v retrieving revision 1.9 diff -c -r1.9 tparam.c *** src/tparam.c 26 Apr 2002 23:39:05 -0000 1.9 --- src/tparam.c 26 May 2002 16:01:53 -0000 *************** *** 109,117 **** /* These are already defined in the System framework in Mac OS X and cause prebinding to fail. */ ! #ifndef MAC_OSX ! char *BC; ! char *UP; static char tgoto_buf[50]; --- 109,123 ---- /* These are already defined in the System framework in Mac OS X and cause prebinding to fail. */ ! #ifdef __APPLE_CC__ ! __private_extern__ char *_emacs_BC = NULL; ! __private_extern__ char *_emacs_UP = NULL; ! #define BC _emacs_BC ! #define UP _emacs_UP ! #else ! char *BC; ! char *UP; ! #endif static char tgoto_buf[50]; *************** *** 127,133 **** args[1] = hpos; return tparam1 (cm, tgoto_buf, 50, UP, BC, args); } ! #endif static char * tparam1 (string, outstring, len, up, left, argp) --- 133,139 ---- args[1] = hpos; return tparam1 (cm, tgoto_buf, 50, UP, BC, args); } ! static char * tparam1 (string, outstring, len, up, left, argp) Index: src/m/powermac.h =================================================================== RCS file: /cvsroot/emacs/emacs/src/m/powermac.h,v retrieving revision 1.1 diff -c -r1.1 powermac.h *** src/m/powermac.h 26 Apr 2002 23:39:05 -0000 1.1 --- src/m/powermac.h 26 May 2002 16:01:53 -0000 *************** *** 58,68 **** /* Data type of load average, as read out of kmem. */ ! #define LOAD_AVE_TYPE long /* Convert that into an integer that is 100 for a load average of 1.0 */ ! #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) /* Define CANNOT_DUMP on machines where unexec does not work. Then the function dump-emacs will not be defined --- 58,68 ---- /* Data type of load average, as read out of kmem. */ ! /* #define LOAD_AVE_TYPE long */ /* Convert that into an integer that is 100 for a load average of 1.0 */ ! /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ /* Define CANNOT_DUMP on machines where unexec does not work. Then the function dump-emacs will not be defined *************** *** 119,121 **** --- 119,123 ---- If you've just fixed a problem in an existing configuration file, you should also check `etc/MACHINES' to make sure its descriptions of known problems in that configuration should be updated. */ + + #define DATA_SEG_BITS 0 Index: src/s/darwin.h =================================================================== RCS file: /cvsroot/emacs/emacs/src/s/darwin.h,v retrieving revision 1.1 diff -c -r1.1 darwin.h *** src/s/darwin.h 26 Apr 2002 23:39:06 -0000 1.1 --- src/s/darwin.h 26 May 2002 16:01:54 -0000 *************** *** 39,45 **** /* MAC_OS is used to conditionally compile code common to both MAC_OS8 and MAC_OSX. */ ! #ifdef MAC_OSX #define MAC_OS #endif --- 39,45 ---- /* MAC_OS is used to conditionally compile code common to both MAC_OS8 and MAC_OSX. */ ! #if defined(MAC_OSX) && !defined(HAVE_X11) #define MAC_OS #endif *************** *** 48,53 **** --- 48,58 ---- #define SYSTEM_TYPE "darwin" + #undef KERNEL_FILE + #define KERNEL_FILE "/mach_kernel" + + #define HAVE_MACH_MACH_H + /* NOMULTIPLEJOBS should be defined if your system's shell does not have "job control" (the ability to stop a program, run some other program, then continue the first one). */ *************** *** 202,208 **** #define __restrict /* Fix compilation problem for md5.c. */ ! #define __attribute__(x) /* Used in dispnew.c. Copied from freebsd.h. */ #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) --- 207,213 ---- #define __restrict /* Fix compilation problem for md5.c. */ ! /* #define __attribute__(x) */ /* Used in dispnew.c. Copied from freebsd.h. */ #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) *************** *** 210,215 **** --- 215,230 ---- /* Darwin provides POSIX-style getpgrp. */ #define GETPGRP_NO_ARG + #define TERMCAP_FILE "/usr/share/misc/termcap" + + #define A_OUT_H_FILE + + /* Data type of load average, as read out of kmem. */ + #define LOAD_AVE_TYPE long + + /* Convert that into an integer that is 100 for a load average of 1.0 */ + #define LOAD_AVE_CVT(x) (int) (((double)(x)) * 100.0 / FSCALE) + /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ #define TAB3 OXTABS *************** *** 218,228 **** --- 233,249 ---- framework. */ #define SYSTEM_MALLOC + #define WAIT_USE_INT + + #define SOCKLEN_TYPE int + /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ #define HAVE_SOCKETS /* Extra initialization calls in main for Mac OS X system type. */ + #ifndef HAVE_X11 #define SYMS_SYSTEM syms_of_mac() + #endif /* Definitions for how to dump. Copied from nextstep.h. */ |
From: Enrico F. <fra...@cs...> - 2002-05-24 09:48:38
|
On May 23, Uwe Hoffmann writes: > - I cannot figure out how to tell the gui version (Emacs.app) that > my default shell is tcsh. My environment variables SHELL and > ESHELL are defined and point to tcsh. the non-gui version started > from a shell (emacs -nw) gets it and uses tcsh when I do M-x shell > or M-x compile etc. I use the following: (setq shell-file-name "tcsh") (setq sh-shell-file "/bin/tcsh") (setq tex-shell-file-name "tcsh") (setq TeX-shell "/bin/tcsh") > - I have weird character drawing problems in a shell inside an emacs > buffer in the gui version. I type a command like ls and hit enter > and the two characters of ls turn into two blocks. I also get that > sometime when the emacs status bar refreshes from a command and I > get it when I do a page with buttons for options browsing or help > page with buttons for example. The characters are little rectangle > blocks the size of a character but not the characters > themselves. Is it something to do with ncurses ? Did I make a > mistake when I built ? You probably are using a font without italics/bold. cheers -- e. Enrico Franconi - fra...@cs... University of Manchester - http://www.cs.man.ac.uk/~franconi/ Department of Computer Science - Phone: +44 (161) 275 6170 Manchester M13 9PL, UK - Fax: +44 (161) 275 6204 |
From: <uwe...@ne...> - 2002-05-23 19:16:07
|
With the help of you guys I got a build of GNU Emacs 21.2.50.1 (powerpc-apple-darwin6.0) running on Jaguar (the preview mac os x I got from wwdc). Everything is cool except for two small things: - I cannot figure out how to tell the gui version (Emacs.app) that my default shell is tcsh. My environment variables SHELL and ESHELL are defined and point to tcsh. the non-gui version started from a shell (emacs -nw) gets it and uses tcsh when I do M-x shell or M-x compile etc. - I have weird character drawing problems in a shell inside an emacs buffer in the gui version. I type a command like ls and hit enter and the two characters of ls turn into two blocks. I also get that sometime when the emacs status bar refreshes from a command and I get it when I do a page with buttons for options browsing or help page with buttons for example. The characters are little rectangle blocks the size of a character but not the characters themselves. Is it something to do with ncurses ? Did I make a mistake when I built ? Thanks for any help, uwe |
From: Enrico F. <fra...@cs...> - 2002-05-23 15:43:40
|
On May 23, Lukas Muehlethaler writes: > Dear emacs users > > with the help of Andrew I got emacs up and running. It took less than > an hour for the addiction to develop and I would like to know if it > is possible to run AUC TeX on emacs 21.1 for Macintosh. Check it out <http://www.cs.man.ac.uk/~franconi/mac-emacs/>. cheers -- e. Enrico Franconi - fra...@cs... University of Manchester - http://www.cs.man.ac.uk/~franconi/ Department of Computer Science - Phone: +44 (161) 275 6170 Manchester M13 9PL, UK - Fax: +44 (161) 275 6204 |
From: Lukas M. <luk...@ms...> - 2002-05-23 15:39:59
|
Dear emacs users with the help of Andrew I got emacs up and running. It took less than an hour for the addiction to develop and I would like to know if it is possible to run AUC TeX on emacs 21.1 for Macintosh. Lukas |
From: Andrew C. <ak...@sh...> - 2002-05-20 20:07:38
|
> [...] Does anyone have any suggestions for monospaced fonts with > bold and italic that are smaller (around the 10 - 12 point range)? > And it'd be ideal if they also distinguished between 1 and l; 0 and > O. > > Please save me from giant Emacs windows! Thanks much. Hi Chris, There seems to be much discussion focussed on fonts lately. I'll work on making Emacs use italic and bold version of fonts other than -etl-fixed-*16* then. It shouldn't be that difficult. Andrew. |
From: Chris B. <bri...@po...> - 2002-05-20 19:40:57
|
Hello, What fonts are you all using with Emacs on OS X? I'm using the 16 point etl-fixed font which I downloaded from <ftp://mac-emacs.sourceforge.net/pub/mac-emacs/GNU-fonts.smi.bin> right now because it's the only one I can seem to find that has italic and bold. However, it's huge. Does anyone have any suggestions for monospaced fonts with bold and italic that are smaller (around the 10 - 12 point range)? And it'd be ideal if they also distinguished between 1 and l; 0 and O. Please save me from giant Emacs windows! Thanks much. |
From: Andrew C. <ak...@sh...> - 2002-05-20 16:16:43
|
> I downloaded the self mounting disc images for Emacs 21.1 (and LISP > and Mac fonts) and installed them on Mac OS 8.1. On startup I > receive the followg message > > No fonts match `-*-monaco-*-*-*-*-12-*-*-*-*-*-mac-roman' > > and emacs stalls. > > I am sure that I miss something obvious. Hi Lukas, This is strange. But there are a few things you can check: + Can you tell which font it uses to print that message? You should at least be able to use that font. Does Emacs open a small window and print out many messages that says `loading <file>...'? Does it then proceed to open a larger window and stop there? + Do you have a Monaco font on your system? + Find a font you do have (say courier) and put the lines (add-to-list 'default-frame-alist '(font . "-*-courier-*-*-*-*-12-*-*-*-*-*-mac-roman")) in your .emacs file and put it in the same directory as the Emacs CW application. If you don't have a .emacs file, create one. + You can try doing the same with init-frame-alist too. Andrew. |
From: Lukas M. <luk...@ms...> - 2002-05-20 14:09:52
|
I downloaded the self mounting disc images for Emacs 21.1 (and LISP and Mac fonts) and installed them on Mac OS 8.1. On startup I receive the followg message No fonts match `-*-monaco-*-*-*-*-12-*-*-*-*-*-mac-roman' and emacs stalls. I am sure that I miss something obvious. Lukas |
From: Andrew C. <ak...@sh...> - 2002-05-18 14:36:35
|
> Hello, > > I'm sorry, I've gotten a little confused as to how to get the latest > Emacs for OS X. I've looked at the home page but it appears that it > may be out of date? > > Is the procedure described at > <http://www.cse.cuhk.edu.hk/~akochoi/emacs/macosx/readme.txt> the best way? > Or is it better to get the latest head branch from CVS the best? > > Thanks much. The patch at the CUHK site is for Emacs 21.1. I'll stop using that site soon. The code in the CVS repository is of course the latest version of Emacs and is currently at version 21.2.50. It include all the patch for 21.1 and many new changes and bug fixes. The CVS is constantly being updated so one must be able to deal with that variable if one uses it. Subscribing to and reading the emacs-devel mailing list which can be accessed through the web page http://savannah.gnu.org/projects/emacs/ will help a lot. |
From: David W. <da...@wh...> - 2002-05-17 21:51:06
|
On 5/17/02 10:16 AM, "Andrew Choi" <ak...@sh...> claimed: > (setq auto-mode-alist > (append > '(("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . cperl-mode)) > auto-mode-alist)) Thanks, that's what I was looking for. It was still loading perl-mode instead of cperl-mode for files without an extension but a #! line, but I figured out how to get it to load cperl-mode by using an alias. Here's what I have now, and it works great: (defalias 'perl-mode 'cperl-mode) (setq auto-mode-alist (append '(("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\|pod\\)\\'" . cperl-mode)) auto-mode-alist)) Thanks for the help! I'm a happy camper, now. Regards, David -- David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: Chris B. <br...@po...> - 2002-05-17 21:10:31
|
Hello, I'm sorry, I've gotten a little confused as to how to get the latest Emacs for OS X. I've looked at the home page but it appears that it may be out of date? Is the procedure described at <http://www.cse.cuhk.edu.hk/~akochoi/emacs/macosx/readme.txt> the best way? Or is it better to get the latest head branch from CVS the best? Thanks much. |
From: Jon H. <jo...@ha...> - 2002-05-17 20:25:47
|
Hi, I'm looking for a killer .emacs file and I'm sure someone here must have it :-) Mostly I want to do development for java and C++. But I would also use gnus and maybe rmail. Also, any cool hacks that I just gotta have! Thanks, J- |
From: Andrew C. <ak...@sh...> - 2002-05-17 17:22:53
|
> [...] I've been setting cperl-mode like this: > > (autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl programs" > t) > > This doesn't work now, though. When I load a Perl file, Emacs says, > 'File mode specification error: (error "Autoloading failed to define > function perl-mode")'. Do you know how I might get this to work > again? Hi David, Do you want to load cperl-mode instead of perl-mode automatically when you visit a Perl file? If so the following is probably a better way to specify that. (setq auto-mode-alist (append '(("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . cperl-mode)) auto-mode-alist)) There's some more information on this in both the Emacs manual and Emacs Lisp manual. Andrew. |
From: David W. <da...@wh...> - 2002-05-17 16:10:21
|
On 5/17/02 6:20 AM, "Andrew Choi" <ak...@sh...> claimed: > Using font specs like > > -apple-andale mono-medium-r-normal--10-0-75-75-m-0-mac-roman > -apple-andale mono-medium-r-normal--11-0-75-75-m-0-mac-roman > -apple-andale mono-medium-r-normal--12-0-75-75-m-0-mac-roman > > with set-frame-font should work, because Truetype fonts are treated as > `scalable' fonts by Emacs. Excellent -- that was it! Thanks. Just one more thing and I'll leave you alone. I've been setting cperl-mode like this: (autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl programs" t) This doesn't work now, though. When I load a Perl file, Emacs says, 'File mode specification error: (error "Autoloading failed to define function perl-mode")'. Do you know how I might get this to work again? Thanks for all your help, Andrew. Regards, David -- David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: Andrew C. <ak...@sh...> - 2002-05-17 13:31:51
|
> [...] The only problem now is that the font is too big. I have the > height set to 116 in the custom-set-faces command, and that creates > a very nice size for andale-mono in 21. Can you tell me how I might > make the face added with the set-frame-face command smaller? Using font specs like -apple-andale mono-medium-r-normal--10-0-75-75-m-0-mac-roman -apple-andale mono-medium-r-normal--11-0-75-75-m-0-mac-roman -apple-andale mono-medium-r-normal--12-0-75-75-m-0-mac-roman with set-frame-font should work, because Truetype fonts are treated as `scalable' fonts by Emacs. |
From: David W. <da...@wh...> - 2002-05-16 15:42:56
|
On 5/16/02 6:42 AM, "Andrew Choi" <ak...@sh...> claimed: >> Damn. This worked in 21.1. > > I don't see how it could have. What can I say? I use it every day. > It works fine for me. Perhaps you can use set-frame-font > interactively, i.e., M-x set-frame-font and use tab completion to see > what fonts are available. Strange, now it works fine. Maybe I was wrong. Sorry about that. The only problem now is that the font is too big. I have the height set to 116 in the custom-set-faces command, and that creates a very nice size for andale-mono in 21. Can you tell me how I might make the face added with the set-frame-face command smaller? > It also helps if you can show me the output of > > (x-list-fonts "*andale*") Here it is: ("-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") Thanks for the help with this, Andrew. Regards, David -- David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: Andrew C. <ak...@sh...> - 2002-05-16 13:43:03
|
> > Specifying a font family for the default face doesn't seem to work if > > the font does not have italic and bold variants. > > Damn. This worked in 21.1. I don't see how it could have. > > You can try using (set-frame-font FONT-SPEC). > > I added this to ~/.emacs: > > (set-frame-font > "-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") > > And it made no difference. It works fine for me. Perhaps you can use set-frame-font interactively, i.e., M-x set-frame-font and use tab completion to see what fonts are available. It also helps if you can show me the output of (x-list-fonts "*andale*") |
From: David W. <da...@wh...> - 2002-05-14 16:01:52
|
On 5/14/02 7:14 AM, "Andrew Choi" <ak...@sh...> claimed: > Specifying a font family for the default face doesn't seem to work if > the font does not have italic and bold variants. Damn. This worked in 21.1. > You can try using (set-frame-font FONT-SPEC). I added this to ~/.emacs: (set-frame-font "-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") And it made no difference. > That's because list-fontsets is an interactive function and > x-list-fonts is not. Put the Lisp expression `(x-list-fonts > "*andale*")' in a Lisp Interaction mode buffer such as *scratch* and > hit C-j, or in any buffer and hit C-x C-e. Gotcha - thanks. David -- David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: Andrew C. <ak...@sh...> - 2002-05-14 14:15:43
|
> > There should be a space between `andale' and `mono' instead of a > > hyphen. > > Yes, that gets it working in 21.1 again, although it's a lot bigger > than it was. It doesn't work in 21.2.50, though. Specifying a font family for the default face doesn't seem to work if the font does not have italic and bold variants. You can try using (set-frame-font FONT-SPEC). > > You can see this by calling x-list-fonts, e.g., > > > > (x-list-fonts "*andale*") > > ("-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") > > There appears to be no such command -- at least, not that I can access: > > M-x x-list-fonts [no match] > > OTOH, list-fontsets works just fine: > > Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default > Fontset: -etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac That's because list-fontsets is an interactive function and x-list-fonts is not. Put the Lisp expression `(x-list-fonts "*andale*")' in a Lisp Interaction mode buffer such as *scratch* and hit C-j, or in any buffer and hit C-x C-e. |
From: Andrew C. <ak...@sh...> - 2002-05-13 22:05:26
|
> All seemed to go fine doing that, but now my font settings don=B9t = work. I > have this in my ~/.emacs file: >=20 > '(default ((t (:stipple nil :background "DarkSlateGrey" :foregroun= d "Wheat" > :inverse-video nil :box nil :strike-through nil :overline nil :unde= rline nil > :slant normal :weight normal :height 135 :width normal :family > "apple-andale-mono")))) >=20 > It all seems to work except the font setting -- no apple-andale-mon= o. > Switching back to 21.1, where it worked before, it doesn't work the= re, > either! There should be a space between `andale' and `mono' instead of a hyphen. You can see this by calling x-list-fonts, e.g., (x-list-fonts "*andale*") ("-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") =20 > I sure would like to get this face back, because I intensely dislik= e > the default font (no offence!). Do you mean -apple-monaco-* or -etl-fixed-*? The latter is the only font currently offering italics, bold, and bold italics. These look nice in Gnus and Rmail modes, among others. |
From: David W. <da...@wh...> - 2002-05-13 21:35:19
|
On 5/13/02 2:04 PM, "Andrew Choi" <ak...@sh...> claimed: > There should be a space between `andale' and `mono' instead of a > hyphen. Yes, that gets it working in 21.1 again, although it's a lot bigger than it was. It doesn't work in 21.2.50, though. > You can see this by calling x-list-fonts, e.g., > > (x-list-fonts "*andale*") > ("-apple-andale mono-medium-r-normal--0-0-75-75-m-0-mac-roman") There appears to be no such command -- at least, not that I can access: M-x x-list-fonts [no match] OTOH, list-fontsets works just fine: Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default Fontset: -etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac > Do you mean -apple-monaco-* or -etl-fixed-*? The latter is the only > font currently offering italics, bold, and bold italics. These look > nice in Gnus and Rmail modes, among others. -etl-fixed-*. I just use Emacs for hacking, and never noticed a need for bold or italics (I don't use Gnus or Rmail). At it just looks ugly to me. Maybe I'd like it better if it wasn't so damned big. Monaco looks fine in the Terminal.... Thanks, David -- David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: David W. <da...@wh...> - 2002-05-13 19:14:48
|
On 4/26/02 7:05 PM, "Andrew Choi" <ak...@sh...> claimed: > After checking out the source directory, the standard procedure of > `./configure', `make', and `make install' should be sufficient to > build Emacs on Mac OS X. I had to do this: ./configure make bootstrap make make install All seemed to go fine doing that, but now my font settings don=B9t work. I have this in my ~/.emacs file: '(default ((t (:stipple nil :background "DarkSlateGrey" :foreground "Wheat= " :inverse-video nil :box nil :strike-through nil :overline nil :underline ni= l :slant normal :weight normal :height 135 :width normal :family "apple-andale-mono")))) It all seems to work except the font setting -- no apple-andale-mono. Switching back to 21.1, where it worked before, it doesn't work there, either! I sure would like to get this face back, because I intensely dislike the default font (no offence!). Regards, David --=20 David Wheeler AIM: dwTheory da...@wh... ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: Th...@ja... |
From: Andrew C. <ak...@sh...> - 2002-05-10 06:12:05
|
> However, if I set process-connection-type to t, I get the same > behavior. [...] It could be because you're using tcsh. I could not get ssh to work in it either. Meanwhile ssh works fine in bash and eshell (when process-connection-type is set to t). You can always revert the changes to enable ptys but ange-ftp may not work when you do that. |