From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17676 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.gnus.user Subject: Re: Simple keybindings for Gmail/IMAP use Date: Mon, 05 Oct 2015 11:37:12 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2971925454784656087==" X-Trace: ger.gmane.org 1444037884 6690 80.91.229.3 (5 Oct 2015 09:38:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2015 09:38:04 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Bob Newell Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Oct 05 11:38:00 2015 Return-path: Envelope-to: gegu-info-gnus-english@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 1Zj2DX-00033P-VK for gegu-info-gnus-english@m.gmane.org; Mon, 05 Oct 2015 11:38:00 +0200 Original-Received: from localhost ([::1]:45038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2DX-0000WF-Bh for gegu-info-gnus-english@m.gmane.org; Mon, 05 Oct 2015 05:37:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2Cz-0000SN-2E for info-gnus-english@gnu.org; Mon, 05 Oct 2015 05:37:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj2Cv-0003qL-OK for info-gnus-english@gnu.org; Mon, 05 Oct 2015 05:37:24 -0400 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:37363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2Cv-0003qH-Ht for info-gnus-english@gnu.org; Mon, 05 Oct 2015 05:37:21 -0400 Original-Received: by wicfx3 with SMTP id fx3so105604072wic.0 for ; Mon, 05 Oct 2015 02:37:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=KqN59J5Q5AREXOTOfSX/LOLkqFjk2yfbO/RnlNu6YTg=; b=bMl8u5IN8KhvXIuOuEmPPVoL9t/sKYKSWUxa15k3op0pQB0tX7wDN3ZwlZZ+t3L33N OjvADBkIexKfarcByBErIFwsSdKEz0jgDPafkQz3vh9XmOiPX78YCJVALdPLpY/Fetul PrzivoweOgc9+NQ4momlvD2TJyCxyxzFHvQga+Ma4SeYw/pG2IcLYGqkSc1D1+b+tfiB PG0e+nYp8ZGnGuj7NBfYIPV7sLP5OQPwnXHLOtYuHK7wtbVqF8BvMP8gKHwTlMgPZbrU z4DEQ+fVQvEomxRmwAHzs/wIGVvy/MS2YGqWQSeVIbyJfBeu2LStnDSQCH51+qH371R3 7qvw== X-Received: by 10.180.92.230 with SMTP id cp6mr9471433wib.80.1444037840967; Mon, 05 Oct 2015 02:37:20 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local ([2a01:e35:8baa:b070:94b0:cd5:602f:b5d6]) by smtp.gmail.com with ESMTPSA id e6sm13644683wiy.3.2015.10.05.02.37.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2015 02:37:19 -0700 (PDT) In-Reply-To: (Bob Newell's message of "Sun, 4 Oct 2015 15:36:44 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.180 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17676 Archived-At: --===============2971925454784656087== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bob Newell writes: > ;; Here are a few keybindings to help with moving Gmail messages from > ;; INBOX (typically) to wherever. Strangely enough I've not seen these > ;; published online even though the concept is extremely simple and > ;; requires no (or little) knowledge or skill to implement (which is why I > ;; could do it). > > ;; An annoyance with GNUS/Gmail is that if you read something in GNUS, > ;; it still appears in the INBOX if you go to the Web interface. Mail > ;; needs to be moved, not just read, to get it out of INBOX. Archiving > ;; moves it to "All Mail" (even though it's already there, which is > ;; kind of silly but that's how it works). Moving to Spam or Trash > ;; work as expected, as does moving something /to/ INBOX.=20 > > ;; Certainly, you can use 'Bm' and then select a folder to move to. But > ;; I wanted something specific for Gmail that was a little faster. > > ;; To use these, just put the cursor on the mail you want to move (in > ;; the group summary). Alternatively, process mark a selection of > ;; mails (with '#') to have them all moved at once (to the same place, > ;; of course). > > ;; Prefix v (reserved by gnus for user stuff?) then > ;; a=3Darchive (to 'all mail') s=3Dspam t=3Dtrash i=3Dinbox > > ;; Archive. > (define-key gnus-summary-mode-map "va"=20 > (lambda () (interactive) > (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/All Mail" n= il))) > ;; Spam. > (define-key gnus-summary-mode-map "vs"=20 > (lambda () (interactive) > (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/Spam" nil))) > ;; Trash. > (define-key gnus-summary-mode-map "vt"=20 > (lambda () (interactive) > (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/Trash" nil)= )) > ;; Move to INBOX (such as for false positive spam). > (define-key gnus-summary-mode-map "vi"=20 > (lambda () (interactive) > (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/INBOX" nil)= )) Very nice - thaks. Rainer =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWEkTNAAoJENvXNx4PUvmCfOgH/AoTrv20IkypChOvDgrcJPev uo9J3XP2Zp+cY7QFUnPOsM4lH+he3WeICp/40+TixC6sRm1M8iU91O5ffQX55+6W AQWJlrrduO5aiWYQpxpmuY1HiMO5gMKScpsv76+acEuU6jl37w9dR5DIvdlYdF/s FekAPPGgKkfT8kBJipGA3se4SnHwsC6TfcfqaL60C1YNPB8q0Bt7TRBRjVuF7Ik+ 2mGMRtPVUTWphK8KZrYUHWv3fsiiwIdPmTgyjVJWZOFtqiTnxjiK+miEZE1H/4L0 JfcgbmCD9r3yRVOr0KJ2QStTv5s1zZTRV7qIFf3nRgQRRDqCUnKrpgD/7bH+D+w= =ebiV -----END PGP SIGNATURE----- --=-=-=-- --===============2971925454784656087== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline