I'm afraid it didn't solve the problem..... :(
Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "\306!\307
\212\214\310 \311\216\312\313!\210\314 \210\315 \210\316\317!\210\320\321\322%\"&'\323 \210*\316\324!\210\325 \210\316\326!\210\327 \210\316\330!\210\331 \210\316\332!\210\333 \210\312\334!\210,(,\335 \210\336 !\203\337 !\204l\340 !\210\202\341 )\342\337 !!\210\343 \210\342)!\210))\316\344!\207" [org-agenda-buffer-name a-buffer org-agenda-tag-filter org-agenda-redo-command org-agenda-curbuf-name wconfig get-buffer "*SUMO*" current-window-configuration ((set-window-configuration wconfig)) run-hooks org-mobile-pre-push-hook org-mobile-check-setup org-mobile-prepare-file-lists message "Creating agendas..." t mapcar car org-mobile-create-sumo-agenda "Creating agendas...done" org-save-all-org-buffers "Copying files..." org-mobile-copy-agenda-files "Writing index file..." org-mobile-create-index-file "Writing checksums..." org-mobile-write-checksums org-mobile-post-push-hook redraw-display buffer-live-p get-buffer-window kill-buffer selected-window select-window org-agenda-redo "Files for mobile viewer staged" org-mobile-files-alist org-agenda-files inhibit-redisplay org-agenda-this-buffer-name cw] 4 ("/Users/drorata/.emacs.d/elpa/org-plus-contrib-20141201/org-mobile.elc" . 10276) nil] 2)
push("nopagebreak" nil)
(if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))
(let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros)))
(while --dolist-tail-- (setq elt (car --dolist-tail--)) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))) (setq --dolist-tail-- (cdr --dolist-tail--)))
(let ((--dolist-tail-- keywords) elt) (while --dolist-tail-- (setq elt (car --dolist-tail--)) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))) (setq --dolist-tail-- (cdr --dolist-tail--))))
(catch (quote --cl-block-nil--) (let ((--dolist-tail-- keywords) elt) (while --dolist-tail-- (setq elt (car --dolist-tail--)) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
(cl--block-wrapper (catch (quote --cl-block-nil--) (let ((--dolist-tail-- keywords) elt) (while --dolist-tail-- (setq elt (car --dolist-tail--)) (let ((keyword (if ... ... elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))) (setq --dolist-tail-- (cdr --dolist-tail--))))))
(cl-block nil (let ((--dolist-tail-- keywords) elt) (while --dolist-tail-- (setq elt (car --dolist-tail--)) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
(dolist (elt keywords) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros))))
(let ((keywords (append (unless (member "warning" font-latex-deactivated-keyword-classes) font-latex-match-warning-keywords-local) font-latex-match-warning-keywords)) multi-char-macros single-char-macros) (dolist (elt keywords) (let ((keyword (if (listp elt) (car elt) elt))) (if (string-match "^[A-Za-z]" keyword) (push keyword multi-char-macros) (push keyword single-char-macros)))) (when (or multi-char-macros single-char-macros) (setq font-latex-match-warning (concat "\\\\\
![" (when multi-char-macros (concat "\\(?:" (regexp-opt multi-char-macros) "\ " (when multi-char-macros (concat "\\(?:" (regexp-opt multi-char-macros) "\]()
\\>")) (when single-char-macros (concat (when multi-char-macros "\\|") "\
![?:" (regexp-opt single-char-macros) "\ ?:" (regexp-opt single-char-macros) "\]()
")) "\\)"))))
font-latex-match-warning-make()
funcall(font-latex-match-warning-make)
(lambda (symbol value) (set-default symbol value) (funcall (quote font-latex-match-warning-make)))(font-latex-match-warning-keywords nil)
custom-initialize-reset(font-latex-match-warning-keywords nil)
custom-declare-variable(font-latex-match-warning-keywords nil "List of keywords for warning face.\nEach element has to be the name of a macro as a string, omitting\nthe leading backslash.\n\nSetting this variable directly does not take effect; restart\nEmacs.\n\nGenerated by `font-latex-make-built-in-keywords'." :type (repeat (string :tag "Keyword")) :type (repeat (string :tag "Keyword")) :set (lambda (symbol value) (set-default symbol value) (funcall (quote font-latex-match-warning-make))) :group font-latex-keywords)
(defcustom font-latex-match-warning-keywords nil "List of keywords for warning face.\nEach element has to be the name of a macro as a string, omitting\nthe leading backslash.\n\nSetting this variable directly does not take effect; restart\nEmacs.\n\nGenerated by `font-latex-make-built-in-keywords'." :type (quote (repeat (string :tag "Keyword"))) :type (quote (repeat (string :tag "Keyword"))) :set (lambda (symbol value) (set-default symbol value) (funcall (quote font-latex-match-warning-make))) :group (quote font-latex-keywords))
eval((defcustom font-latex-match-warning-keywords nil "List of keywords for warning face.\nEach element has to be the name of a macro as a string, omitting\nthe leading backslash.\n\nSetting this variable directly does not take effect; restart\nEmacs.\n\nGenerated by `font-latex-make-built-in-keywords'." :type (quote (repeat (string :tag "Keyword"))) :type (quote (repeat (string :tag "Keyword"))) :set (lambda (symbol value) (set-default symbol value) (funcall (quote font-latex-match-warning-make))) :group (quote font-latex-keywords)))
font-latex-make-built-in-keywords()
byte-code("\300 \210\301\302\303\304\305\306\307\310\311\312\313\314\315BBBBD\316\317& \207" [font-latex-make-built-in-keywords custom-declare-variable font-latex-user-keyword-classes nil "List of user-defined keyword classes for font locking.\n\nEvery keyword class consists of four parts, a name, a list of\nkeywords, a face and a specifier for the type of macro to be\nhighlighted.\n\nWhen adding new entries, you have to use unique values for the\nclass names, i.e. they must not clash with names of the built-in\nkeyword classes or other names given by you. Additionally the\nnames must not contain spaces.\n\nThe list of keywords defines which commands and declarations\nshould be covered by the keyword class. A keyword can either be\na simple command name omitting the leading backslash or a list\nconsisting of the command name and a string specifying the syntax\nof the command. The latter is useful if you want to match LaTeX\nmacros with arguments (see below). You can specify the occurence\nand order of optional (\"[\") and mandatory (\"{\") arguments for\neach keyword. For example for \"documentclass\" you'd use \"[{\"\nbecause the macro has one optional followed by one mandatory\nargument. Optionally starred macros can be indicated with \"*\".\nIn case an argument is an unbraced macro, use \"\\\". You can\nalso specify two alternative arguments by prefixing them with\n\"|\". As an example, the specifier for \\newcommand is\n\"*|{\\=\\[[{\".\n\nThe face argument can either be an existing face or a font\nspecification. (The latter option is not available in XEmacs.)\n\nThere are three alternatives for the class type:\n\nA value of `command' indicates commands with arguments\n(\"\\foo[bar]{baz}\"). The mandatory arguments in curly braces\nwill get the face you specified.\n\nA value of `declaration' indicates declarations inside of TeX\ngroups (\"{\\foo bar}\"). The content inside the braces,\nexcluding the command, will get the face you specified. In case\nthe braces are missing, the face will be applied to the command\nitself.\n\nA value of `noarg' indicates commands without arguments\n(\"\\foo\"). The command itself will get the face you\nspecified.\n\nSetting this variable directly does not take effect;\nuse \\[customize] or restart Emacs." :group font-latex-keywords :type repeat list (string :tag "Name") (choice (repeat :tag "Keywords" (string :tag "Keyword")) (repeat :tag "Keywords with specs" (group (string :tag "Keyword") (string :tag "Format specifier")))) (choice (custom-face-edit :tag "Face attributes") (face :tag "Face name")) ((choice :tag "Type" (const :tag "Command with arguments" command) (const :tag "Declaration inside TeX group" declaration) (const :tag "Command without arguments" noarg))) :set #[(symbol value) "address@hidden @\"\203\311\312!\210\nA\211\204*\306\211\313
\"address@hidden
@C\"\nA\211\204.*\314\f!\315\f!\316!\317!\"!\"W\203u!\f8!8\230\204l\311\320!\f8\"\210!T\211!\202R,\321#\"\210\322
![address@hidden address@hidden]()
address@hidden
![address@hidden@\306
&\211
'@<\203\277�\330\331'\"\202\301�''\332\333\215\210\324 address@hidden@\306
&\211
'@<\203\277�\330\331'\"\202\301�''\332\333\215\210\324]()
address@hidden'!\317V\205\352\334\335(\336'\337\")&?\205\351\340QL\210*\nA\211\204\210\306+\207" [value item --dolist-tail-- names-uniq names font-latex-built-in-keyword-classes nil string-match " " error "No spaces allowed in name" append TeX-sort-strings TeX-delete-duplicate-strings safe-length 0 "Name %S already exists" set-default "font-latex-match-" boundp intern eval defvar (nil) mapcar car single-char (byte-code "\304\211\203 address@hidden
\"\204\307\310\311\304\"\210\nA\211\204*\304\207" [keywords keyword --dolist-tail-- single-char-macro-flag nil string-match "^[A-Za-z]" t throw single-char] 4) "\\\\" 1000 regexp-opt t "\\>" i --dotimes-limit-- symbol prefix elt single-char-macro-flag keywords max-specpdl-size] 6]] 13)
font-latex-setup()
VirTeX-common-initialization()
LaTeX-common-initialization()
TeX-latex-mode()
apply(TeX-latex-mode nil)
latex-mode()
TeX-tex-mode()
apply(TeX-tex-mode nil)
tex-mode()
set-auto-mode-0(tex-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer foo.tex> "~//foo.tex" nil nil "~/foo.tex" (1068312 16777218))
find-file-noselect("/Users/username/foo.tex" nil nil)
ido-file-internal(raise-frame)
ido-find-file()
call-interactively(ido-find-file nil nil)
command-execute(ido-find-file)