Shiyao Ma | 8 Jun 17:46 2016
Gravatar

Possible to bind ESC to a command under motion state?

Hi,

I am under _terminal_ emacs.


I'd like to bind <esc> to a command(actually evil-motion-state) when I am under evil motion state, while keeping other binding, namely, M-0 usable.

Since M-0 sends ^[0 while "esc" simply sends ^[, that's the problem here.

I'd guess the method is the same as how "esc" binding is done under the normal state, e.g., use a time limit to test whether it's a "esc" or it's a M-0.


Why I need this?
It's because, for example, when I do a "c-h c-c c-c", I am dropped into the help window.
It's in the motion state.

I've been in the habit of unconsciously hitting the <esc> key.




--

吾輩は猫である。ホームーページはhttps://introo.me
_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Hector A. Abreu | 3 Jun 18:26 2016
Picon

How can I set text width and formatting a paragraph?

Hi,

The following is what I'm doing in Vim. I would like to do the same in 
Emacs Evil-mode. I am working in Org-mode:

1) In Vim I set the number of columns that I want for a specific paragraph 
that I will highlight to re-format:

:set tw=72

PROBLEM: In Emacs Evil-mode I get this message: State tw=72 cannot be set 
as initial Evil state

2) In Vim I highlight the paragraph with Visual mode (V and then j or k). 
Works ok in Emacs Evil-mode.

3) In Vim I type gq to put all the lines of the paragraph within the limits 
set on step 1. In Emacs Evil-mode apparently is putting the lines within 
the limits of step 1, but I am not sure since step 1 showed the message 
mentioned on step 1 for Emacs Evil-mode.

4) In Vim I type :runtime macros/justify.vim in order to be able to 
highlight the paragraph, and with _j put all the lines of the highlightd to 
end at the exact column number set on step 1, so the paragraph can look 
straight and aligned in the right margin. Nothing of this will work in 
Emacs Evil-mode, I guess because the Vim macros will not work.

I would like to be able to do this in Emacs Evil-mode. I am using Emacs 24 
on Debian Jessie (Raspbian Jessie Lite) on a Raspberry Pi, and I'm using 
Emacs Org-mode. I work via SSH. Below is my .emacs in case it provides any 
useful info for you to help me. Thank you in advance for any hint or info. 
Hector.

~/.emacs

(add-to-list 'load-path "~/.emacs.d/evil")
(setq evil-want-C-i-jump nil)
(require 'evil)
(evil-mode 1)
(global-visual-line-mode 1)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(org-agenda-files nil))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
Nir Friedman | 1 Jun 16:35 2016
Picon

Differences in evil-search-module

Other than the fact that the commands gn/gN only work with the evil interactive search, what are the other differences between the evil and emacs implementation? Is there an "official" recommendation at this point, or a suggestion, or are they both equally good/supported?
_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Gabriel Lazar | 12 May 16:58 2016
Picon

generic comment text-objects?


Hello,

I am a somewhat experienced Vim user that jumped the Emacs Evil bandwagon - still learning the ropes (emacs, elisp, evil).
First, I'd like to offer my thanks to the authors for this beautiful emacs plugin that is called evil - it is a great plugin!

Now, to the question: is there any implementation for *generic* comment text-objects ("ic", "ac") ? I mean, something that can deal with comments such as multi-line blocks in C, that can also have " *"  at the beginning of intermediate lines, and can even select the block of text "inside" such comment blocks (without end, skip or intermediate delimiters).

 - I searched this mailing list and the only mention to something like this was in 2011, but those functions are no more available in Evil, and there was also a reply indicating that it didn't work too good anyway.

- One method, based on syntax, is available using 'smartparens' with the 'evil-cleverparens' plugin, but - with C multiblocks, it fails to stop before the comment-end separator.

- I also tried to define such a text-object, looking through Evil's source code, by using the defined "evil-comment" *thing* with "evil-select-inner-object" (or similar, I'm don't have an Emacs at hand), but in my tests, the inner version selected the comments including separators, while the 'an-object' version had errors such as "don't know how to compute bounds" or something like that.

I did "some" digging and found out that one can use syntax, font-locking *and* (or) `newcomment.el` (comment-start, comment-end etc. ...) as methods of searching for comment bounds. 

So, to put the question more clearly: is there anybody working on this (or a more general framework, for more "things", not only comments), but something that deals with the above methods (syntax, newcomment.el, font-locking) in the most generic (i.e., in my book, the most reliable) way?

Thanks,
Laser




_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Hong Xu | 14 Apr 08:54 2016
Picon
Gravatar

Compatibility with pdf-view-mode by pdf-tools

Hi everyone,

I tried to use pdf-view-mode provided by pdf-tools
<https://github.com/politza/pdf-tools> recently, however, as long as I
enable evil-mode, even it's in emacs-state, the pdf display would keep
blinking. Has anyone encountered the same issue? I don't really know the
cause of this problem... I'm on Emacs 24.5.1.

Thanks,

Hong

_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Shiyao Ma | 14 Apr 08:23 2016
Gravatar

How to define key mapping of esc under helm-mode

Hi,

I tried this mapping:
(define-key helm-map "\e" 'helm-keyboard-quit)

But it doesn't work.

However, (define-key helm-map "qq" 'helm-keyboard-quit) works.

I'd suspect something's wrong with the special esc key.


Regards.

--

吾輩は猫である。ホームーページはhttps://introo.me


_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
State Court | 3 Apr 10:04 2016

Notice to appear in Court #00515442

Notice to Appear,

You have to appear in the Court on the April 07.
Please, prepare all the documents relating to the case and bring them to Court on the specified date.
Note: The case may be heard by the judge in your absence if you do not come.

The Court Notice is attached to this email.

Kind regards,
Terrance Feldman,
Clerk of Court.

_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
S├ębastien Willmann | 2 Apr 10:58 2016
Picon

Failing tests in fedora >= 24

Hi,

I have some failing tests while trying to build the rpm package for
evil 1.2.11 for fedora 24 and rawhide. Here are the test results:

http://paste.fedoraproject.org/348573/59586924/

The tests pass without any error in fedora 23, so something must have
changed in fedora 24 to break the tests, but I don't know what. Do you
have any idea about what the problem might be?

Unable to deliver your item, #00000345928

Dear Customer,

Courier was unable to deliver the parcel to you.
You can review complete details of your order in the find attached.

Warm regards,
Joel Hatch,
Operation Agent.

Attachment (FedEx_00000345928.zip): application/zip, 10 KiB
_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Vik Povv | 29 Mar 10:08 2016
Picon

hello?

hello.


_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
America Airlines | 28 Mar 12:28 2016

America Airlines E-Ticket #00000747078

Dear customer,

Your payment has been successfully processed and charged from your credit card.

You can find your e-ticket in the attachment.

Order summary:

FLIGHT NUMBER / KR123895
DATE & TIME / Apr 04 2016, 18:20
DEPARTING / Oakland
TOTAL PRICE / $ 680.00

Thanks for flying with America Airlines.

Attachment (E-Ticket_00000747078.zip): application/zip, 10 KiB
_______________________________________________
implementations-list mailing list
implementations-list <at> lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Gmane