Stream

Join this community to post or comment

耿嵩

Questions  - 
 
Is there any advice using emacs to program in scala?
2
耿嵩's profile photo
耿嵩
 
ENSIME with SBT seems the optimal answer.
Add a comment...
 
I'm tearing my hair out in dispair!!!

I have a lot of errors in my flychecker in my python code. I use jedi. After I upgraded my debian I get a lot of these errors and I don't know where to start searching for a solution.

Can you give me any pointers?

Thanks in advance.
1
1
Philip Schwartz's profile photoIlya Kalashnikov's profile photoFusheng Yu's profile photo
9 comments
 

M-x flycheck-list-errors
Add a comment...

耿嵩

Questions  - 
 
What kind of programming lans does everyone usually develop using emacs?
1
Nguyen Vinh Linh's profile photo耿嵩's profile photo
6 comments
耿嵩
 
Thanks.
Add a comment...

Faxiang Zheng

Questions  - 
 
Does anyone use idlwave-mode in Emacs for IDL (Interactive Data Language) ? It basically support completion (idlwave-complete) which is bound to "C-M-i" and "M-tab". But I want a more modern style of auto completion with tooltip like auto-completion or company-mode. So how to integrate idlwave-mode with auto-completion or company?
1
Jonathan H's profile photoFaxiang Zheng's profile photo
2 comments
 
+Jonathan H I've been using company-mode for nearly 1 year, and company-capf is in my company-backends as I just checked. May I ask you how to setup company-capf to complete IDL functions and procedures? 
Add a comment...

Lucien Boillod

Questions  - 
 
Hi, 
I want to remap C-c to something else (up movement). Is it possible since it's used for the major mode ?
2
Luis Miguel Castañeda Navas's profile photo
Add a comment...

J. Gerald

Questions  - 
 
Hello, i'm trying to use emacs:org-mode as bookmarker, i use chrome, so a tried org-capture and org-protocol, but chrome dont let me set custom uri scheme, so i descarted that option... chrome works well with emacs using "edit-emacs" a plugin who stablish connection and through a custom port. but only send to emacs the content of a textarea, and no bookmarking...
Question: Is there a way to save my bookmarks in org mode using chrome?...Thank you
5
Left Right's profile photoJim Hansson's profile photo
2 comments
 
If you allready have org-protocol setup:ed use a little javascript to call it from chrome, I have a bookmark containing

"javascript:location.href='org-protocol://capture://'+ encodeURIComponent(location.href)+'/'+ encodeURIComponent(document.title)+'/'+ encodeURIComponent(window.getSelection())"

and it works for me, heres one more for links

"javascript:location.href='org-protocol://store-link://' + encodeURIComonent(location.href) + '/' + encodeURIComponent(document.title)"

Add a comment...

Songpeng Zu

Questions  - 
 
Hi, I face a noisy problem.
I run Emacs 24.5 on my Mac OS X EI Captian.
When I run M-x calendar
I see the calendar like below. The date can not align well.
Anybody can help?
 ·  Translate
1
Songpeng Zu's profile photoYann Gao's profile photo
3 comments
 
Thank you i have the same problem. 
Add a comment...
 
Which Emacs *email* client best and most modern for this moment?

My personal requirements:
- html inbox mail rendering
- imap
- async (don't block UI)
- easy to setup (gmail)

Which one: gnus, mu4e, wanderlust, mew, notmuch, etc.?..
4
Jorge Araya Navarro's profile photoJeff Weiss's profile photo
15 comments
 
Guess I'll have to try mbsync again, last I looked, it didn't support retrieving passwords from gnome keyring, but looks like it does now.
Add a comment...

Yanying Wang

Questions  - 
 
Hi, guys. My emacs get slower and slower to open file and buffer with helm-projectile as ran longer and longer time.

How can I solve this problem?

This is my emacs config file link:
https://github.com/yanyingwang/.emacs.d


And this is a video link, where you can see emacs opening file very slow at first, but very fast when I opened a new emacs app.

https://www.youtube.com/watch?v=cnsgm5cQwF4&feature=youtu.be

Contribute to .emacs.d development by creating an account on GitHub.
1
Xah Lee's profile photoYanying Wang's profile photo
5 comments
 
+Xah Lee Call a command or use shortcut for commands such as 'C-c p p', 'C-c p b', 'C-c p f' and so on.
Add a comment...
 
Hey,
does someone knows, how does the c file has to look that gtags will generate tags. So far it only sees enum and one struct in my file no functions :/
1
Krzysztof Czapla's profile photo
13 comments
 
Shame on me folks... I have a syntax error in ifdef block. That is why gtags couldnt parse the file. Problem solved. Thank u.
Add a comment...

John Peck

Questions  - 
 
I have a huge makefile with lots of targets. Is there a good way for me to browse this file with Emacs? I tried Speedbar, but it didn't seem to let me jump between targets or variables. Thanks for your help.
1
Left Right's profile photoJohn Peck's profile photo
5 comments
 
+Noah Friedman: imenu was what I wanted. Thanks a lot.
Add a comment...

J. Gerald

Questions  - 
 
Hello community.
Has somebody ever work with "org babel" and tangle the source block code to an specific directory, is possible to tangle all the src blocks to a default folder. I mean "tangle" not just execute the source code. Thank you.
2
Ciarán Mulloy's profile photoJ. Gerald's profile photo
3 comments
 
Thank you everyone, finally i had to modify "ob-tangle.el" to allow a new header arg ":base-dir" and every tangle block goes directly to that folder.
Add a comment...

Byung Choi

Questions  - 
 
Is there a way to post on Google+ using Emacs?

6
Ryo Cook's profile photoChris Patti's profile photo
10 comments
 
There is no way to post to G+ from emacs because G+ has never opened their posting APIs. Google has never actually been serious about social networkingf :)

