all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefano Zacchiroli <zack@upsilon.cc>
To: Michael Kifer <kifer@cs.sunysb.edu>
Cc: 1072@emacsbugs.donarmstrong.com
Subject: bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t
Date: Sun, 16 Nov 2008 17:18:47 +0100	[thread overview]
Message-ID: <20081116161847.GA23852@usha.takhisis.invalid> (raw)
In-Reply-To: <20081116000252.32203b3a@kiferserv>

On Sun, Nov 16, 2008 at 12:02:52AM -0500, Michael Kifer wrote:
> I committed the changes to cvs.
> Pls see if it solves the problem.

First of all many thanks for the quick feedback!

I took the following 5 files from Emacs CVS:

  viper-cmd.el
  viper.el
  viper-init.el
  viper-keym.el
  viper-util.el

AFAICT they are the only files you touched to implement the fix, is
that correct?

Using those files part of the problem is solved, but not its
entirety. In particular, exiting from insert mode in console clients
works out of the box without needing the hack:

  (setq viper-ESC-key (kbd "ESC"))	;; workaround for #1072

before loading Viper. And that's already great!

Still, typing M-x (or other M-something) does not work appropriately,
i.e. it stills makes Viper exit insert mode. I double checked and in
a freshly run "emacs -nw" it does work as expected.

Nevertheless, the timeout is visibly set properly, I assume via the
new introduced function. Indeed typing ESC in a X11 frame immediately
exits insert mode, while doing that in console has some delay, I guess
the 200 ms which the function correctly return. Evaluating
(viper-ESC-keyseq-timeout) in the two cases confirms that it is the
case.

My best guess at an explanation for the remaining problem is that
there is some additional setting which deserves the same treatment,
but I've no idea about which one ...

Let me know how can I debug this any further.

TIA,
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime






  parent reply	other threads:[~2008-11-16 16:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081006095245.2FE176A99@usha.takhisis.invalid>
     [not found] ` <20081006124104.25eb7619@kiferserv>
2008-10-07 14:49   ` bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t Stefano Zacchiroli
2008-10-07 16:21     ` Lennart Borgman (gmail)
2008-10-07 23:06       ` Michael Kifer
2008-10-07 23:56         ` Lennart Borgman (gmail)
2008-11-14 13:48         ` Stefano Zacchiroli
2008-11-14 19:50           ` Michael Kifer
2008-11-14 20:40             ` Dan Nicolaescu
2008-11-14 20:55               ` Michael Kifer
2008-11-14 21:22                 ` Dan Nicolaescu
2008-11-14 22:39                   ` Stefan Monnier
2008-11-14 22:46                     ` Michael Kifer
2008-11-15  1:32                       ` Stefano Zacchiroli
     [not found]                         ` <20081116000252.32203b3a@kiferserv>
2008-11-16 16:18                           ` Stefano Zacchiroli [this message]
2008-10-09  9:08       ` Stefano Zacchiroli
2008-10-09 14:24         ` Lennart Borgman (gmail)
2008-10-07 16:28     ` Michael Kifer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081116161847.GA23852@usha.takhisis.invalid \
    --to=zack@upsilon.cc \
    --cc=1072@emacsbugs.donarmstrong.com \
    --cc=kifer@cs.sunysb.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.