From: Nakayama Kenjiro <nakayamakenjiro@gmail.com>
To: 16141@debbugs.gnu.org
Subject: bug#16141: 24.3.50; [PATCH] eww: added text-property to jump to next select field.
Date: Sat, 14 Dec 2013 21:05:40 +0900 [thread overview]
Message-ID: <CAA_ZtA9NueC3V-yTcX11qb_2+zNK0pJw8xr0RLWHnaEN92Uu+w@mail.gmail.com> (raw)
It is useful, if we can jump to next select fiedld with tab commadn.
Signed-off-by: Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
* net/eww.el (eww-tag-select): added text-property to jump to
next select field.
---
lisp/net/eww.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 1693e74..0264174 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -841,7 +841,8 @@ See URL
`https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(put-text-property start (point) 'eww-form menu)
(add-face-text-property start (point) 'eww-form-select)
(put-text-property start (point) 'keymap eww-select-map)
- (put-text-property start (1+ start) 'help-echo "select field")
+ (unless (= start (point))
+ (put-text-property start (1+ start) 'help-echo "select field"))
(shr-ensure-paragraph))))
(defun eww-select-display (select)
--
1.8.3.1
Kenjiro
next reply other threads:[~2013-12-14 12:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-14 12:05 Nakayama Kenjiro [this message]
2013-12-14 14:22 ` bug#16141: 24.3.50; [PATCH] eww: added text-property to jump to next select field Stefan Monnier
2013-12-14 16:18 ` Kenjiro NAKAYAMA
2013-12-21 20:48 ` Ted Zlatanov
2013-12-22 1:56 ` Kenjiro NAKAYAMA
2013-12-22 22:41 ` Ted Zlatanov
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=CAA_ZtA9NueC3V-yTcX11qb_2+zNK0pJw8xr0RLWHnaEN92Uu+w@mail.gmail.com \
--to=nakayamakenjiro@gmail.com \
--cc=16141@debbugs.gnu.org \
/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.