emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awesome feature (yet to be added?)


From: Andreas Röhler
Subject: Re: awesome feature (yet to be added?)
Date: Sun, 01 Jun 2014 09:00:42 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0

On 31.05.2014 22:04, Thorsten Jolitz wrote:
Andreas Röhler <address@hidden> writes:

On 31.05.2014 12:52, Thorsten Jolitz wrote:
Andreas Röhler <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]