I recently purchased a 17" Intel MacBook. All is relatively well,
except that the cperl-mode in XEmacs (my perl editor of choice) is
now broken. Other edit modes work fine (e.g., F90). When I open a
perl file I get the following message:
Fontifying region...(wrong-number-of-arguments (lambda (beg end)
(let* ((modified ...
I'm using XEmacs vs. 21.4 (patch 15) installed from source (Fink).
Any ideas on the source of the problem and how to repair it? I had
no such problem on my PowerBook.
Don
> I recently purchased a 17" Intel MacBook. All is relatively well,
> except that the cperl-mode in XEmacs (my perl editor of choice) is
[quoted text clipped - 7 lines]
> Any ideas on the source of the problem and how to repair it? I had
> no such problem on my PowerBook.
Well, the first thing I'd do -- rather than trying to debug the
problem -- is to try moving cperl-mode.el and cperl-mode.elc aside,
and then put cperl-mode.el v5.0 from the latest public Perl release,
5.8.8, in their place and see if that makes the issue go away. You
can either get the file as part of the distribution at <http://
www.cpan.org/src/stable.tar.bz2>, or on its own at <http://
public.activestate.com/cgi-bin/perlbrowse?file=emacs%2Fcperl-
mode.el&rev=>. (Discard the first line in the second case.) If
updating the file works for you, byte-compile it, then drop the Fink
maintainer of XEmacs a line about the issue.
Otherwise, it's back to debugging...
Or discard XEmacs in favour of Aquamacs emacs (http://aquamacs.org/),
as I did not so long ago. Its cperl-mode works fine for me, and it's
even a universal binary. The one wrinkle I've had to cope with
concerns server mode. Here's how I ironed it out:
$ alias emc
alias emc='~/bin/emacsclient --alternate-editor emacs -n'
$ file ~/bin/emacsclient
/Users/domo/bin/emacsclient: symbolic link to `/Applications/Aquamacs
Emacs.app/Contents/MacOS/bin/emacsclient'

Signature
Dominic Dunlop
Donald S Dunbar - 22 May 2006 23:26 GMT
Many thanks Dominic - I opted to discard XEmacs after following up on
your suggestion to try Aquamacs. So far I'm impressed.
- Don Dunbar
>> I recently purchased a 17" Intel MacBook. All is relatively well,
>> except that the cperl-mode in XEmacs (my perl editor of choice) is
[quoted text clipped - 31 lines]
> /Users/domo/bin/emacsclient: symbolic link to `/Applications/
> Aquamacs Emacs.app/Contents/MacOS/bin/emacsclient'
> I recently purchased a 17" Intel MacBook. All is relatively well,
> except that the cperl-mode in XEmacs (my perl editor of choice) is now
[quoted text clipped - 9 lines]
>
> Don
[OT] Which version of XEmacs are you using (i.e. webpage to get it?)?
:Robert
Joseph Alotta - 20 May 2006 18:37 GMT
Greetings,
I have this text file I want to read that has ^M as the record
separator (in emacs). Is there a utility on the Mac that i can use
to view this file in hex. I thought i remember something like "hex
filename", but it is not there.
Joe.
Adrian Hosey - 20 May 2006 18:40 GMT
: I have this text file I want to read that has ^M as the record separator (in
: emacs). Is there a utility on the Mac that i can use to view this file in
: hex. I thought i remember something like "hex filename", but it is not
: there.
hexdump. Check the man page, it has several useful flags. I like -C:
piltdown:~ alh$ hexdump -C testasm.s
00000000 2e 74 65 78 74 0a 2e 67 6c 6f 62 6c 20 5f 6d 61 |.text..globl _ma|
00000010 69 6e 0a 5f 6d 61 69 6e 3a 09 0a 09 70 75 73 68 |in._main:...push|
00000020 6c 09 24 30 78 30 30 0a 09 6d 6f 76 6c 09 25 65 |l.$0x00..movl.%e|
etc...
--
Make sure your code "does nothing" gracefully.
Vic Norton - 20 May 2006 20:28 GMT
> I have this text file I want to read that has ^M as the record
> separator (in emacs). Is there a utility on the Mac that i can use
> to view this file in hex. I thought i remember something like "hex
> filename", but it is not there.
Path Finder <http://www.cocoatech.com> can do this. It is an
extraordinarily useful Finder substitute.
Doug McNutt - 20 May 2006 22:26 GMT
>I have this text file I want to read that has ^M as the record separator (in emacs). Is there a utility on the Mac that i can use to view this file in hex. I thought i remember something like "hex filename", but it is not there.
hexedit is a GUI tool for Macintosh that has been around for a long time.
MPW and BBEdit have a dumpfile option that displays in hex but will not allow editing.
sedit was around for Classic OS which allowed editing and access to SCSI features. That probably is dead for ATA drives.
pack and print with perl??

Signature
--> From the U S of A, the only socialist country that refuses to admit it. <--