[OS X Emacs] Issue with Emacs auctex-mode

Win Treese treese at acm.org
Fri Aug 12 15:02:33 EDT 2022

Hi, Marc.

The immediate problem from the backtrace seems to be the function save-as-mac-text,
which I’ve not seen before. Is it something in your personal configuration?

It seems to be run from after-save-hook, which is a list of functions that execute whenever a file
is saved.

From the backtrace, that’s where the problem seems to be, in functions that aren’t
part of Emacs 28 or AUCTeX.

Good luck with it!



Win Treese
treese at acm.org
Aquamacs maintainer
Author of In the Cloud: Poems for a Technological Age

> On Aug 12, 2022, at 9:28 AM, Marc Shapiro -- at work <marc.shapiro at acm.org> wrote:
> Hi, I have the following issue.  Under auctex-mode, saving the file (C-x C-s) causes an error
> 	save-as-mac-text: Wrong number of arguments: (3 . 3), 6
> The backtrace is the following:
> Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 3) 6)
>  start-process-shell-command("save-mac-text" nil "/Developer/Tools/SetFile" "-t" "TEXT" "/tmp/bidon.tex")
>  save-as-mac-text()
>  run-hooks(after-save-hook)
>  basic-save-buffer(nil)
>  real-save-buffer(1)
>  save-buffer(1)
>  funcall-interactively(save-buffer 1)
>  call-interactively(save-buffer nil nil)
>  command-execute(save-buffer)
> The version of Emacs is “GNU Emacs 28.1 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010)) of 2022-05-11” recently downloaded from https://emacsformacosx.com.  
> I didn’t have the problem in my previous installation.
> The problem does not show up under “Emacs -q”, but in that case auctex is not loaded, so that’s not too helpful.   If I manually comment out my own latex/auctex customisations in .emacs, the problem is still there (but who knows, maybe I forgot something).
> Any suggestions?
> 						Marc
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

More information about the MacOSX-Emacs mailing list