From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#17767: 24.4.50; [PATCH] Bind tab and backtab in completion lists Date: Fri, 13 Jun 2014 01:19:14 +0200 Message-ID: <8761k5k971.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1402615219 20137 80.91.229.3 (12 Jun 2014 23:20:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2014 23:20:19 +0000 (UTC) To: 17767@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 01:20:13 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvEI0-00017r-69 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 01:20:12 +0200 Original-Received: from localhost ([::1]:56042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEHz-0001Fm-PT for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 19:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEHt-0001Bq-QE for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvEHq-0005X8-N9 for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:20:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEHq-0005WX-K0 for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvEHq-0005pt-5B for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jun 2014 23:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140261517722387 (code B ref -1); Thu, 12 Jun 2014 23:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2014 23:19:37 +0000 Original-Received: from localhost ([127.0.0.1]:45968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvEHQ-0005p0-I7 for submit@debbugs.gnu.org; Thu, 12 Jun 2014 19:19:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54483) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvEHM-0005od-J0 for submit@debbugs.gnu.org; Thu, 12 Jun 2014 19:19:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvEHF-0005Kg-Ot for submit@debbugs.gnu.org; Thu, 12 Jun 2014 19:19:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEHF-0005Kc-E0 for submit@debbugs.gnu.org; Thu, 12 Jun 2014 19:19:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEHD-00012e-LZ for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:19:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvEH8-0005JB-Ig for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:19:23 -0400 Original-Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:33199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvEH8-0005Ir-7K for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:19:18 -0400 Original-Received: by mail-we0-f180.google.com with SMTP id x48so1989245wes.11 for ; Thu, 12 Jun 2014 16:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=RM/oKSHe93JlNbItime+Peb5D/BB6cD3afGwLBIfB1w=; b=l9g0xwkb6EGnfF129yGtH/T1ds7QpgFxNsmUlCVQ1xzeBzEcve6O9/4VGL42O2g5MM TPHLPIPOLUmALkgP2D8OfDEticao+sTt1ewYp2aq34F2e7At4y6Qs+uMvHGI0WGOcs/3 g2E0XLpfsDPsgDfkr1gHYdeeU+E3rWiWjvHRr3QNnsz95DQ3ns3+OBDdz9UgEzVVnr7e zmSZaPEJHW4KhO+JhoBfJckhsKUlsJXTwcDtzqOUxtsjoo2JgfKExN7C6O2r5Wm79uNa 04LLXsPG8h3y9DCQ2BW8JiAEnNz2buoWzowBMq2TmvFXQE2AAr3WSZj15+edSC12ga84 kPwg== X-Received: by 10.180.149.175 with SMTP id ub15mr151543wib.53.1402615156624; Thu, 12 Jun 2014 16:19:16 -0700 (PDT) Original-Received: from choubidou.localdomain ([2a01:e35:2ef1:4540:e2b9:a5ff:fe0b:e998]) by mx.google.com with ESMTPSA id ee9sm35930037wib.2.2014.06.12.16.19.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jun 2014 16:19:15 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90300 Archived-At: --=-=-= Content-Type: text/plain; format=flowed Two bindings that ease completion selection in completion lists. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Bind-tab-and-backtab-in-completion-lists.patch Content-Description: Bind tab and backtab in completion lists >From 7b61f2ae2acda2d3eb59ffc2a9df8da132d77297 Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Fri, 13 Jun 2014 01:10:15 +0200 Subject: [PATCH] Bind tab and backtab in completion lists --- lisp/simple.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index cde1699..bd31b94 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6977,6 +6977,8 @@ With a prefix argument, set VARIABLE to VALUE buffer-locally." (define-key map "\e\e\e" 'delete-completion-window) (define-key map [left] 'previous-completion) (define-key map [right] 'next-completion) + (define-key map [tab] 'next-completion) + (define-key map [backtab] 'previous-completion) (define-key map "q" 'quit-window) (define-key map "z" 'kill-this-buffer) map) -- 2.0.0 --=-=-= Content-Type: text/plain In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-05-27 on choubidou Windowing system distributor `The X.Org Foundation', version 11.0.11501000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t shell-dirtrack-mode: t show-paren-mode: t global-auto-complete-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t desktop-save-mode: t auto-image-file-mode: t electric-pair-mode: t icomplete-mode: t global-auto-revert-mode: t auto-insert-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t use-hard-newlines: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t auto-fill-function: org-auto-fill-function transient-mark-mode: t Recent input: M-b M-b M-b b a c k C-x C-s C-n C-n C-n C-x d C-x M-o C-s s i m p l e C-n M-p M-p C-c C-p C-c C-p C-c C-p C-s . e l . C-s C-n M-> M-p M-p C-x b M-v C-x k C-x 4 f p r o e m p a t g n n C-x o g i t SPC s t a t u s C-c C-p C-g M-> C-x v d M-< n n n n n n C-v C-v C-n C-n C-n C-n C-n C-n v T a b SPC a n d SPC B i n d SPC t a b SPC a n d SPC b a c k t a b SPC t o SPC i n SPC c o m p l e t i o n SPC l i s t s C-c C-c q g i t SPC f o r m a t - p a t c h SPC H E A D l l g i t SPC c l o g SPC - 1 SPC M-p M-p M-p . . M-p M-b M-f ~ m v SPC 0 0 ~ / P r j e m a p a t C-x C-f M-p M-p 0 0 0 1 - b i n C-x 4 b s i m C-v C-v C-v C-v M-v M-< C-x k M-x e m a c s SPC b u g r e p r e p o r t SPC Recent messages: Ispell process killed Starting new Ispell process /usr/bin/aspell with english dictionary... Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in /home/matthias/Sources/emacs/lisp/simple.el...done No match Mark set Ispell process killed Starting new Ispell process /usr/bin/aspell with en dictionary... Load-path shadows: None found. Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap gnus-sum emacsbug sendmail bug-reference log-edit pcvs-util add-log diary-lib diary-loaddefs pcase derived time-stamp misearch multi-isearch eieio-opt help-mode reftex-dcr reftex reftex-vars tex-mode warnings semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/analyze/refs cwarn sh-script executable arc-mode archive-mode rst diff-mode semantic/tag-write face-remap vc-dir ewoc vc vc-dispatcher css-mode smie generic semantic/bovine/make semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/bovine/make-by semantic/bovine make-mode semantic/html sgml-mode semantic/wisent/javascript-jv semantic/wisent/js-wy semantic/java semantic/doc cap-words superword subword dired-aux mule-util conf-mode inversion vc-git semantic/tag-file semantic/db-file data-debug cedet-files semantic/wisent/python semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent rx python flyspell ox-latex ox-icalendar ox-html ox-ascii ox-publish ox goto-addr org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m js json imenu ob-sh shell ob-plantuml paren choubidou-custom cus-edit cus-start cus-load gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc parse-time gnus-spec gnus-win nnoo gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit gnus-dired dired-x dired org-capture org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs dictionary link connection irfc url-vars flymake-csslint php-mode etags cc-langs speedbar sb-image dframe sql view thingatpt flymake-jslint flymake-python-pyflakes flymake-easy advice help-fns flymake compile comint hideshow skeleton find-file whitespace auto-complete edmacro kmacro cl-macs popup cl minimap semantic/mru-bookmark ring semantic/db-mode semantic/db gv eieio-base semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet ispell desktop frameset server woman man cl-loaddefs cl-lib ansi-color image-file tar-mode saveplace elec-pair icomplete windmove autorevert filenotify autoinsert cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs generic-x Django-doc-autoloads auto-complete-autoloads color-theme-solarized-autoloads doctags-autoloads flymake-csslint-autoloads flymake-jslint-autoloads flymake-easy-autoloads gist-autoloads finder-inf eieio byte-opt bytecomp byte-compile cconv eieio-core info easymenu gnuplot-autoloads graphviz-dot-mode-autoloads htmlize-autoloads logito-autoloads php-mode-autoloads popup-autoloads symbols-mode-autoloads package time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 1065146 145606) (symbols 48 54363 0) (miscs 40 9360 511) (strings 32 327260 16344) (string-bytes 1 6006216) (vectors 16 61615) (vector-slots 8 1739608 113512) (floats 8 365 542) (intervals 56 42066 2111) (buffers 960 236) (heap 1024 168392 3781)) --=-=-=--