[Top][All Lists]

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

Re: cscope-minor-mode not enabled for C in emacs 25

From: Adam Taylor
Subject: Re: cscope-minor-mode not enabled for C in emacs 25
Date: Mon, 5 Mar 2018 12:30:22 -0500

I don't know why it's missing in 25, but you can add it to your c-mode
easily enough by adding the following to your init file:
    (add-hook 'c-mode-hook (lambda () (cscope-minor-mode 1)))

I'll assume you're adding for just c-mode files. If it's cc-mode then
just change the hook.


On Mon, Mar 5, 2018 at 8:18 AM,  <> wrote:
> Hi,
> I've asked this also on Emacs stackexchange 
> (,
>  trying my luck here...
> I'm using Emacs 25 on Ubuntu 16.04 and all is mostly well, except that 
> there's one difference between this version and 24 - on Emacs 24, any C/C++ 
> file (*.c or *.cpp) I would open, cscope-minor-mode would be enabled. This 
> isn't the case anymore on 25 (I've checked with 'C-h m'), so I have to type 
> 'M-x cscope-minor-mode' on each new file I open, which is quite annoying. I'm 
> using xcscope-el that ships with this version of Ubuntu (1.1-1, says dpkg 
> output). Any idea what could be happening here? A pointer to where to start 
> looking would be very helpful.
> Thanks in advance,
> Stefan.

reply via email to

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