• Debugging Using Emacs 24 and IPython breakpoint 2018-09-19

    I have right now shifted from Pycharm to Emacs. Just wanted to use Emacs. Right now the major hurdle is debugging using pdb. I am really afraid of import pdb; pdb.set_trace(). Last time I tried this way of debugging using SublimeText and was ended ma

    Tags: debugging, python, emacs, ipython, pdb
  • Ruby: Unable to enable flymake 2018-08-06

    I am trying to configure emacs for Rails. Here is my .emacs file: (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (add-to-list 'package-archives '("melpa" . "http

    Tags: ruby, ruby on rails, emacs, flymake, emacs24
  • Emacs minor mode programming: cancel toggle-off procedure? 2018-05-13

    I am programming my own Emacs minor mode using the idioms and macros similar to this minimal example: (define-minor-mode foo-mode "Toggle Foo mode." :init-value nil :lighter " Foo" :group 'foo (if foo-mode (do-enable-foo) (do-disable-f

    Tags: emacs, elisp, minor mode
  • Emacs mode/method for logic symbol placement in text? 2018-03-13

    I would like to put actual logic symbols into my emacs buffers, e.g., the logic symbol "∀" or "∃" or "⇒", directly into my (fundamental) text or .org or whatever buffer. I found xmsi-math-symbols-input.el at ErgoEmacs, but I'

    Tags: emacs
  • how to map `q:i` on evil-mode 2017-08-01

    I have a problem of mapping q:i on normal-mode, what i want is to open the ex-command-window and go to the insert mode. this is my solution, but it will only open the command window without going to the insert mode: (evil-define-command evil-command-

    Tags: emacs, evil mode
  • "exec" in Emacs lisp ? 2016-10-05

    In an Emacs lisp script, I would like the script to start a new process and replace itself with the started process, in the same way it can be achieved using "exec" in Bash or Perl. To clarify the use case, I'm writing a command wrapper in Elisp

    Tags: emacs, elisp
  • Regexp group matching number 2016-06-06

    I am using regexp replacing in emacs to replace the first term and third term's double quote to single quote. Input: "term1" "term2" "term3" "term4" (the term seperator is tab) wanted output: 'term1' "term2&quo

    Tags: regex, emacs
  • Emacs - Projectile Ag. Search specific file types 2016-02-17

    So I am using projectile as project management tool for emacs, and I can do projectile-ag in my emacs to lookup for terms. I however I would like to filter my search by the file extensions, for instance sometimes I would only like to view terms that

    Tags: emacs
  • How to delete spaces when pressing backspace in emacs? 2015-03-17

    I have a mode (vala-mode) whose default is to use tabs, which is not the case with the projects I’d like to contribute to. So I set indent-tabs-mode to nil and it seems to work just fine. But now pressing backspace on the end of an indentation delete

    Tags: emacs, whitespace, spaces
  • recenter-top-bottom overridded in eshell 2015-03-10

    I am using emacs 24.3 One strange thing I noticed about emacs shell (eshell) when recentered(using C-l), goes to bottom after any command is executed. Is there any way to avoid this ?

    Tags: emacs, eshell
  • Couldn't find exit status "test -e - " on Solaris based remote server 2015-03-01

    When opening some files on a remote Solaris server through emacs-tramp I get this error: Couldn't find exit status "test -e 'file path'..." And then the file opens as "Fundamental" without figuring out the type (C++/C/verilog...etc) so no fontificati

    Tags: emacs, elisp, tramp
  • emacs highlight background changes 2015-02-09

    hi: Each time I insert some text in emacs , it will highlight the newly added text. I wonder how to change the background color of the highlight, because the highlight background color is very close to the font color , as a result, I can hardly recog

    Tags: emacs, background, highlight
  • Let block in elisp with no variable assignments 2015-01-29

    Why does a let form in elisp contain body with no varlist args. Sample code, (defun keyboard-quit () ............... (let (select-active-regions) (deactivate-mark)) ......... ) Does this snippet do the same thing, (defun keyboard-quit () ............

    Tags: emacs, elisp
  • Emacs: global key rebinding unless the key has a special meaning 2015-01-26

    I would like to globally change the usual binding of a key in Emacs. For instance, Return runs the command newline by default, and I would like it to run electric-newline-and-maybe-indent instead. I currently execute (local-set-key [return] 'electric

    Tags: emacs, key bindings
  • How do I set indent to 2 spaces in js2-mode? 2015-01-19

    I have this at the end of my .emacs: (setq-default indent-tabs-mode nil) (setq tab-stop-list (number-sequence 2 120 2)) It works fine in other modes – whenever I tab, it adds two spaces. But in js2-mode, it adds 4. --------------Solutions------------

    Tags: emacs, js2 mode
  • Installing ghc-mod from melpa: Error during download request 2015-01-11

    I am following the instructions here to install ghc-mod in Emacs. I can add the melpa repos and list packages with M-x package-list-packages, then when I go to install the ghc package, this happens: Debugger entered--Lisp error: (error "Error during

    Tags: emacs, haskell mode, ghc mod
  • Project switching in emacs 2014-12-23

    I would like to associate sets of buffers/files in emacs with different projects, and switch from one to other. This would involve closing all the buffers associated with the present project and open the files corresponding to the switched-to-project

    Tags: emacs, project
  • How do you cope with emacs halting on receiving big input? 2014-12-15

    I am developing project in clojure using emacs cider under windows. And sometimes I have a problem that after accidently forgotten println function or on printing contents of big file Emacs stops responding (cursor and all key combinations doesn't wo

    Tags: emacs, clojure
  • How to disable auto new line in verilog mode in emacs 2014-11-24

    Each time I want to post my question it always show the problem “Your post appears to contain code that is not properly formatted”, why this happens. I can only post my question as code. Sorry for the inconvenience. I am fairly new to emacs. Whenever

    Tags: emacs, verilog, mode
  • How to terminate the process in cider-repl? 2014-11-17

    When running into a deadlock because of an infinite loop, how can I exit from the cider-repl? When it happens, I have to kill the emacs, or even reboot my computer to kill the cider-repl. Is there a better way of solving this? --------------Solutions

    Tags: emacs, clojure, cider

Copyright (C) dskims.com, All Rights Reserved.

processed in 2.828 (s). 9 q(s)