David Reitter | 5 Feb 17:48 2008
Picon

Aquamacs Emacs 1.3rc2 (Release Candidate 2)

Aquamacs Emacs 1.3rc2 (Release Candidate 2) is now available

I've uploaded a new release candidate for version 1.3 - please have a  
look and test if you can.

Notable changes from rc1 include bugfixes with respect to frame  
positioning on secondary displays, and, for LaTeX mode: automatic Skim  
detection (LaTeX) and PDF sync, closing frames and (my favorite) much  
improved jumping to TeX errors (C-c `) when one-buffer-one-frame mode  
is on.

You can download it here:

http://applecore.inf.ed.ac.uk/~dr/Aquamacs/beta/Aquamacs-Emacs-1.3rc2.dmg

(Please do not publish this link elsewhere. Link to http://aquamacs.org/download.shtml 
  instead. This is a beta version and not a full public release.)

Changes--- 1.3rc2

    * Bug fix: On OS X 10.5 ``Leopard'', Aquamacs consumed a lot of  
CPU power in certain rare circumstances.
    * The minibuffer history is now retained between Aquamacs sessions.
    * LaTeX editing: better support for jumping from and to the PDF if  
Skim.app is installed and used. No configuration is necessary. You can  
jump from Aquamacs to Skim with Shift-Command-Click, or with the  
AUCTeX command ``Jump to PDF'' (enter C-c C-c J RET) and back.
    * Press Command-E to use the region (selected text) for the next  
search operation (Command-F). Suggested by Mathieu Godart.
    * When using Frame Appearance Styles (especially with One Buffer  
(Continue reading)

Jochen Küpper | 5 Feb 20:58 2008
Picon

Re: Aquamacs Emacs 1.3rc2 (Release Candidate 2)

Hi David,

thanks for the great work!

> Aquamacs Emacs 1.3rc2 (Release Candidate 2) is now available

A general problem I have with aquamacs: how do I catch an application  
quit? I have the following keybindings jumping into a custom function,  
and for C-xC-c it works nicely, but Quitting through Mac OS X means  
(i.e. selecting quit in the application menu) the function is never  
entered. Any suggestions on how to achieve that?

(global-set-key "\C-x\C-c" 'jk/save-buffers-kill-emacs)
(if jk/aquamacs-p
     (global-set-key [mac-application-quit] 'jk/save-buffers-kill- 
emacs))

>   * Setting of `mac-function-modifier' now works in conjunction with  
> arrow keys on Leopard. Reported by Claude Flener. Patch by Yamamoto  
> Mitsuharu.

Thanks for fixing that, it now seems to work for me as well.

>   * File names with non-ASCII characters such as German Umlauts or  
> accented characters will be displayed and dealt with correctly.  
> Reported by Ted Roden.

What does that mean? It does not work for me...
If I touch "küpper.txt" in Terminal.app and open the file in Aquamacs  
1.3rc2, it is called "ku"pper.txt", the same holds in dired-mode. If I  
(Continue reading)

Joshua Smith | 5 Feb 16:58 2008

Saving without Resource Fork

I just switched to Aquamacs from one of the other compilations, and I  
really like it.  However, there is one behavior I dislike:

When I open a file with Aquamacs, and then save it, its resource fork  
is changed so that the Finder now thinks it is an Aquamacs file.   
Since Emacs is a general purpose editor, I think this is the wrong  
thing to do in almost every case.

Is there any way to change this behavior, and have Aquamacs write the  
file but not touch the resource fork?

-Joshua

_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Picon
Picon

Re: Saving without Resource Fork


On 5 Feb 2008, at 15:58, Joshua Smith wrote:

> I just switched to Aquamacs from one of the other compilations, and  
> I really like it.  However, there is one behavior I dislike:
>
> When I open a file with Aquamacs, and then save it, its resource  
> fork is changed so that the Finder now thinks it is an Aquamacs  
> file.  Since Emacs is a general purpose editor, I think this is the  
> wrong thing to do in almost every case.
>
> Is there any way to change this behavior, and have Aquamacs write  
> the file but not touch the resource fork?
>
> -Joshua

I'm not sure this is relevant in your case, but perhaps you could try  
to set the variable

         aquamacs-set-creator-codes-after-writing-files

to something other than 't'?

Cheers, José_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

(Continue reading)

Joshua Smith | 6 Feb 15:23 2008

Re: Saving without Resource Fork

Bingo!

You rock!

Thanks.

-Joshua

On Feb 5, 2008, at 6:45 PM, José Miguel Figueroa-O'Farrill wrote:

>
> On 5 Feb 2008, at 15:58, Joshua Smith wrote:
>
>> I just switched to Aquamacs from one of the other compilations,  
>> and I really like it.  However, there is one behavior I dislike:
>>
>> When I open a file with Aquamacs, and then save it, its resource  
>> fork is changed so that the Finder now thinks it is an Aquamacs  
>> file.  Since Emacs is a general purpose editor, I think this is  
>> the wrong thing to do in almost every case.
>>
>> Is there any way to change this behavior, and have Aquamacs write  
>> the file but not touch the resource fork?
>>
>> -Joshua
>
> I'm not sure this is relevant in your case, but perhaps you could  
> try to set the variable
>
>         aquamacs-set-creator-codes-after-writing-files
(Continue reading)

David Reitter | 6 Feb 15:34 2008
Picon

Re: Saving without Resource Fork

On 6 Feb 2008, at 14:23, Joshua Smith wrote:
>>>
>>> When I open a file with Aquamacs, and then save it, its resource  
>>> fork is changed so that the Finder now thinks it is an Aquamacs  
>>> file.  Since Emacs is a general purpose editor, I think this is  
>>> the wrong thing to do in almost every case.
>>

Joshua, since you've investigated this: is what Aquamacs does  
different in any way from other editors such as Textedit, Textwrangler  
or BBEdit?

- D

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Joshua Smith | 6 Feb 15:54 2008

Re: Saving without Resource Fork

I don't know about textwrangler or bbedit -- I'm an Emacs user and  
cannot tolerate any other text editor.

I just tried with TextEdit, and it did not write the creator codes.

Regardless, I think Emacs is different from those editors, because it  
is universal.  You can edit binaries in hex, you can edit ZIP  
archives, etc.  The best answer would be that if I open a file which  
has a creator code, that when I save, it writes that same creator  
code out.  But short of that, not writing a creator code at all is  
definitely preferable.

-Joshua

On Feb 6, 2008, at 9:34 AM, David Reitter wrote:

> On 6 Feb 2008, at 14:23, Joshua Smith wrote:
>>>>
>>>> When I open a file with Aquamacs, and then save it, its resource  
>>>> fork is changed so that the Finder now thinks it is an Aquamacs  
>>>> file.  Since Emacs is a general purpose editor, I think this is  
>>>> the wrong thing to do in almost every case.
>>>
>
> Joshua, since you've investigated this: is what Aquamacs does  
> different in any way from other editors such as Textedit,  
> Textwrangler or BBEdit?
>
> - D
>
(Continue reading)

Jochen Küpper | 6 Feb 16:24 2008
Picon

aquamacs-save-buffers-kill-emacs

On 06.02.2008, at 13:00, David Reitter wrote:

> as we've got our own (better) `aquamacs-save-buffers-kill-emacs'.

C-h f aquamacs-save-buffers-kill-emacs givs the following documentation:

aquamacs-save-buffers-kill-emacs is an interactive Lisp function in  
`site-start.el'.
It is bound to A-q.
(aquamacs-save-buffers-kill-emacs &optional arg)

Offer to save each buffer, then kill this Emacs process.
With prefix arg, silently save all file-visiting buffers, then kill.
Like `save-buffers-kill-emacs', except that it doesn't ask again
if modified buffers exist.

"site-start.el" links to
   /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/site- 
start.el
but that file does not contain "aquamacs-save...", because the  
function is actually defined in aquamacs.el.

This should be fixed such that the documentation refers to the correct  
file and the hyperlink directly jumps to the function...

Greetings,
Jochen
--

-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
(Continue reading)

David Reitter | 6 Feb 16:26 2008
Picon

Re: Saving without Resource Fork

On 6 Feb 2008, at 14:54, Joshua Smith wrote:

> Regardless, I think Emacs is different from those editors, because  
> it is universal.  You can edit binaries in hex, you can edit ZIP  
> archives, etc.  The best answer would be that if I open a file which  
> has a creator code, that when I save, it writes that same creator  
> code out.  But short of that, not writing a creator code at all is  
> definitely preferable.

Sounds reasonable. If a file is created in Aquamacs, I would still  
want to write the creator code. Sensible?

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

Attachment (smime.p7s): application/pkcs7-signature, 2963 bytes
_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Joshua Smith | 6 Feb 16:32 2008

Re: Saving without Resource Fork

Sensible as long as I can override it with a setq.  In my workflow,  
if I want to open a file in Emacs, I always C-x C-f it open.  If I'm  
clicking it in the Finder, there is 0 chance that I want to open it  
in Emacs.  But I'm sure that's just me.

-Joshua

On Feb 6, 2008, at 10:26 AM, David Reitter wrote:

> On 6 Feb 2008, at 14:54, Joshua Smith wrote:
>
>> Regardless, I think Emacs is different from those editors, because  
>> it is universal.  You can edit binaries in hex, you can edit ZIP  
>> archives, etc.  The best answer would be that if I open a file  
>> which has a creator code, that when I save, it writes that same  
>> creator code out.  But short of that, not writing a creator code  
>> at all is definitely preferable.
>
>
> Sounds reasonable. If a file is created in Aquamacs, I would still  
> want to write the creator code. Sensible?
>
>
>
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor  
> and support the Aquamacs Project!
>
>
(Continue reading)


Gmane