ffap in shell-mode stops working - emacs

After updating cask packages, ffap in shell-mode stops working. When I check describe-key, find-file-at-point is correctly bound to C-x C-f. Any idea how I can make it work?

Related

How do I exit Emacs from the terminal?

I just installed Emacs 26.3 on Ubuntu 20.04. I opened a buffer in the terminal, and I cannot close it. C-x C-c does nothing. f10 to activate the menu does not activate the menu.
I'm using a .emacs file that maps cut/copy/paste commands to the normal C-x/C-c/C-v. I don't think that this can affect the issue, however, because I have the exact same setup (including the same .emacs file) on by Emacs 24.5/Ubuntu 16.04 laptop, and it has no problem exiting with C-x C-c. Also, I had the exact same problem before I installed the .emacs file on the new system.
How do I kill Emacs?
This question exists, but it has no useful answers.
ESC x save-buffers-kill-terminal
OFC binding C-x will affect C-x C-c. You don't need to know anything about Emacs to realize the problem. Just think twice.

emacs ess julia hangs on "using DataFrames"

I'm trying to follow a very simple example to get started with Julia using ESS. But the very first command:
using DataFrames
results in emacs' spinning slash, nothing else happens, and the command prompt is not restored. This is emacs 24.3.1 on OS X 10.8.5, ess-20140304.2344 installed via emacs' package system. In my init.el, I have
(require ess-site)
(setq inferior-julia-program-name
"/Applications/Julia/Contents/Resources/julia/bin/julia-basic")
Note: /Applications/Julia is a softlink to /Applications/Julia-0.2.1.app
I tried the "using" command with the Julia.app terminal and it worked fine.
Tried it using julia/bin/julia-basic in an iTerm2 session and it hung. Tried julia/bin/julia-readline in an iTerm2 session and it hung. Tried julia/bin/julia and it worked in iTerm2 but not in emacs, which is strange since that's just a link to julia-readline. Tried putting julia/bin on emacs' exec-path. Nothing seems to work.
Any suggestions?

Unable to evaluate form in nrepl + emacs

I have installed the nrepl, clojure-mode and starter-kit-lisp packages. I am able to start the nrepl by opening my .clj file and then M-x nrepl-jack-in.
However when I evaluate any form in my .clj file by C-x C-e, I get the following message:
inferior-lisp-proc: No Lisp subprocess; see variable `inferior-lisp-buffer'
How do I get it right?
I have had this problem a number of times. In all cases, it has been because while nrepl has started, the nrepl minor mode has not been enabled in the clj buffer. As a result, any evaluation attempts fail with this error.
There should be a "nrepl" menu item. If there isn't, this may be your problem. M-x nrepl-enable-on-existing-buffers should fix it.
I had this problem for a while, and now it appears to have gone away; you might want to try installing clojure-mode and nrepl afresh.
Are you sure M-x nrepl-jack-in worked? If it did, you should be prompted with a repl in emacs, like so:
nrepl requires leiningen 2, so make sure that you use the right version in your project and that the nrepl plugin is properly installed.
Also make sure that the major mode when editing your .clj file is clojure-mode.
You might want to post a screenshot to make it easier to spot the problem.

dired+ does not launch automatically

The built-in Dired is launched when I type C-x d. dired+ is loaded because I can run diredp-* commands, but dired+ is only launched after I have run a diredp command. What is the problem? I am using Emacs 24.1 and I installed dired+ through the package manager.
Dired+ is not loaded. All the functions you see are autoloaded. This means that as soon as you call one of those functions emacs knows it needs to read diredp.el. Once it reads that file, it overrides the default dired and makes everything work.
To fix your problem, just (require 'diredp) in your .emacs.

emacs in console mode does not work

When I launch emacs in console mode or in terminal with -nw option, emacs launches in terminal but none of keys work. I cannot type anything or even cannot exit by C-x C-c. Though I can see a blinking cursor. Same emacs works fine in GUI mode. Any clues will be helpful. I'm running debian 2.6.
I finally resolved the issue by installing emacs23-nox. Probably it installed any missing dependency. Now launching emacs in terminal mode works. Interestingly, when I had uninstalled and installed emacs again, that did not resolve the problem. Anyway, I'm all set.