[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wl-draft-send-confirm-type default
- To: wl-en <wl-en@lists.airs.net>
- Subject: Re: wl-draft-send-confirm-type default
- From: Erik Hetzner <egh@e6h.org>
- Date: Mon, 18 Apr 2011 10:11:55 -0700
- Delivered-to: wl-en@lists.airs.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:message-id:from:to:subject :in-reply-to:references:user-agent:reply-to:mime-version :content-type; bh=GrFqQlrJcSeSpNR+POvjJYM/m3AwrLWLlEZHK0vWjs0=; b=F7wfO7MWgpZyPmcKvFHhTvAbCQ6lubGm99HbgV9OVTIX3ICKIrTTz/eprsBPHxXMI6 mNSXkZ9If3JvCPzT/YJoXlol3EFPeAwvA3U4lOTDdd2ea2KaqopQw1JVN0GtkNaFnvYL 634Q/6awJfezZmizhCS2LHzbtqQyGLibTKsI0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:from:to:subject:in-reply-to:references :user-agent:reply-to:mime-version:content-type; b=Ka8V6L3HxG5Irz4dwhcrYgAO9+Jz+KJSJFBJ1t3K0XJs9l4M6IHHmWcrhv8ihPhfBB V/7lQHLiVmv2bPTdJkm18zEJEH7VOF+BCodzENhpduBIMtk3/MP9bcJCUpWw/tCJAR8+ tAkj2sQWFLwwIJIUQpZ3LK71/QR2MPYyhF590=
- In-reply-to: <20110418115316.DF3351E0043@msa101.auone-net.jp>
- List-help: <mailto:wl-en-ctl@lists.airs.net?body=help>
- List-id: wl-en.lists.airs.net
- List-owner: <mailto:wl-en-admin@lists.airs.net>
- List-post: <mailto:wl-en@lists.airs.net>
- List-software: fml [fml stable 20011102.2100]
- List-unsubscribe: <mailto:wl-en-ctl@lists.airs.net?body=unsubscribe>
- References: <877hasunf3.wl%egh@e6h.org> <20110418115316.DF3351E0043@msa101.auone-net.jp>
- Reply-to: Erik Hetzner <egh@e6h.org>
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
At Mon, 18 Apr 2011 20:53:15 +0900,
Kazuhiro Ito wrote:
>
> […]
>
> This issue was discussed in Japanese. The reason of above change is
> that early wl-y-or-n-p-with-scroll function (corresponding function to
> scroll-by-j/k or scroll-by-SPC/BS) can't run on XEmacs. But the
> problem has been fixed (on the next day of that change). I also think
> there is no reason to keep that change.
Hi,
Thank you for the information!
Unfortunately the fix for Xemacs seems to break scrolling by space in
GNU Emacs (at least my version). I have committed a fix for the
problem with scroll-by-SPC/BS, but I do not know if this will work on
Xemacs.
https://github.com/egh/wanderlust/commit/c1dcc17f05afd54d869e596f31c5c9bb28325dbf
Apparently the only different between setting
wl-draft-send-confirm-type to 'scroll-by-j/k or 'scroll-by-SPC/BS is
that space is interpreted as “do not send message” in scroll-by-j/k
mode and “scroll down” in scroll-by-SPC/BS mode. Otherwise they
behave the same (j and k work in both, for instance).
I wonder: is this a useful distinction? Could we merge these modes?
That is, redefine wl-y-or-n-p-with-scroll as:
(defun wl-y-or-n-p-with-scroll (prompt)
(let ((prompt (concat prompt "<y/n/j,SPC(down)/k,BS(up)> ")))
(catch 'done
(while t
(discard-input)
(case (let ((cursor-in-echo-area t))
(cdr (wl-read-event-char prompt)))
((?y ?Y)
(throw 'done t))
((? ) ;; space
(ignore-errors (scroll-up)))
((?v ?j ?J next)
(ignore-errors (scroll-up)))
((?^ ?k ?K prior backspace)
(ignore-errors (scroll-down)))
(t
(throw 'done nil)))))))
best, Erik
Sent from my free software system <http://fsf.org/>.