[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Reftex extra keybindings

From: Waleed Yousef
Subject: Re: [AUCTeX] Reftex extra keybindings
Date: Fri, 27 Jul 2018 13:40:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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?


Arash Esbati <address@hidden> writes:

> Waleed Yousef <address@hidden> writes:
>> Arash Esbati <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]