Giter VIP home page Giter VIP logo

emacs-textmate's People

Contributors

ramblex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pitometsu

emacs-textmate's Issues

AUCTeX parenthesis matching "overwritten"

Hi,

after testing emacs-textmate a bit, here is/are my feedback/questions:

  1. In Aquamacs + AUCTeX, I can insert " and obtain ``|'' with the cursor positioned at the vertical bar. With emacs-textmate enabled, this does not work anymore. How can I get this back to work?
  2. How can I add "$" to be inserted as "$$"?
  3. The readme seems to be a bit outdated, it says:
    (add-to-list 'load-path "/.emacs.d/emacs-textmate")
    (require 'textmate)
    (tm/initialize)
    and should rather say:
    (add-to-list 'load-path "
    /.emacs.d/textmate")
    (require 'textmate)
    (tm/initialize)

Cheers,

Marius

Text is read-only error in minibuffer

This is my setup:

(require 'ido)
(ido-mode t)
(tm/initialize)

When using C-x C-f the current path is displayed in the minibuffer like:

/usr/share/doc/

Usually <backspace> removes the top-level directory from that path:

/usr/share/

When textmate mode is enabled, it displays an error instead:

Text is read-only

And it doesn't allow me to go to the parent directory.

Here's a patch:

diff --git a/textmate.el b/textmate.el
index 5b5cb27..8efa5ea 100644
--- a/textmate.el
+++ b/textmate.el
@@ -88,7 +88,7 @@ chars are not auto-inserted in major-mode"

 (defun tm/minor-mode-auto-on ()
   "Turn on TM minor mode unless `tm/dont-activate' is set to t."
-  (unless tm/dont-activate
+  (unless (or tm/dont-activate (minibufferp))
     (tm/minor-mode-on)))

 (defun tm/minor-mode-on ()

Using backspace to delete a block of chars

The option indent-tabs-mode allow to use spaces instead of tabs to indent the code, but backspace only delete one char when pressed. (Vim has a softtabstop option which enable backspace to delete a block of chars)

Here has a example on how to emulate vim softtabstop with emacs:

http://stackoverflow.com/questions/1450169/how-do-i-emulate-vims-softtabstop-in-emacs

What about to use this function in tm/backspace instead of delete-backward-char or allow us to choose one of them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.