> On 14 Jun 2021, at 21:27, Johannes Brauer <bra...@nordakademie.de> wrote: > > Hi Christiaan! > >> Am 13.06.2021 um 23:26 schrieb Christiaan Hofman <cmhof...@gmail.com >> <mailto:cmhof...@gmail.com>>: >> >> >> >>> On 11 Jun 2021, at 21:18, Johannes Brauer <bra...@nordakademie.de >>> <mailto:bra...@nordakademie.de>> wrote: >>> >>> Hi *, >>> >>> switching from Aqumaccs to Emacs I got the following problem. >>> I am running macOs 11.4, Emacs 27.2, auctex 13.0.12 and Skim 1.6.3. >>> >>> Viewing a pdf in Skim backward search to the tex file in Emacs works „out >>> of the box“. But forward search from Emacs fo Skim does not work. Skim >>> shows the pdf but not the line corresponding to the current line in the tex >>> file in Emacs. >>> >>> I could not find a solution for that problem. >>> >>> Johannes >>> >> >> >> It may be that Emacs does not have the proper automation permission. A user >> had some problems with that. >> >> You could test this wit something like: >> >> Paste: >> (shell-command "/Applications/Skim.app/Contents/SharedSupport/displayline -b >> -g 890 Example.pdf Example.tex") >> Run: >> M-x emacs-lisp-mode >> M-x eval-last-sexp > trying this yields the error message > 699:761: execution error: Not authorized to send Apple events to Skim. (-1743) > >> >> Perhaps you can try to first clear the permission for Emacs using the >> Terminal command: >> >> tccutil reset AppleEvents org.gnu.Emacs > > this makes no difference > >> >> Also perhaps installing the latest Emacs may help. > I am using Emacs 27.2 > > Johannes
The error confirms this is a permissions problem. It seems like Emacs does not manage its permissions very well. Can you find the permission for Emacs in your Security & Privacy system preferences, under Pprivacy -> Automation? I somehow suspect it may also be related to the permission for ruby. Christiaan
_______________________________________________ Skim-app-users mailing list Skim-app-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-users