From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.devel Subject: Re: awesome feature (yet to be added?) Date: Sun, 01 Jun 2014 09:00:42 +0200 Message-ID: <538ACF9A.8050505@online.de> References: <112075085.1028629.1399142864865.open-xchange@email.1and1.com> <53684CB6.1050601@lanl.gov> <87ppivne52.fsf@gmail.com> <5389761C.9010803@online.de> <87ha4643uu.fsf@gmail.com> <538A0F77.9050205@online.de> <87lhthr9y3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1401606086 10551 80.91.229.3 (1 Jun 2014 07:01:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 07:01:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 01 09:01:20 2014 Return-path: Envelope-to: ged-emacs-devel@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 1Wqzle-0003Tt-Tv for ged-emacs-devel@m.gmane.org; Sun, 01 Jun 2014 09:01:19 +0200 Original-Received: from localhost ([::1]:34087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqzle-0002Ya-FV for ged-emacs-devel@m.gmane.org; Sun, 01 Jun 2014 03:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqzlW-0002YR-6Z for emacs-devel@gnu.org; Sun, 01 Jun 2014 03:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqzlQ-0003XK-OQ for emacs-devel@gnu.org; Sun, 01 Jun 2014 03:01:10 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:61900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqzlQ-0003Wl-Er for emacs-devel@gnu.org; Sun, 01 Jun 2014 03:01:04 -0400 Original-Received: from [192.168.178.32] (brln-4dba332f.pool.mediaWays.net [77.186.51.47]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0MHpe9-1Wq9kU2dxt-003c5m; Sun, 01 Jun 2014 09:01:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 In-Reply-To: <87lhthr9y3.fsf@gmail.com> X-Provags-ID: V02:K0:XMzX7Rzybsvc5e+AUO7Xc6ApE1wC2XN30uFxgOKCScE hY1eSfvjj2LMjiZ7BmMLmw0zIQ9pprwzmO+mqQCHv92rOulX4R LZgyqdVcOFxIhaEQU4jAi6qpmCmLoqqsAJx35UmF+sZMptAefT f9sOdGhfjXdqN2STt+fTE0UfqwoZ6D+1YtLM68aWq9Yr14O7vs lPprGcdNZofqfaAJph44z/v0mN3yhlCX1r9einLgWwP6Gld+H8 i2NcG4H6jgPBle8I8jDnlxTX8NjR5y+g2BpWGxxwzl8MTLmrst 7fFQSo0flqqjIT1AZZoKQ8OCzCTAMN0AhZ0LKpM/aQQ4/s8M+c LYcryPAazpDxBsJTEEcu4aTDyqiu6ogArgJuMkzPF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172236 Archived-At: On 31.05.2014 22:04, Thorsten Jolitz wrote: > Andreas Röhler writes: > >> On 31.05.2014 12:52, Thorsten Jolitz wrote: >>> Andreas Röhler writes: >>> >>>>> There were quite a lot of proposals in this thread. Any chance that >>>>> this >>>>> is actually outdiscussed and included in Emacs any time soon? >>>>> >>>> >>>> AFAIU instrumenting `comment-dwim' should provide all you need here. >>> >>> This could indeed work well if I had a function that marks the whole >>> comment section ahead once I found the starting point of a comment at >>> BOL, >> >> You might try >> >> ar-forward-comment-atpt >> ar-backward-comment >> >> Added by a (bolp) etc. >> >> It's delivered by >> >> thing-at-point-utils.el >> >> at >> >> https://launchpad.net/s-x-emacs-werkstatt/ > > Wow, 3164 defuns only in thing-at-point-utils.el, thats impressive. BTW you may reimplement that part using shipped thingatpt.el, no need to load the whole stuff then. The point of interest starts in thingatpt-utils-base.el, line 2341 ;; Comment (put 'comment 'beginning-op-at [ ... ] Cheers, Andreas