Add a comment...

Tedd Martin

Questions  - 
 
Hi people, I have a little issue, hope anyone can give me some advise.

In a new installation of emacs I was trying to install auto-complete.el, which I used in the past but now you can use melpa to install it, something that I didn't in the past or was not available.

So I followed the instruction and put the code in .emacs, then I installed auto-complete.el using this code that was in the manual:

(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)

When I checked the directory for this extension it doesn't exists, it seems like all the files are in the elpa dic...but still works, how is working then?¡¡

When I rebooted emacs, a warning message regarding my load-path appears, this was what I was using:

(add-to-list 'load-path "~/.emacs.d")

And this is the warning:

Warning (initialization): Your `load-path' seems to contain
your `.emacs.d' directory: ~/.emacs.d/
This is likely to cause problems...
Consider using a subdirectory instead, e.g.: /home/user/.emacs.d/lisp

So I changed to (add-to-list 'load-path "~/.emacs.d/elpa").

Will this affect me in the future? It has something to do with melpa?

Thanks.
1
Sachin's profile photoTedd Martin's profile photo
3 comments
 
+Left Right and +Sachin p thank you very much, seems like it works fine :) In the future if I install an extension manually I will put it in a lisp dic.

Add a comment...
 
And which tools you use for #Scala in #Emacs?
Getting Started. Fantastic, and welcome! ENSIME is a JVM process that indexes your dependencies and understands your source code using the scala interactive compiler - the same compiler that compiles your code. It is important to realise that ENSIME is not an IDE, it is just one tool in a ...
1
Lauri Niskanen's profile photo
 
Any ideas how to get ensime work well in sbt multi-project environment? It's very slow to load... 
Add a comment...

Yushu Gao

Questions  - 
 
I am using spacemacs and I have a hhkb pro2. spacemacs take M-m as its leader key. So I have to press two keys every time. So I want to set the muhenkan(the diamond key) as the leader key. Is there any way to figure out what key emacs registers the diamond key as.
PS, I have tried C-h k. but failed.
1
Yang Zhao (赵扬)'s profile photoYushu Gao's profile photo
3 comments
 
+Yang Zhao the key value of diamond is <muhenkan>, emacs in terminal mode does not support this key. Now I use S-SPC as the leader key.
Add a comment...

Nakazo Moto

Questions  - 
 
I was watching the handmade_hero stremes and noticed that on his Emacs setup whenever adds a comment in the form // TODO the TODO parts gets highlighted in red. I'm guessing that he is doing that by some font-locking but I'm not sure how to do that. Any ideas on how to that for any mode?
3
Scott Ross's profile photoJohn Li (jetpack)'s profile photo
6 comments
 
+Nakazo Moto did it work out for you?
Add a comment...
 
Hi guys,
How do I name inferior process buffers? For example if I execute the command M-x run-python it will create the name of the buffer automatically (typically Python). Can I control this somehow? I know that org-mode src buffers can name :sessions anything. But how do I do it manually?

Any advice?
3
Jim Hansson's profile photoAndreas Tjärnberg's profile photo
5 comments
 
Thanks +Jim Hansson. I will look in to using  a hook.
I ran across some issues with org-mode and sessions and I need a workaround until I have time to investigate.
Add a comment...

Jordi Ortiz

Questions  - 
 
I'm using notmuch to read my email with mbsync for mail synchronisation.

My only concern is that I don't know how I can tell emacs to use xdg-open in order to be able to open email attachments directly from emacs within notmuch-show. I usually have to save them in a /tmp/ and open them by hand which is time consuming. I'd love to have both alternatives.

Any help or hint on how to do it will be welcome. 
2
Jordi Ortiz's profile photo
2 comments
 
I managed to make it work. It is usually easier than expected. Just add a definition in .mailcaps:
application/vnd.openxmlformats-officedocument.wordprocessingml.document; /usr/bin/libreoffice %s; nametemplate=%s.docx; copiousoutput
Then launch (mailcap-parse-mailcaps)
You are done, when hitting in notmuch-view ". v" you'll get a preview in libreoffice as expected (enter now does same)

Add a comment...
 
I have a strange bug and no idea how to fix it.

I use nlinum mode to show line numbers in prog-mode'like buffers.

All right until I do C-x 5 2 to make new frame.
In this case it throw error: nlinum--face-width: Invalid face: linum

But, if I open describe-face 'linum' window, and put point focus here, C-x 5 2 make new frame for me without any problems.

If I change window, or close that buffer, it throw that error on C-x 5 2 again.

require or load-library for linum or nlinum not help.

So, What Did Do I Wrong here? Why nlinum can't see linum face until I open any frame with that face?

Thanks for any suggestions.
1
Yuriy Pitometsu's profile photoKaushal Modi's profile photo
4 comments
 
+Yuriy Pitometsu I have tried all the hooks out there.. nothing works. This 1 second delay solution has been stable and always working ever since I started using it. Personally I don't mind the 1 second delay as I don't notice it.

It's only nlinum/linum that is finicky with the face errors when starting emacs in daemon mode. So it is only nlinum that needs to be delayed by a second. Everything else that relies on nlinum to be already on can be dynamically delayed using (with-eval after load "nlinum" ..), like loading a saved desktop.
Add a comment...