From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: How to move point to the end of the message body? Date: Sun, 20 Dec 2015 11:50:09 +0100 Message-ID: <877fk975su.fsf@mbork.pl> References: <87h9je72ib.fsf@mbork.pl> <874mfdjyfv.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450608655 24781 80.91.229.3 (20 Dec 2015 10:50:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Dec 2015 10:50:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 20 11:50:45 2015 Return-path: Envelope-to: geh-help-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 1aAbZc-0005T8-GF for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Dec 2015 11:50:44 +0100 Original-Received: from localhost ([::1]:40312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAbZc-0006Hi-1D for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Dec 2015 05:50:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAbZO-0006Ha-5m for help-gnu-emacs@gnu.org; Sun, 20 Dec 2015 05:50:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAbZJ-0006Ju-Jn for help-gnu-emacs@gnu.org; Sun, 20 Dec 2015 05:50:30 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:52343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAbZJ-0006Jd-80 for help-gnu-emacs@gnu.org; Sun, 20 Dec 2015 05:50:25 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id A23978F201C; Sun, 20 Dec 2015 11:50:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xTinjBwn86Ti; Sun, 20 Dec 2015 11:50:14 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 13E098F2016; Sun, 20 Dec 2015 11:50:13 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.0.50.1 In-reply-to: <874mfdjyfv.fsf@debian.uxu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108441 Archived-At: On 2015-12-20, at 09:50, Emanuel Berg wrote: > Marcin Borkowski writes: > >> Hi list, > > Hello Marcin. How nice to see you in the 5,000 block. And what is that...? >> I'd like to get to the end of the message body (in >> message-mode). This seems to work, but I'm looking >> for making it better (both in terms of style and >> robustness: does my check for attachments work in >> all circumstances? Should I check for anything >> more?). > > I don't know, but I do have a package for moving > ultra-fast between the parts of a message mode buffer. > > The cool thing is it works with the .mailrc abbrev > file as well! > > It is called moggle and I wrote it, including the > documentation, way back (?) in 2014. I revised the > documentation just a bit today. When you are happy > with your code, post it here and I'll include it in > the package! > > http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/moggle.el Interesting, I'll take a look. Of course, I will also share my code (which, incidentally, does *a lot* more than moving across the message - even though it's unfinished yet). Maybe I'll put it on GitHub, but probably not today. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University