From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 19:19:37 2014 Received: (at submit) by debbugs.gnu.org; 12 Jun 2014 23:19:37 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) From: Matthias Meulien To: bug-gnu-emacs@gnu.org Subject: 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= 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)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 13 14:14:51 2014 Received: (at 17767-done) by debbugs.gnu.org; 13 Jun 2014 18:14:51 +0000 Received: from localhost ([127.0.0.1]:46911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvW03-0002OI-AP for submit@debbugs.gnu.org; Fri, 13 Jun 2014 14:14:51 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10525) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvW00-0002Ny-IR for 17767-done@debbugs.gnu.org; Fri, 13 Jun 2014 14:14:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="66798505" Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Jun 2014 14:14:41 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 7F8D766276; Fri, 13 Jun 2014 14:14:41 -0400 (EDT) From: Stefan Monnier To: Matthias Meulien Subject: Re: bug#17767: 24.4.50; [PATCH] Bind tab and backtab in completion lists Message-ID: References: <8761k5k971.fsf@gmail.com> Date: Fri, 13 Jun 2014 14:14:41 -0400 In-Reply-To: <8761k5k971.fsf@gmail.com> (Matthias Meulien's message of "Fri, 13 Jun 2014 01:19:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17767-done Cc: 17767-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Two bindings that ease completion selection in completion lists. Hmm... on the one hand, this is in line with other applications's use of tab and backtab, but on the other hand, Emacs's TAB key is already super crowded with other meanings (typically "expand", "complete", or "indent"), so it's a bit unfortunate. It seems harmless here, but this use will obviously spread to other circumstances where conflicts are possible (e.g. using TAB to move between input fields conflicts with using TAB to complete within an input field). I guess we're going to have to adapt somehow. > + (define-key map [tab] 'next-completion) I installed your patch but I used ?\t here so it also works in text terminals. Stefan From unknown Thu Jun 19 14:03:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Jul 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator