Stream

Join this community to post or comment

Boy Wang

Questions  - 
 
How do you configure your item2 (on OSX) and emacs to let Ctrl+[Shift]+arrow keys work well?
I already setup the keys preset to "xterm default" and lots of key combination are prefixed with ESC key. But it still enter ASCII codes like "[1;5D" when I use Ctrl+[Shift]+arrow key.

P.S. "C-h v/f/k" doesn't work too.
1
Jiaxin Cao's profile photoBoy Wang's profile photo
14 comments
 
Cool, let me try. :D
Add a comment...
 
I would appreciate a explanation of how to config emacs for send and get mail, using "gmx.com", Thanks
1
Jerrycan Gerald (de la Cruz Chaico)'s profile photoYuri Khan's profile photo
3 comments
 
I’d add that any files containing personal passwords should have permissions 600 or 400. Many programs enforce this by refusing to work if a password file has lax permissions.
Add a comment...

hyesun zhu

Questions  - 
 
is it possible to make emacs scroll under the mouse as smoothly as macvim or sublime does? I love emacs, but the scrolling lags make it imperfect. I've tried settings like scroll-stop, scroll-margin and so on, but none of them makes me accommodated.
3
Ernst Jaja's profile photohyesun zhu's profile photo
4 comments
 
+Yuriy Pitometsu Well I wonder if you had tried mac vim ? As far as I observed it, the cursor always stayed visible while scrolling. Thus I think there must be a way to make the same thing happen on emacs. I think I should have some investigation on mac vim :)
Add a comment...

Kai Yu Zhang

Questions  - 
 
Any body knows is there any nice directory manipulation library just like dash for list and s for string?
3
Yuriy Pitometsu's profile photoJorge A. Alfaro Murillo's profile photo
5 comments
 
I see, cool, thanks.
Add a comment...

ErgoEmacs

Questions  - 
 
after 2 days stuck in emacs lisp, realized print functions strip text properties… true?
what's alternative? I want to print to buffer x, but with properties.
Basically, i'm writing a grep with pure elisp, and want to color occurrence... 
2
ErgoEmacs's profile photoNick Alcock's profile photo
14 comments
 
That macro is four lines long and one of those lines is ",@body". I think you can cope with it. :) (More generally: the first place to call upon when looking at Emacs is the source, Lisp first, then C. Most of the Lisp-implementing bits are not that opaque, really.)
Add a comment...

Devin Homan

Questions  - 
 
Was wondering if there were any projects to change how key-bindings work in Emacs.  Currently Emacs has modes set key-bindings directly.  This can often conflict with different modes and user settings.  It would be more elegant if keys were mapped to a set of relation tables.  Modes would set bindings to relational keys.  The user could modify how the relational keys mapped to keyboard keys by modifying these tables interactively.  The user could also specify how fall-back would work when conflicts arise at a global rather than just mode specific level; if C-M-e is taken, then use C-S-e for example.  User set keys could take precedence over mode set keys, or whatever the user wants, rather than the current method of last code executed sets the binding.  Currently using bind-key.el, which simply adds a nice interface to the current method; and keyboard-translate, which is not as abstract as what I propose, being a static keyboard-character to keyboard-character translation table.
2
Yuriy Pitometsu's profile photoDevin Homan's profile photo
3 comments
 
Thanks for the links, but my thinking is more along the lines of changing how functions such as define-key work, where the second argument is a lookup table key rather than a key binding.  Obviously this isn't something that can change easily.  Just an open idea about how to make Emacs more customizable.
Add a comment...

ErgoEmacs

Questions  - 
 
in magit, normally i'll see this:

Unpushed commits:
83a58ac normal 

but it no longer shows for a project that i've renamed on github.
Any idea how to fix?

here's the remote info
~/git/xah-find $ git remote -v
origin https://github.com/xahlee/xah-find.git (fetch)
origin https://github.com/xahlee/xah-find.git (push)

am i missing a branch spec or something?
1
Yuri Khan's profile photoErgoEmacs's profile photo
10 comments
 
+Left Right great to learn about the config file... going to read the link. Thanks again.
Add a comment...

ErgoEmacs

Questions  - 
 
how to force org-mode to display link content? e.g. [[display url here][some]]
1
ErgoEmacs's profile photoKaushal Modi's profile photo
7 comments
 
I use M-x visible-mode. Calling it again will toggle it off. 
Add a comment...
 
I am using xcscope.el for code browsing. I am looking for ctags vim equivalent cmds in emacs. Like C-] and C-t. I am not able to navigate like in vim using ctag C-t, falling back. Please help!
1
bin chen's profile photoshubham kaushal's profile photo
3 comments
 
I found this link http://courses.cs.washington.edu/courses/cse451/10au/tutorials/tutorial_ctags.html 
and it answered my question. Thanks for responding..
Add a comment...
 
