Thanks so much; it is exactly as you expected. It seems that org-ref loads in the background reftex. So, I just put the line (setq reftex-extra-bindings t) before both org-ref and reftex.
Now, one more question please: When I do C-c s (to search a whole document) what is the keybinding for (search again) that exists on the mouse menu? Thanks Arash Esbati <[email protected]> writes: > Waleed Yousef <[email protected]> writes: > >> Arash Esbati <[email protected]> writes: >> >>> I don't use and know `use-package', but the following old fashioned way >>> works for me: >>> >>> (setq reftex-extra-bindings t) >>> (require 'reftex) >>> (add-hook 'LaTeX-mode-hook #'turn-on-reftex) >>> (setq reftex-plug-into-AUCTeX t) >> >> I commented out my use-package def. and used your four lines. When, I >> use, e.g., the keybinding C-c s (to search a document) it gives me: C-c >> s is undefined! > > Then I think you have to debug this issue. Again, I presume there is a > (require 'reftex) line somewhere in your configuration (.emacs or > site-start.el and such) when Emacs starts. You can check this by > starting Emacs from a shell with > > emacs -q & > > (-q key means load neither ~/.emacs nor default.el) and eval this line > in scratch buffer, i.e. put the cursor after ")" and hit `C-x C-e': > > (featurep 'reftex) > > If you see t in the minibuffer, then RefTeX is already loaded and the > line > > (setq reftex-extra-bindings t) > > has no effect. > > Best, Arash _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