Hi guys I am following a tutorial. Please help with this question org-publish-attachment is void
1
chinmay hundekari's profile photo
 
Found the problem Mentioned here http://orgmode.org/worg/org-faq.html#updating-org  Installed using elpa
Add a comment...

Nat Sheppard

Questions  - 
 
Is there any way to make Org mode more compatible with markdown?
I mostly just want to replace the asterisk headlines with hashmarks.

I understand there is a markdown mode which works similar to org mode, but it's not as feature rich.
1
Nat Sheppard's profile photoJay Dugger's profile photo
6 comments
 
+Nat Sheppard You could try changing the values of org-outline-regexp, org-outline-regexp, and org-heading-regexp and org-heading-keyword-regexp-format and so on.
Check org.el for a full list.

My earlier suggestion turns out to lack merit. I suggest either looking for a good markdown mode or if org offers something you must have, taking +Left Right advice and using the exporter.
Add a comment...
 
Hi Emacs,

did you every play online the game of GO with Emacs?  Could you recommend a game server and configuration?
15
2
Yuri Khan's profile photoDieter Wilhelm, H.'s profile photoRichard Longland's profile photoFrancois Laurand's profile photo
5 comments
 
+Yuri Khan I  think you are right, it's not a real time server, but that fits me fine, because I want to play intermittently with a colleague from China. But I read that it should be possible to play nearly in real time if the occasion arises...

I meant cgoban(1, which might also serve as an interface to gnugo), which is free, I read cgoban2 and -3 are non-free...
Add a comment...

Kai Yu Zhang

Questions  - 
 
How to disable a mode when enable it?

(define-minor-mode jst-mode
  "Minor mode for testing javaScript code.

\\{jst-mode-map}"
  :lighter " JST" :keymap jst-mode-map
  (unless (jst-enforce-project-of-file (buffer-file-name))
    (jst-mode -1)))

Who can help me?
1
Kai Yu Zhang's profile photoKaushal Modi's profile photo
4 comments
 
Check this out for the correct way of disabling a minor mode using elisp: http://emacs.stackexchange.com/a/10971/115
Add a comment...

Bin Hao

Questions  - 
 
sp--pair-to-insert: Wrong type argument: symbolp, (property . pairs)
I have this warning in my minibuffer, who knows how to solve it?
Thanks!
1
Bin Hao's profile photoArtem Malyshev's profile photo
8 comments
 
You're welcome
Add a comment...

Wyatt Alead

Questions  - 
 
Hello Guys, recently starting in Emacs, and I'm using zenburn theme, which is dark and compatible with org-mode, but I use many tables, and the theme uses green for the table borders and for all the text inside, how can i edit that theme and change only the color of the text inside, or the borders? Maybe is a noob question, but thanks for reading!
1
Jiaxin Cao's profile photoWyatt Alead's profile photo
2 comments
 
Yeah it worked! But i'm new to elisp and didn't knew how to def a variable (still learning and investigating) so for now i put the hexadecimal value instead of blue haha, thanks a lot!
Add a comment...

Tamara Temple

Questions  - 
 
I'm not sure this is possible, but here we go: I want to edit my jekyll blog posts in org-mode. I've been through the links on orgmode.com about doing this, but there's still something missing about it for me.

Jekyll posts and pages begin with YAML frontmatter. This is placed in the .org file with #+BEGIN_HTML / #+END_HTML guards. That limits me to sub-editing that section (with C-c ') in html-mode. I can't switch to yaml-mode and back to html-mode to edit it as YAML, though, as it somehow loses context and can't switch out of the sub-edit mode.

Is there some way to do what I wish, i.e. edit the frontmatter in YAML mode?
2
Tamara Temple's profile photoLeft Right's profile photo
9 comments
 
Sure, glad I could help!
Add a comment...
 
Please help to execute kbd macro by means of `with-current-buffer`. Or to find a better tool for described purposes. #emacs  
1
Add a comment...

Guanghui Qu

Questions  - 
 
Hi emacsers! 
I was wondering is there any company backends which could read ctags symbols and use these symbols as completion candidates for every major mode. 
The company-dabbrev-code only use the keyword in current buffer.
Thanks.
1
bin chen's profile photoGuanghui Qu's profile photo
6 comments
 
+bin chen thanks
Add a comment...

Chang Liao

Questions  - 
 
Could anyone recommend an approach to install Emacs on a Android tablet without root and installing Linux?
1
Chang Liao's profile photoChris Smith's profile photo
5 comments
 
I just choked on my Galaxy 5.
Add a comment...
 
Hi,
I use the latest emacs-snapshot build from https://launchpad.net/~ubuntu-elisp
and I found a bug.
Now I'm trying to figure out how to report it to the correct people.
Can someone give me a pointer?

EDIT:
Seems to have been a hiccup in some loaded library... please move along =)
1
Chris Holtz's profile photoAndreas Tjärnberg's profile photo
3 comments
 
Thanks!
Add a comment...